株式会社ヴァンデミックシステム

Blog

<スポンサーリンク>

エラー

[root@controller01 ~(keystone)]# openstack volume delete 5276ad10-332d-4b75-b6ad-980a92437b0a
Failed to delete volume with name or ID '5276ad10-332d-4b75-b6ad-980a92437b0a': Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots, awaiting a transfer, or be disassociated from snapshots after volume transfer. (HTTP 400) (Request-ID: req-e8d21f9e-aee4-401f-aa40-ac922e6c5c91)
1 of 1 volumes failed to delete.

以下コマンドで強制削除できる

cinder reset-state --state available 5276ad10-332d-4b75-b6ad-980a92437b0a
cinder reset-state --reset-migration-status  5276ad10-332d-4b75-b6ad-980a92437b0a
cinder reset-state --attach-status detached 5276ad10-332d-4b75-b6ad-980a92437b0a
cinder delete 5276ad10-332d-4b75-b6ad-980a92437b0a
openstack volume delete 5276ad10-332d-4b75-b6ad-980a92437b0a --force

参考
https://platform9.com/kb/openstack/openstack-volume-deletion-fails

<スポンサーリンク>

コメントを残す

Allowed tags:  you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>
Please note:  all comments go through moderation.

*

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)