Red Hat Bugzilla – Bug 833382
[Scale] PM configuration during host installation sometime fails due to a race
Last modified: 2016-02-10 14:02:18 EST
I've installed 36 hosts with power management configuration using python sdk script.
Each host installation followed by power management configuration which done right after the host installation has started.
The issue is that in each cycle of running that script - all the hosts are installed successfully however there are always several hosts (different hosts in each cycle) that fail to get updated with the power management configuration.
2012-06-19 12:10:31,371 ERROR [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp--0.0.0.0-8009-8) [2aee8b99] Field uniqueID can not be updated when status is Installing
2012-06-19 12:10:31,373 WARN [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp--0.0.0.0-8009-8) [2aee8b99] ObjectIdentityChecker.IsUpdateValid:: Not updatable field 'uniqueID' was updated
2012-06-19 12:10:31,374 WARN [org.ovirt.engine.core.bll.UpdateVdsCommand] (ajp--0.0.0.0-8009-8) [2aee8b99] CanDoAction of action UpdateVds failed. Reasons:VDS_STATUS_NOT_VALID_FOR_UPDATE,VAR__ACTION__UPDATE,VAR__TYPE__HOST
2012-06-19 12:10:31,376 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp--0.0.0.0-8009-8) Operation Failed: [Cannot edit Host. Host parameters cannot be modified while Host is operational.
Please switch Host to Maintenance mode first.]
Verified on SI21.
I've installed 38 hosts with power management using the same script, all of them passed successfully.