Bug 990949
Summary: | packstack installation fails when L2 agents is selected as linuxbridge | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Dharmit Shah <dshah> | ||||||
Component: | openstack-packstack | Assignee: | Terry Wilson <twilson> | ||||||
Status: | CLOSED ERRATA | QA Contact: | yfried | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 3.0 | CC: | aortega, breeler, derekh, hateya, hchiramm, mmagr, oblaut, sankarshan, sputhenp, twilson, yeylon | ||||||
Target Milestone: | z2 | Keywords: | Triaged, ZStream | ||||||
Target Release: | 3.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | openstack-packstack-2013.1.1-0.26.dev657.el6ost | Doc Type: | Bug Fix | ||||||
Doc Text: |
Previously, if linuxbridge was selected as the L2 agent during a PackStack interactive installation, PackStack would fail with the error:
ERROR : local variable 'iface_arr' referenced before assignment
Please check log file /var/tmp/packstack/<timestamp>/openstack-setup.log for more information.
This has been fixed and linuxbridge can be set as the L2 agent.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-09-03 19:57:55 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: | |||||||||
Attachments: |
|
Created attachment 781502 [details]
Patch to list brige interfaces when 'linuxbridge' used as a L2 agent
With this patch 'packstack' installation proceeded on Quantum L2 Agent manifest entries with 'linuxbridge' as L2 plugin. quantum-dhcp-hosts: 10.65.209.157 quantum-l2-plugin: linuxbridge quantum-metadata-hosts: 10.65.209.157 ****** Installing: Clean Up... [ DONE ] OS support check... [ DONE ] Adding pre install manifest entries... [ DONE ] Setting up ssh keys... [ DONE ] Adding MySQL manifest entries... [ DONE ] Adding QPID manifest entries... [ DONE ] Adding Keystone manifest entries... [ DONE ] Adding Glance Keystone manifest entries... [ DONE ] Adding Glance manifest entries... [ DONE ] Adding Cinder Keystone manifest entries... [ DONE ] Installing dependencies for Cinder... [ DONE ] Checking if the Cinder server has a cinder-volumes vg...[ DONE ] Adding Cinder manifest entries... [ DONE ] Adding Nova API manifest entries... [ DONE ] Adding Nova Keystone manifest entries... [ DONE ] Adding Nova Cert manifest entries... [ DONE ] Adding Nova Conductor manifest entries... [ DONE ] Adding Nova Compute manifest entries... [ DONE ] Adding Nova Scheduler manifest entries... [ DONE ] Adding Nova VNC Proxy manifest entries... [ DONE ] Adding Nova Common manifest entries... [ DONE ] Adding Openstack Network-related Nova manifest entries...[ DONE ] Adding Quantum API manifest entries... [ DONE ] Adding Quantum Keystone manifest entries... [ DONE ] Adding Quantum L3 manifest entries... [ DONE ] Adding Quantum L2 Agent manifest entries... [ DONE ] Adding Quantum DHCP Agent manifest entries... [ DONE ] Adding Quantum Metadata Agent manifest entries... [ DONE ] Adding OpenStack Client manifest entries... [ DONE ] Adding Horizon manifest entries... [ DONE ] Preparing servers... [ DONE ] Adding post install manifest entries... [ DONE ] Installing Dependencies... [ DONE ] Copying Puppet modules and manifests... [ DONE ] Applying Puppet manifests... Applying 10.65.209.157_prescript.pp 10.65.209.157_prescript.pp : [ DONE ] Applying 10.65.209.157_mysql.pp Applying 10.65.209.157_qpid.pp 10.65.209.157_mysql.pp : [ DONE ] 10.65.209.157_qpid.pp : [ DONE ] Applying 10.65.209.157_keystone.pp Applying 10.65.209.157_glance.pp Applying 10.65.209.157_cinder.pp 10.65.209.157_keystone.pp : [ DONE ] 10.65.209.157_glance.pp : [ DONE ] 10.65.209.157_cinder.pp : [ DONE ] Applying 10.65.209.157_api_nova.pp 10.65.209.157_api_nova.pp : [ DONE ] Applying 10.65.209.157_nova.pp 10.65.209.157_nova.pp : [ DONE ] Applying 10.65.209.157_quantum.pp 10.65.209.157_quantum.pp : [ DONE ] Applying 10.65.209.157_osclient.pp Applying 10.65.209.157_horizon.pp 10.65.209.157_osclient.pp : [ DONE ] 10.65.209.157_horizon.pp : [ DONE ] Applying 10.65.209.157_postscript.pp 10.65.209.157_postscript.pp : [ DONE ] [ DONE ] **** Installation completed successfully ****** I dont know how to check the other sanity checks though.. --Humble It is not an error that iface_arr is only defined with openvswitch. It is an error that is used when the l2 plugin is not openvswitch. So the attached patch won't work, but this https://review.openstack.org/39727 should fix the bug. (In reply to Terry Wilson from comment #5) > It is not an error that iface_arr is only defined with openvswitch. It is an > error that is used when the l2 plugin is not openvswitch. So the attached > patch won't work, but this https://review.openstack.org/39727 should fix the > bug. Terry, yep, I missed 'iface_arr' is only valid for openvswitch. Tested on openstack-packstack-2013.1.1-0.27.dev660.el6ost.noarch I have used LinuxBridge and no namespace NEEDINFO for Terry Wilson: I am writing the Doc Text for bug advisories. As the Doc Text field was blank, I have written the current Doc Text from scratch. Could you please edit it and correct as necessary, Thanks. Bruce Reeler: Doc text looks good to me. 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/RHBA-2013-1186.html |
Created attachment 781488 [details] openstack log Description of problem: When "linuxbridge" is selected as L2 agent, packstack installation fails with below message: ERROR : local variable 'iface_arr' referenced before assignment Please check log file /var/tmp/packstack/20130730-060413-SraF4Q/openstack-setup.log for more information Version-Release number of selected component (if applicable): openstack-packstack-2013.1.1-0.23.dev642.el6ost.noarch How reproducible: Always Steps to Reproduce: 1. Install openstack-packstack-2013.1.1-0.23.dev642.el6ost.noarch 2. Run packstack 3. Select linuxbridge when asked for L2 agent. Actual results: Installation fails. Expected results: Installation should work fine. Additional info: