Bug 1040918

Summary: [Text] Event "State was set to Up for host <hostname>." is miss leading.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ilanit Stein <istein>
Component: ovirt-engineAssignee: Martin Perina <mperina>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, emesika, gklein, iheim, istein, lpeer, mpavlik, Rhev-m-bugs, sbonazzo, yeylon
Target Milestone: ---   
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: ovirt-3.4.0-beta2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-12 14:03:18 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:

Description Ilanit Stein 2013-12-12 10:15:08 UTC
Description of problem:

For a host, disconnected from storage, status toggle between non-operational and unassigned. In parallel to the host move to unassigned, The following event is sent: "State was set to Up for host <hostname>." 
The message is miss leading since host did not move to "UP" state.

Version-Release number of selected component (if applicable):
is26

Comment 1 Martin Perina 2013-12-16 15:15:47 UTC
Well, I looked at the code and that's current workflow:
 1) Call ActivateVdsCommand and if success, change host status to Up
 2) If host status is changed to Up, call ConnectHostToStoragePoolServersCommand and if error appears, change host status to Non Operational

I could remove the log completely, but it will affect all status changes, so that's not a good idea. But I could add info about status change to message "Failed to connect Host XXX to Storage Pool YYY, host status changed to Non Operation". What do you think?

Comment 2 Martin Pavlik 2014-02-18 15:16:28 UTC
verified with  
Red Hat Enterprise Virtualization Manager Version: 3.4.0-0.2.master.el6ev 

info about non operational state is displayed

Host dell-07 cannot access one of the Storage Domains attached to the Data Center Default. Setting Host state to Non-Operational.

Comment 3 Itamar Heim 2014-06-12 14:03:18 UTC
Closing as part of 3.4.0