Knife 客户端列表未显示我的工作站

knife client list not showing my workstation

以下是我的 knife.rb 配置,相关文件位于上述位置

# See http://docs.chef.io/config_rb_knife.html for more information on knife configuration options

current_dir = File.dirname(__FILE__)
log_level                :info
log_location             STDOUT
node_name                "anshulp25"
client_key               "#{current_dir}/anshulp25.pem"
validation_client_name   "deathstartatooine-validator"
validation_key           "#{current_dir}/deathstartatooine-validator.pem"
chef_server_url          "https://api.chef.io/organizations/deathstartatooine"
cookbook_path            ["#{current_dir}/../cookbooks"]

但是当我这样做时

knife client list

我得到以下输出

$ knife client list
deathstartatooine-validator

不应该列出 anshulp25 条目吗?

以下是厨师详情

$ chef --version
Chef Development Kit Version: 0.10.0
chef-client version: 12.5.1
berks version: 4.0.1
kitchen version: 1.4.2

不确定,如何进一步描述它 - 但您的工作站连接为 user

您可以使用knife user list显示所有用户。

某些 Chef 11 版本改变了这一点,因为之前工作站和节点都只是客户端。