[Bug 859587] [NEW] nova-network deletes default route
Ante Karamatić
859587 at bugs.launchpad.net
Mon Sep 26 12:11:02 UTC 2011
Public bug reported:
With flatDHCP, nova-network deletes default route, then deletes the ip,
puts the ip on bridge and adds default route. But then it deletes the IP
on the bridge interface and re-adds the same IP to the same interface.
Problem is that once this IP is deleted, route is deleted too. By just
adding the IP back again, default route isn't recovered. Example:
2011-09-26 13:50:06,787 DEBUG nova.linux_net [-] Starting Bridge interface for eth0 from (pid=909) ensure_bridge /usr/lib/python2.7/dist-packages/nova/network/linux_net.py:919
2011-09-26 13:50:06,787 DEBUG nova.utils [-] Running cmd (subprocess): sudo brctl addbr br100 from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:06,854 DEBUG nova.utils [-] Running cmd (subprocess): sudo brctl setfd br100 0 from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:06,903 DEBUG nova.utils [-] Running cmd (subprocess): sudo brctl stp br100 off from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:06,960 DEBUG nova.utils [-] Running cmd (subprocess): sudo ip link set br100 up from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:06,989 DEBUG nova.utils [-] Running cmd (subprocess): sudo brctl addif br100 eth0 from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:07,010 DEBUG nova.utils [-] Running cmd (subprocess): sudo route -n from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:07,029 DEBUG nova.utils [-] Running cmd (subprocess): sudo route del default gw 192.168.69.1 dev eth0 from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:07,060 DEBUG nova.utils [-] Running cmd (subprocess): sudo ip addr show dev eth0 scope global from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:07,081 DEBUG nova.utils [-] Running cmd (subprocess): sudo ip addr del 192.168.69.107/24 brd 192.168.69.255 scope global dev eth0 from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:07,102 DEBUG nova.utils [-] Running cmd (subprocess): sudo ip addr add 192.168.69.107/24 brd 192.168.69.255 scope global dev br100 from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:07,122 DEBUG nova.utils [-] Running cmd (subprocess): sudo route add default gw 192.168.69.1 from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:07,134 DEBUG nova.utils [-] Running cmd (subprocess): sudo ip addr show dev br100 scope global from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:07,156 DEBUG nova.utils [-] Running cmd (subprocess): sudo ip addr del 192.168.69.107/24 brd 192.168.69.255 scope global dev br100 from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:07,166 DEBUG nova.utils [-] Running cmd (subprocess): sudo ip addr add 10.10.0.1/24 brd 10.10.0.255 dev br100 from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
2011-09-26 13:50:07,191 DEBUG nova.utils [-] Running cmd (subprocess): sudo ip addr add 192.168.69.107/24 brd 192.168.69.255 scope global dev br100 from (pid=909) execute /usr/lib/python2.7/dist-packages/nova/utils.py:165
Look at the last five lines.
** Affects: nova
Importance: High
Assignee: Vish Ishaya (vishvananda)
Status: In Progress
** Affects: nova (Ubuntu)
Importance: Undecided
Status: New
** Also affects: nova (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/859587
Title:
nova-network deletes default route
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/859587/+subscriptions
More information about the Ubuntu-server-bugs
mailing list