Reviewed: https://review.openstack.org/545820 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=92959238a3e408e810ccd4f3d3d453a35afb5bba Submitter: Zuul Branch: master
commit 92959238a3e408e810ccd4f3d3d453a35afb5bba Author: Sławek Kapłoński <[email protected]> Date: Mon Feb 19 13:28:57 2018 +0100 [Fullstack] Respawn dhclient process in case of error When dhclient process is started as async process by fake machine resource, it might happen that "None" will be returned as first line of output from this process. This is treated as an error and dhclient is halted immediately. Because of that fake machine don't have configured IP address and test fails. This patch adds "respawn_timeout" value set to 5 seconds for dhclient async process. When dhclient process is restarted it should works fine and IP address should be then configured properly. Change-Id: Ie056578abbe6e18c8415c6e61d755f2248a70541 Closes-Bug: #1728948 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1728948 Title: fullstack: test_connectivity fails due to dhclient crash Status in neutron: Fix Released Bug description: http://logs.openstack.org/66/515566/7/check/legacy-neutron-dsvm- fullstack/92fcb8e/logs/dsvm-fullstack- logs/TestOvsConnectivitySameNetwork.test_connectivity_GRE-l2pop- arp_responder,openflow-native_ovsdb- native_.txt.gz#_2017-10-31_06_52_37_750 The test fails because ping is not successful probably because instances don't get ips: http://logs.openstack.org/66/515566/7/check/legacy-neutron-dsvm- fullstack/92fcb8e/logs/dsvm-fullstack- logs/TestOvsConnectivitySameNetwork.test_connectivity_GRE-l2pop- arp_responder,openflow-native_ovsdb- native_.txt.gz#_2017-10-31_06_52_18_204 2017-10-31 06:52:18.204 25430 DEBUG neutron.agent.linux.async_process [-] Halting async process [ip netns exec test-42effae2-ba0c-45be- 95e3-85e7a8b6315f dhclient -sf /opt/stack/new/neutron/.tox/dsvm- fullstack/bin/fullstack-dhclient-script --no-pid -d port6b08d0] in response to an error. _handle_process_error neutron/agent/linux/async_process.py:196 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1728948/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

