Failed to delete a never attached volume with lioadm helper
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
Sergey Gotliv | ||
Icehouse |
Fix Released
|
Medium
|
Attila Fazekas |
Bug Description
/etc/cinder/
[DEFAULT]
iscsi_helper = lioadm
As admin user, I am unable to delete a volume if it was not attached before.
the volume status became: error_deleting
$ cinder create 1
$ cinder delete daf0a29a-
$ cinder list
+------
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+------
| daf0a29a-
+------
../screen-
2014-03-31 10:16:43.863 787 ERROR oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
2014-03-31 10:16:43.863 787 TRACE oslo.messaging.
When the lioadm is the iscsi helper the target just exists when the volume attached.
I should be able to delete a volume what was never attached.
The volumes which was attached to a vm before the delete request are deletable.
description: | updated |
Changed in cinder: | |
assignee: | nobody → Sergey Gotliv (sgotliv) |
tags: | added: icehouse-backport-potential lio |
Changed in cinder: | |
importance: | Undecided → Medium |
tags: | removed: icehouse-backport-potential in-stable-icehouse |
Changed in cinder: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | juno-1 → 2014.2 |
This may have the same root cause as bug 1300148. Was this with or without this fix in your tree?
04c0579 Merge "driver. create/ remove_ export( ) require elevated context" create/ remove_ export( ) require elevated context
d09d12a driver.