BridgeInterfaceDriver should set macaddress for dhcp_veth

Bug #1073350 reported by Nachi Ueno
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Akihiro Motoki

Bug Description

BridgeInterfaceDriver should set macaddress for dhcp_veth

Current code set macaddress for root_veth. So mac address looks different from inside of namespace.
Also, This is not consistent with another bridge driver.

Revision history for this message
dan wendlandt (danwent) wrote :

does the mac address of a veth matter? I would have thought it would be the mac address of the tap device that dnsmasq listens on that matters.

Changed in quantum:
status: New → Incomplete
Revision history for this message
Akihiro Motoki (amotoki) wrote :

I think the bug is valid.

This problem is specific to BridgeInterfaceDrive.
root_veth (one peer of veth) is connected to a linux bridge and dhcp_veth (the other peer of veth) is moved to a namespace.

Since dnsmasq refers the peer of veth in a namespace, the mac address of dhcp_veth should be set.
But in the current code, the mac addresss of the port is set to root_veth and it is not referred from anywhere.

Revision history for this message
dan wendlandt (danwent) wrote :

ah, i see, I was thinking about the hybrid driver, in which case the veth interface is not the one with the IP address on it. this makes sense.

Revision history for this message
Nachi Ueno (nati-ueno) wrote :

Hi Akihiro, Dan

Thank Akihiro for detailed explanation.
Dan could you set this bug as valid?

dan wendlandt (danwent)
Changed in quantum:
status: Incomplete → Confirmed
Akihiro Motoki (amotoki)
Changed in quantum:
assignee: nobody → Akihiro Motoki (amotoki)
importance: Undecided → Medium
milestone: none → grizzly-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/15966

Changed in quantum:
status: Confirmed → In Progress
Gary Kotton (garyk)
Changed in quantum:
milestone: grizzly-2 → grizzly-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/15966
Committed: http://github.com/openstack/quantum/commit/e09051b31fb33707bebf88e4577dcda06f6eeffb
Submitter: Jenkins
Branch: master

commit e09051b31fb33707bebf88e4577dcda06f6eeffb
Author: Akihiro MOTOKI <email address hidden>
Date: Tue Nov 13 20:36:09 2012 +0900

    Ensure that mac address is set to namespace side veth end.

    Fixes bug 1073350

    Change-Id: I4c0e85b500ac966a4250e2b6df634aab812f67e9

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.