Bug 1011413 - Packstack fails on missing gethostlist function import
Summary: Packstack fails on missing gethostlist function import
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: beta
: 4.0
Assignee: Solly Ross
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-24 08:48 UTC by Rami Vaknin
Modified: 2013-12-20 00:24 UTC (History)
10 users (show)

Fixed In Version: openstack-packstack-2013.2.1-0.6.dev763.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-20 00:24:40 UTC
Target Upstream Version:


Attachments (Terms of Use)
Rebased patch (1.69 KB, patch)
2013-09-26 08:40 UTC, Martin Magr
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

Description Rami Vaknin 2013-09-24 08:48:39 UTC
Version:
Havana on RHEL6.4
puddle: 4.0/2013-09-23.2


Description:
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
    _main(confFile)
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 577, in _main
    runSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/run_setup.py", line 554, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.6/site-packages/packstack/installer/setup_controller.py", line 90, in runAllSequences
    sequence.run(self.CONF)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 105, in run
    step.run(config=config)
  File "/usr/lib/python2.6/site-packages/packstack/installer/core/sequences.py", line 52, in run
    raise SequenceError(str(ex))
SequenceError: global name 'gethostlist' is not defined

Comment 2 Solly Ross 2013-09-24 19:16:54 UTC
looks like plugins/prescript_000.py needed

```
from packstack.modules.ospluginutils import gethostlist
from packstack.installer import utils
```

Comment 4 Martin Magr 2013-09-26 08:40:00 UTC
Created attachment 803277 [details]
Rebased patch

Comment 6 Scott Lewis 2013-11-19 16:54:31 UTC
Auto adding >= MODIFIED bugs to beta

Comment 11 errata-xmlrpc 2013-12-20 00:24:40 UTC
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.

http://rhn.redhat.com/errata/RHEA-2013-1859.html


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