Difference between revisions of "Troubleshooting: Volumes stuck at deleting"

From Define Wiki
Jump to navigation Jump to search
(Created page with "If a volume is stuck at a deleting state, we can manually delete is from the mariadb database with the following query: MariaDB [cinder]> update volumes set deleted=1,status=...")
 
 
Line 1: Line 1:
 
If a volume is stuck at a deleting state, we can manually delete is from the mariadb database with the following query:
 
If a volume is stuck at a deleting state, we can manually delete is from the mariadb database with the following query:
  
 +
<syntaxhighlight>
 
MariaDB [cinder]> update volumes set deleted=1,status='deleted',deleted_at=now(),updated_at=now() where deleted=0 and id='$volume_uuid'
 
MariaDB [cinder]> update volumes set deleted=1,status='deleted',deleted_at=now(),updated_at=now() where deleted=0 and id='$volume_uuid'
 +
</syntaxhighlight>

Latest revision as of 09:45, 5 July 2019

If a volume is stuck at a deleting state, we can manually delete is from the mariadb database with the following query:

MariaDB [cinder]> update volumes set deleted=1,status='deleted',deleted_at=now(),updated_at=now() where deleted=0 and id='$volume_uuid'