← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1555045] [NEW] Volume wouldn't been detach after delete with reclaim_instance_interval

 

Public bug reported:

Nova can assign seconds to reclaim_instance_interval option which is Interval in seconds for reclaiming deleted instances.
If users delete server which had attached volumes ( or boot from volume), those servers will been disappear in server list.
Their volumes would still in use and it will have "Attached to **** on /dev/vdb".
After interval seconds, nova compute would begin to reclaim those servers.
But it will not release those volumes.
This cause those volumes became "Attached to None on /dev/vdb".
Users need to reset volumes state then can use they again.
But those volumes will have "Attached to None on /dev/vdb Attached to **** on /dev/vdb"" 

We should not only actually delete instances but also detach volumes in
reclaiming instances.

** Affects: nova
     Importance: Undecided
     Assignee: Chung Chih, Hung (lyanchih)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Chung Chih, Hung (lyanchih)

-- 
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/1555045

Title:
  Volume wouldn't been detach after delete with
  reclaim_instance_interval

Status in OpenStack Compute (nova):
  New

Bug description:
  Nova can assign seconds to reclaim_instance_interval option which is Interval in seconds for reclaiming deleted instances.
  If users delete server which had attached volumes ( or boot from volume), those servers will been disappear in server list.
  Their volumes would still in use and it will have "Attached to **** on /dev/vdb".
  After interval seconds, nova compute would begin to reclaim those servers.
  But it will not release those volumes.
  This cause those volumes became "Attached to None on /dev/vdb".
  Users need to reset volumes state then can use they again.
  But those volumes will have "Attached to None on /dev/vdb Attached to **** on /dev/vdb"" 

  We should not only actually delete instances but also detach volumes
  in reclaiming instances.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1555045/+subscriptions


Follow ups