Red Hat Bugzilla – Bug 1011413
Packstack fails on missing gethostlist function import
Last modified: 2013-12-19 19:24:40 EST
Havana on RHEL6.4
Packstack fails to install OpenStack, it throw the following exception after few seconds:
2013-09-24 11:10:22::ERROR::run_setup::915::root:: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 910, in main
File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 577, in _main
File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 554, in runSequences
File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 90, in runAllSequences
File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 105, in run
File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 52, in run
SequenceError: global name 'gethostlist' is not defined
looks like plugins/prescript_000.py needed
from packstack.modules.ospluginutils import gethostlist
from packstack.installer import utils
Created attachment 803277 [details]
Auto adding >= MODIFIED bugs to beta
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.