euca-delete-volume cannot delete volumes in error state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Medium
|
Anthony Young |
Bug Description
If all the appropriate services are not running for nova-volume, a volume will still try to be created, but will be stuck in 'error' state. These cannot be deleted via euca-delete-
##########
root@osdemo05:~# euca-describe-
VOLUME vol-00000001 1 nova creating (wayne, None, None, None) 2011-02-10 15:19:41
VOLUME vol-00000002 1 nova error (wayne, osdemo03, None, None) 2011-02-10 23:42:41
...
...
VOLUME vol-00000008 2 nova error (wayne, osdemo03, None, None) 2011-02-11 00:07:13
VOLUME vol-00000009 2 nova available (wayne, osdemo03, None, None) 2011-02-11 00:07:37
root@osdemo05:~# euca-delete-volume vol-00000008
Unknown: Unknown: Volume status must be available
##########
Related branches
- Vish Ishaya (community): Approve
- Devin Carlen (community): Approve
-
Diff: 17 lines (+7/-0)1 file modifiedbin/nova-manage (+7/-0)
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → sleepsonthefloor (sleepsonthefloor) |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
There are also nova-manage commands for dealing with messed up volumes. volumes. You can, however, volumes /bugs.launchpad .net/bugs/ 716847 volumes. You can, volumes
Check nova-manage volume.
On Feb 10, 2011 9:20 PM, "Wayne A. Walls" <email address hidden> wrote:
> Public bug reported:
>
> If all the appropriate services are not running for nova-volume, a
> volume will still try to be created, but will be stuck in 'error' state.
> These cannot be deleted via euca-delete-
> delete all the invalid volumes from nova.volumes in the DB which will
> remove the rogue entries.
>
> ##########
> root@osdemo05:~# euca-describe-
> VOLUME vol-00000001 1 nova creating (wayne, None, None, None) 2011-02-10
15:19:41
> VOLUME vol-00000002 1 nova error (wayne, osdemo03, None, None) 2011-02-10
23:42:41
> ...
> ...
> VOLUME vol-00000008 2 nova error (wayne, osdemo03, None, None) 2011-02-11
00:07:13
> VOLUME vol-00000009 2 nova available (wayne, osdemo03, None, None)
2011-02-11 00:07:37
>
> root@osdemo05:~# euca-delete-volume vol-00000008
> Unknown: Unknown: Volume status must be available
> ##########
>
> ** Affects: nova
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Nova Bug
> Team, which is subscribed to OpenStack Compute (nova).
> https:/
>
> Title:
> euca-delete-volume cannot delete volumes in error state
>
> Status in OpenStack Compute (Nova):
> New
>
> Bug description:
> If all the appropriate services are not running for nova-volume, a
> volume will still try to be created, but will be stuck in 'error'
> state. These cannot be deleted via euca-delete-
> however, delete all the invalid volumes from nova.volumes in the DB
> which will remove the rogue entries.
>
> ##########
> root@osdemo05:~# euca-describe-
> VOLUME vol-00000001 1 nova creating (wayne, None, None, None) 2011-02-10
15:19:41
> VOLUME vol-00000002 1 nova error (wayne, osdemo03, None, None) 2011-02-10
23:42:41
> ...
> ...
> VOLUME vol-00000008 2 nova error (wayne, osdemo03, None, None) 2011-02-11
00:07:13
> VOLUME vol-00000009 2 nova available (wayne, osdemo03, None, None)
2011-02-11 00:07:37
>
> root@osdemo05:~# euca-delete-volume vol-00000008
> Unknown: Unknown: Volume status must be available
> ##########
>
>