Moving disk from one gluster domain to another fails, either with the vm running or
down..
It strikes me that it says : File
"/usr/lib64/python2.7/site-packages/libvirt.py", line 718, in blockCopy
if ret == -1: raise libvirtError ('virDomainBlockCopy() failed', dom=self)
I'am sending the relevant piece of log..
But it should be a file copy since it's gluster am I right?.
Gluster volumes are lvm thick and have different shard sizes...
2018-09-14 15:05:53,325+0300 ERROR (jsonrpc/2) [virt.vm]
(vmId='f90f6533-9d71-4102-9cd6-2d9960a4e585') Unable to start replication for sda
to {u'domainID': u'd07231ca-89b8-490a
-819d-8542e1eaee19', 'volumeInfo': {'path':
u'vol3/d07231ca-89b8-490a-819d-8542e1eaee19/images/3d95e237-441c-4b41-b823-48d446b3eba6/5716acc8-7ee7-4235-aad6-345e565f3073',
'type
': 'network', 'hosts': [{'port': '0',
'transport': 'tcp', 'name': '10.252.166.129'},
{'port': '0', 'transport': 'tcp', 'name':
'10.252.166.130'}, {'port': '0', 'transport': 'tc
p', 'name': '10.252.166.128'}], 'protocol':
'gluster'}, 'format': 'cow', u'poolID':
u'90946184-a7bd-11e8-950b-00163e11b631', u'device': 'disk',
'protocol': 'gluster', 'propagat
eErrors': 'off', u'diskType': u'network', 'cache':
'none', u'volumeID': u'5716acc8-7ee7-4235-aad6-345e565f3073',
u'imageID': u'3d95e237-441c-4b41-b823-48d446b3eba6', 'hosts': [
{'port': '0', 'transport': 'tcp', 'name':
'10.252.166.129'}], 'path':
u'vol3/d07231ca-89b8-490a-819d-8542e1eaee19/images/3d95e237-441c-4b41-b823-48d446b3eba6/5716acc8-7ee7-4235
-aad6-345e565f3073', 'volumeChain': [{'domainID':
u'd07231ca-89b8-490a-819d-8542e1eaee19', 'leaseOffset': 0, 'path':
u'vol3/d07231ca-89b8-490a-819d-8542e1eaee19/images/3d95e237
-441c-4b41-b823-48d446b3eba6/26214e9d-1126-42a0-85e3-c21f182b582f',
'volumeID': u'26214e9d-1126-42a0-85e3-c21f182b582f', 'leasePath':
u'/rhev/data-center/mnt/glusterSD/10.252.1
66.129:_vol3/d07231ca-89b8-490a-819d-8542e1eaee19/images/3d95e237-441c-4b41-b823-48d446b3eba6/26214e9d-1126-42a0-85e3-c21f182b582f.lease',
'imageID': u'3d95e237-441c-4b41-b823-
48d446b3eba6'}, {'domainID': u'd07231ca-89b8-490a-819d-8542e1eaee19',
'leaseOffset': 0, 'path':
u'vol3/d07231ca-89b8-490a-819d-8542e1eaee19/images/3d95e237-441c-4b41-b823-48d44
6b3eba6/2c6c8b45-7d70-4eff-9ea5-f2a377f0ef64', 'volumeID':
u'2c6c8b45-7d70-4eff-9ea5-f2a377f0ef64', 'leasePath':
u'/rhev/data-center/mnt/glusterSD/10.252.166.129:_vol3/d07231ca
-89b8-490a-819d-8542e1eaee19/images/3d95e237-441c-4b41-b823-48d446b3eba6/2c6c8b45-7d70-4eff-9ea5-f2a377f0ef64.lease',
'imageID': u'3d95e237-441c-4b41-b823-48d446b3eba6'}, {'dom
ainID': u'd07231ca-89b8-490a-819d-8542e1eaee19', 'leaseOffset': 0,
'path':
u'vol3/d07231ca-89b8-490a-819d-8542e1eaee19/images/3d95e237-441c-4b41-b823-48d446b3eba6/5716acc8-7ee7
-4235-aad6-345e565f3073', 'volumeID':
u'5716acc8-7ee7-4235-aad6-345e565f3073', 'leasePath':
u'/rhev/data-center/mnt/glusterSD/10.252.166.129:_vol3/d07231ca-89b8-490a-819d-8542e
1eaee19/images/3d95e237-441c-4b41-b823-48d446b3eba6/5716acc8-7ee7-4235-aad6-345e565f3073.lease',
'imageID': u'3d95e237-441c-4b41-b823-48d446b3eba6'}, {'domainID':
u'd07231ca-89
b8-490a-819d-8542e1eaee19', 'leaseOffset': 0, 'path':
u'vol3/d07231ca-89b8-490a-819d-8542e1eaee19/images/3d95e237-441c-4b41-b823-48d446b3eba6/579e0033-4b94-4675-af78-d017ed2698
e9', 'volumeID': u'579e0033-4b94-4675-af78-d017ed2698e9',
'leasePath':
u'/rhev/data-center/mnt/glusterSD/10.252.166.129:_vol3/d07231ca-89b8-490a-819d-8542e1eaee19/images/3d95e237-441c-4b41-b823-48d446b3eba6/579e0033-4b94-4675-af78-d017ed2698e9.lease',
'imageID': u'3d95e237-441c-4b41-b823-48d446b3eba6'}]} (vm:4710)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 4704, in
diskReplicateStart
self._startDriveReplication(drive)
File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 4843, in
_startDriveReplication
self._dom.blockCopy(drive.name, destxml, flags=flags)
File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 98, in f
ret = attr(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line
130, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 92, in
wrapper
return func(inst, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 718, in blockCopy
if ret == -1: raise libvirtError ('virDomainBlockCopy() failed', dom=self)
libvirtError: argument unsupported: non-file destination not supported yet
2018-09-14 15:05:53,328+0300 INFO (jsonrpc/2) [api.virt] FINISH diskReplicateStart
return={'status': {'message': 'Drive replication error',
'code': 55}} from=::ffff:10.252.162.200,38050,
flow_id=faecfa3d-a7e1-4882-a815-dbadc1f30813, vmId=f90f6533-9d71-4102-9cd6-2d9960a4e585
(api:52)
2018-09-14 15:05:53,328+0300 INFO (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call
VM.diskReplicateStart failed (error 55) in 0.11 seconds (__init__:573)
2018-09-14 15:05:53,504+0300 INFO (jsonrpc/1) [api.host] START getAllVmStats()
from=::ffff:10.252.162.200,38050 (api:46)