在厨师工作站安装中找不到“ osc_user”命令-刀配置错误

时间:2018-12-23 16:23:46

标签: chef ubuntu-16.04 chef-workstation

我从头开始设置我的Chef Server / Workstation / Client。但是在设置Workstation时,我想使用本地厨师服务器信息来配置刀子,但是该命令显示以下错误

  

刀配置-i

错误日志如下。这可能是由于“ osc_user”引起的。请帮助我在Ubuntu 16.04中进行设置。

knife configure -i
Please enter the chef server URL: [https://chefwork-VirtualBox/organizations/myorg] https://chefserver
Please enter a name for the new user: [chefwork] 
Please enter the existing admin name: [admin] 
Please enter the location of the existing admin's private key: [/etc/chef-server/admin.pem] ~/.chef/admin.pem
Overwrite /home/chefwork/.chef/credentials? (Y/N) Y
Creating initial API user...
Please enter a password for the new user: 
WARNING: IF YOU ARE USING CHEF SERVER 12+, PLEASE FOLLOW THE INSTRUCTIONS UNDER knife user create --help.
You only passed a single argument to knife user create.
For backwards compatibility, when only a single argument is passed,
knife user create assumes you want Open Source 11 Server user creation.
knife user create for Open Source 11 Server is being deprecated.
Open Source 11 Server user commands now live under the knife osc_user namespace.
For backwards compatibility, we will forward this request to knife osc_user create.
If you are using an Open Source 11 Server, please use that command to avoid this warning.
NOTE: Backwards compatibility for Open Source 11 Server in these commands will be removed
in Chef 15 which will be released April 2019.
FATAL: Cannot find subcommand for: 'osc_user configure -i'
Available subcommands: (for details, knife SUB-COMMAND --help)

** OPSCODE HOSTED CHEF ACCESS CONTROL COMMANDS **

0 个答案:

没有答案