【发布时间】:2015-11-06 15:14:12
【问题描述】:
在 chef-server 上,我有一个组 provisioners 供应该有权引导和配置节点的用户使用,即所谓的 validator-less。
在引导机器时,knife 尝试在 Chef 服务器上创建新的客户端和节点。问题在于该组的 ACL。在 Global Permissions 部分,我可以找到容器并授予 create 仅对节点但不授予客户端的权限。这就是knife bootstrap 失败的原因:
Creating new client for node-01
ERROR: You authenticated successfully to https://chef-server:443/organizations/test as mlanin but you are not authorized for this action
Response: missing create permission
如何为客户端授予创建权限?
【问题讨论】:
-
看看knife-acl web-ui 没有实现在客户端容器上配置acl。
-
@Tensibai 非常感谢!不知何故错过了。
标签: chef-infra knife