找不到厨师刀命令404 [英] Chef Knife Commands 404 Not Found

查看:59
本文介绍了找不到厨师刀命令404的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Chef,我按照他们提供的所有步骤进行了使用您的硬件安装和配置Chef服务器

I'm trying to use chef, I followed all the steps provided by them to "Install and configure Chef server using your hardware"

从工作站执行以下命令

knife SSL check

输出


连接到主机my_server:443

成功验证证书来自`my_server'

Connecting to host my_server:443
Successfully verified certificates from `my_server'

但是,当我使用以下命令时

However when I use the following command

knife client list 

输出:


错误:找不到您要查找的对象<​​/ p>

ERROR: The object you are looking for could not be found

什么

推荐答案

我发现了我的错误的根本原因,chef_server_url的末尾必须带有组织名称网址。

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 '

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

我添加了组织名称并解决了我的问题(找不到404)

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

这篇关于找不到厨师刀命令404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆