RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/
Bug 957006 - packstack reinstall fails trying to start nagios
Summary: packstack reinstall fails trying to start nagios
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RDO
Classification: Community
Component: openstack-packstack
Version: unspecified
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Martin Magr
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-26 07:51 UTC by Robert Harker
Modified: 2016-03-30 23:05 UTC (History)
4 users (show)

Fixed In Version: openstack-packstack-2013.1.1-0.7.dev580
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
packstack answer file (7.69 KB, application/octet-stream)
2013-04-26 07:51 UTC, Robert Harker
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 26948 0 None None None Never

Description Robert Harker 2013-04-26 07:51:10 UTC
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


Note You need to log in before you can comment on or make changes to this bug.