Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Cant add client to node #43

Closed
voroniys opened this issue May 23, 2017 · 2 comments
Closed

Cant add client to node #43

voroniys opened this issue May 23, 2017 · 2 comments

Comments

@voroniys
Copy link

knife acl show clients mynode - shows some output, so client exists

knife acl show nodess mynode - shows some output, so the node exists as well

But when I try:
knife acl add client mynode nodes mynode create,read,update,delete,grant
Adding 'mynode' to 'create' ACE of 'mynode'
ERROR: The data in your request was invalid
Response: The client(s) 'mynode' do not exist in this organization.

@stevendanna
Copy link
Contributor

@voroniys Which version of Chef Server is this against? Also, is mynode the actual client and node name? If not, might you be hitting this bug: chef/chef-server#1275 which is fixed in the latest Chef Server.

@voroniys
Copy link
Author

Looks like it the the mentioned bug. I've replaced the hostname which had dots in it.
Issue can be closed then

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants