cinder卷删除不掉解决方法

#无法删除的卷,导致报错,提示需要修改卷状态
[root@controller nova]# openstack volume list
+--------------------------------------+------+-----------+------+-------------+
| ID | Name | Status | Size | Attached to |
+--------------------------------------+------+-----------+------+-------------+
| c814c70d-8ae3-4080-80d4-4672aed8bae0 | | available | 1 | |
| d29af179-fca7-47c0-acdd-2421217c6774 | | available | 1 | |
| 811df7ab-cda6-41ea-9751-5f7fe8afa66f | | deleting | 1 | |
+--------------------------------------+------+-----------+------+-------------+
[root@controller nova]# cinder reset-state 811df7ab-cda6-41ea-9751-5f7fe8afa66f --state available
WARNING:cinderclient.api_versions:Version 2 is deprecated, use alternative version 3 instead.

  删除卷

[root@controller ~]# cinder delete 811df7ab-cda6-41ea-9751-5f7fe8afa66f

 

posted @ 2021-08-12 19:07  RoyFans  阅读(489)  评论(0编辑  收藏  举报