State not reset during nova-compute service init

Bug #1938925 reported by Pierre Libeau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Low
Pierre Libeau

Bug Description

Description
===========
Some transient state are cleaned during the nova-compute service init.
We encountered an issue with other states during nova backup action and shelve action.

Steps to reproduce
==================
nova backup
1/ Start Backup on the instance
2/ Restart nova-compute
3/ Instance stuck in image_backup

shelve
1/ Shelve an instance
2/ restart nova-compute during state shelving / shelving_image_pending_upload / shelving_image_uploading
3/ instance stuck in the previous state

Expected result
===============
Nova can't manager the job exec by libvirt because after a restart a lost the context so the jobs must be abort during the nova-compute restart

Actual result
=============
The instance is stuck in a transient state, user is blocked

Changed in nova:
assignee: nobody → Pierre Libeau (pierre-libeau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to nova (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/803600

Changed in nova:
status: New → In Progress
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.