<div dir="ltr"><div><div><div><div><div><div>Thanks for you suggestion <span tabindex="-1" id=":1b4.1" style="background:yellow none repeat scroll 0% 0%" class="">Vered</span>, but it is not working.<br><br></div>I copied all files except for 4be3f6ac-7946-4e7b-9ca2-11731c8ba236/<span tabindex="-1" id=":1b4.2" style="background:yellow none repeat scroll 0% 0%" class="">dom</span>_<span tabindex="-1" id=":1b4.3" style="background:yellow none repeat scroll 0% 0%" class="">md</span>/<span tabindex="-1" id=":1b4.4" style="background:yellow none repeat scroll 0% 0%" class="">metadata</span><br><br></div>I even did a sha256sum on some of the files to verify:<br>62941ad5c53cb95ef211fbc11919872bae9b2c49f1fa37223162380b13b73a74 /<span tabindex="-1" id=":1b4.5" style="background:yellow none repeat scroll 0% 0%" class="">mnt</span>/backup-<span tabindex="-1" id=":1b4.6" style="background:yellow none repeat scroll 0% 0%" class="">vm</span>/0b7e96ae-f5e9-4fea-8cf6-33d39ef90162/images/1217e5a7-2cae-4662-a865-047acf2c831a/f84bfd41-622c-4078-a858-fd53a0d4e5ce<br><br>62941ad5c53cb95ef211fbc11919872bae9b2c49f1fa37223162380b13b73a74 /<span tabindex="-1" id=":1b4.7" style="background:yellow none repeat scroll 0% 0%" class="">mnt</span>/export_<span tabindex="-1" id=":1b4.8" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/images/1217e5a7-2cae-4662-a865-047acf2c831a/f84bfd41-622c-4078-a858-fd53a0d4e5ce<br><br></div>When I tried to import a <span tabindex="-1" id=":1b4.9" style="background:yellow none repeat scroll 0% 0%" class="">VM</span> or template the error was:<br>2016-03-31 12:18:45,090 ERROR [org.<span tabindex="-1" id=":1b4.10" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.11" style="background:yellow none repeat scroll 0% 0%" class="">dal</span>.<span tabindex="-1" id=":1b4.12" style="background:yellow none repeat scroll 0% 0%" class="">dbbroker</span>.<span tabindex="-1" id=":1b4.13" style="background:yellow none repeat scroll 0% 0%" class="">auditloghandling</span>.<span tabindex="-1" id=":1b4.14" style="background:yellow none repeat scroll 0% 0%" class="">AuditLogDirector</span>] (org.<span tabindex="-1" id=":1b4.15" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: <span tabindex="-1" id=":1b4.16" style="background:yellow none repeat scroll 0% 0%" class="">VDSM</span> command failed: Image is not a legal chain: (u'1217e5a7-2cae-4662-a865-047acf2c831a',)<br>2016-03-31 12:18:45,090 ERROR [org.<span tabindex="-1" id=":1b4.17" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.18" style="background:yellow none repeat scroll 0% 0%" class="">vdsbroker</span>.<span tabindex="-1" id=":1b4.19" style="background:yellow none repeat scroll 0% 0%" class="">irsbroker</span>.<span tabindex="-1" id=":1b4.20" style="background:yellow none repeat scroll 0% 0%" class="">CopyImageVDSCommand</span>] (org.<span tabindex="-1" id=":1b4.21" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Command 'CopyImageVDSCommand( <span tabindex="-1" id=":1b4.22" style="background:yellow none repeat scroll 0% 0%" class="">CopyImageVDSCommandParameters</span>:{<span tabindex="-1" id=":1b4.23" style="background:yellow none repeat scroll 0% 0%" class="">runAsync</span>='true', <span tabindex="-1" id=":1b4.24" style="background:yellow none repeat scroll 0% 0%" class="">storagePoolId</span>='00000001-0001-0001-0001-000000000341', <span tabindex="-1" id=":1b4.25" style="background:yellow none repeat scroll 0% 0%" class="">ignoreFailoverLimit</span>='false', <span tabindex="-1" id=":1b4.26" style="background:yellow none repeat scroll 0% 0%" class="">storageDomainId</span>='0b7e96ae-f5e9-4fea-8cf6-33d39ef90162', <span tabindex="-1" id=":1b4.27" style="background:yellow none repeat scroll 0% 0%" class="">imageGroupId</span>='1217e5a7-2cae-4662-a865-047acf2c831a', <span tabindex="-1" id=":1b4.28" style="background:yellow none repeat scroll 0% 0%" class="">imageId</span>='f84bfd41-622c-4078-a858-fd53a0d4e5ce', <span tabindex="-1" id=":1b4.29" style="background:yellow none repeat scroll 0% 0%" class="">dstImageGroupId</span>='1217e5a7-2cae-4662-a865-047acf2c831a', <span tabindex="-1" id=":1b4.30" style="background:yellow none repeat scroll 0% 0%" class="">vmId</span>='4873de49-9090-40b1-a21d-665633109aa2', <span tabindex="-1" id=":1b4.31" style="background:yellow none repeat scroll 0% 0%" class="">dstImageId</span>='f84bfd41-622c-4078-a858-fd53a0d4e5ce', <span tabindex="-1" id=":1b4.32" style="background:yellow none repeat scroll 0% 0%" class="">imageDescription</span>='', <span tabindex="-1" id=":1b4.33" style="background:yellow none repeat scroll 0% 0%" class="">dstStorageDomainId</span>='e5597ac8-91db-4b9e-b9d3-26dd4cfdd07e', <span tabindex="-1" id=":1b4.34" style="background:yellow none repeat scroll 0% 0%" class="">copyVolumeType</span>='SharedVol', <span tabindex="-1" id=":1b4.35" style="background:yellow none repeat scroll 0% 0%" class="">volumeFormat</span>='RAW', preallocate='Sparse', <span tabindex="-1" id=":1b4.36" style="background:yellow none repeat scroll 0% 0%" class="">postZero</span>='false', force='false'})' execution failed: <span tabindex="-1" id=":1b4.37" style="background:yellow none repeat scroll 0% 0%" class="">IRSGenericException</span>: <span tabindex="-1" id=":1b4.38" style="background:yellow none repeat scroll 0% 0%" class="">IRSErrorException</span>: Image is not a legal chain: (u'1217e5a7-2cae-4662-a865-047acf2c831a',)<br>2016-03-31 12:18:45,091 INFO [org.<span tabindex="-1" id=":1b4.39" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.40" style="background:yellow none repeat scroll 0% 0%" class="">vdsbroker</span>.<span tabindex="-1" id=":1b4.41" style="background:yellow none repeat scroll 0% 0%" class="">irsbroker</span>.<span tabindex="-1" id=":1b4.42" style="background:yellow none repeat scroll 0% 0%" class="">CopyImageVDSCommand</span>] (org.<span tabindex="-1" id=":1b4.43" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] FINISH, <span tabindex="-1" id=":1b4.44" style="background:yellow none repeat scroll 0% 0%" class="">CopyImageVDSCommand</span>, return: 00000000-0000-0000-0000-000000000000, log id: 250060f7<br>2016-03-31 12:18:45,091 ERROR [org.<span tabindex="-1" id=":1b4.45" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.46" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.<span tabindex="-1" id=":1b4.47" style="background:yellow none repeat scroll 0% 0%" class="">CopyImageGroupCommand</span>] (org.<span tabindex="-1" id=":1b4.48" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Command 'org.<span tabindex="-1" id=":1b4.49" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.50" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.CopyImageGroupCommand' failed: <span tabindex="-1" id=":1b4.51" style="background:yellow none repeat scroll 0% 0%" class="">EngineException</span>: org.<span tabindex="-1" id=":1b4.52" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.53" style="background:yellow none repeat scroll 0% 0%" class="">vdsbroker</span>.<span tabindex="-1" id=":1b4.54" style="background:yellow none repeat scroll 0% 0%" class="">irsbroker</span>.<span tabindex="-1" id=":1b4.55" style="background:yellow none repeat scroll 0% 0%" class="">IrsOperationFailedNoFailoverException</span>: <span tabindex="-1" id=":1b4.56" style="background:yellow none repeat scroll 0% 0%" class="">IRSGenericException</span>: <span tabindex="-1" id=":1b4.57" style="background:yellow none repeat scroll 0% 0%" class="">IRSErrorException</span>: Image is not a legal chain: (u'1217e5a7-2cae-4662-a865-047acf2c831a',) (Failed with error <span tabindex="-1" id=":1b4.58" style="background:yellow none repeat scroll 0% 0%" class="">ImageIsNotLegalChain</span> and code 262)<br>2016-03-31 12:18:45,098 INFO [org.<span tabindex="-1" id=":1b4.59" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.60" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.tasks.<span tabindex="-1" id=":1b4.61" style="background:yellow none repeat scroll 0% 0%" class="">AsyncTaskManager</span>] (org.<span tabindex="-1" id=":1b4.62" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Removed task 'ca149917-82dc-44a4-ae4c-fdeb6600ef05' from <span tabindex="-1" id=":1b4.63" style="background:yellow none repeat scroll 0% 0%" class="">DataBase</span><br>2016-03-31 12:18:45,100 ERROR [org.<span tabindex="-1" id=":1b4.64" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.65" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.<span tabindex="-1" id=":1b4.66" style="background:yellow none repeat scroll 0% 0%" class="">CopyImageGroupCommand</span>] (org.<span tabindex="-1" id=":1b4.67" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Transaction rolled-back for command 'org.<span tabindex="-1" id=":1b4.68" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.69" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.CopyImageGroupCommand'.<br>2016-03-31 12:18:45,100 INFO [org.<span tabindex="-1" id=":1b4.70" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.71" style="background:yellow none repeat scroll 0% 0%" class="">utils</span>.transaction.<span tabindex="-1" id=":1b4.72" style="background:yellow none repeat scroll 0% 0%" class="">TransactionSupport</span>] (org.<span tabindex="-1" id=":1b4.73" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] transaction rolled back<br>2016-03-31 12:18:45,100 ERROR [org.<span tabindex="-1" id=":1b4.74" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.75" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.<span tabindex="-1" id=":1b4.76" style="background:yellow none repeat scroll 0% 0%" class="">ImportVmTemplateCommand</span>] (org.<span tabindex="-1" id=":1b4.77" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Command 'org.<span tabindex="-1" id=":1b4.78" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.79" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.ImportVmTemplateCommand' failed: <span tabindex="-1" id=":1b4.80" style="background:yellow none repeat scroll 0% 0%" class="">EngineException</span>: <span tabindex="-1" id=":1b4.81" style="background:yellow none repeat scroll 0% 0%" class="">ImageIsNotLegalChain</span> (Failed with error <span tabindex="-1" id=":1b4.82" style="background:yellow none repeat scroll 0% 0%" class="">ImageIsNotLegalChain</span> and code 262)<br>2016-03-31 12:18:45,101 INFO [org.<span tabindex="-1" id=":1b4.83" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.84" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.<span tabindex="-1" id=":1b4.85" style="background:yellow none repeat scroll 0% 0%" class="">ImportVmTemplateCommand</span>] (org.<span tabindex="-1" id=":1b4.86" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Command [id=532f69a8-7eaa-4eda-8fe4-a2597c78fc8e]: Compensating NEW_ENTITY_ID of org.<span tabindex="-1" id=":1b4.87" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.common.<span tabindex="-1" id=":1b4.88" style="background:yellow none repeat scroll 0% 0%" class="">businessentities</span>.network.<span tabindex="-1" id=":1b4.89" style="background:yellow none repeat scroll 0% 0%" class="">VmNetworkStatistics</span>; snapshot: 4c699f71-7244-48dc-a57f-e76d48be4686.<br>2016-03-31 12:18:45,101 INFO [org.<span tabindex="-1" id=":1b4.90" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.91" style="background:yellow none repeat scroll 0% 0%" class="">vdsbroker</span>.<span tabindex="-1" id=":1b4.92" style="background:yellow none repeat scroll 0% 0%" class="">irsbroker</span>.<span tabindex="-1" id=":1b4.93" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommand</span>] (default task-13) [] FINISH, <span tabindex="-1" id=":1b4.94" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommand</span>, log id: ddb9374<br>2016-03-31 12:18:45,101 INFO [org.<span tabindex="-1" id=":1b4.95" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.96" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.<span tabindex="-1" id=":1b4.97" style="background:yellow none repeat scroll 0% 0%" class="">ImportVmTemplateCommand</span>] (org.<span tabindex="-1" id=":1b4.98" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Command [id=532f69a8-7eaa-4eda-8fe4-a2597c78fc8e]: Compensating NEW_ENTITY_ID of org.<span tabindex="-1" id=":1b4.99" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.common.<span tabindex="-1" id=":1b4.100" style="background:yellow none repeat scroll 0% 0%" class="">businessentities</span>.network.<span tabindex="-1" id=":1b4.101" style="background:yellow none repeat scroll 0% 0%" class="">VmNic</span>; snapshot: 4c699f71-7244-48dc-a57f-e76d48be4686.<br>2016-03-31 12:18:45,102 INFO [org.<span tabindex="-1" id=":1b4.102" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.103" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.<span tabindex="-1" id=":1b4.104" style="background:yellow none repeat scroll 0% 0%" class="">ImportVmTemplateCommand</span>] (org.<span tabindex="-1" id=":1b4.105" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Command [id=532f69a8-7eaa-4eda-8fe4-a2597c78fc8e]: Compensating NEW_ENTITY_ID of org.<span tabindex="-1" id=":1b4.106" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.common.<span tabindex="-1" id=":1b4.107" style="background:yellow none repeat scroll 0% 0%" class="">businessentities</span>.storage.<span tabindex="-1" id=":1b4.108" style="background:yellow none repeat scroll 0% 0%" class="">DiskImageDynamic</span>; snapshot: f84bfd41-622c-4078-a858-fd53a0d4e5ce.<br>2016-03-31 12:18:45,102 INFO [org.<span tabindex="-1" id=":1b4.109" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.110" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.<span tabindex="-1" id=":1b4.111" style="background:yellow none repeat scroll 0% 0%" class="">ImportVmTemplateCommand</span>] (org.<span tabindex="-1" id=":1b4.112" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Command [id=532f69a8-7eaa-4eda-8fe4-a2597c78fc8e]: Compensating NEW_ENTITY_ID of org.<span tabindex="-1" id=":1b4.113" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.common.<span tabindex="-1" id=":1b4.114" style="background:yellow none repeat scroll 0% 0%" class="">businessentities</span>.storage.<span tabindex="-1" id=":1b4.115" style="background:yellow none repeat scroll 0% 0%" class="">DiskImage</span>; snapshot: 1217e5a7-2cae-4662-a865-047acf2c831a.<br>2016-03-31 12:18:45,103 INFO [org.<span tabindex="-1" id=":1b4.116" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.117" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.<span tabindex="-1" id=":1b4.118" style="background:yellow none repeat scroll 0% 0%" class="">ImportVmTemplateCommand</span>] (org.<span tabindex="-1" id=":1b4.119" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Command [id=532f69a8-7eaa-4eda-8fe4-a2597c78fc8e]: Compensating NEW_ENTITY_ID of org.<span tabindex="-1" id=":1b4.120" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.common.<span tabindex="-1" id=":1b4.121" style="background:yellow none repeat scroll 0% 0%" class="">businessentities</span>.storage.<span tabindex="-1" id=":1b4.122" style="background:yellow none repeat scroll 0% 0%" class="">ImageStorageDomainMap</span>; snapshot: org.<span tabindex="-1" id=":1b4.123" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.common.<span tabindex="-1" id=":1b4.124" style="background:yellow none repeat scroll 0% 0%" class="">businessentities</span>.storage.<span tabindex="-1" id=":1b4.125" style="background:yellow none repeat scroll 0% 0%" class="">ImageStorageDomainMapId</span>@4c35da92.<br>2016-03-31 12:18:45,103 INFO [org.<span tabindex="-1" id=":1b4.126" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.127" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.<span tabindex="-1" id=":1b4.128" style="background:yellow none repeat scroll 0% 0%" class="">ImportVmTemplateCommand</span>] (org.<span tabindex="-1" id=":1b4.129" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Command [id=532f69a8-7eaa-4eda-8fe4-a2597c78fc8e]: Compensating NEW_ENTITY_ID of org.<span tabindex="-1" id=":1b4.130" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.common.<span tabindex="-1" id=":1b4.131" style="background:yellow none repeat scroll 0% 0%" class="">businessentities</span>.storage.Image; snapshot: f84bfd41-622c-4078-a858-fd53a0d4e5ce.<br>2016-03-31 12:18:45,104 INFO [org.<span tabindex="-1" id=":1b4.132" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.133" style="background:yellow none repeat scroll 0% 0%" class="">bll</span>.<span tabindex="-1" id=":1b4.134" style="background:yellow none repeat scroll 0% 0%" class="">ImportVmTemplateCommand</span>] (org.<span tabindex="-1" id=":1b4.135" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1) [52c3dca3] Command [id=532f69a8-7eaa-4eda-8fe4-a2597c78fc8e]: Compensating NEW_ENTITY_ID of org.<span tabindex="-1" id=":1b4.136" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.common.<span tabindex="-1" id=":1b4.137" style="background:yellow none repeat scroll 0% 0%" class="">businessentities</span>.<span tabindex="-1" id=":1b4.138" style="background:yellow none repeat scroll 0% 0%" class="">VmTemplate</span>; snapshot: 4873de49-9090-40b1-a21d-665633109aa2.<br>2016-03-31 12:18:45,112 ERROR [org.<span tabindex="-1" id=":1b4.139" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.140" style="background:yellow none repeat scroll 0% 0%" class="">dal</span>.<span tabindex="-1" id=":1b4.141" style="background:yellow none repeat scroll 0% 0%" class="">dbbroker</span>.<span tabindex="-1" id=":1b4.142" style="background:yellow none repeat scroll 0% 0%" class="">auditloghandling</span>.<span tabindex="-1" id=":1b4.143" style="background:yellow none repeat scroll 0% 0%" class="">AuditLogDirector</span>] (org.<span tabindex="-1" id=":1b4.144" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.thread.pool-8-thread-1)
[52c3dca3] Correlation ID: 74349717, Job ID:
7e496163-5409-42db-aa03-65b48d285473, Call Stack: null, Custom Event ID:
-1, Message: Failed to import Template centos7_template to Data Center
Default, Cluster Default<br>2016-03-31 12:18:45,117 INFO [org.<span tabindex="-1" id=":1b4.145" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.146" style="background:yellow none repeat scroll 0% 0%" class="">vdsbroker</span>.<span tabindex="-1" id=":1b4.147" style="background:yellow none repeat scroll 0% 0%" class="">irsbroker</span>.<span tabindex="-1" id=":1b4.148" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommand</span>] (default task-5) [] FINISH, <span tabindex="-1" id=":1b4.149" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommand</span>, log id: 36de4407<br>2016-03-31 12:18:45,504 INFO [org.<span tabindex="-1" id=":1b4.150" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.151" style="background:yellow none repeat scroll 0% 0%" class="">vdsbroker</span>.<span tabindex="-1" id=":1b4.152" style="background:yellow none repeat scroll 0% 0%" class="">irsbroker</span>.<span tabindex="-1" id=":1b4.153" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommand</span>] (default task-31) [] START, <span tabindex="-1" id=":1b4.154" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommand</span>( <span tabindex="-1" id=":1b4.155" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommandParameters</span>:{<span tabindex="-1" id=":1b4.156" style="background:yellow none repeat scroll 0% 0%" class="">runAsync</span>='true', <span tabindex="-1" id=":1b4.157" style="background:yellow none repeat scroll 0% 0%" class="">storagePoolId</span>='00000001-0001-0001-0001-000000000341', <span tabindex="-1" id=":1b4.158" style="background:yellow none repeat scroll 0% 0%" class="">ignoreFailoverLimit</span>='false', <span tabindex="-1" id=":1b4.159" style="background:yellow none repeat scroll 0% 0%" class="">storageDomainId</span>='0b7e96ae-f5e9-4fea-8cf6-33d39ef90162', <span tabindex="-1" id=":1b4.160" style="background:yellow none repeat scroll 0% 0%" class="">vmIdList</span>='null'}), log id: 1847cbc5<br>2016-03-31 12:18:45,515 INFO [org.<span tabindex="-1" id=":1b4.161" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.162" style="background:yellow none repeat scroll 0% 0%" class="">vdsbroker</span>.<span tabindex="-1" id=":1b4.163" style="background:yellow none repeat scroll 0% 0%" class="">irsbroker</span>.<span tabindex="-1" id=":1b4.164" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommand</span>] (default task-31) [] FINISH, <span tabindex="-1" id=":1b4.165" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommand</span>, log id: 1847cbc5<br>2016-03-31 12:18:45,993 INFO [org.<span tabindex="-1" id=":1b4.166" style="background:yellow none repeat scroll 0% 0%" class="">ovirt</span>.engine.core.<span tabindex="-1" id=":1b4.167" style="background:yellow none repeat scroll 0% 0%" class="">vdsbroker</span>.<span tabindex="-1" id=":1b4.168" style="background:yellow none repeat scroll 0% 0%" class="">irsbroker</span>.<span tabindex="-1" id=":1b4.169" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommand</span>] (default task-14) [] START, <span tabindex="-1" id=":1b4.170" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommand</span>( <span tabindex="-1" id=":1b4.171" style="background:yellow none repeat scroll 0% 0%" class="">GetVmsInfoVDSCommandParameters</span>:{<span tabindex="-1" id=":1b4.172" style="background:yellow none repeat scroll 0% 0%" class="">runAsync</span>='true', <span tabindex="-1" id=":1b4.173" style="background:yellow none repeat scroll 0% 0%" class="">storagePoolId</span>='00000001-0001-0001-0001-000000000341', <span tabindex="-1" id=":1b4.174" style="background:yellow none repeat scroll 0% 0%" class="">ignoreFailoverLimit</span>='false', <span tabindex="-1" id=":1b4.175" style="background:yellow none repeat scroll 0% 0%" class="">storageDomainId</span>='0b7e96ae-f5e9-4fea-8cf6-33d39ef90162', <span tabindex="-1" id=":1b4.176" style="background:yellow none repeat scroll 0% 0%" class="">vmIdList</span>='null'}), log id: 5bcb<br><br></div>I then put the new export storage in maintenance and detached it. Now when I try to reattach I get:<br>2016-03-31
13:41:41,109 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
(org.ovirt.thread.pool-8-thread-2) [79a8c0bd] START,
AttachStorageDomainVDSCommand(
AttachStorageDomainVDSCommandParameters:{runAsync='true',
storagePoolId='00000001-0001-0001-0001-000000000341',
ignoreFailoverLimit='false',
storageDomainId='0b7e96ae-f5e9-4fea-8cf6-33d39ef90162'}), log id:
1f72065<br>2016-03-31 13:41:42,375 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
(org.ovirt.thread.pool-8-thread-2) [79a8c0bd] Failed in
'AttachStorageDomainVDS' method<br>2016-03-31 13:41:42,396 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-8-thread-2) [79a8c0bd] Correlation ID: null, Call
Stack: null, Custom Event ID: -1, Message: VDSM command failed: Cannot
obtain lock: u"id=0b7e96ae-f5e9-4fea-8cf6-33d39ef90162, rc=1,
out=['error - lease file does not exist or is not writeable', 'usage:
/usr/libexec/vdsm/spmprotect.sh COMMAND PARAMETERS', 'Commands:', '
start { sdUUID hostId renewal_interval_sec lease_path[:offset]
lease_time_ms io_op_timeout_ms fail_retries vdsm_pid [debug] }',
'Parameters:', ' sdUUID - domain uuid', ' hostId
- host id in pool', ' renewal_interval_sec - intervals
for lease renewals attempts', ' lease_path - path to lease
file/volume', ' offset - offset of lease within file',
' lease_time_ms - time limit within which lease must be renewed
(at least 2*renewal_interval_sec)', ' io_op_timeout_ms - I/O
operation timeout', ' fail_retries - Maximal number of
attempts to retry to renew the lease before fencing (<=
lease_time_ms/renewal_interval_sec)', ' vdsm_pid - Vdsm
process ID', ' debug - enable debug mode (optional)'],
err=[]"<br>2016-03-31 13:41:42,396 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
(org.ovirt.thread.pool-8-thread-2) [79a8c0bd] Command
'AttachStorageDomainVDSCommand(
AttachStorageDomainVDSCommandParameters:{runAsync='true',
storagePoolId='00000001-0001-0001-0001-000000000341',
ignoreFailoverLimit='false',
storageDomainId='0b7e96ae-f5e9-4fea-8cf6-33d39ef90162'})' execution
failed: IRSGenericException: IRSErrorException: Failed to
AttachStorageDomainVDS, error = Cannot obtain lock:
u"id=0b7e96ae-f5e9-4fea-8cf6-33d39ef90162, rc=1, out=['error - lease
file does not exist or is not writeable', 'usage:
/usr/libexec/vdsm/spmprotect.sh COMMAND PARAMETERS', 'Commands:', '
start { sdUUID hostId renewal_interval_sec lease_path[:offset]
lease_time_ms io_op_timeout_ms fail_retries vdsm_pid [debug] }',
'Parameters:', ' sdUUID - domain uuid', ' hostId
- host id in pool', ' renewal_interval_sec - intervals
for lease renewals attempts', ' lease_path - path to lease
file/volume', ' offset - offset of lease within file',
' lease_time_ms - time limit within which lease must be renewed
(at least 2*renewal_interval_sec)', ' io_op_timeout_ms - I/O
operation timeout', ' fail_retries - Maximal number of
attempts to retry to renew the lease before fencing (<=
lease_time_ms/renewal_interval_sec)', ' vdsm_pid - Vdsm
process ID', ' debug - enable debug mode (optional)'],
err=[]", code = 651<br>2016-03-31 13:41:42,396 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.AttachStorageDomainVDSCommand]
(org.ovirt.thread.pool-8-thread-2) [79a8c0bd] FINISH,
AttachStorageDomainVDSCommand, log id: 1f72065<br>2016-03-31
13:41:42,396 ERROR
[org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
(org.ovirt.thread.pool-8-thread-2) [79a8c0bd] Command
'org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand'
failed: EngineException:
org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException:
IRSGenericException: IRSErrorException: Failed to
AttachStorageDomainVDS, error = Cannot obtain lock:
u"id=0b7e96ae-f5e9-4fea-8cf6-33d39ef90162, rc=1, out=['error - lease
file does not exist or is not writeable', 'usage:
/usr/libexec/vdsm/spmprotect.sh COMMAND PARAMETERS', 'Commands:', '
start { sdUUID hostId renewal_interval_sec lease_path[:offset]
lease_time_ms io_op_timeout_ms fail_retries vdsm_pid [debug] }',
'Parameters:', ' sdUUID - domain uuid', ' hostId
- host id in pool', ' renewal_interval_sec - intervals
for lease renewals attempts', ' lease_path - path to lease
file/volume', ' offset - offset of lease within file',
' lease_time_ms - time limit within which lease must be renewed
(at least 2*renewal_interval_sec)', ' io_op_timeout_ms - I/O
operation timeout', ' fail_retries - Maximal number of
attempts to retry to renew the lease before fencing (<=
lease_time_ms/renewal_interval_sec)', ' vdsm_pid - Vdsm
process ID', ' debug - enable debug mode (optional)'],
err=[]", code = 651 (Failed with error AcquireLockFailure and code 651)<br>2016-03-31
13:41:42,397 INFO
[org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
(org.ovirt.thread.pool-8-thread-2) [79a8c0bd] Command
[id=db45bff3-4e8c-4935-ae33-70c61ff01b32]: Compensating NEW_ENTITY_ID of
org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap;
snapshot:
StoragePoolIsoMapId:{storagePoolId='00000001-0001-0001-0001-000000000341',
storageId='0b7e96ae-f5e9-4fea-8cf6-33d39ef90162'}.<br>2016-03-31
13:41:42,403 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-8-thread-2) [79a8c0bd] Correlation ID: 79a8c0bd,
Job ID: 93a8a703-b3a6-4061-9192-bd09840b4c39, Call Stack: null, Custom
Event ID: -1, Message: Failed to attach Storage Domain vm-backups to
Data Center Default. (User: admin@internal)<br>2016-03-31 13:41:42,406
INFO
[org.ovirt.engine.core.bll.storage.AttachStorageDomainToPoolCommand]
(org.ovirt.thread.pool-8-thread-2) [79a8c0bd] Lock freed to object
'EngineLock:{exclusiveLocks='[0b7e96ae-f5e9-4fea-8cf6-33d39ef90162=<STORAGE,
ACTION_TYPE_FAILED_OBJECT_LOCKED>]', sharedLocks='null'}'<br><br></div>Thanks, <br></div>Alex<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 31, 2016 at 7:55 AM, Vered Volansky <span dir="ltr"><<a href="mailto:vered@redhat.com" target="_blank">vered@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hi Alex,<br><br></div>This looks like a bug occurring with export domain on local storage, which I'm currently trying to reproduce.<br></div>In the meantime, please try the following work around:<br><br></div>Create an export domain in your new setup.<br></div>Copy the images and vms directly to the mounted export directory (from old export mount path to new export mount path)<br></div>Do not copy the metadata, it looks like this is the origin of the problem.<br><br></div>I will report back once I confirm the issue.<br><br></div>Regards,<br></div>Vered<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Mar 31, 2016 at 5:28 AM, Alex R <span dir="ltr"><<a href="mailto:ar.digger@gmail.com" target="_blank">ar.digger@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">I am trying to import a domain that I have used as an export on a previous install. The previous install was no older then v3.5 and was built with the all-in-one-plugin. Before destroying that system I took a portable drive and made an export domain to export my VMs and templates.<br><br>The new system is up to date an was built as a hosted engine. When I try to import the domain I get the following error:<br><br>"Error while executing action: Cannot add Storage. Storage format V3 is not supported on the selected host version."<br><br>I just need to recover the VMs.<br><br>I connect the USB hard drive to the host and make an export directory just like I did on the old host.<br><br># ls -ld /mnt/export_ovirt<br>drwxr-xr-x. 5 vdsm kvm 4096 Mar 6 11:27 /mnt/export_ovirt<br><br>I have tried both doing an NFS mount<br># cat /etc/exports.d/ovirt.exports <br>/home/engineha <a href="http://127.0.0.1/32(rw,anonuid=36,anongid=36,all_squash)" target="_blank">127.0.0.1/32(rw,anonuid=36,anongid=36,all_squash)</a><br>/mnt/backup-vm/ <a href="http://10.3.1.0/24(rw,anonuid=36,anongid=36,all_squash)" target="_blank">10.3.1.0/24(rw,anonuid=36,anongid=36,all_squash)</a> <a href="http://127.0.0.1/32(rw,anonuid=36,anongid=36,all_squash)" target="_blank">127.0.0.1/32(rw,anonuid=36,anongid=36,all_squash)</a><br><br># cat /mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/dom_md/metadata<br>CLASS=Backup<br>DESCRIPTION=eport_storage<br>IOOPTIMEOUTSEC=10<br>LEASERETRIES=3<br>LEASETIMESEC=60<br>LOCKPOLICY=<br>LOCKRENEWALINTERVALSEC=5<br>POOL_UUID=053926e4-e63d-450e-8aa7-6f1235b944c6<br>REMOTE_PATH=/mnt/export_ovirt/images<br>ROLE=Regular<br>SDUUID=4be3f6ac-7946-4e7b-9ca2-11731c8ba236<br>TYPE=LOCALFS<br>VERSION=3<br>_SHA_CKSUM=2e6e203168bd84f3dc97c953b520ea8f78119bf0<br><br># ls -l /mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/master/vms/4873de49-9090-40b1-a21d-665633109aa2/4873de49-9090-40b1-a21d-665633109aa2.ovf <br>-rw-r--r--. 1 vdsm kvm 9021 Mar 6 11:50 /mnt/export_ovirt/images/4be3f6ac-7946-4e7b-9ca2-11731c8ba236/master/vms/4873de49-9090-40b1-a21d-665633109aa2/4873de49-9090-40b1-a21d-665633109aa2.ovf<br><br>Thanks,<br>Alex<br></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>