Bug 1012823 - Running command hosted-engine --vm-status raise exception
Summary: Running command hosted-engine --vm-status raise exception
Keywords:
Status: CLOSED DUPLICATE of bug 1008501
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Sandro Bonazzola
QA Contact: Leonid Natapov
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-27 08:28 UTC by Artyom
Modified: 2013-09-27 09:03 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-27 09:03:38 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Artyom 2013-09-27 08:28:11 UTC
Description of problem:
Running command hosted-engine --vm-status raise exception:
Traceback (most recent call last):
  File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py", line 86, in <module>
    if not status_checker.print_status():
  File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_setup/vm_status.py", line 56, in print_status
    all_host_stats = ha_cli.get_all_host_stats()
  File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/client/client.py", line 51, in get_all_host_stats
    constants.SERVICE_TYPE)
  File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", line 113, in get_stats_from_storage
    result = self._checked_communicate(request)
  File "/usr/lib/python2.6/site-packages/ovirt_hosted_engine_ha/lib/brokerlink.py", line 140, in _checked_communicate
    raise RequestError("Request failed: {0}".format(msg))
ovirt_hosted_engine_ha.lib.exceptions.RequestError: Request failed: failed to read metadata: [Errno 2] No such file or directory: '/rhev/data-center/mnt/lion.qa.lab.tlv.redhat.com:_export_alukiano_host__deploy/dceb6768-b622-4fda-b7b0-315b7681840a/ha_agent/hosted-engine.metadata'

Vm is on and available

Version-Release number of selected component (if applicable):
is16
vdsm-4.12.0-156.git6e499d6.el6ev.x86_64

How reproducible:
Always

Steps to Reproduce:
1. install ovirt-host-deploy-setup 
2. Run and finish hosted-engine --deploy
3. run hosted-engine --vm-status

Actual results:
Command return traceback

Expected results:
Return vm status

Additional info:

Comment 1 Sandro Bonazzola 2013-09-27 09:03:38 UTC

*** This bug has been marked as a duplicate of bug 1008501 ***


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