spuder

chef permissions

Jul 28th, 2015
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. knife user list
  2. ERROR: You authenticated successfully to https://foo.example.com:443/organizations/dev as devops-gitci01 but you are not authorized for this action
  3. Response: missing read permission
  4.  
  5. Even though I've followed these instructions
  6.  
  7. http://docs.chef.io/server_manage_clients.html#permissions
  8.  
  9. Screenshots
  10.  
  11. https://www.dropbox.com/s/c7z0gmodtinrzn8/Screenshot%202015-07-28%2015.48.42.png?dl=0
  12.  
  13.  
  14. Other commands that fail
  15.  
  16.  
  17. knife environment from file environments/*.json
  18. ERROR: You authenticated successfully to https://foo.example.com:443/organizations/dev as devops-gitci01 but you are not authorized for this action
  19. Response: missing update permission
  20.  
  21.  
  22. ======
  23.  
  24.  
  25. Here are the permissions for my client according to the knife acl plugin
  26.  
  27. knife acl show clients devops-gitci01
  28. create:
  29. actors:
  30. devops-gitci01
  31. pivotal
  32. sowen
  33. groups: admins
  34. delete:
  35. actors:
  36. devops-gitci01
  37. pivotal
  38. sowen
  39. groups:
  40. admins
  41. users
  42. grant:
  43. actors:
  44. devops-gitci01
  45. pivotal
  46. sowen
  47. groups: admins
  48. read:
  49. actors:
  50. devops-gitci01
  51. pivotal
  52. sowen
  53. groups:
  54. admins
  55. users
  56. update:
  57. actors:
  58. devops-gitci01
  59. pivotal
  60. sowen
  61. groups: admins
Advertisement
Add Comment
Please, Sign In to add comment