Bug 1159240 - Rebase hosted engine setup code on VDSM API change
Summary: Rebase hosted engine setup code on VDSM API change
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ovirt-3.6.0-rc
: 1.3.0
Assignee: Sandro Bonazzola
QA Contact: Artyom
URL:
Whiteboard: integration
Depends On:
Blocks: 1269837
TreeView+ depends on / blocked
 
Reported: 2014-10-31 09:45 UTC by Sandro Bonazzola
Modified: 2015-12-22 13:27 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-22 13:27:12 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


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

Description Sandro Bonazzola 2014-10-31 09:45:40 UTC
Description of problem:
2014-10-31 10:38:01 DEBUG otopi.context context._executeMethod:152 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/sanlock/lockspace.py", line 163, in _misc
    lockspace + '.metadata': md_size,
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 336, in create
    service_size=size)
  File "/usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 256, in create_volume
    volume_uuid
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1297, in single_request
    return self.parse_response(response)
  File "/usr/lib/python2.7/site-packages/vdsm/vdscli.py", line 41, in wrapped_parse_response
    return old_parse_response(*args, **kwargs)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1473, in parse_response
    return u.close()
  File "/usr/lib64/python2.7/xmlrpclib.py", line 793, in close
    raise Fault(**self._stack[0])
Fault: <Fault 1: '<type \'exceptions.Exception\'>:method "getVolumePath" is not supported'>
2014-10-31 10:38:01 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Misc configuration': <Fault 1: '<type \'exceptions.Exception\'>:method "getVolumePath" is not supported'>

Version-Release number of selected component (if applicable):
# rpm -qa |egrep "(ovirt|otopi|vdsm)"|sort
libgovirt-0.3.0-3.fc20.x86_64
otopi-1.3.1-0.0.master.20141027.git34aedec.fc20.noarch
ovirt-engine-sdk-python-3.6.0.0-0.6.20141028.gite0ef487.fc20.noarch
ovirt-host-deploy-1.3.1-0.0.master.20141030185539.gitdca2bb8.fc20.noarch
ovirt-hosted-engine-ha-1.3.0-0.0.master.20141009074818.20141009074816.gitbb6326b.fc20.noarch
ovirt-hosted-engine-setup-1.3.0-0.0.master.fc20.noarch
ovirt-release-master-001-0.0.master.noarch
vdsm-4.16.0-484.git0d868a3.fc20.x86_64
vdsm-cli-4.16.0-484.git0d868a3.fc20.noarch
vdsm-infra-4.16.0-484.git0d868a3.fc20.noarch
vdsm-jsonrpc-4.16.0-484.git0d868a3.fc20.noarch
vdsm-python-4.16.0-484.git0d868a3.fc20.noarch
vdsm-xmlrpc-4.16.0-484.git0d868a3.fc20.noarch
vdsm-yajsonrpc-4.16.0-484.git0d868a3.fc20.noarch

How reproducible:
100%

VDSM API changed, we need to rebase hosted engine setup code on it.

Comment 1 Jiri Moskovcak 2014-11-03 14:36:07 UTC
What's the recommended replacement for getVolumePath?

Comment 2 Federico Simoncelli 2014-11-03 23:39:02 UTC
(In reply to Jiri Moskovcak from comment #1)
> What's the recommended replacement for getVolumePath?

It's prepareImage.

Comment 4 Artyom 2015-12-07 15:03:06 UTC
Verified on ovirt-hosted-engine-setup-1.3.1.1-1.el7ev.noarch
Not really see and any blockers for this bug and also setup pass fine.

Comment 5 Sandro Bonazzola 2015-12-22 13:27:12 UTC
oVirt 3.6.0 has been released and the bz verified, moving to closed current release.


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