Bug 783811

Summary: oVirt-Engine-Webadmin - Host stays on "Installing" status when it's actually has Non-Operational status
Product: [Retired] oVirt Reporter: Ortal <ogvura>
Component: ovirt-engine-webadminAssignee: Daniel Erez <derez>
Status: CLOSED WORKSFORME QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, ecohen, iheim
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-05 16:25:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
host-non-operational.jpg none

Description Ortal 2012-01-22 15:44:25 UTC
Description of problem:

oVirt-Engine-Webadmin - Host stays on Installing when it's actually has Non-Operational status

Version-Release number of selected component (if applicable):
oVirt Version:
Host version: Fedora 16

How reproducible:
Always

Steps to Reproduce:
1. Open oVirt-engine UI 
2. Attempt to Install a new host (using "New" button)
3. When Installation fails for some reason, such as no right repository, the host stays on "Installing" 
  
Actual results:

Installing status stays until switching between pages in the UI.
The Event appears on UI, but status stays the same.

Expected results:

The Status should change according to the new setVdsStatus command coming from the backend:
2-01-22 17:14:34,872 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (QuartzScheduler_Worker-52) START, SetVdsStatusVDSCommand(vdsId = d5b3574c-450a-11e1-be51-001a4a169722, status=NonOperational,
 nonOperationalReason=NETWORK_UNREACHABLE), log id: 4867dbd4
2012-01-22 17:14:34,880 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (QuartzScheduler_Worker-52) FINISH, SetVdsStatusVDSCommand, log id: 4867dbd4
2012-01-22 17:14:34,888 INFO  [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] (QuartzScheduler_Worker-52) Host IRON_VDSB is set to Non-Operational, it is missing the following networks: ovirtmgmt,
2012-01-22 17:14:34,968 INFO  [org.ovirt.engine.core.bll.HandleVdsCpuFlagsOrClusterChangedCommand] (QuartzScheduler_Worker-52) Running command: HandleVdsCpuFlagsOrClusterChangedCommand internal: true. Entities aff
ected :  ID: d5b3574c-450a-11e1-be51-001a4a169722 Type: VDS
2012-01-22 17:14:34,975 INFO  [org.ovirt.engine.core.bll.HandleVdsVersionCommand] (QuartzScheduler_Worker-52) Running command: HandleVdsVersionCommand internal: true. Entities affected :  ID: d5b3574c-450a-11e1-be
51-001a4a169722 Type: VDS
2012-01-22 17:14:34,978 INFO  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (QuartzScheduler_Worker-52) Host d5b3574c-450a-11e1-be51-001a4a169722 : IRON_VDSB is already in NonOperational status. SetNonOpe
rationalVds command is skipped.


Additional info:

** Please see attached Screen shot.

Comment 1 Ortal 2012-01-22 15:44:59 UTC
Created attachment 556794 [details]
host-non-operational.jpg

Comment 2 Daniel Erez 2012-02-05 16:25:03 UTC
Can't reproduce (on reporter's setup as well)