Bug 957006
Summary: | packstack reinstall fails trying to start nagios | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] RDO | Reporter: | Robert Harker <harker-redhat> | ||||
Component: | openstack-packstack | Assignee: | Martin Magr <mmagr> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ido Ovadia <iovadia> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | unspecified | CC: | aortega, bsettle, derekh, mmagr | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | openstack-packstack-2013.1.1-0.7.dev580 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | Bug | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Created attachment 740253 [details] packstack answer file Description of problem: Reruning packstack to add additional compute node fails when trying to start nagios Version-Release number of selected component (if applicable): openstack-packstack.noarch 2013.1.1-0.5.dev538.el6 @openstack-grizzly How reproducible: I have see this several times Steps to Reproduce: 1. Add additional IP address to answer file question: CONFIG_NOVA_COMPUTE_HOSTS=10.4.0.194,10.4.0.195,10.4.0.196 2. rerun packstack packstack --answer-file=packstack-answers Actual results: ... Applying 10.4.0.195_swift.pp Applying 10.4.0.195_nagios.pp Applying 10.4.0.195_nagios_nrpe.pp Applying 10.4.0.196_nagios_nrpe.pp Applying 10.4.0.194_nagios_nrpe.pp 10.4.0.196_nagios_nrpe.pp : [ DONE ] 10.4.0.194_nagios_nrpe.pp : [ DONE ] 10.4.0.195_swift.pp : [ DONE ] ERROR : Error during puppet run : err: /Stage[main]//Service[nagios]: Failed to call refresh: Could not start Service[nagios]: Execution of '/sbin/service nagios start' returned 1: at /var/tmp/packstack/d56eeb0d37164adbb539703ae8173a9e/manifests/10.4.0.195_nagios.pp:183 Please check log file /var/tmp/packstack/20130426-003813-YN5t83/openstack-setup.log for more information Expected results: new compute node initialized Additional info: 2013-04-26 00:41:44::ERROR::ospluginutils::143::root:: Error during remote puppet apply of /var/tmp/packstack/20130426-003813-YN5t83/manifests/10.4.0.195_nagios.pp 2013-04-26 00:41:44::ERROR::ospluginutils::144::root:: notice: /A2mod[ssl]/ensure: removed notice: /File[/etc/httpd/conf.d/ssl.conf]/ensure: removed notice: /Stage[main]//Exec[rm-nagios-files]/returns: executed successfully notice: /Stage[main]/Nagios_configs/Nagios_host[10.4.0.194]/ensure: created notice: /File[/etc/nagios/resource.d/nagios_host.cfg]/mode: mode changed '600' to '644' notice: /Stage[main]/Nagios_configs/Exec[nagiospasswd]/returns: executed successfully notice: /File[/etc/nagios/resource.d/nagios_command.cfg]/ensure: created notice: /File[/etc/nagios/resource.d/nagios_service.cfg]/content: content changed '{md5}995560803f41cad387ad2b13fe05aea0' to '{md5}b65d9c8b390695b95af0ad95021c956f' notice: /Stage[main]/Apache/Service[httpd]: Triggered 'refresh' from 6 events err: /Stage[main]//Service[nagios]: Failed to call refresh: Could not start Service[nagios]: Execution of '/sbin/service nagios start' returned 1: at /var/tmp/packstack/d56eeb0d37164adbb539703ae8173a9e/manifests/10.4.0.195_nagios.pp:183 notice: Finished catalog run in 3.72 seconds 2013-04-26 00:41:44::ERROR::run_setup::906::root:: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 900, in main _main(confFile) File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 597, in _main runSequences() File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 574, in runSequences controller.runAllSequences() File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 77, in runAllSequences sequence.run() File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 153, in run step.run() File "/usr/lib/python2.6/site-packages/packstack/installer/setup_sequences.py", line 60, in run function() File "/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py", line 176, in applyPuppetManifest waitforpuppet(currently_running) File "/usr/lib/python2.6/site-packages/packstack/plugins/puppet_950.py", line 163, in waitforpuppet validate_puppet_logfile(log) File "/usr/lib/python2.6/site-packages/packstack/modules/ospluginutils.py", line 145, in validate_puppet_logfile raise PackStackError(message) PackStackError: Error during puppet run : err: /Stage[main]//Service[nagios]: Failed to call refresh: Could not start Service[nagios]: Execution of '/sbin/service nagios start' returned 1: at /var/tmp/packstack/d56eeb0d37164adbb539703ae8173a9e/manifests/10.4.0.195_nagios.pp:183