shwstppr commented on issue #7347:
URL: https://github.com/apache/cloudstack/issues/7347#issuecomment-1501636557

   @top-secrett thank you for the update. The error is shown when there are 
still templates available for the secondary store(and its zone). I feel this is 
the expected behaviour. Operator must delete all active templates for the zone 
first which can be done using UI or API,
   ```
   list templates zoneid=<ZONE_ID> templatefilter=all listall=true 
filter=id,name
   delete template zoneid=<ZONE_ID> id=<TEMPLATE_ID>
   ```
   If you faced an error while deleting or if after deleting all templates for 
the zone you were still unable to remove the secondary store then there could 
be a bug. We may need logs or reproduction steps for that.


-- 
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