← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1557308] [NEW] Restart openvswitch service,dhcp and l3 ports in namespaces exit the namespaces

 

Public bug reported:

1) Create a network with subnet
2) dhcp port created,the dhcp tap existed in dhcp namespace 
3) restart openvswitch service
4) the dhcp tap exit the  dhcp namespace

For router port, also is such.


[root@~(keystone_admin)]# ip netns exec qdhcp-1afa4268-a05b-44d8-a871-9cd93464d937 ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 1  bytes 28 (28.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1  bytes 28 (28.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tap90f18aa5-57: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet 33.0.0.2  netmask 255.255.255.0  broadcast 33.0.0.255
        inet6 fe80::f816:3eff:fead:931a  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:ad:93:1a  txqueuelen 0  (Ethernet)
        RX packets 398  bytes 32468 (31.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 11  bytes 906 (906.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@~(keystone_admin)]# ifconfig tap90f18aa5-57
tap90f18aa5-57: error fetching interface information: Device not found
[root@~(keystone_admin)]# systemctl restart openvswitch.service 
[root@~(keystone_admin)]# ip netns exec qdhcp-1afa4268-a05b-44d8-a871-9cd93464d937 ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 1  bytes 28 (28.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1  bytes 28 (28.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@~(keystone_admin)]# ifconfig tap90f18aa5-57
tap90f18aa5-57: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet6 fe80::d86a:5eff:fe36:6f0f  prefixlen 64  scopeid 0x20<link>
        ether da:6a:5e:36:6f:0f  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7  bytes 578 (578.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@~(keystone_admin)]#


[root@ ~(keystone_admin)]# ip netns exec qrouter-b2a169bf-446c-4c4c-b676-be047b626bbc ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 1  bytes 28 (28.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1  bytes 28 (28.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-e6321062-27: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet 20.0.0.1  netmask 255.255.255.0  broadcast 20.0.0.255
        inet6 fe80::f816:3eff:fe6a:a1cb  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:6a:a1:cb  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 952 (952.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@~(keystone_admin)]# systemctl restart openvswitch.service 
[root@~(keystone_admin)]# ip netns exec qrouter-b2a169bf-446c-4c4c-b676-be047b626bbc ifconfig -a
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 1  bytes 28 (28.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1  bytes 28 (28.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@ ~(keystone_admin)]# ifconfig qr-e6321062-27
qr-e6321062-27: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
        inet6 fe80::9014:2dff:fec3:15d6  prefixlen 64  scopeid 0x20<link>
        ether 92:14:2d:c3:15:d6  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 648 (648.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@S ~(keystone_admin)]#

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1557308

Title:
  Restart openvswitch service,dhcp and l3 ports  in namespaces exit the
  namespaces

Status in neutron:
  New

Bug description:
  1) Create a network with subnet
  2) dhcp port created,the dhcp tap existed in dhcp namespace 
  3) restart openvswitch service
  4) the dhcp tap exit the  dhcp namespace

  For router port, also is such.

  
  [root@~(keystone_admin)]# ip netns exec qdhcp-1afa4268-a05b-44d8-a871-9cd93464d937 ifconfig -a
  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
          inet 127.0.0.1  netmask 255.0.0.0
          inet6 ::1  prefixlen 128  scopeid 0x10<host>
          loop  txqueuelen 0  (Local Loopback)
          RX packets 1  bytes 28 (28.0 B)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 1  bytes 28 (28.0 B)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  tap90f18aa5-57: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
          inet 33.0.0.2  netmask 255.255.255.0  broadcast 33.0.0.255
          inet6 fe80::f816:3eff:fead:931a  prefixlen 64  scopeid 0x20<link>
          ether fa:16:3e:ad:93:1a  txqueuelen 0  (Ethernet)
          RX packets 398  bytes 32468 (31.7 KiB)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 11  bytes 906 (906.0 B)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  [root@~(keystone_admin)]# ifconfig tap90f18aa5-57
  tap90f18aa5-57: error fetching interface information: Device not found
  [root@~(keystone_admin)]# systemctl restart openvswitch.service 
  [root@~(keystone_admin)]# ip netns exec qdhcp-1afa4268-a05b-44d8-a871-9cd93464d937 ifconfig -a
  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
          inet 127.0.0.1  netmask 255.0.0.0
          inet6 ::1  prefixlen 128  scopeid 0x10<host>
          loop  txqueuelen 0  (Local Loopback)
          RX packets 1  bytes 28 (28.0 B)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 1  bytes 28 (28.0 B)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  [root@~(keystone_admin)]# ifconfig tap90f18aa5-57
  tap90f18aa5-57: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
          inet6 fe80::d86a:5eff:fe36:6f0f  prefixlen 64  scopeid 0x20<link>
          ether da:6a:5e:36:6f:0f  txqueuelen 0  (Ethernet)
          RX packets 0  bytes 0 (0.0 B)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 7  bytes 578 (578.0 B)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  [root@~(keystone_admin)]#


  [root@ ~(keystone_admin)]# ip netns exec qrouter-b2a169bf-446c-4c4c-b676-be047b626bbc ifconfig -a
  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
          inet 127.0.0.1  netmask 255.0.0.0
          inet6 ::1  prefixlen 128  scopeid 0x10<host>
          loop  txqueuelen 0  (Local Loopback)
          RX packets 1  bytes 28 (28.0 B)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 1  bytes 28 (28.0 B)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  qr-e6321062-27: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
          inet 20.0.0.1  netmask 255.255.255.0  broadcast 20.0.0.255
          inet6 fe80::f816:3eff:fe6a:a1cb  prefixlen 64  scopeid 0x20<link>
          ether fa:16:3e:6a:a1:cb  txqueuelen 0  (Ethernet)
          RX packets 0  bytes 0 (0.0 B)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 12  bytes 952 (952.0 B)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  [root@~(keystone_admin)]# systemctl restart openvswitch.service 
  [root@~(keystone_admin)]# ip netns exec qrouter-b2a169bf-446c-4c4c-b676-be047b626bbc ifconfig -a
  lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
          inet 127.0.0.1  netmask 255.0.0.0
          inet6 ::1  prefixlen 128  scopeid 0x10<host>
          loop  txqueuelen 0  (Local Loopback)
          RX packets 1  bytes 28 (28.0 B)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 1  bytes 28 (28.0 B)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  [root@ ~(keystone_admin)]# ifconfig qr-e6321062-27
  qr-e6321062-27: flags=67<UP,BROADCAST,RUNNING>  mtu 1500
          inet6 fe80::9014:2dff:fec3:15d6  prefixlen 64  scopeid 0x20<link>
          ether 92:14:2d:c3:15:d6  txqueuelen 0  (Ethernet)
          RX packets 0  bytes 0 (0.0 B)
          RX errors 0  dropped 0  overruns 0  frame 0
          TX packets 8  bytes 648 (648.0 B)
          TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  [root@S ~(keystone_admin)]#

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1557308/+subscriptions


Follow ups