Chef Knife Commands 404 Not Found

别等时光非礼了梦想. 提交于 2019-12-04 03:13:04

I found what is the root cause of my error, the chef_server_url must has the organization's name at the end of the URL.

chef_server_url 'https://my_server:443/organizations/my_organization_name'

I added the org name and it solved my issue(404 not found)

Dmitry Savinkov

You haven't shared your knife.rb file in order to be more specific (in knife.rb you have to indicate your client_key,validation_client_name, validation_key etc), in general you don't have any registered chef-clients neither bootstrapped machines nor even local one. Here is the document about how to create your client. Here you might have an answer as well.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!