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

Bug 1810319

Summary: [OSP17] NovaResumeGuestsStateOnHostBoot requires virt-guest-shutdown.target, but libvirt-daemon is not installed
Product: Red Hat OpenStack Reporter: Lars Kellogg-Stedman <lars>
Component: openstack-tripleo-heat-templatesAssignee: OSP Team <rhos-maint>
Status: CLOSED ERRATA QA Contact: Khomesh Thakre <kthakre>
Severity: high Docs Contact:
Priority: high    
Version: 16.2 (Train)CC: augol, bdobreli, dhill, jparker, kthakre, mburns, morazi, mschuppe, ramishra, ravsingh, smooney
Target Milestone: betaKeywords: Patch, Triaged, ZStream
Target Release: 17.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-14.0.1-0.20210213003238.4f214d8.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1920240 (view as bug list) Environment:
Last Closed: 2022-09-21 12:09:42 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: Wallaby
Embargoed:
Bug Depends On:    
Bug Blocks: 1920240    

Description Lars Kellogg-Stedman 2020-03-04 23:32:10 UTC
Description of problem:

Enabling NovaResumeGuestsStateOnHostBoot in an OSP 13 deploy installs /etc/systemd/system/libvirt-guests.service, which includes:

  Requires=virt-guest-shutdown.target

virt-guest-shutdown.target is provided by libvirt-daemon:

  # rpm -qf /usr/lib/systemd/system/virt-guest-shutdown.target 
  libvirt-daemon-4.5.0-23.el7_7.5.x86_64

When deploying onto pre-deployed nodes, libvirt-daemon is not installed, so the deploy will fail when attempting to activate this service.

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

  openstack-tripleo-heat-templates-8.4.1-16.el7ost.noarch

Comment 1 Lars Kellogg-Stedman 2020-03-04 23:34:35 UTC
Martin,

Bringing this to your attention since you worked on the implementation of NovaResumeGuestsStateOnHostBoot.

Comment 2 Martin Schuppert 2020-03-06 10:45:35 UTC
If pre-provisioned nodes won't have libvirt-daemon installed, which we have in overcloud image for non
pre-provisioned deployments, the 'Requires=virt-guest-shutdown.target' [1] will make the service enable
fail. We removed the Requires in later release [2] when running the libvirt-guests inside the container.

This needs a change to the systemd unit file, or libvirt-daemon to be installed as a workeround.

[1] https://github.com/openstack/tripleo-heat-templates/blob/stable/queens/puppet/services/nova-compute.yaml#L479
[2] https://github.com/openstack/tripleo-heat-templates/blob/master/deployment/nova/nova-compute-container-puppet.yaml#L884

Comment 24 errata-xmlrpc 2022-09-21 12:09:42 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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/RHEA-2022:6543