Description of problem:
Unable to edit power management fields, engine mistakenly thinks that host is operational.
Version-Release number of selected component (if applicable):
sf5
How reproducible:
always
Steps to Reproduce:
1. Add host to engine.
2. configure primary and secondary power managements
3. put host to maintenance
4. drop secondary power managements values
5. click ok -
Actual results:
Error message saying that parameters couldn't be modified while host is operational.
the host is in maintenance see screen shot
Expected results:
parameters modified correctly
Additional info:
2013-02-06 15:23:24,245 ERROR [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-2) [6c440242] Field pmSecondaryuser can not be updated when status is Up
2013-02-06 15:23:24,245 WARN [org.ovirt.engine.core.utils.ObjectIdentityChecker] (ajp-/127.0.0.1:8702-2) [6c440242] ObjectIdentityChecker.IsUpdateValid:: Not updatable field 'pmSecondaryuse
r' was updated
2013-02-06 15:23:24,245 WARN [org.ovirt.engine.core.bll.UpdateVdsCommand] (ajp-/127.0.0.1:8702-2) [6c440242] CanDoAction of action UpdateVds failed. Reasons:VAR__ACTION__UPDATE,VAR__TYPE__H
OST,VDS_STATUS_NOT_VALID_FOR_UPDATE