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

Bug 2120773

Summary: [17.0 ga known issue] Tripleo_nova_libvirt_guests fails after reboot
Product: Red Hat OpenStack Reporter: Artom Lifshitz <alifshit>
Component: openstack-tripleo-heat-templatesAssignee: OSP Team <rhos-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Joe H. Rahme <jhakimra>
Severity: medium Docs Contact:
Priority: medium    
Version: 17.0 (Wallaby)CC: bdobreli, igallagh, jamsmith, mburns, mgeary
Target Milestone: gaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
There is currently a known issue with shutting down and restarting instances after a Compute node reboot on RHOSP 17. When a Compute node is rebooted, the automated process for gracefully shutting down the instance fails, which causes the instance to have less time to shut down before the system forces them to stop. The results of the forced stop may vary. Ensure you have fresh backups for all critical workloads before rebooting Compute nodes.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-12 15:16:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Artom Lifshitz 2022-08-23 17:39:02 UTC
This bug was initially created as a copy of Bug #2107580

I am copying this bug because: 

Known issue release note in 17.0 ga.

Description of problem:

After a reboot of compute node, we see Tripleo_nova_libvirt_guests in the failed state.
It calls for a libvirt-guests.sh from inside the nova_libvirt container, which doesn't exist in osp17.

~~~
[root@compute-1 ~]# journalctl  -u tripleo_nova_libvirt_guests
Jul 15 12:37:02 compute-1 systemd[1]: Starting Suspend libvirt Guests in tripleo...
Jul 15 12:37:02 compute-1 podman[2864]: time="2022-07-15T12:37:02Z" level=warning msg=" binary not found, container dns will not be enabled"
Jul 15 12:37:02 compute-1 podman[2864]: Error: no container with name or ID "nova_libvirt" found: no such container
Jul 15 12:37:02 compute-1 systemd[1]: tripleo_nova_libvirt_guests.service: Main process exited, code=exited, status=125/n/a
Jul 15 12:37:02 compute-1 systemd[1]: tripleo_nova_libvirt_guests.service: Failed with result 'exit-code'.
Jul 15 12:37:02 compute-1 systemd[1]: Failed to start Suspend libvirt Guests in tripleo.



[root@compute-1 ~]# systemctl status tripleo_nova_libvirt_guests.service 
× tripleo_nova_libvirt_guests.service - Suspend libvirt Guests in tripleo
     Loaded: loaded (/etc/systemd/system/tripleo_nova_libvirt_guests.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2022-07-15 12:37:02 UTC; 17min ago
       Docs: man:libvirtd(8)
             https://libvirt.org
   Main PID: 2864 (code=exited, status=125)
        CPU: 75ms

Jul 15 12:37:02 compute-1 systemd[1]: Starting Suspend libvirt Guests in tripleo...
Jul 15 12:37:02 compute-1 podman[2864]: time="2022-07-15T12:37:02Z" level=warning msg=" binary not found, container dns will not be enabled"
Jul 15 12:37:02 compute-1 podman[2864]: Error: no container with name or ID "nova_libvirt" found: no such container
Jul 15 12:37:02 compute-1 systemd[1]: tripleo_nova_libvirt_guests.service: Main process exited, code=exited, status=125/n/a
Jul 15 12:37:02 compute-1 systemd[1]: tripleo_nova_libvirt_guests.service: Failed with result 'exit-code'.
Jul 15 12:37:02 compute-1 systemd[1]: Failed to start Suspend libvirt Guests in tripleo.
[root@compute-1 ~]# 
~~~

Version-Release number of selected component (if applicable):
RHOS-17.0-RHEL-9-20220711.n.1

openstack-tripleo-heat-templates-14.3.1-0.20220706080800.feca772.el9ost.noarch


How reproducible:
100%

Steps to Reproduce:
1. Deploy osp17 with NovaResumeGuestsStateOnHostBoot enable 
2. reboot any of the compute node
3.

Actual results:
Service failed after reboot

Expected results:
tripleo_nova_libvirt_guests should execute successfully

Additional info:

Comment 3 Artom Lifshitz 2022-09-12 15:16:55 UTC
The release notes automation will pick up BZs with the right flags even if they're closed. With the doc text done and requires_doc_text set to +, we can close this.