Several question and suggestion

Asked by Hugo Kou on 2011-03-30

hello yoko~

I'm running deployment tool now.

and I found several issue as below......

1. all hosts that is been wrote in deploy.conf should be carefully
    in my environment , should be hostname+$domainname , or puppet can not retrieve certification .

2.
<pre>
2011-03-30 18:00:33,358 - INFO - Execute shell command: ssh -o StrictHostKeyChecking=no -t <email address hidden> 'sudo -u root sh -c "service dnsmasq stop"'
2011-03-30 18:00:33,358 - DEBUG - *****The output of the shell command is from here:*****
2011-03-30 18:00:33,538 - DEBUG - dnsmasq: unrecognized service
2011-03-30 18:00:33,539 - DEBUG - Connection to ubuntu2.tw.megatrends.com closed.
2011-03-30 18:00:33,539 - DEBUG - *****The output of the shell command is to here. *****
2011-03-30 18:00:33,539 - DEBUG -
2011-03-30 18:00:33,539 - DEBUG -
2011-03-30 18:00:33,539 - ERROR - Error occured when executing the shell command: ssh -o StrictHostKeyChecking=no -t <email address hidden> 'sudo -u root sh -c "service dnsmasq stop"'
2011-03-30 18:00:33,540 - ERROR - Error code: 256
</pre>

with this error , I checked ubuntu2 host which is specific to be nova-network there's no 'dnsmasq' package been installed.
that's the reason why "2011-03-30 18:00:33,538 - DEBUG - dnsmasq: unrecognized service"

 In /manifest/site.pp
I saw class nova-network
but nova-network , dnsmasq , radvd never been installed during entire process

Question information

Language:
English Edit question
Status:
Solved
For:
nova-deployment-tool Edit question
Assignee:
Shigetoshi Yokoyama Edit question
Solved by:
Shigetoshi Yokoyama
Solved:
2011-04-01
Last query:
2011-04-01
Last reply:
2011-03-31
Soren Hansen (soren) said : #1

Is "service dnsmasq stop" something from the deployment tool, or is it something you're trying to run yourself?

Hugo Kou (tonytkdk) said : #2

thanks Soren ....

about second problem just a typo in my /etc/hosts file

Best Shigetoshi Yokoyama (yoko) said : #3

The followings are quick answers to your comments. I appreciate your
feedback. We will continue to make the tool more usable.

1.
Just as what you said. If domain name exists in the installation
environment, it is necessary to define with the format
"hostname.$domainname" in deploy.conf.

2.
According to the last reply of Hugo, there was a typo in /etc/hosts. I
guess that because of the typo the installation of nova-network and
dnsmasq failed, so it also failed to stop dnsmasq service.

-- yoko

Hugo Kou (tonytkdk) said : #4

Thanks Shigetoshi Yokoyama, that solved my question.