vinfra service compute volume snapshot reset-state
Reset a volume snapshot stuck in the “Error” state or one of transitional states to the “Available” state:
usage: vinfra service compute volume snapshot reset-state <volume-snapshot>
<volume-snapshot>
- Volume snapshot ID or name
Example:
# vinfra service compute volume snapshot reset-state mynewsnapshot +-------------+--------------------------------------+ | Field | Value | +-------------+--------------------------------------+ | created_at | 2019-04-30T13:12:54.297629+00:00 | | description | | | id | 3fdfe5d6-8bd2-4bf5-8599-a9cef50e5b71 | | metadata | {} | | name | mynewsnapshot | | project_id | fd0ae61496d04ef6bb637bc3167b7eaf | | size | 8 | | status | available | | volume_id | 92dc3bd7-713d-42bf-83cd-4de40c24fed9 | +-------------+--------------------------------------+
This command resets the state of the volume snapshot mynewsnapshot
.