On 04/06/2015 02:57 AM, Omer Frenkel wrote:
----- Original Message -----
> From: "Bob Doolittle" <bob(a)doolittle.us.com>
> To: "users-ovirt" <users(a)ovirt.org>
> Sent: Monday, April 6, 2015 2:05:10 AM
> Subject: Re: [ovirt-users] Can't export template with 3.5.1
>
> No suggestions? This seems pretty basic. Any input would be appreciated.
>
> Thanks,
> Bob
the cause is that for some reason vdsm thinks the image doesn't exist,
i think it looks for it on the dest storage before the copy started..?
maybe someone from the storage could help here...
call for getVolumeInfo with the same image id, on src storage just before the copy
request
Thread-24222::DEBUG::2015-03-26
13:06:51,189::__init__::500::jsonrpc.JsonRpcServer::(_serveRequest) Return
'Volume.getInfo' in bridge with {'status': 'OK', 'domain':
'81d75e8f-dcac-439b-9107-110eb4392425', 'volt
ype': 'SHARED', 'description': 'Active VM', 'parent':
'00000000-0000-0000-0000-000000000000', 'format': 'RAW',
'image': '8dabd35a-1bf0-4445-9182-19b9e90dcd84', 'ctime':
'1427389373', 'disktype': '2', 'legality':
'LEGAL', 'allocType': 'SPARSE', 'mtime': '0',
'apparentsize': '21474836480', 'children': [], 'pool':
'', 'capacity': '21474836480', 'uuid':
u'036800fe-220b-46b8-a30e-ef3302fcf257', 'truesize': '7800082432',
'ty
pe': 'SPARSE'}
call for copy with the right src/dst storage
Thread-24225::DEBUG::2015-03-26
13:06:51,580::__init__::469::jsonrpc.JsonRpcServer::(_serveRequest) Calling
'Volume.copy' in bridge with {u'preallocate': 2, u'volFormat': 5,
u'volType': 6, u'dstImgUUID':
u'8dabd35a-1bf0-4445-9182-19b9e90dcd84', u'dstVolUUID':
u'036800fe-220b-46b8-a30e-ef3302fcf257', u'dstSdUUID':
u'b20fd7d9-0e75-43b0-9203-df3dd7630738', u'volumeID':
u'036800fe-220b-46b8-a30e-ef3302fcf257', u'imageID':
u'8dabd35a-1bf0-4445-9182-19b9e90dcd84', u'postZero': u'false',
u'storagepoolID': u'00000002-0002-0002-0002-000000000270',
u'storagedomainID': u'81d75e8f-dcac-439b-9107-110eb4392425',
u'force': u'false', u'desc': u''}
then the image is not found on the dst sd:
c50cc0bb-5ec7-445f-99e6-e413e3e2ee34::ERROR::2015-03-26
13:06:51,933::image::748::Storage.Image::(copyCollapsed) Unexpected error
Traceback (most recent call last):
File "/usr/share/vdsm/storage/image.py", line 730, in copyCollapsed
srcVolUUID=volume.BLANK_UUID)
File "/usr/share/vdsm/storage/sd.py", line 430, in createVolume
preallocate, diskType, volUUID, desc, srcImgUUID, srcVolUUID)
File "/usr/share/vdsm/storage/volume.py", line 375, in create
imgPath = image.Image(repoPath).create(sdUUID, imgUUID)
File "/usr/share/vdsm/storage/image.py", line 126, in create
os.mkdir(imageDir)
OSError: [Errno 2] No such file or directory:
'/rhev/data-center/00000002-0002-0002-0002-000000000270/b20fd7d9-0e75-43b0-9203-df3dd7630738/images/8dabd35a-1bf0-4445-9182-19b9e90dcd84'
Hi Bob,
Sorry for the delay--are you still experiencing this problem?
I tried to reproduce this in my environment, but didn't see the above
errors. Errno 2 is ENOENT, meaning part of the pathname in the mkdir()
call doesn't exist. I suspect something went wrong before this, and this
is just a symptom. Do you recall any errors creating the export domain?
Does it look properly mounted on the host and contain the images directory
from the above log snippet?
I'd suggest re-creating the export domain, if that's feasible, and
re-trying. If that doesn't work, please send logs with the re-creation
and export failure and we'll dig a bit deeper.
>
> On 03/26/2015 01:19 PM, Bob Doolittle wrote:
>
>
> I created template from a VM, which completed successfully.
>
> Now I am trying to export that template, and I get an error: "Failed to
> complete copy of Template Centos6 to Domain xion2-tmpexport".
>
> Any suggestions? There is plenty of free space on disk.
>
> I have attached my VDSM log and my engine and server logs.
>
> I am using Fedora 20 for the (single) host and the self-hosted engine, oVirt
> 3.5.1.1-1
>
> Thanks,
> Bob
>
> I've linked 2 files to this email:
> vdsm.log (20.6 MB) Dropbox
https://db.tt/MEbYnz2Z
> engine.log (2.4 MB) Dropbox
https://db.tt/13hMN54l
> Mozilla Thunderbird makes it easy to share large files over email.
>
>
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users