Bug 1435988 - [RFE] expose the status of service running on the host (image-io, mom, vm-console)
Summary: [RFE] expose the status of service running on the host (image-io, mom, vm-con...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-imageio
Classification: oVirt
Component: Daemon
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Daniel Erez
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks: 1419853
TreeView+ depends on / blocked
 
Reported: 2017-03-26 13:23 UTC by Natalie Gavrielov
Modified: 2017-06-30 12:16 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1419853
Environment:
Last Closed: 2017-06-30 12:16:08 UTC
oVirt Team: Infra
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Natalie Gavrielov 2017-03-26 13:23:40 UTC
Following issue #1419853:

-----------------------------------------------------------------------------
Detecting whether the daemon is running on an host (and use the host that has this running daemon to perform the upload/download) will help solving bug 1419853.
-----------------------------------------------------------------------------

+++ This bug was initially created as a clone of Bug #1419853 +++

Description of problem:
Try to upload an image using the GUI, when one of the host's ovirt-imageio-daemon is down and the other one is up - operation fails and the disk is in "paused by the system" status.

Version-Release number of selected component:

Engine:
ovirt-engine-4.1.0.3-0.1.el7.noarch
ovirt-imageio-common-1.0.0-0.el7ev.noarch
ovirt-imageio-proxy-1.0.0-0.el7ev.noarch

Hosts:
vdsm-4.19.4-21.git310b0a0.el7.centos.x86_64
ovirt-imageio-common-1.0.0-1.el7.noarch
ovirt-imageio-daemon-1.0.0-1.el7.noarch


How reproducible:
100% (2 out of 2)

Steps to Reproduce:
Have an environment with two hosts - one with ovirt-imageio-daemon running and the other daemon not.
Try to upload an image using the UI.

Actual results:
The transfer failed:
engine.log:
2017-02-07 10:34:48,307+02 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.AddImageTicketVDSCommand] (DefaultQuartzScheduler2) [edb72b48-af00-46dc-8ac9-3bb224608421] Failed in 'AddImageTicketVDS' method
2017-02-07 10:34:48,320+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler2) [edb72b48-af00-46dc-8ac9-3bb224608421] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM green-vdsb.qa.lab.tlv.redhat.com command AddImageTicketVDS failed: Cannot communicate with image daemon: 'reason=Error communicating with ovirt-imageio-daemon: [Errno 111] Connection refused'

Expected results:
For the upload to succeed - since there is another host with a daemon running. 

Additional info:
Tried to resume the upload twice, first time failed with the same error, second time succeeded - since it used the other daemon.


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