Error deleting volume

来源:互联网 发布:园长妈妈软件下载 编辑:程序博客网 时间:2024/06/05 06:09

Problem description:

       BadRequest: Invalid volume: Volume status must be available or error, but current status is: error_deleting (HTTP 400) (Request-ID: req-2d1eb193-47af-46ce-afaf-f93e0d6c067b).

 Reason: 

    Red Hat OpenStack bug:https://bugzilla.redhat.com/show_bug.cgi?id=888987  The link between compute node to volume did not release. 

Solution:

  •        Log-in as admin, modify volume status to  'error'.
  •        Delete the volume.
  •        Re-delete stack.

Solution2:

  • 登到controller上
  • source keystonerc_admin
  • [root@controller ~]# cinder list

+--------------------------------------+----------------+------------------------------------+------+-------------+----------+-------------+

|                  ID                  |     Status     |            Display Name            | Size | Volume Type | Bootable | Attached to |

+--------------------------------------+----------------+------------------------------------+------+-------------+----------+-------------+

| 72f2ea01-899b-46d3-8f6f-a0c75e1f5705 | error_deleting | test-Disk_Config_AA-1-bjjzipi7yqls |  3   |     None    |  false   |             |

+--------------------------------------+----------------+------------------------------------+------+-------------+----------+-------------+

  • [root@controller ~]# sudo -i cinder reset-state --state error  test-Disk_Config_AA-1-bjjzipi7yqls


knowledge point:

Volume type
  •      available: When the volume has detached.
  •      creating: When the volume is creating.
  •      in-use: When the volume has attached.
  •      error_deleting: When the volume deletes abnormal.
  •      attaching: When the volume is attaching.
  •      detaching: When the volume is detaching.
  •      error: When the volume runs abnormal.
  •      deleting: When the volume is deleting.
ISCSI + LVM

0 0
原创粉丝点击