Bug 1103382 - Error (with traceback) during heat configuration
Summary: Error (with traceback) during heat configuration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 5.0 (RHEL 7)
Assignee: Martin Magr
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On:
Blocks: 1107592
TreeView+ depends on / blocked
 
Reported: 2014-05-30 22:36 UTC by Luigi Toscano
Modified: 2014-09-08 05:43 UTC (History)
4 users (show)

Fixed In Version: openstack-packstack-2014.1.1-0.17.dev1102.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1107592 (view as bug list)
Environment:
Last Closed: 2014-07-08 15:38:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 97175 0 None None None Never
Red Hat Product Errata RHEA-2014:0846 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement - Packstack 2014-07-08 19:23:14 UTC

Description Luigi Toscano 2014-05-30 22:36:25 UTC
Description of problem:
Run packstack --allinone. The installation stops with:


[...]
23:36:46 Adding Swift builder manifest entries                [ DONE ]
23:36:46 Adding Swift proxy manifest entries                  [ DONE ]
23:36:46 Adding Swift storage manifest entries                [ DONE ]
23:36:46 Adding Swift common manifest entries                 [ DONE ]
23:36:46 Adding Heat manifest entries                         [ DONE ]
23:36:46 Adding Heat Keystone manifest entries                [ DONE ]
23:36:46 Adding Heat CloudFormation API manifest entries   [ ERROR ]
23:36:46 
23:36:46 ERROR : global name 'controller' is not defined
23:36:46 Please check log file /var/tmp/packstack/20140530-173641-rCn53/openstack-setup.log for more information

Detailed error shows:
2014-05-30 17:36:43::DEBUG::sequences::40::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 38, in run
    self.function(config, messages)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/heat_750.py", line 153, in create_cfn_manife
st
    manifestfile = "%s_heatcnf.pp" % controller.CONF['CONFIG_CONTROLLER_HOST']
NameError: global name 'controller' is not defined

2014-05-30 17:36:43::ERROR::run_setup::920::root:: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 915, in main
    _main(confFile)
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 605, in _main
    runSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 584, in runSequences
    controller.runAllSequences()
  File "/usr/lib/python2.7/site-packages/packstack/installer/setup_controller.py", line 68, in runAllSe
quences
    sequence.run(config=self.CONF, messages=self.MESSAGES)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 98, in run
    step.run(config=config, messages=messages)
  File "/usr/lib/python2.7/site-packages/packstack/installer/core/sequences.py", line 44, in run
    raise SequenceError(str(ex))
SequenceError: global name 'controller' is not defined


Most likely something in the lastest refactoring of heat_750.py


Version-Release number of selected component (if applicable):
openstack-packstack-2014.1.1-0.16.dev1100.el7ost

Comment 4 Amit Ugol 2014-06-05 10:06:58 UTC
this cannot be an allinone because heat and heat cfn tools are not installed by all in one.
After enabling both the installation process went smoothly.

Comment 7 errata-xmlrpc 2014-07-08 15:38:51 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-2014-0846.html


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