针对新节点的Knife Bootstrap无法进行代理身份验证

时间:2017-08-05 22:52:29

标签: knife

我使用版本chef-server-core-12.15.8-1.el6.x86_64.rpm构建了一个新的Chef服务器环境 在新节点中安装了厨师DK chefdk-2.0.28-1.el6.x86_64.rpm以便使用刀具命令,我也在那里复制了厨师入门套件。 在引导过程中出现以下错误,我的代理环境阻止从omnibus下载install.sh。

获得以下错误。任何人都可以帮助我,如何在引导过程中提供代理身份验证信息。那么

[chefadm@Chefserver chef-repo]$ sudo knife bootstrap <FQDN-Node> --ssh-user chefadm --node-name Apache
Node Apache exists, overwrite it? (Y/N) y

Client Apache exists, overwrite it? (Y/N) y

Creating new client for Apache

Creating new node for Apache

Connecting to <FQDN-Node>

chefadm@<FQDN-Node>'s password:

<FQDN-Node> -----> Installing Chef Omnibus (-v 13)

<FQDN-Node> downloading https://omnitruck-direct.chef.io/chef/install.sh

<FQDN-Node>   to file /tmp/install.sh.20672/install.sh

<FQDN-Node> trying wget...

<FQDN-Node> trying curl...

<FQDN-Node> trying perl...

<FQDN-Node> trying python...

<FQDN-Node> /tmp/install.sh.20672/install.sh: line 1: syntax error near unexpected token `<'
<FQDN-Node> /tmp/install.sh.20672/install.sh: line 1: `<HTML><HEAD>
<TITLE>Authentication Proxy Login Page</TITLE><script language="JavaScript"><!-- Begin'
<FQDN-Node> Starting the first Chef Client run...

<FQDN-Node> sh: line 258: chef-client: command not found

[chefadm@Chefserver chef-repo]$

0 个答案:

没有答案