the restoring vm never resored when nova-compute restart

Bug #1877545 reported by xuyuanhao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Low
xuyuanhao

Bug Description

Description
===========
the restoring vms never be restored after nova-compute restart
Steps to reproduce
==================
1.soft delete the vms
2.execuate nova restore XXX to restore the instance.
3.down the nova-compute while restoring the vms.
4.restart the nova-compute
5.the instance.task_state is restoring
6.execuate nova restore XXX and restore the instance fail

Expected result
===============
the vm can restore success when restart the nova-compute

Actual result
=============
the vm task_state is restoring and can not restore anymore

Environment
===========
1. OpenStack Rocky version
2.Hypervisor is kvm
3.The storage is Ceph
4.Networking is Neutron with OpenVSwitch

Logs&Configs
============
The logs as following:
ERROR(conflict):Cannot 'restore' instance XXX while it is in task_state restoring

Tags: api
xuyuanhao (thourch)
Changed in nova:
assignee: nobody → xuyuanhao (thourch)
Brin Zhang (zhangbailin)
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
tags: added: api
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.