Merge lp:~berendt/nova/lp715180_fixing_state_of_bridge into lp:~hudson-openstack/nova/trunk

Proposed by Christian Berendt
Status: Rejected
Rejected by: Devin Carlen
Proposed branch: lp:~berendt/nova/lp715180_fixing_state_of_bridge
Merge into: lp:~hudson-openstack/nova/trunk
Diff against target: 16 lines (+3/-3)
1 file modified
nova/network/linux_net.py (+3/-3)
To merge this branch: bzr merge lp:~berendt/nova/lp715180_fixing_state_of_bridge
Reviewer Review Type Date Requested Status
Vish Ishaya (community) Disapprove
Devin Carlen (community) Approve
Review via email: mp+48926@code.launchpad.net

Description of the change

set state of a new created bridge to up for IPv4 and IPv6

To post a comment you must log in.
Revision history for this message
Devin Carlen (devcamcar) wrote :

lgtm

review: Approve
Revision history for this message
Vish Ishaya (vishvananda) wrote :

This conflicts with my branch here: https://code.launchpad.net/~vishvananda/nova/lp710959/+merge/48341

I don't think this fix will be necessary once that branch is merged.

review: Disapprove
Revision history for this message
Christian Berendt (berendt) wrote :

Patch by vish should also fix the problem with the upcoming bridge. If I understand it correctly the patch by vish will be applied soon. So I don't see a problem to disapprove this merge and to close bug #715180 as a duplicate of bug #710959.

If the patch by vish will not be applied soon I think it's better apply this patch first to have a working bridge in the code base.

Revision history for this message
Devin Carlen (devcamcar) wrote :

Vish's patch is close to being merged in, so I'm going to reject this patch.

Unmerged revisions

655. By Christian Berendt

we want the newly created bridge to be up, even we're still using ipv4

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'nova/network/linux_net.py'
2--- nova/network/linux_net.py 2011-02-08 06:07:05 +0000
3+++ nova/network/linux_net.py 2011-02-08 14:59:52 +0000
4@@ -203,9 +203,9 @@
5 if(FLAGS.use_ipv6):
6 _execute("sudo ip -f inet6 addr change %s dev %s" %
7 (net_attrs['cidr_v6'], bridge))
8- _execute("sudo ip link set %s up" % bridge)
9- else:
10- _execute("sudo ip link set %s up" % bridge)
11+
12+ _execute("sudo ip link set %s up" % bridge)
13+
14 if FLAGS.use_nova_chains:
15 (out, err) = _execute("sudo iptables -N nova_forward",
16 check_exit_code=False)