Bug 1040918 - [Text] Event "State was set to Up for host <hostname>." is miss leading.
Summary: [Text] Event "State was set to Up for host <hostname>." is miss leading.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.4.0
Assignee: Martin Perina
QA Contact: Martin Pavlik
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 10:15 UTC by Ilanit Stein
Modified: 2016-02-10 19:45 UTC (History)
10 users (show)

Fixed In Version: ovirt-3.4.0-beta2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-12 14:03:18 UTC
oVirt Team: Infra
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 23073 0 None None None Never

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


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