Re: Deleting Template returns "Failed to update state" error

2018-01-15 Thread Özhan Rüzgar Karaman
Hi Makrand; We do not want to update user/domain resources, we like to find a way to remove templates which are problematic. We also restarted ssvm but it did not solve the issue, templates are still on Creating state on database. We could update the templates status field on template_store_ref

Re: Deleting Template returns "Failed to update state" error

2018-01-15 Thread Makrand
Hi, Template creation happens on secondary storage via SSVM. Try restarting the SSVM. That should stop the template creation activity. I am not very sure here. Although, I believe there is some time needed even before cloud stack marks the template in error state so that you can remove it. OR

Re: Deleting Template returns "Failed to update state" error

2018-01-15 Thread Özhan Rüzgar Karaman
We have one more finding, issue occur because we did not wait for template creation process to finish, we have checked the logs and we restarted the management server even template creation process did not finished yet :) We need to find a way to rollback these template creation process like

Deleting Template returns "Failed to update state" error

2018-01-15 Thread Özhan Rüzgar Karaman
Hi; We are using Cloudstack 4.9.3, we hit an error when trying to delete template from cloudstack ui. Our developer send 7 template creation requests for same snapshot each waiting 5-10 seconds between each requests. Now we have 7 templates all in Creating state and when we try to delete them we