Bug 1715937

Summary: Undercloud: /var/lib/neutron/dhcp/<UUID>/leases contains old / stale entries that lead to a failure when running ironic node cleanup
Product: Red Hat OpenStack Reporter: Andreas Karis <akaris>
Component: openstack-neutronAssignee: Assaf Muller <amuller>
Status: CLOSED DUPLICATE QA Contact: Roee Agiman <ragiman>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: amuller, bhaley, chrisw, harsh.kotak, scohen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-03 17:09:50 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 Andreas Karis 2019-05-31 17:08:01 UTC
Description of problem:
Undercloud: /var/lib/neutron/dhcp/<UUID>/leases contains old / stale entries that lead to a failure when ironic runs its automatic node cleanup --- when the node PXE boots, it never gets a DHCP lease from neutron's dnsmasq. This happens when running `heat stack-delete <stack name>`.

A restart of all neutron* services fixes this issue and cleanup works.
~~~
sudo systemctl restart neutron*
~~~

Then, this works:
~~~
openstack baremetal node abort <node>
openstack baremetal node manage <node>
openstack baremetal node provide <node>
~~~



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Andreas Karis 2019-05-31 17:13:25 UTC
(undercloud) [stack@nfv-director ~]$ rpm -qa | egrep 'neutron|ironic'
puppet-neutron-12.4.1-4.ed05e01git.el7ost.noarch
python2-neutronclient-6.7.0-1.el7ost.noarch
openstack-neutron-ml2-12.0.5-4.el7ost.noarch
python-ironic-inspector-client-3.1.1-2.el7ost.noarch
python2-neutron-lib-1.13.0-1.el7ost.noarch
openstack-neutron-12.0.5-4.el7ost.noarch
openstack-ironic-staging-drivers-0.9.1-1.el7ost.noarch
openstack-neutron-common-12.0.5-4.el7ost.noarch
python2-ironic-neutron-agent-1.0.0-1.el7ost.noarch
openstack-ironic-api-10.1.7-1.el7ost.noarch
openstack-ironic-inspector-7.2.1-5.el7ost.noarch
puppet-ironic-12.4.0-4.el7ost.noarch
openstack-neutron-openvswitch-12.0.5-4.el7ost.noarch
openstack-ironic-conductor-10.1.7-1.el7ost.noarch
python2-ironicclient-2.2.1-1.el7ost.noarch
python-neutron-12.0.5-4.el7ost.noarch
python-ironic-lib-2.12.1-2.el7ost.noarch
openstack-ironic-common-10.1.7-1.el7ost.noarch