Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2039412

Summary: after minor update to 16.1.7, libvirtd is enabled on the controllers
Product: Red Hat OpenStack Reporter: Jean-Francois Beaudoin <jbeaudoi>
Component: openstack-tripleo-heat-templatesAssignee: Lukas Bezdicka <lbezdick>
Status: CLOSED ERRATA QA Contact: Khomesh Thakre <kthakre>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: alifshit, arcsingh, dhill, jpretori, kthakre, lbezdick, mburns, omcgonag, ramishra, sbaker, slinaber, spower
Target Milestone: z9Keywords: Regression, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-1.20220308083412.29a02c1.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-07 20:29:31 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 Jean-Francois Beaudoin 2022-01-11 16:55:57 UTC
Description of problem:
After doing a minor update from 16.1 to 16.1.7, libvirtd.service was enabled onto the controllers.

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
libvirtd.service was enabled onto controllers

Expected results:
libvirtd.service should not be enabled onto controllers.

Additional info:
This prevented introspection to works for baremetal nodes with ironic in the overcloud.
The PXE boot never receive a IP after sending a DHCP request.
Within logs we see "no address available":
~~~
Jan 10 19:48:08 controller0 dnsmasq-dhcp[16607]: DHCPDISCOVER(tapb000000-ef) 10.10.10.10 00:00:00:00:00:00 no address available
~~~

Comment 3 Steve Baker 2022-01-11 20:59:53 UTC
Assinging to DFG:DF for triage. It looks like enabling the container-tools 2.0 stream results in an enabled running libvirtd service. The side-effect of this is a non-working ironic-inspector but this is just a symptom.

Ideally libvirtd should never run without being explicitly enabled, this may need to be fixed in container packaging. But tripleo-heat-templates/deployment/tripleo-packages/tripleo-packages-baremetal-puppet.yaml may be a more appropriate place for a workaround.

Comment 4 David Hill 2022-01-11 21:23:23 UTC
Is that being run in a minor update too ??

Comment 6 David Hill 2022-01-11 21:35:40 UTC
Is it really a workaround though ?   We never want to have a running libvirt where ironic inspector will run and on pre-deployed node this could happen as well ...   I think this is the best place to put this fix.

Comment 7 David Hill 2022-01-11 21:47:57 UTC
The location you suggested in #3 is for standalone undercloud but the current case is on the overcloud nodes... so we'd have to make more changes to allow this to happen .  I still think we need this just because we also support pre-provisionned servers where this could happen ... unless we already consider this somewhere else, we'll need this still (or maybe not, we don't have many users with pre-provisionned servers).

Comment 10 Artom Lifshitz 2022-01-19 14:52:41 UTC
With the upstream close to merging (just waiting on the gate), assigning to dvd to handle any necessary backports, and/or help shepherd dhill through the process.

Comment 27 errata-xmlrpc 2022-12-07 20:29:31 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