nxsbi commented on issue #8540:
URL: https://github.com/apache/cloudstack/issues/8540#issuecomment-1902936646

   Found the solution - I was on the right track here and I found this issue as 
well https://github.com/apache/cloudstack/issues/7347
   
   My thought is that the code was seeing the "Allocated" status and so not 
moving forward. I manipulated the metadata with code below and was able to 
delete the Secondary Storage after this. 
   ```
   
   update template_store_ref
   set DOWNLOAD_state = 'DOWNLOADED',
   state ='Destroyed',
   destroyed = 1
   where template_id in ( 238, 253)
   and store_id = 1;
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to