Bug 1715937 - Undercloud: /var/lib/neutron/dhcp/<UUID>/leases contains old / stale entries that lead to a failure when running ironic node cleanup
Summary: Undercloud: /var/lib/neutron/dhcp/<UUID>/leases contains old / stale entries ...
Keywords:
Status: CLOSED DUPLICATE of bug 1694094
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Assaf Muller
QA Contact: Roee Agiman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-31 17:08 UTC by Andreas Karis
Modified: 2023-03-24 14:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-03 17:09:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-23667 0 None None None 2023-03-24 14:56:42 UTC

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


Note You need to log in before you can comment on or make changes to this bug.