Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 885659

Summary: [engine] Host status is set to maintenance before entire flow is complete
Product: Red Hat Enterprise Virtualization Manager Reporter: Gadi Ickowicz <gickowic>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED NOTABUG QA Contact: Gadi Ickowicz <gickowic>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: bazulay, dyasny, hateya, iheim, lpeer, nlevinki, Rhev-m-bugs, sgrinber, yeylon, ykaul, yzaslavs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-02 13:10:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine + vdsm logs none

Description Gadi Ickowicz 2012-12-10 11:00:09 UTC
Created attachment 660710 [details]
engine + vdsm logs

Description of problem:
Engine updates host status to maintenance (from Preparing for Maintenance) while there are still operations pending to be performed as part of the flow (DisconnectStoragePool, DisconnectStorageServer)

Version-Release number of selected component (if applicable):
rhevm-3.1.0-32.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Set host to maintenance check logs as to when status is updated to maintenance
  
Actual results:
After status is updated DisconnectStoragePool and DisconnectStorageServer are performed

Expected results:
Status should only be updated once all operations associated with the requested command are performed