首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何使用GCP在Ubuntu 14.04虚拟机实例上为厨师配置刀子插件

如何使用GCP在Ubuntu 14.04虚拟机实例上为厨师配置刀子插件
EN

Stack Overflow用户
提问于 2018-03-01 21:15:05
回答 1查看 100关注 0票数 0

当我试图在Google Cloud平台上的Ubuntu 14.04实例中为Chef配置刀子插件时,我得到了这个错误。有什么办法解决这个问题吗?

代码语言:javascript
复制
FATAL: Cannot find subcommand for: 'osc_user configure -i' 

有两个虚拟机-一个是chef-server,另一个是chef-workstation,这两个都是相同的操作系统。

来源:- https://cloud.google.com/solutions/google-compute-engine-management-puppet-chef-salt-ansible-appendix#getting-started-with-chef-on-compute-engine

Chef-服务器VM IP - https://35.227.106.170/厨师-工作站VM IP - https://35.231.42.82/

控制台日志如下:

代码语言:javascript
复制
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'  
EN

回答 1

Stack Overflow用户

发布于 2018-03-08 21:12:04

看起来这是一个开放的问题,还没有修复:

chef客户端-刀配置-i #4814时出错

https://github.com/chef/chef/issues/4814

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49050516

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档