Comment 0 for bug 1690511

Revision history for this message
Ekalaya (ekalaya2015) wrote : attach volume to an instance doesnt change volume status

attaching process:

(openstack) server list
+--------------------------------------+------------+--------+-----------------------------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------------+--------+-----------------------------------------+
| 79d4b0a1-6ba4-43dc-9eaf-631dcf1d2c91 | mycirros | ACTIVE | fardani235_net=10.10.0.18, 192.168.88.2 |
| 6d58f5b7-dbd0-4ae5-9c40-fd902a0d9a63 | ubuntu1604 | ACTIVE | fardani235_net=10.10.0.9, 192.168.88.12 |
+--------------------------------------+------------+--------+-----------------------------------------+

(openstack) volume list
+--------------------------------------+--------------+-----------+------+-------------+
| ID | Display Name | Status | Size | Attached to |
+--------------------------------------+--------------+-----------+------+-------------+
| 033dd195-e032-4551-91f4-af7e0c23b388 | vol1 | available | 8 | |
| 948e617d-b15a-4d22-9658-40e7d09d4004 | myvol | available | 5 | |
+--------------------------------------+--------------+-----------+------+-------------+
(openstack) server add volume ubuntu1604 vol1
(openstack) volume list
+--------------------------------------+--------------+-----------+------+-------------+
| ID | Display Name | Status | Size | Attached to |
+--------------------------------------+--------------+-----------+------+-------------+
| 033dd195-e032-4551-91f4-af7e0c23b388 | vol1 | available | 8 | |
| 948e617d-b15a-4d22-9658-40e7d09d4004 | myvol | available | 5 | |
+--------------------------------------+--------------+-----------+------+-------------+
(openstack)

status didnt change and column 'attach to' still empty