Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1103382

Summary: Error (with traceback) during heat configuration
Product: Red Hat OpenStack Reporter: Luigi Toscano <ltoscano>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Amit Ugol <augol>
Severity: high Docs Contact:
Priority: high    
Version: 5.0 (RHEL 7)CC: aortega, derekh, mmagr, yeylon
Target Milestone: rc   
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2014.1.1-0.17.dev1102.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1107592 (view as bug list) Environment:
Last Closed: 2014-07-08 15:38:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1107592    

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