← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1794683] [NEW] Can not detach port when vm is soft-deleted

 

Public bug reported:

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_instance_interval > 0 to enable soft-delete
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.

** Affects: nova
     Importance: Undecided
     Assignee: huanhongda (hongda)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1794683

Title:
  Can not detach port when vm is soft-deleted

Status in OpenStack Compute (nova):
  In Progress

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_instance_interval > 0 to enable soft-delete
  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 manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1794683/+subscriptions


Follow ups