You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "kanagarajb0720 (via GitHub)" <gi...@apache.org> on 2025/04/30 15:04:51 UTC

[I] Volume Migration Stuck in "Migrating" State [cloudstack]

kanagarajb0720 opened a new issue, #10798:
URL: https://github.com/apache/cloudstack/issues/10798

   ### problem
   
   We initiated a volume migration from one primary storage to another. Although the migration started, the volume has remained in the "Migrating" state for the past four days. Additionally, a new volume creation is stuck in the "Creating" state. Although the job was canceled, the original volume still shows as "Migrating,"  and the new volume remains in "creating".
    
   To move forward, how can we update the status of the affected volume from "Migrating" to "Ready" in the database.
   
   ### versions
   
   ACS version: 4.19.1.3
   Hypervisor: XenServer
   Storage: Pure Storage
   
   ### The steps to reproduce the bug
   
   1.
   2.
   3.
   ...
   
   
   ### What to do about it?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Volume Migration Stuck in "Migrating" State [cloudstack]

Posted by "nxsbi (via GitHub)" <gi...@apache.org>.
nxsbi commented on issue #10798:
URL: https://github.com/apache/cloudstack/issues/10798#issuecomment-2843801726

   The good thing with migrations is that the existing volume does not get touched until there is successful migration completion. 
   Without knowing why it was stuck, if your goal is to set the status correctly, you need to write manual update statements in the database.
   
   For the current active volume (check your vm to make sure)
   
   Update volumes
   Set status=‘Ready’
   Where I’d = x.
   
   For the one that failed
   
   Update volumes
   Set status=‘Expunged’
   Where I’d = y.
   
   
   Then also check the install_path for the failed one as you may have to manually delete the file if partial file was moved. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Volume Migration Stuck in "Migrating" State [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland closed issue #10798: Volume Migration Stuck in "Migrating" State
URL: https://github.com/apache/cloudstack/issues/10798


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org