Bug 1130657
Summary: | vs_port fails with mismatched MAC addresses | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | John Eckersberg <jeckersb> |
Component: | openstack-puppet-modules | Assignee: | Ivan Chavero <ichavero> |
Status: | CLOSED ERRATA | QA Contact: | Ofer Blaut <oblaut> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 5.0 (RHEL 6) | CC: | aberezin, gdubreui, mburns, mmagr, morazi, ohochman, racedoro, sasha, sclewis, yeylon |
Target Milestone: | ga | ||
Target Release: | Installer | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-puppet-modules-2014.1-20.2.el7ost | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-21 18:09:02 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: |
Description
John Eckersberg
2014-08-15 19:37:01 UTC
are you using packstack or stapuft? Trying to reproduce in rhel6 This was with staypuft on RHEL 6, deploying HA neutron+gre controllers on RHEL 7 Oh also I forgot to add, downgrading to openstack-puppet-modules-2014.1-20.el6ost.noarch fixes the problem, so it's something in the v16 patch. Just reproduced it as well using Packstack: openstack-packstack-2014.1.1-0.37.dev1238.el7ost.noarch openstack-puppet-modules-2014.1-20.1.el6ost.noarch On bare metal, HWADDR parameter is usually present. But it's absent by default on virtual guests. It need to be added to reproduce it in virtualization environments: ------------------------ # ip addr show eth2 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 52:54:00:0f:f7:02 brd ff:ff:ff:ff:ff:ff inet 192.168.99.10/24 brd 192.168.99.255 scope global eth2 valid_lft forever preferred_lft forever # echo 'HWADDR=52:54:00:0F:F7:02' >> /etc/sysconfig/network-scripts/ifcfg-eth2 # ifdown eth2 # ifup eth2 # export controller_ip=192.168.98.10 # packstack --install-hosts=${controller_ip} \ --nagios-install=n \ --os-ceilometer-install=n \ --os-neutron-install=y \ --os-neutron-ovs-bridge-interfaces=br-ex:eth2 \ --keystone-admin-passwd=redhat \ --keystone-demo-passwd=redhat \ --ssh-public-key=/root/.ssh/id_rsa.pub \ --nagios-install=n \ ...(snipped)... 192.168.98.10_neutron.pp: [ ERROR ] Applying Puppet manifests [ ERROR ] ERROR : Error appeared during Puppet run: 192.168.98.10_neutron.pp Error: Execution of '/usr/sbin/ifdown br-ex' returned 1: ERROR : [/etc/sysconfig/network-scripts/ifdown-eth] Device br-ex has MAC address 82:0F:1C:86:C0:4B, instead of configured address 52:54:00:78:AD:88. Ignoring. ...(snipped)... ------------------------ HWADDR stanza must be removed/commented out from interface configuration file before being allocated to OVS bridge. This must be done before triggering Openstack (pack|quick)stack installations. This could be used as workaround. Newly upstream patch 17 addresses issue. Didn't reproduce with: rhel-osp-installer-0.1.10-2.el6ost.noarch openstack-foreman-installer-2.0.21-1.el6ost.noarch ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el6ost.noarch openstack-puppet-modules-2014.1-20.2.el6ost.noarch *** Bug 1131497 has been marked as a duplicate of this bug. *** *** Bug 1131497 has been marked as a duplicate of this bug. *** Verified: rhel-osp-installer-0.1.10-2.el6ost.noarch openstack-foreman-installer-2.0.21-1.el6ost.noarch ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el6ost.noarch openstack-puppet-modules-2014.1-20.2.el6ost.noarch The deployment has completed successfulyl with no errros. 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-2014-1090.html I'm seeing this with the latest packages on eth2 when deploying with neutron and eth2 as external interface: rhel-osp-installer-0.1.10-2.el6ost.noarch openstack-foreman-installer-2.0.21-1.el6ost.noarch ruby193-rubygem-foreman_openstack_simplify-0.0.6-8.el6ost.noarch openstack-puppet-modules-2014.1-20.2.el6ost.noarch As described in previous comments, a manual puppet agent -t after it solves it. These are the logs: Aug 25 14:30:43 neutron ovs-vsctl: ovs|00001|vsctl|INFO|Called as /usr/bin/ovs-vsctl add-br br-ex Aug 25 14:30:43 neutron kernel: device br-ex entered promiscuous mode Aug 25 14:30:43 neutron puppet-agent[3243]: (/Stage[main]/Neutron::Agents::Ovs/Neutron::Plugins::Ovs::Bridge[physnet-external:br-ex]/Vs_bridge[br-ex]/ensure) created Aug 25 14:30:43 neutron ovs-vsctl: ovs|00001|vsctl|INFO|Called as /usr/bin/ovs-vsctl add-port br-ex eth2 Aug 25 14:30:43 neutron kernel: device eth2 entered promiscuous mode Aug 25 14:30:43 neutron ovs-vsctl: ovs|00001|vsctl|INFO|Called as ovs-vsctl -t 10 -- --if-exists del-port br-ex eth2 Aug 25 14:30:43 neutron kernel: device eth2 left promiscuous mode Aug 25 14:30:43 neutron puppet-agent[3243]: Execution of '/usr/sbin/ifdown eth2' returned 1: Aug 25 14:30:43 neutron puppet-agent[3243]: (/Stage[main]/Neutron::Agents::Ovs/Neutron::Plugins::Ovs::Port[br-ex:eth2]/Vs_port[eth2]/ensure) change from absent to present failed: Execution of '/usr/sbin/ifdown eth2' returned 1: It seems the ifdown/ifup on the interface/bridge doesn't always works on RHEL6. Please create a new BZ accordingly. |