Can not detach port when vm is soft-deleted
Bug #1794683 reported by
huanhongda
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Undecided
|
huanhongda |
Bug Description
Description
===========
When vm is soft-deleted, we can not detach port from it. But when vm is shutoff, we can detach port.
VM in SOFT-DELETED and SHUTOFF status are the same status at the hypervisor level. The guest is shutdown. Why can't they do the same operation?
Steps to reproduce
==================
1) set reclaim_
2) create an instance vm01
3) create a port port01 and then attach it to vm01
4) delete vm01
5) detach port01 from vm01
Expected result
===============
port01 can be detached successfully.
Actual result
=============
The detach operation failed.
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/605602
Review: https:/