Red Hat Bugzilla – Bug 615874
removing a cluster from luci does not clean the db properly
Last modified: 2010-07-19 17:34:34 EDT
remove a cluster from luci, then create a new cluster with a new name, including the old nodes:
The following errors occurred while creating cluster "fabbione-rhel6": rhel6-node1 is already a member of a cluster named "fabbione", rhel6-node2 is already a member of a cluster named "fabbione"
It appears that this error is coming from ricci.
sequence: start cluster with old name, remove cluster from luci,
cluster.conf is not wiped from the nodes and ricci still reads the one on disk.
trying to create the new cluster (that at this point should be legal) with a new name re-using the old nodes fails because of ricci on the node still looking at the old config.
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release. It has
been denied for the current Red Hat Enterprise Linux release.
** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **
forgot to mention, this is using the latest code from luci.git
Right now when you delete a cluster, it only deletes it from luci. It doesn't delete it from the nodes. This is by design. Otherwise there is no way to remove a cluster from luci. We should probably include a "Destroy" cluster option that will remove the nodes from the cluster and removed the cluster.conf files.
I'll create a new bug with that option (616239).