当我试图在Google Cloud平台上的Ubuntu 14.04实例中为Chef配置刀子插件时,我得到了这个错误。有什么办法解决这个问题吗?
FATAL: Cannot find subcommand for: 'osc_user configure -i' 有两个虚拟机-一个是chef-server,另一个是chef-workstation,这两个都是相同的操作系统。
Chef-服务器VM IP - https://35.227.106.170/厨师-工作站VM IP - https://35.231.42.82/
控制台日志如下:
anjalithomas_mec@chef-workstation:~/.chef$ knife configure -i # server: https://[server's external IP address]:443, cookbook_path = ~/chef-repo
Please enter the chef server URL: [https://chef-workstation.c.chef-gcp-195115.internal/organizations/myorg] https://35.227.80.216
Please enter a name for the new user: [anjalithomas_mec] any
Please enter the existing admin name: [admin]
Please enter the location of the existing admin's private key: [/etc/chef-server/admin.pem]
Overwrite /home/anjalithomas_mec/.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' 发布于 2018-03-08 21:12:04
https://stackoverflow.com/questions/49050516
复制相似问题