VScaler: Deleting cinder volumes attached to non-existant VMs

From Define Wiki
Revision as of 11:58, 9 April 2018 by Martin t (talk | contribs) (initial commit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SSH into a mariadb container then run:

mysql -u cinder -p
<cinder password>
use cinder
update volume_attachment set attach_status="detached" where id="<attachment_id>";
update volumes set attach_status="detached" where id="<volume_id>";