Warnings are not displayed until packstack is terminated

Bug #1552677 reported by James Owen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Packstack
New
Undecided
Unassigned

Bug Description

When running packstack using the command line to install one control node and two compute nodes, the install hangs when it attempts to apply the nova.pp file on the compute nodes.

After a while, I got bored of waiting, and so quit packstack using ctrl+c. At this point the below was printed to stdout. Crucially, this included a Python warning about NetworkManager on the compute nodes that had not previously been printed. Surely the warning should be printed as soon as it is raised.

Applying XX.XXX.XX.XX_nova.pp
Testing if puppet apply is finished: XX.XXX.XX.XX_nova.pp [ / ]^CAdditional information:
 * Warning: NetworkManager is active on XX.XXX.XX.XX, XX.XXX.XX.XX. OpenStack networking currently does not work on systems that have the Network Manager service enabled.
 * File /root/keystonerc_admin has been created on OpenStack client host XX.XXX.XX.XX. To use the command line tools you need to source the file.
 * To access the OpenStack Dashboard browse to http://XX.XXX.XX.XX/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
 * To use Nagios, browse to http://XX.XXX.XX.XX/nagios username: XXXXXXXXXX, password: XXXXXXXXXXXXXXXXX
Traceback (most recent call last):
  File "/usr/bin/packstack", line 15, in <module>
    run_setup.main()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 1012, in main
    _main(options, confFile, logFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 660, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 627, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 81, in runAllSequences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 109, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 50, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 209, in apply_puppet_manifest
    wait_for_puppet(currently_running, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/puppet_950.py", line 114, in wait_for_puppet
    time.sleep(3)
KeyboardInterrupt

Revision history for this message
James Owen (james-owen) wrote :

Can this be closed as it is an accidental dupe of https://bugs.launchpad.net/packstack/+bug/1552678

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.