Bug 2129031

Summary: [RHOSP16.1.8] DHCP agent container is not removed after network deletion
Product: Red Hat OpenStack Reporter: Luigi Tamagnone <ltamagno>
Component: openstack-tripleo-heat-templatesAssignee: Rodolfo Alonso <ralonsoh>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: medium Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: beagles, chrisw, mburns, mlavalle, ralonsoh, scohen, yocha
Target Milestone: z9Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20221005153228.29a02c1.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-07 20:29:53 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 Luigi Tamagnone 2022-09-22 10:51:18 UTC
Description of problem:

After the deletion of network 377f875a-0f59-49d8-914f-7da5d1d34847 the DHCP agent is still present on controller:
~~~
ctl01 # podman ps
3a821689a8c8  htc-ospd01.ctlplane.x:8787/rhosp-rhel8/openstack-neutron-dhcp-agent:16.1.8          /bin/bash -c HAPR...  4 months ago    Up 7 weeks ago                  neutron-haproxy-qdhcp-377f875a-0f59-49d8-914f-7da5d1d34847
~~~
From the logs we can see sync network error because of the missing network:
~~~
2022-09-22 16:13:43.389 779509 ERROR neutron.agent.dhcp.agent [req-bce4e80a-3571-4e20-a32c-13b42f0b8943 - - - - -] Unable to sync network state on deleted network 377f875a-0f59-49d8-914f-7da5d1d34847: neutron_lib.exceptions.ProcessExecutionError: Exit code: 125; Stdin: ; Stdout: ; Stderr:
~~~

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


Actual results:
Dhcp agent container is still present on a controller node

Expected results:
Dhcp container should be removed after network deletion


Additional info:
There was some pacemaker instability in last days

Comment 25 errata-xmlrpc 2022-12-07 20:29:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat OpenStack 16.1.9 (openstack-tripleo-heat-templates) security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:8796