yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #66653
[Bug 1709779] Re: reboot ovs service lose dhcp port in dhcp namespace
Hello, Boden:
I have installed ocata using devstack today, this issue can't reproduce too. So I think my configuration maybe incorrect. I will double check to figure out what's wrong.
Moving it to 'invalid'
** Changed in: neutron
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1709779
Title:
reboot ovs service lose dhcp port in dhcp namespace
Status in neutron:
Invalid
Bug description:
a. i install ocata on two host, all agent work well, as below:
[root@controller openstack]# openstack network agent list
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
| ID | Agent Type | Host | Availability Zone | Alive | State | Binary |
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
| 1296f653-7e28-47dc-b0c7-73e9fabb695f | Metadata agent | controller | None | True | UP | neutron-metadata-agent |
| 47bd5b59-feb7-47a6-864e-0cf7ed90ab8e | Open vSwitch agent | compute | None | True | UP | neutron-openvswitch-agent |
| 9d8f5a9d-2fd4-4c6f-b6d6-1730843738e3 | DHCP agent | controller | nova | True | UP | neutron-dhcp-agent |
| c420da8e-7028-4589-bd2f-9d25756e08f2 | Open vSwitch agent | controller | None | True | UP | neutron-openvswitch-agent |
| f79bf249-874b-422a-9d21-949786fbf367 | L3 agent | controller | nova | True | UP | neutron-l3-agent |
+--------------------------------------+--------------------+------------+-------------------+-------+-------+---------------------------+
[root@controller openstack]# openstack compute service list
+----+------------------+------------+----------+---------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+----+------------------+------------+----------+---------+-------+----------------------------+
| 1 | nova-consoleauth | controller | internal | enabled | up | 2017-08-10T05:47:04.000000 |
| 3 | nova-conductor | controller | internal | enabled | up | 2017-08-10T05:47:04.000000 |
| 7 | nova-scheduler | controller | internal | enabled | up | 2017-08-10T05:47:05.000000 |
| 10 | nova-compute | controller | nova | enabled | up | 2017-08-10T05:47:06.000000 |
| 11 | nova-compute | compute | nova | enabled | up | 2017-08-10T05:47:09.000000 |
+----+------------------+------------+----------+---------+-------+----------------------------+
b. create a tenant with vlan mode,
[root@controller openstack]# ip netns
qdhcp-006b70a9-9c44-40e9-b3a1-3334a472dda6
[root@controller openstack]# ip netns exec qdhcp-006b70a9-9c44-40e9-b3a1-3334a472dda6 ifconfig
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 1 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tapbfe934a3-9d: flags=323<UP,BROADCAST,RUNNING,PROMISC> mtu 1500
inet 1.2.3.4 netmask 255.255.255.0 broadcast 1.2.3.255
inet6 fe80::f816:3eff:feed:ea19 prefixlen 64 scopeid 0x20<link>
ether fa:16:3e:ed:ea:19 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5 bytes 438 (438.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
3. when reboot ovs sevice, port tapbfe934a3-9d in dhcp namespace will be lose
[root@controller openstack]# systemctl restart openvswitch
[root@controller openstack]# ip netns exec qdhcp-006b70a9-9c44-40e9-b3a1-3334a472dda6 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 1 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
4. when reboot dhcp agent, that port appear again
[root@controller openstack]# systemctl restart neutron-dhcp-agent.service
[root@controller openstack]# ip netns exec qdhcp-006b70a9-9c44-40e9-b3a1-3334a472dda6 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 1 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tapbfe934a3-9d: flags=323<UP,BROADCAST,RUNNING,PROMISC> mtu 1500
inet 1.2.3.4 netmask 255.255.255.0 broadcast 1.2.3.255
inet6 fe80::f816:3eff:feed:ea19 prefixlen 64 scopeid 0x20<link>
ether fa:16:3e:ed:ea:19 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5 bytes 438 (438.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
as describe above, i want to know weather this is normal
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1709779/+subscriptions
References