Bug 1128295

Summary: Using soft or hard reboot can cause loss of network connectivity
Product: Red Hat OpenStack Reporter: John Trowbridge <jtrowbri>
Component: openstack-neutronAssignee: Ihar Hrachyshka <ihrachys>
Status: CLOSED ERRATA QA Contact: yfried
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: breeler, chrisw, ihrachys, jtrowbri, nyechiel, oblaut, tfreger, yeylon
Target Milestone: z5Keywords: ZStream
Target Release: 4.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-neutron-2013.2.4-1.el6ost Doc Type: Bug Fix
Doc Text:
In some cases, an instance's TAP interface was set and reset too rapidly by the hypervisor to be caught in the OVS neutron-agent loop, and as a result its VLAN tag was not reset. This could occur, for example, on an instance reboot. As a result, the instance lost network connectivity. This has been fixed so that every time an interface loses its VLAN tag, the OVS Neutron agent catches it and reconfigures the interface. As a result instances do not lose network connectivity after reboot.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-22 17:23:22 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 Trowbridge 2014-08-08 20:08:06 UTC
There is an upstream bug for this here:

https://bugs.launchpad.net/nova/+bug/1240849

From comment 7 in the above bug

Steps to reproduce:
================
- Create a private virtual network and subnet.
- boot a VM attached to this network.
- from the dhcp netns or router netns ping the vm IP and confirm it works.
- perform a "soft" reboot of the VM.
- confirm the pings never respond anymore
- perform a VM stop followed by a VM start
- confirm the pings come back.

Let me know if more information is needed.

Comment 2 Ihar Hrachyshka 2014-08-11 07:43:13 UTC
The fix was included in all Icehouse based RHEL-OSP releases. Which release have you tested against? If you want to target the fix to Havana too, please set Target appropriately.

Comment 3 John Trowbridge 2014-08-11 18:41:10 UTC
Thanks for looking at this. The customer in the attached case is hitting this on RHEL-OSP 4. I have set the target to the correct release.

Comment 5 yfried 2014-10-13 08:50:32 UTC
ON RHEL 6.6
[root@puma46 ~]# rpm -qa | grep neutron
openstack-neutron-openvswitch-2013.2.4-5.el6ost.noarch
python-neutron-2013.2.4-5.el6ost.noarch
openstack-neutron-ml2-2013.2.4-5.el6ost.noarch
python-neutronclient-2.3.4-1.el6ost.noarch
openstack-neutron-2013.2.4-5.el6ost.noarch

after soft reboot cirros VM is still able to ping google (8.8.8.8)

Comment 7 errata-xmlrpc 2014-10-22 17:23:22 UTC
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.

https://rhn.redhat.com/errata/RHSA-2014-1686.html