We have a condition where the data plane is not ready when the Neutron's control plane and the instance deem the port ready. As a consequence, the instance's DHCPDISCOVER messages are never received by the corresponding dnsmasq instance, because data place is not ready yet. However, at the end, dnsmasq receives a DHCPRELEASE for an unknown lease for the port's instance, when presumably, data plane is ready.
Out of 35 occurrences over the past 7 days, 34 are with gate-tempest-dsvm-neutron-dvr-multinode-full-ubuntu-xenial. The other one is with gate-grenade-dsvm-neutron-dvr-multinode
This is an example that I traced all the way (patchset 367191):
We have a condition where the data plane is not ready when the Neutron's control plane and the instance deem the port ready. As a consequence, the instance's DHCPDISCOVER messages are never received by the corresponding dnsmasq instance, because data place is not ready yet. However, at the end, dnsmasq receives a DHCPRELEASE for an unknown lease for the port's instance, when presumably, data plane is ready.
Out of 35 occurrences over the past 7 days, 34 are with gate-tempest- dsvm-neutron- dvr-multinode- full-ubuntu- xenial. The other one is with gate-grenade- dsvm-neutron- dvr-multinode
This is an example that I traced all the way (patchset 367191):
1) Test case that failed:
tempest. scenario. test_network_ basic_ops. TestNetworkBasi cOps.test_ network_ basic_ops
2) Tenant network tempest- network- smoke-- 949101106, id 51b4c899- f196-4561- 839b-773303f73f d0 is created: logs.openstack. org/91/ 367191/ 2/check/ gate-tempest- dsvm-neutron- dvr-multinode- full-ubuntu- xenial/ 7fd0e33/ logs/tempest. txt.gz# _2016-09- 08_14_14_ 10_998
http://
3) DHCP agent creates and reloads allocations including instance's port. There are no DHCP agent failures related to this network in the log file: logs.openstack. org/91/ 367191/ 2/check/ gate-tempest- dsvm-neutron- dvr-multinode- full-ubuntu- xenial/ 7fd0e33/ logs/screen- q-dhcp. txt.gz# _2016-09- 08_14_14_ 25_297
http://
4) VM gets address: logs.openstack. org/91/ 367191/ 2/check/ gate-tempest- dsvm-neutron- dvr-multinode- full-ubuntu- xenial/ 7fd0e33/ logs/tempest. txt.gz# _2016-09- 08_14_14_ 33_449
http://
5) Test failure: logs.openstack. org/91/ 367191/ 2/check/ gate-tempest- dsvm-neutron- dvr-multinode- full-ubuntu- xenial/ 7fd0e33/ logs/tempest. txt.gz# _2016-09- 08_14_16_ 38_313
http://
Instance doesn't get response to DHCPDISCOVER:
udhcpc (v1.20.1) started
Sending discover...
Sending discover...
Sending discover...
6) dnsmasq instance never receives DHCPDISCOVER from instance. However, it receives a DHCPRELEASE for unknown lease from instance:
http:// logs.openstack. org/91/ 367191/ 2/check/ gate-tempest- dsvm-neutron- dvr-multinode- full-ubuntu- xenial/ 7fd0e33/ logs/syslog. txt.gz# _Sep_08_ 14_16_41