Bug 1075126 - Hosted Engine client fails if shared storage contains no data
Summary: Hosted Engine client fails if shared storage contains no data
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-hosted-engine-ha
Version: 3.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.1
Assignee: Martin Sivák
QA Contact: Artyom
URL:
Whiteboard: sla
Depends On:
Blocks: 1047649 1053040
TreeView+ depends on / blocked
 
Reported: 2014-03-11 14:37 UTC by Greg Padgett
Modified: 2016-06-12 23:16 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-08 13:36:26 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)


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

Description Greg Padgett 2014-03-11 14:37:28 UTC
Description of problem:
There are certain situations in which the Hosted Engine client API may be called when the HE shared storage contains no data.  In this case, the client API will fail with a message "Request failed: success".

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


How reproducible:
Always

Steps to Reproduce:
1. Install hosted engine packages
2. Run hosted engine client API before hosted engine setup. (Alternatively, shut down hosted engine and wipe the shared metadata file on hosted engine's shared storage.  This will simulate a race where vdsm may query the storage using the HA client API before the storage is written to.)

The API can be used in a simple python script:
  import ovirt_hosted_engine_ha.client.client as haClient
  print haClient.HAClient().get_all_stats()


Actual results:
Error, "Request failed: success"

Expected results:
Empty but successful return from the api.

Additional info:

Comment 1 Sandro Bonazzola 2014-05-08 13:36:26 UTC
This is an automated message

oVirt 3.4.1 has been released:
 * should fix your issue
 * should be available at your local mirror within two days.

If problems still persist, please make note of it in this bug report.


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