Bug 833382 - [Scale] PM configuration during host installation sometime fails due to a race
Summary: [Scale] PM configuration during host installation sometime fails due to a race
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: mkublin
QA Contact: Rami Vaknin
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-19 11:15 UTC by Rami Vaknin
Modified: 2016-02-10 19:02 UTC (History)
10 users (show)

Fixed In Version: si21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 20:01:54 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rami Vaknin 2012-06-19 11:15:33 UTC
Environment:
RHEV-M SI4

Scenario:
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.

From engine.log:
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.]

Comment 1 mkublin 2012-10-11 07:59:18 UTC
http://gerrit.ovirt.org/#/c/8485/

Comment 2 mkublin 2012-10-11 08:17:40 UTC
pushed upstream

Comment 4 Rami Vaknin 2012-10-18 22:16:43 UTC
Verified on SI21.
I've installed 38 hosts with power management using the same script, all of them passed successfully.


Note You need to log in before you can comment on or make changes to this bug.