Comment 2 for bug 1621452

Revision history for this message
jichenjc (jichenjc) wrote :

[root@t1 nova] # nova volume-attach 765d0088-17de-4357-9cfe-92eea1f692ab b27f526c-64d6-4a35-8a01-b6afa602d7d5 /dev/vdb
+----------+--------------------------------------+
| Property | Value |
+----------+--------------------------------------+
| device | /dev/sdb |
| id | b27f526c-64d6-4a35-8a01-b6afa602d7d5 |
| serverId | 765d0088-17de-4357-9cfe-92eea1f692ab |
| volumeId | b27f526c-64d6-4a35-8a01-b6afa602d7d5 |
+----------+--------------------------------------+

[root@t1 nova] # nova volume-attach 765d0088-17de-4357-9cfe-92eea1f692ab b27f526c-64d6-4a35-8a01-b6afa602d7d5 /dev/vdb

next time, when I attach with name same DevicePathInUse will be raised

I am in liberty branch but I checked the code and seems we didn't catch DevicePathInUse in master