1.查看volume状态
[root@cat ~]# cinder list +--------------------------------------+----------------+--------------+------+-------------+----------+-------------------------------------+ | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+--------------+------+-------------+----------+------------------------------------------+ | 0e4d333f-9bda-4b83-98f7-f509f5ceaefa | error_deleting| v1 | 1 | None | true | | | b86a40de-fa40-44d8-9863-0b5b9699ea3f | in-use | v2 | 1 | None | false | 1e6fc7da-fff6-42d2-bcca-229ab6e33237 | | ce8f729b-0ae3-428e-b6ff-7cebd9d81cb2 | available | v3 | 2 | None | false | | +--------------------------------------+---------------+--------------+------+-------------+----------+--------------------------------------+
2.查看logical磁盘
[root@cat ~]# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert volume-0e4d333f-9bda-4b83-98f7-f509f5ceaefa cinder-volumes -wi-a----- 1.00g volume-b86a40de-fa40-44d8-9863-0b5b9699ea3f cinder-volumes -wi-ao---- 1.00g volume-ce8f729b-0ae3-428e-b6ff-7cebd9d81cb2 cinder-volumes -wi-a----- 2.00g lv_root vg_rorwo -wi-ao---- 44.51g lv_swap vg_rorwo -wi-ao---- 5.00g
2.删除状态为 "error_deleting"的logical磁盘
[root@cat ~]# lvremove cinder-volumes volume-0e4d333f-9bda-4b83-98f7-f509f5ceaefa[root@cat ~]# cinder force-delete 0e4d333f-9bda-4b83-98f7-f509f5ceaefa
然后再刷新horizon看一下就好啦~
参考:https://ask.openstack.org/en/question/1378/cannot-remove-volume/