MartinEmrich opened a new issue, #8157:
URL: https://github.com/apache/cloudstack/issues/8157
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Improvement Request
* Documentation Report
##### COMPONENT NAME
~~~
UI, Documentation
~~~
##### CLOUDSTACK VERSION
~~~
4.18.1
~~~
##### CONFIGURATION
Hypervisor: Xen/XCP-ng
##### OS / ENVIRONMENT
##### SUMMARY
When trying to delete a Template, it fails with a message like "Error Unable
to delete template with id: 294 because VM instances: [VM instance
{"id":2972,"instanceName":"i-39 ..." (continuing with a long list beyond the
screen).
This can be overridden using the "force" delete option, leaving a bad
feeling of "doing something dangerous".
##### STEPS TO REPRODUCE
- Create a VM template (e.g. import ISO, install VM, make Template from the
root device).
- Create a new VM from this template
- Try to delete the template
##### EXPECTED RESULTS
A template should be deletable at any time without error, unless there is a
actual reason against it. (which could then still be overridden using the
"force" option).
##### ACTUAL RESULTS
Error message (see above). This gives me a clear feeling of "doing something
bad", without any explanation.
This suggests that there is a hidden connection between a template and VMs
created from it after creation, which the" force" option would just leave
dangling.
Yet the documentation
(http://docs.cloudstack.apache.org/en/4.18.1.0/adminguide/templates.html)
explicitly states "When templates are deleted, the VMs instantiated from them
will continue to run.", which is also my observation.
--
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]