nova volume-attach gives no error if attach fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Quality Assurance |
New
|
Undecided
|
Unassigned |
Bug Description
I try to attach volume. it fails but no error given. Yes, there is error in log.
$nova volume-list
+----+-
| ID | Status | Display Name | Size | Volume Type | Attached to |
+----+-
| 2 | available | None | 1 | None | |
+----+-
$nova volume-attach f9ac80e3-
$nova volume-list
+----+-
| ID | Status | Display Name | Size | Volume Type | Attached to |
+----+-
| 2 | available | None | 1 | None | |
+----+-
# tail -f /var/log/
2012-05-31 11:15:20 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-31 11:15:20 TRACE nova.rpc.amqp self.gen.next()
2012-05-31 11:15:20 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-31 11:15:20 TRACE nova.rpc.amqp mountpoint)
2012-05-31 11:15:20 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-31 11:15:20 TRACE nova.rpc.amqp return f(*args, **kw)
2012-05-31 11:15:20 TRACE nova.rpc.amqp File "/usr/lib/
2012-05-31 11:15:20 TRACE nova.rpc.amqp raise exception.
2012-05-31 11:15:20 TRACE nova.rpc.amqp DeviceIsBusy: The supplied device (vdb) is busy.
2012-05-31 11:15:20 TRACE nova.rpc.amqp
What will happen when you try vdc instead of vdb? vdb can probably exist on your instance (maybe with 20GB).
Thanks.