yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #16807
[Bug 1336551] [NEW] multi network create not correctly setting up bridge
Public bug reported:
I'm trying to use nova-network to forward my blade's eth0 to the instance's eth0, and my blade's eth1 to my instances eth1.
I've struggled quite a bit and posed this question: https://ask.openstack.org/en/question/33421/how-to-bridge-2-ethernet-interfaces-from-host-blade-to-guest-vm/
I'm debugging now, and finding something is not correct.
nova boot test2 --flavor m1.tiny --image cirros-0.3.2-x86_64-uec
nova network-create iscsi_a --fixed-range-v4=172.16.12.241/29
--bridge=br_iscsi_a --bridge-interface=eth1 --multi-host=T
The ERROR's are my modification to the code (I tagged select log messages with my name).
The point to notice is the frequent mention of eth0 in the below log messages.
However, the bridge-interface is eth1.
No wonder it's not working.
I will dig deeper, but wanted to submit a bug first.
This is on icehouse stable.
2014-07-01 14:26:30.600 ERROR nova.network.linux_net [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] R
AMY Starting Bridge br_iscsi_a
2014-07-01 14:26:30.601 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf brctl addbr br_iscsi_a from (
pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:30.664 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:30.665 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf brctl setfd br_iscsi_a 0 from
(pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:30.732 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:30.734 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf brctl stp br_iscsi_a off from
(pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:30.796 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:30.797 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf ip link set br_iscsi_a up fro
m (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:30.862 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:30.863 ERROR nova.network.linux_net [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Ramy Adding interface eth0 to bridge br_iscsi_a
2014-07-01 14:26:30.864 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf brctl addif br_iscsi_a eth0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:30.931 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Result was 1 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:30.932 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf ip link set eth0 up from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:31.011 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:31.012 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Running cmd (subprocess): ip route show dev eth0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:31.017 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:31.018 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Running cmd (subprocess): ip addr show dev eth0 scope global from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:31.026 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:31.026 ERROR nova.network.linux_net [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Ramy filtering is True
2014-07-01 14:26:31.027 ERROR nova.network.linux_net [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] RAMY adding gateway rule
2014-07-01 14:26:31.027 ERROR nova.network.linux_net [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] RAMY adding gateway rule
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1336551
Title:
multi network create not correctly setting up bridge
Status in OpenStack Compute (Nova):
New
Bug description:
I'm trying to use nova-network to forward my blade's eth0 to the instance's eth0, and my blade's eth1 to my instances eth1.
I've struggled quite a bit and posed this question: https://ask.openstack.org/en/question/33421/how-to-bridge-2-ethernet-interfaces-from-host-blade-to-guest-vm/
I'm debugging now, and finding something is not correct.
nova boot test2 --flavor m1.tiny --image cirros-0.3.2-x86_64-uec
nova network-create iscsi_a --fixed-range-v4=172.16.12.241/29
--bridge=br_iscsi_a --bridge-interface=eth1 --multi-host=T
The ERROR's are my modification to the code (I tagged select log messages with my name).
The point to notice is the frequent mention of eth0 in the below log messages.
However, the bridge-interface is eth1.
No wonder it's not working.
I will dig deeper, but wanted to submit a bug first.
This is on icehouse stable.
2014-07-01 14:26:30.600 ERROR nova.network.linux_net [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] R
AMY Starting Bridge br_iscsi_a
2014-07-01 14:26:30.601 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf brctl addbr br_iscsi_a from (
pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:30.664 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:30.665 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf brctl setfd br_iscsi_a 0 from
(pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:30.732 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:30.734 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf brctl stp br_iscsi_a off from
(pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:30.796 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:30.797 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf ip link set br_iscsi_a up fro
m (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:30.862 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d ad
min admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:30.863 ERROR nova.network.linux_net [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Ramy Adding interface eth0 to bridge br_iscsi_a
2014-07-01 14:26:30.864 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf brctl addif br_iscsi_a eth0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:30.931 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Result was 1 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:30.932 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf ip link set eth0 up from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:31.011 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:31.012 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Running cmd (subprocess): ip route show dev eth0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:31.017 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:31.018 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Running cmd (subprocess): ip addr show dev eth0 scope global from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:154
2014-07-01 14:26:31.026 DEBUG nova.openstack.common.processutils [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Result was 0 from (pid=15595) execute /opt/stack/nova/nova/openstack/common/processutils.py:187
2014-07-01 14:26:31.026 ERROR nova.network.linux_net [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] Ramy filtering is True
2014-07-01 14:26:31.027 ERROR nova.network.linux_net [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] RAMY adding gateway rule
2014-07-01 14:26:31.027 ERROR nova.network.linux_net [req-9aa8fb03-4cfb-456e-89de-7c9e98397b6d admin admin] RAMY adding gateway rule
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1336551/+subscriptions
Follow ups
References