0

使用 Knife 单独使用 Chef 配置 ARM 服务器,但它静默失败。

  • 通过检查chef-solo来验证使用 Chef 配置系统所需的命令。

x86 / 成功过程 - 删节

Bootstrapping Chef...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 20507  100 20507    0     0  17452      0  0:00:01  0:00:01 --:--:-- 17452
ubuntu 16.04 x86_64
Getting information for chef stable 12.17.44 for ubuntu...
downloading https://omnitruck-direct.chef.io/stable/chef/metadata?v=12.17.44&p=ubuntu&pv=16.04&m=x86_64
  to file /tmp/install.sh.4824/metadata.txt
...
...
Preparing to unpack .../chef_12.17.44-1_amd64.deb ...
Unpacking chef (12.17.44-1) over (12.17.44-1) ...
Setting up chef (12.17.44-1) ...
Thank you for installing Chef!

ssh root@success
root@success:~# chef-solo -v
Chef: 12.17.44

Arm服务器/失败进程

Bootstrapping Chef...
Updating apt caches...
Installing required packages...
Installing rubygems from source...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  243k  100  243k    0     0   981k      0 --:--:-- --:--:-- --:--:--  999k

ssh root@failure
root@failure:~# chef-solo -v
-bash: chef-solo: command not found
4

1 回答 1

0

Knife solo 无法配置 Arm 服务器。正在跟踪 0.7.0 版本的错误,但该版本看起来并不迫在眉睫

这部分代码处理芯片组Debian Arm 平台可能以类似的方式失败(未经测试)。

于 2017-03-01T17:08:47.333 回答