Bug 1810319 - [OSP17] NovaResumeGuestsStateOnHostBoot requires virt-guest-shutdown.target, but libvirt-daemon is not installed
Summary: [OSP17] NovaResumeGuestsStateOnHostBoot requires virt-guest-shutdown.target, ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: beta
: 17.0
Assignee: OSP Team
QA Contact: Khomesh Thakre
URL:
Whiteboard:
Depends On:
Blocks: 1920240
TreeView+ depends on / blocked
 
Reported: 2020-03-04 23:32 UTC by Lars Kellogg-Stedman
Modified: 2022-09-21 12:10 UTC (History)
11 users (show)

Fixed In Version: openstack-tripleo-heat-templates-14.0.1-0.20210213003238.4f214d8.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1920240 (view as bug list)
Environment:
Last Closed: 2022-09-21 12:09:42 UTC
Target Upstream Version: Wallaby
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 768348 0 None MERGED Making sure virt-guest-shutdown.target exists 2021-02-19 08:28:46 UTC
Red Hat Issue Tracker OSP-1868 0 None None None 2022-03-12 08:46:11 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:10:33 UTC

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


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