Failure on Puppet install

Asked by Graham Hemingway

I am running the noda deployment tool to set up the primary server for our cloud. I have walked through the install instructions but get an error when I run "python deploy.py all". All machines are running vanilla 10.10. Here is where it dies:

2011-04-12 14:06:59,168 - INFO - ---------------------------------------------------
2011-04-12 14:06:59,168 - INFO - Installing puppet client begins.
2011-04-12 14:06:59,168 - INFO - ---------------------------------------------------
2011-04-12 14:06:59,169 - INFO - Execute shell command: ssh -o StrictHostKeyChecking=no -t nii@clustermaster2 'sudo -u root sh -c "apt-get -y --force-yes install puppet"'
2011-04-12 14:06:59,169 - DEBUG - *****The output of the shell command is from here:*****
Reading package lists... DoneUG -
Building dependency tree -
Reading state information... Done
2011-04-12 14:07:03,704 - DEBUG - Suggested packages:
2011-04-12 14:07:03,705 - DEBUG - puppet-el vim-puppet libselinux-ruby1.8 etckeeper
2011-04-12 14:07:03,705 - DEBUG - The following NEW packages will be installed:
2011-04-12 14:07:03,705 - DEBUG - puppet
2011-04-12 14:07:03,705 - DEBUG - 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2011-04-12 14:07:03,705 - DEBUG - Need to get 0B/210kB of archives.
2011-04-12 14:07:03,706 - DEBUG - After this operation, 373kB of additional disk space will be used.
Selecting previously deselected package puppet.
(Reading database ... 57792 files and directories currently installed.)
2011-04-12 14:07:03,706 - DEBUG - Unpacking puppet (from .../puppet_2.6.1-0ubuntu2_all.deb) ...
2011-04-12 14:07:03,706 - DEBUG - Processing triggers for man-db ...
2011-04-12 14:07:03,707 - DEBUG - Processing triggers for ureadahead ...
2011-04-12 14:07:03,707 - DEBUG - Setting up puppet (2.6.1-0ubuntu2) ...
2011-04-12 14:07:03,707 - DEBUG - * Starting puppet agent
2011-04-12 14:07:03,707 - DEBUG -
2011-04-12 14:07:03,708 - DEBUG - puppet not configured to start, please edit /etc/default/puppet to enable
2011-04-12 14:07:03,708 - DEBUG - ...done.
2011-04-12 14:07:03,708 - DEBUG - Connection to clustermaster2 closed.
2011-04-12 14:07:03,708 - DEBUG - *****The output of the shell command is to here. *****
2011-04-12 14:07:03,708 - DEBUG -
2011-04-12 14:07:03,709 - DEBUG -
2011-04-12 14:07:03,709 - INFO - ---------------------------------------------------
2011-04-12 14:07:03,709 - INFO - Installing puppet client ended.
2011-04-12 14:07:03,710 - INFO - ---------------------------------------------------
2011-04-12 14:07:03,710 - INFO -
2011-04-12 14:07:03,710 - INFO -
2011-04-12 14:07:03,710 - INFO -
2011-04-12 14:07:03,710 - INFO - ---------------------------------------------------
2011-04-12 14:07:03,711 - INFO - Installing nova components begins.
2011-04-12 14:07:03,711 - INFO - ---------------------------------------------------
2011-04-12 14:07:03,711 - INFO - Execute shell command: ssh -o StrictHostKeyChecking=no -t nii@clustermaster2 'sudo -u root sh -c "puppetd --verbose --test --server clustermaster2"'
2011-04-12 14:07:03,711 - DEBUG - *****The output of the shell command is from here:*****
2011-04-12 14:07:05,033 - DEBUG - err: Could not retrieve catalog from remote server: hostname was not match with the server certificate
2011-04-12 14:07:05,034 - DEBUG - warning: Not using cache on failed catalog
2011-04-12 14:07:05,034 - DEBUG - err: Could not retrieve catalog; skipping run
2011-04-12 14:07:05,034 - DEBUG - Connection to clustermaster2 closed.
2011-04-12 14:07:05,034 - DEBUG - *****The output of the shell command is to here. *****
2011-04-12 14:07:05,034 - DEBUG -
2011-04-12 14:07:05,035 - DEBUG -
2011-04-12 14:07:05,035 - ERROR - Error occured when executing the shell command: ssh -o StrictHostKeyChecking=no -t nii@clustermaster2 'sudo -u root sh -c "puppetd --verbose --test --server clustermaster2"'
2011-04-12 14:07:05,035 - ERROR - Error code: 256

As you can see, it dies when it tries to use puppet to grab nova components. Looking just above this you see that puppet was installed but "puppet not configured to start". This leads me to believe that puppet is installed but not running yet. What should I do?

Thanks,
   Graham

Question information

Language:
English Edit question
Status:
Answered
For:
nova-deployment-tool Edit question
Assignee:
Shigetoshi Yokoyama Edit question
Last query:
Last reply:
Revision history for this message
Shigetoshi Yokoyama (yoko) said :
#1

It seems that the cause is the difference between the host name of
puppet server and host name in the server certificate. The host name in
the server certificate is of fqdn style, so please check the fqdn of the
puppet server with command "hostname --fqdn", and confirm whether it is the
same with clustermaster2. If they are different, please change the
setting of conf/deploy.conf to the fqdn.

-- yoko

Can you help with this problem?

Provide an answer of your own, or ask Graham Hemingway for more information if necessary.

To post a message you must log in.