Github user serg38 commented on the issue:
https://github.com/apache/cloudstack/pull/1773
@ustcweizhou @priyankparihar @borisstoyanov The default behavior was always
equivalent of force=true. We seem to agree that the UI behavior should remain
forced=true but with extra warning. We can either change default confirmation
"Please confirm that you want to delete this template." e.g. to "Please confirm
that you want to delete this template. Features that depends on the template
presence might no longer work". But I think the better option will be to have
response tag in listTemplate call to indicate if active VMs exists or not. Then
warning can be given only to such templates.
As for API side we might still change default behavior but we need to
explicitly document it in Release Notes so users can get prepared and change
instances of deleteTemplate execution to use forced=true or not as needed.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---