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

Bug 2258930

Summary: The NovaResumeGuestsStateOnHostBoot couldn't bring up the instances automatically
Product: Red Hat OpenStack Reporter: jiehuang
Component: openstack-novaAssignee: OSP DFG:Compute <osp-dfg-compute>
Status: CLOSED INSUFFICIENT_DATA QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: high Docs Contact:
Priority: high    
Version: 16.2 (Train)CC: alifshit, bdobreli, dasmith, eglynn, jhakimra, jveiraca, kchamart, mircea.vutcovici, rribaud, sbauza, sgordon, smooney, vromanso, xili
Target Milestone: ---Keywords: Reopened
Target Release: ---Flags: bdobreli: needinfo-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2275307 (view as bug list) Environment:
Last Closed: 2024-04-16 16:56:10 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:
Bug Depends On:    
Bug Blocks: 2275307    

Description jiehuang 2024-01-18 04:16:43 UTC
Description of problem:
[Questions]Does NovaResumeGuestsStateOnHostBoot will change the instances to output virsh list --autostart ?

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

How reproducible:


Steps to Reproduce:
1. create a yaml as the below

$ cat overcloud-customed-set/nova-gueststate.yaml
parameter_defaults:
  NovaResumeGuestsStateOnHostBoot: True

2. deploy it with this template
3. The output of autostart not exist there

[root@rhosp16-compute0 ~]# podman exec -it nova_libvirt virsh list --autostart
 Id   Name   State
--------------------

[root@rhosp16-compute0 ~]# podman exec -it nova_libvirt virsh list --no-autostart
 Id   Name                State
-----------------------------------
 1    instance-00000001   running

Actual results:
Couldn't get proper output and the instance also not comes up after compute reboot

Expected results:
The instance could reboot automatically after the compute node reboot

Additional info:

Comment 3 Bogdan Dobrelya 2024-01-31 16:32:16 UTC
nova does not use livbirt autostart fucntionaltiy and NovaResumeGuestsStateOnHostBoot is not related to that.
we do not support auto start in our openstack product and do not plan to use it going forward.

Comment 6 Bogdan Dobrelya 2024-02-07 17:14:22 UTC
I believe the no-support comment is for "virsh list --autostart" and "virsh list --no-autostart" integration of Nova and Libvirt.
Nova ensures the described functionality on its own, w/o relying nor using the libvirt autostart feature.

Comment 17 René Ribaud 2024-04-03 13:13:06 UTC
Hello, I have closed this bug as it has been waiting for more info for at least 4 weeks. We only do this to ensure that we don't accumulate stale bugs which can't be addressed. If you are able to provide the requested information, please feel free to re-open this bug.

Comment 20 Red Hat Bugzilla 2024-08-15 04:25:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days