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:
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