Hi,
I am new to Chef and I am following the Getting Started tutorial.
I am arrived at the “Bootstrap your node” step at https://learn.chef.io/manage-a-node/ubuntu/bootstrap-your-node/ and I am trying to bootstrap my first Debian 8 Jessie node, but the bootstrap procedure fails:
decibel83@mac.local:~/chef/learn-chef/chef-repo$ knife bootstrap host@domain --ssh-user root --run-list 'recipe[learn_chef_apache2]'
Doing old-style registration with the validation key at /Users/decibel83/chef/learn-chef/chef-repo/.chef/org-validator.pem...
Delete your validation key in order to use your user credentials instead
Connecting to host@domain
root@host@domain's password:
host@domain -----> Installing Chef Omnibus (-v 12)
host@domain downloading https://omnitruck-direct.chef.io/chef/install.sh
host@domain to file /tmp/install.sh.15876/install.sh
host@domain trying wget...
host@domain trying perl...
host@domain trying python...
host@domain >>>>>> wget, curl, fetch, perl, or python not found on this instance.
host@domain
host@domain DEBUG OUTPUT FOLLOWS:
host@domain
host@domain STDERR from wget:
host@domain
host@domain converted 'https://omnitruck-direct.chef.io/chef/install.sh' (ANSI_X3.4-1968) -> 'https://omnitruck-direct.chef.io/chef/install.sh' (UTF-8)
host@domain --2016-03-06 09:30:25-- https://omnitruck-direct.chef.io/chef/install.sh
host@domain Resolving omnitruck-direct.chef.io (omnitruck-direct.chef.io)... 54.191.45.153, 52.10.129.204, 52.26.65.142
host@domain Connecting to omnitruck-direct.chef.io (omnitruck-direct.chef.io)|54.191.45.153|:443... connected.
host@domain ERROR: The certificate of 'omnitruck-direct.chef.io' is not trusted.
host@domain ERROR: The certificate of 'omnitruck-direct.chef.io' hasn't got a known issuer.
host@domain
host@domain STDERR from perl:
host@domain
host@domain Can't locate LWP/Simple.pm in @INC (you may need to install the LWP::Simple module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at -e line 1.
host@domain BEGIN failed--compilation aborted at -e line 1.
host@domain
host@domain STDERR from python:
host@domain
host@domain Traceback (most recent call last):
host@domain File "<string>", line 1, in <module>
host@domain File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
host@domain return opener.open(url, data, timeout)
host@domain File "/usr/lib/python2.7/urllib2.py", line 431, in open
host@domain response = self._open(req, data)
host@domain File "/usr/lib/python2.7/urllib2.py", line 449, in _open
host@domain '_open', req)
host@domain File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
host@domain result = func(*args)
host@domain File "/usr/lib/python2.7/urllib2.py", line 1240, in https_open
host@domain context=self._context)
host@domain File "/usr/lib/python2.7/urllib2.py", line 1197, in do_open
host@domain raise URLError(err)
host@domain urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>
host@domain
host@domain Starting the first Chef Client run...
host@domain sh: 257: chef-client: not found
Could you help me please?
Thank you very much!