Red Hat Bugzilla – Bug 1019838
[RHSC] The message "Cannot remove Cluster. One or more Template(s) are still associated with it" seen when trying to remove the Default cluster
Last modified: 2015-12-28 01:39:55 EST
Created attachment 812924 [details]
Description of problem:
When trying to remove the Default cluster, the following messages are seen in an error pop-up -
Error while executing action:
Cannot remove default Host Cluster.
Cannot remove Cluster. One or more Template(s) are still associated with it
The message shown to the user should be more meaningful about the reason for not being able to remove the Default cluster.
Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 2.1.2-0.0.scratch.beta1.el6_4
Steps to Reproduce:
1. In the Clusters tab, select the Default cluster and click on Remove.
The above described message is seen.
A more meaningful message needs to be shown.
Find screenshot attached.
so in ovirt/rhev we can't remove the default template, hence the cluster.
mihcal/omer - thoughts on this limitation going forward?
gluster - i guess you can remove the default template in your case. hopefully won't cause too many issues now / in future upgrades.
Just ran into this myself today (3.3 Beta). Is there any way to re-associate a Template to an alternate Cluster without deleting it, or does the same limitation apply within oVirt?
I agree it is purely cosmetic, and only visible form the "System" node in the tree, and doesn't appear to cause any functional issues.
Message should be changed "You can not remove a default cluster"...
As suggested by Itamar, I feel this should be handled during engine setup and if the installation is Gluster only mode, the template installation should not be done.
Michal / Omer, need confirmation from your side as well, if there could be some consequences.
This is not blocking any functionality and it would require discussion in the upstream for removing the template as well. Shubhendu is going to start that discussion and if it gets closed in a week or so time, we will take this bug in. Otherwise the bug will be moved out of Corbett.
A discussion thread http://lists.ovirt.org/pipermail/engine-devel/2013-November/005862.html started on engine-devel.
Moving it out of Corbett
(In reply to Itamar Heim from comment #2)
> so in ovirt/rhev we can't remove the default template, hence the cluster.
> mihcal/omer - thoughts on this limitation going forward?
> gluster - i guess you can remove the default template in your case.
> hopefully won't cause too many issues now / in future upgrades.
we'll remove the limitation, the Blank template (or Default as we will rename it) would be disconnected from clusters (bug 1130174). It's already possible since the introduction of instance types.
*** Bug 1227740 has been marked as a duplicate of this bug. ***
RHSC 2.1 is EOLed and we don't have any plan to fix this issue.
If you think, this is an important bug to be addressed, pls. re-open it on the latest release.
I will go ahead and "CLOSE" this bug for this release.