Red Hat Bugzilla – Bug 1006893
RHEVM-BACKEND - Force remove DC having active host fails without an error
Last modified: 2016-02-10 14:26:28 EST
Description of problem:
From web admin portal, force remove DC having active host - seems to do nothing.
There is no event nor an Alert. In engine log the following line can be found:
WARN [org.ovirt.engine.core.bll.storage.RemoveStoragePoolCommand] (ajp-/127.0.0.1:8702-6) CanDoAction of action RemoveStoragePool faile
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create DC - add datacenter --name dc4 --storage_type nfs --version-major 3 --version-minor 3
2. Create Cluster - add cluster --name cl4 --data_center-name dc4 --cpu-id "Intel Conroe Family"
3. add host - add host --name MyHost --address MyHostIP --cluster-name cl4 --root_password rpwd
4. From WebAdmin - force remove dc4
Event: "Cannot remove DataCenter while there are Hosts that are not in Maintenance mode."
remove dc does remove the dc (cluster and host remains)
With the current upstream master, when I try to force remove a DC with a host that is in status UP. I get an error message in webadmin (pop up)
Error while executing action: Cannot remove Data Center while there are Hosts that are not in Maintenance mode
There is no event logged, do we need an event logged in this case?
I don't see canDoAction failures logged as events in other commands
A new downstream was just released, I'll check it again and let you know.
previously the message you mentioned, was logged as an event, pop up will work for me as well.
The canDoAction failure was found in engine log.
Please remove the needinfo when the information on the new build is provided.
Works as you described on is14.