r/openstack • • Feb 18 '20

How to set openstack volume status after creating a new stack?

Created a new stack by OpenStack, the stack's status showing 'Creating in process' for a long time. Checked its volume, it's status shows 'downloading'. Now want to set this status to other, how to do?

$ openstack volume list
+--------------------------------------+----------------------------------+-------------+------+--------------------------------------------------+
| ID                                   | Name                             | Status      | Size | Attached to                                      |
+--------------------------------------+----------------------------------+-------------+------+--------------------------------------------------+
| cc17d562-6278-4c9a-8681-a9ad471d5362 | volume-server-0                  | downloading |   20 |                                                  |
8 Upvotes

2 comments sorted by

3

u/xakaitetoia Feb 18 '20

cinder reset-state --state available $volume_uuid

1

u/rawmainb Feb 19 '20

Thank you. It also works:

$ openstack volume set [VOLUME_UUID] --state available

Docs

https://docs.openstack.org/python-openstackclient/ocata/command-objects/volume.html