Description of problem: I created a new datacenter, added a cluster, host, etc. At that point, I no longer needed the Default datacenter that was created at install (no hosts were left in it), and so I deleted it. When I moved to the System > Clusters tab, I noted that there still was a "Default" cluster defined. I tried to delete it (the "Remove" link was not greyed) and when I did, it threw an error as follows: Cannot remove default Host Cluster. Cannot remove Cluster. One or more Template(s) are still associated with it. When I moved to the Templates tab, there is indeed a template (named "Blank"), but when highlighted, the "Remove" link remains greyed out. Therefore, I cannot delete the template, and the Cluster that is associated with it. Version-Release number of selected component (if applicable): oVirt engine version 3.3.2-1.el6 How reproducible: Do not have another system to reproduce on. Steps to Reproduce: 1. Highlight the Default datacenter, click "remove" link. The datacenter is deleted. 2. Move to the Clusters tab, see that there is a Default cluster, click the "Remove" link, see the error. 3. Move to the Templates tab, see that there is a template, select it, notice that the "Remove" link remains greyed out. Actual results: Expected results: Deleting the Default datacenter should ensure that all associated Clusters and Templates (etc.) that are encapsulated by it are (auto?) removed (or exported etc.) before allowing the deletion. Additional info:
the blank template is sort of hardcoded and cannot be removed nor changed. With instance types feature merged this limitation may go away (be able to detach from cluster) - or at least this will be doable easily
It does make sense to keep it orphaned, but it needs even more workarounds in the code to treat it in a special way. we should revisit this after bug 1130174 gets implemented.
this low prio bug didn't make it for 3.6 beta cutoff, moving to 4.0
This is an automated message. This Bugzilla report has been opened on a version which is not maintained anymore. Please check if this bug is still relevant in oVirt 3.5.4. If it's not relevant anymore, please close it (you may use EOL or CURRENT RELEASE resolution) If it's an RFE please update the version to 4.0 if still relevant.
Update version if still relevant - I am not using this technology any longer at present so cannot verify on current version
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
pushed out due to capacity reasons
The root cause was that the Blank template was hard wired to the Default cluster making impossible to delete it. The 1130174 removed this duplication and now it is possible to delete the Default cluster. Closing this bug as current release since it is working since 3.6