Can't export template with 3.5.1

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 <https://db.tt/MEbYnz2Z>(20.6 MB)Dropbox <https://www.dropbox.com/>https://db.tt/MEbYnz2Z engine.log <https://db.tt/13hMN54l>(2.4 MB)Dropbox <https://www.dropbox.com/>https://db.tt/13hMN54l Mozilla Thunderbird <http://www.getthunderbird.com> makes it easy to share large files over email.

This is a multi-part message in MIME format. --------------070405010300090905090208 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit No suggestions? This seems pretty basic. Any input would be appreciated. Thanks, Bob On 03/26/2015 01:19 PM, Bob Doolittle wrote:
--------------070405010300090905090208 Content-Type: multipart/related; boundary="------------080607070506000405010008" --------------080607070506000405010008 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html> <head> <meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Ty= pe"> </head> <body text=3D"#000000" bgcolor=3D"#FFFFFF"> No suggestions? This seems pretty basic. Any input would be appreciated.<br> <br> Thanks,<br> =C2=A0=C2=A0 Bob<br> <br> <div class=3D"moz-cite-prefix">On 03/26/2015 01:19 PM, Bob Doolittle wrote:<br> </div> <blockquote cite=3D"mid:55143FA2.5060003@doolittle.us.com" type=3D"ci= te"> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Du= tf-8"> I created template from a VM, which completed successfully.<br> <br> Now I am trying to export that template, and I get an error: "Failed to complete copy of Template Centos6 to Domain xion2-tmpexport".<br> <br> Any suggestions? There is plenty of free space on disk.<br> <br> I have attached my VDSM log and my engine and server logs.<br> <br> I am using Fedora 20 for the (single) host and the self-hosted engine, oVirt 3.5.1.1-1<br> <br> Thanks,<br> =C2=A0=C2=A0=C2=A0 Bob<br> <br> <div style=3D"padding: 15px; background-color: rgb(217, 237, 255);"=
<div style=3D"margin-bottom: 15px;">I've linked 2 files to this email:</div> <div style=3D"background-color: rgb(255, 255, 255); padding: 15px;"> <div style=3D"border: 1px solid rgb(205, 205, 205); border-radius: 5px; margin-top: 10px; margin-bottom: 10px; padding: 15px;" class=3D"cloudAttachmentItem"><img src=3D"cid:part1.08040309.02090207@doolittle.us.com" style=3D"margin-right: 5px; float: left; width: 24px; height: 24px;"><a moz-do-not-send=3D"true" style=3D"color: rgb(15, 126, 219) ! important;" href=3D"https://db.tt/MEbYnz2Z">vdsm.log</a><span style=3D"margin-left: 5px; font-size: small; color: grey;">= (20.6 MB)</span><span style=3D"float: right;"><img style=3D"margin-right: 5px;" src=3D"cid:part3.08070307.01060306@doolittle.us.com"><a moz-do-not-send=3D"true" style=3D"color: rgb(15, 126, 219= ) ! important;" href=3D"https://www.dropbox.com/">Dropbox</a>= </span><a moz-do-not-send=3D"true" style=3D"color: rgb(15, 126, 219) = ! important; font-size: small; display: block;" href=3D"https://db.tt/MEbYnz2Z">https://db.tt/MEbYnz2Z</a><= /div> <div style=3D"border: 1px solid rgb(205, 205, 205); border-radius: 5px; margin-top: 10px; margin-bottom: 10px; padding: 15px;" class=3D"cloudAttachmentItem"><img src=3D"cid:part1.08040309.02090207@doolittle.us.com" style=3D"margin-right: 5px; float: left; width: 24px; height: 24px;"><a moz-do-not-send=3D"true" style=3D"color: rgb(15, 126, 219) ! important;" href=3D"https://db.tt/13hMN54l">engine.log</a><span style=3D"margin-left: 5px; font-size: small; color: grey;">= (2.4 MB)</span><span style=3D"float: right;"><img style=3D"margin-right: 5px;" src=3D"cid:part3.08070307.01060306@doolittle.us.com"><a moz-do-not-send=3D"true" style=3D"color: rgb(15, 126, 219= ) ! important;" href=3D"https://www.dropbox.com/">Dropbox</a>= </span><a moz-do-not-send=3D"true" style=3D"color: rgb(15, 126, 219) = ! important; font-size: small; display: block;" href=3D"https://db.tt/13hMN54l">https://db.tt/13hMN54l</a><= /div> </div> <div style=3D"color: rgb(68, 68, 68); font-size: small; margin-top: 15px;"><a moz-do-not-send=3D"true" style=3D"color: rgb(15, 126, 219) ! important;" href=3D"http://www.getthunderbird.com">Mozilla Thunderbird</a=
makes it easy to share large files over email.</div> </div> <br> <br> </blockquote> <br> </body> </html> --------------080607070506000405010008 Content-Type: image/png Content-Transfer-Encoding: base64 Content-ID: <part1.08040309.02090207@doolittle.us.com> iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlw SFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoA AAH+SURBVEiJ7ZVNaxNRFIaf09T6AXXpUgQpfmGnSmYSsCB0qe50pdJFuxEVKhUEQVBcCipI S+yiG21dxLoTEQQFV83MBJJpF0LxRyiK0EzmddEkGMlnxV0PDMzc97znuefeuTMmif8Zg+2E dDq9KyY1LZjFGGkSxYbBk0Gqi2EYVrYFiElNy8i1FI0RQS4mJWChE2CgnSCY3brRTBT6qXJQ sHJQsCj0U5jdquXMdCreEVBflqgYzElKGmApOXLo4Fzt8RiA43orjpdZ7g/wR8FRN/PWcbNv 6mP5fL7612wuIi638rfdgyY7nIftvW1dO/jX2AHsABohgKPj48MAjnPmQG08aevoE/AZYGgz vgTAUHwdAONdN2OPB81eCJ016bbjZr9T/05VedrN26mDbwCnPG8s/rU3j9gAToBWgGGMV+Vi 4WN92foHyJYBEtmd9fVPPyzFBUEAIOlhFPhXAXZvVp7XDGutyli7P9rpbPZ4taoisMfgWiko LACcTKcPr4XhV4AxNzsltAj8lKrpKAy/9AwAGPW8KyZbAipmmir5/lJDc7PnDL0G9hk2WQpW X/bVQT0cN/MAuL+VbY+TJM4ZA5Nmdg8YMDRfCvyb7fxdAbXZ3jD0jOY9SwR3o6DwqJO3p3MQ BavzMk0A74HE0AeZJroVB0BSX1cmk9nfT/5vekgJrtOb2V0AAAAASUVORK5CYII= --------------080607070506000405010008 Content-Type: image/png Content-Transfer-Encoding: base64 Content-ID: <part3.08070307.01060306@doolittle.us.com> iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAEfElEQVR4nATBsQ2AMBADQL8j JUE07N8zCmOwAg0FPNLb3MV+nDBARoTset7cSNYy+225GQAZlfmtJY05+kWyWTYA/QAAAP// AEEAvv8BAFWaBAABAfwA+voAAAABRzY1KY/z9ffu19DcUgAMCeoAAAAAAPb3EhsnIq0WEQ0a z87WcwD8/rQACAYAAP//BAAAAP//AEEAvv8EAQcD/P/7+x4fIhyFRzoxXDAjFwAOBP0ArRgO xK/E1U8AAQD7MjgwsUY8MyoVCwQASDIis7XD0KnS2+V5AAYE3wAAAP//AEEAvv8BDWWnfTAs KmsxKSIXEgkC/wYA+v8TCQL/GA4GA7LE0+zM6f7+NjIvFg4C+v0KBP4BGA0GAA0F/gLM1t/s rcPWlwAAAP//AEEAvv8CBwcGNB4dHBcEBAP9+Pn6AAICAgL6/f8D//z7/oBUNBSOWzYWFgb8 /vb7/wMBAQIC9/n6AgYEA/02KRwUDwsHNgAAAP//AEEAvv8BAFeZAAkJCXlNRT2CKB0WAgwD /AIvFwYAJxQEAAIA///t+AAABAIBAdru/ADV6voAEQkD/u3t7QCRrMKC7/H2gQAAAP//AEEA vv8CAgcHB/f6+oeqsLl45+nsAkEjDP0kEgUA+/0AAP8BAQH7/gEB+PwAADkaBQBhMAz97e3v AoCeuIHv9PiBAwoHBgAAAP//AEEAvv8C/vv7+QD9/kFAOjJo8wIN/5/N8wLm9P0ACwYBAAAA AAABAAAAEgkBAN3v/QCXyfEC+wQK/11HM2EA/wBH/fj7+gAAAP//AEEAvv8BDGSleDo2NX4y Jx4J4+33/+Tx/AEmEwEARSIHADweCADq9gAAqdX4AL/f9wALBP8AOBwF/zIcCgHS3OT6mrXL hwAAAP//YuHk5LTl5+Pl/M/wn4GBkYGBixVi86kn3xk4mf8zLL7yj2HLzR8MuhJMDLxsjAyM jAwM/xj+M0gJ87AJ83LaAAAAAP//AEEAvv8C6+vsS62ytlbIztLg+fv9APz+/v4FAgAAJhQG AAsHBAAJBwEANh0EAAH//wD5/f7++vz+/7DD1ORslLVa1ODqRAAAAP//AEEAvv8CAQUFA/8D AqvBwMk47ubg8zUhEQIaDQP8JRMHAAYDAQAKBQEAMxoEACQSAvwyHg4C4+Hg+KWyyDn7AQGn AQcFAgAAAP//AEEAvv8C/////gAAAAQCDAvp09jbiPfr4voxHg4EBAQC/fv8/v/7/f///wED /TshCwT46+H3v87ZgAIOCuQCAQEE/////wAAAP//YmSOm88ACW5Gpr9//vxj+PPPzMlAuSvf 38ReWYyXYc6l3wzfv3xkOHP2/J6zNx6WMjAzX2BmZWb+////X0YGBgYAAAAA//9iZAiZyQAH jIzMDAwMfxm+/2Rk4eXMSPEybrrw6u+/EyfPVzN8/zmHgZONgeE/AzPD//9/YVoAAAAA//9i XHr0LgMaYGZiYvz36/ff/z9//1FlY2b8x8zMfJeZhZnx/7//jAwMDP+QFQMAAAD//wMA+6ON PKHcEygAAAAASUVORK5CYII= --------------080607070506000405010008-- --------------070405010300090905090208--

----- Original Message -----
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'

On 04/06/2015 02:57 AM, Omer Frenkel wrote:
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.
participants (3)
-
Bob Doolittle
-
Greg Padgett
-
Omer Frenkel