Change in vdsm[master]: jsonrpcvdscli: connectStorageServer verb

sbonazzo at redhat.com sbonazzo at redhat.com
Fri Mar 25 12:51:50 UTC 2016


Sandro Bonazzola has posted comments on this change.

Change subject: jsonrpcvdscli: connectStorageServer verb
......................................................................


Patch Set 1: Verified+1

Arguments as in xmlrpc call are: arguments: (1, '00000000-0000-0000-0000-000000000000', [{'protocol_version': 3, 'connection': 'mididell.home:/home/sata', 'user': 'kvm', 'id': 'c0fa7e2f-8b36-41c2-abac-6b8999b7c5d3'}])


Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 131, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py", line 1267, in _late_customization
    self._getExistingDomain()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py", line 602, in _getExistingDomain
    self._storageServerConnection()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py", line 788, in _storageServerConnection
    raise RuntimeError(status['status']['message'])
RuntimeError: Error storage server connection: (u"domType=00000000-0000-0000-0000-000000000000, spUUID=1, conList=[{u'protocol_version': 3, u'connection': u'mididell.home:/home/sata', u'user': u'kvm', u'id': u'c
0fa7e2f-8b36-41c2-abac-6b8999b7c5d3'}]",)


jsonrpc.Executor/4::INFO::2016-03-25 14:49:20,087::logUtils::49::dispatcher::(wrapper) Run and protect: connectStorageServer(domType=u'00000000-0000-0000-0000-000000000000', spUUID=1, conList=[{u'protocol_version': 3, u'connection': u'mididell.home:/home/sata', u'user': u'kvm', u'id': u'c0fa7e2f-8b36-41c2-abac-6b8999b7c5d3'}], options=None)
jsonrpc.Executor/4::ERROR::2016-03-25 14:49:20,087::task::868::Storage.TaskManager.Task::(_setError) Task=`81ff52b6-75f7-4996-a989-6d70a0937fd5`::Unexpected error
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 875, in _run
    return fn(*args, **kargs)
  File "/usr/lib/python2.7/site-packages/vdsm/logUtils.py", line 50, in wrapper
    res = f(*args, **kwargs)
  File "/usr/share/vdsm/storage/hsm.py", line 2423, in connectStorageServer
    conInfo = _connectionDict2ConnectionInfo(domType, conDef)
  File "/usr/share/vdsm/storage/hsm.py", line 193, in _connectionDict2ConnectionInfo
    typeName = CON_TYPE_ID_2_CON_TYPE[conTypeId]
KeyError: u'00000000-0000-0000-0000-000000000000'
jsonrpc.Executor/4::DEBUG::2016-03-25 14:49:20,087::task::887::Storage.TaskManager.Task::(_run) Task=`81ff52b6-75f7-4996-a989-6d70a0937fd5`::Task._run: 81ff52b6-75f7-4996-a989-6d70a0937fd5 (u'00000000-0000-0000-0000-000000000000', 1, [{u'protocol_version': 3, u'connection': u'mididell.home:/home/sata', u'user': u'kvm', u'id': u'c0fa7e2f-8b36-41c2-abac-6b8999b7c5d3'}]) {} failed - stopping task
jsonrpc.Executor/4::DEBUG::2016-03-25 14:49:20,087::task::1248::Storage.TaskManager.Task::(stop) Task=`81ff52b6-75f7-4996-a989-6d70a0937fd5`::stopping in state preparing (force False)
jsonrpc.Executor/4::DEBUG::2016-03-25 14:49:20,087::task::995::Storage.TaskManager.Task::(_decref) Task=`81ff52b6-75f7-4996-a989-6d70a0937fd5`::ref 1 aborting True

-- 
To view, visit https://gerrit.ovirt.org/55247
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If5b732f505b9c64c7403f05f5c2fc026a20f30a3
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Adam Litke <alitke at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
Gerrit-HasComments: No


More information about the vdsm-patches mailing list