<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi,
<div><br>
</div>
<div>we´ve just reinstalled our oVirt system to go from test to live now. We exported all templates and guests to an export domain before crashing everything. Now, everything is back to the way it was, and we have the export domain added to the DC. Importing
templates has gone off without a hitch but importing the guests back seems more troublesome. Failure message in webadmin doesn´t say that much, just that it has failed. I have also the interesting part from engine.log here:</div>
<div><br>
</div>
<div>
<div>2012-09-12 09:37:05,796 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-8) START, GetVmsInfoVDSCommand(storagePoolId = 262b6f0d-f534-4e90-818b-0560ddb48d9e, ignoreFailoverLimit = false, compatabilityVersion = null,
storageDomainId = 0d2af357-dcd1-4373-85c6-6b9f450816ee, vmIdList = null), log id: 4ad44a60</div>
<div>2012-09-12 09:37:05,848 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-8) FINISH, GetVmsInfoVDSCommand, log id: 4ad44a60</div>
<div>2012-09-12 09:37:06,472 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-13) START, GetVmsInfoVDSCommand(storagePoolId = 262b6f0d-f534-4e90-818b-0560ddb48d9e, ignoreFailoverLimit = false, compatabilityVersion =
null, storageDomainId = 0d2af357-dcd1-4373-85c6-6b9f450816ee, vmIdList = null), log id: 13343564</div>
<div>2012-09-12 09:37:06,520 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-13) FINISH, GetVmsInfoVDSCommand, log id: 13343564</div>
<div>2012-09-12 09:37:07,367 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand] (ajp--0.0.0.0-8009-13) START, GetImageDomainsListVDSCommand(storagePoolId = 262b6f0d-f534-4e90-818b-0560ddb48d9e, ignoreFailoverLimit = false, compatabilityVersion
= null, imageGroupId = 0c9355fd-f4de-4e19-bfdd-8f03172eb8a9), log id: 229b9f27</div>
<div>2012-09-12 09:37:07,400 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand] (ajp--0.0.0.0-8009-13) FINISH, GetImageDomainsListVDSCommand, return: [], log id: 229b9f27</div>
<div>2012-09-12 09:37:07,413 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (ajp--0.0.0.0-8009-13) START, DoesImageExistVDSCommand(storagePoolId = 262b6f0d-f534-4e90-818b-0560ddb48d9e, ignoreFailoverLimit = false, compatabilityVersion
= null, storageDomainId = 0d2af357-dcd1-4373-85c6-6b9f450816ee, imageGroupId = 0c9355fd-f4de-4e19-bfdd-8f03172eb8a9, imageId = 124fc5bf-a103-4e38-b17a-06ef59868a92), log id: 24855616</div>
<div>2012-09-12 09:37:07,455 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (ajp--0.0.0.0-8009-13) FINISH, DoesImageExistVDSCommand, return: true, log id: 24855616</div>
<div>2012-09-12 09:37:07,456 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (ajp--0.0.0.0-8009-13) START, DoesImageExistVDSCommand(storagePoolId = 262b6f0d-f534-4e90-818b-0560ddb48d9e, ignoreFailoverLimit = false, compatabilityVersion
= null, storageDomainId = 0d2af357-dcd1-4373-85c6-6b9f450816ee, imageGroupId = 0c9355fd-f4de-4e19-bfdd-8f03172eb8a9, imageId = 344c1a4c-6502-4f7c-af45-2b2304a0e4e7), log id: 2dd6d115</div>
<div>2012-09-12 09:37:07,498 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (ajp--0.0.0.0-8009-13) FINISH, DoesImageExistVDSCommand, return: true, log id: 2dd6d115</div>
<div>2012-09-12 09:37:07,546 INFO [org.ovirt.engine.core.bll.ImportVmCommand] (pool-3-thread-48) [69deb9d3] Running command: ImportVmCommand internal: false. Entities affected : ID: 4e928ded-600f-4af7-80b7-59069804f135 Type: Storage</div>
<div>2012-09-12 09:37:07,559 INFO [org.ovirt.engine.core.utils.transaction.TransactionSupport] (pool-3-thread-48) [69deb9d3] transaction rolled back</div>
<div>2012-09-12 09:37:07,560 ERROR [org.ovirt.engine.core.bll.ImportVmCommand] (pool-3-thread-48) [69deb9d3] Command org.ovirt.engine.core.bll.ImportVmCommand throw exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 7</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:762) [rt.jar:1.7.0_06-icedtea]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at java.lang.StringBuilder.deleteCharAt(StringBuilder.java:258) [rt.jar:1.7.0_06-icedtea]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.ImportVmCommand.auditInvalidInterfaces(ImportVmCommand.java:933) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.ImportVmCommand.AddVmNetwork(ImportVmCommand.java:801) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:488) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:482) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204) [engine-utils.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.ImportVmCommand.addVmToDb(ImportVmCommand.java:482) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.ImportVmCommand.executeCommand(ImportVmCommand.java:476) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:804) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:896) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1203) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:168) [engine-utils.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:107) [engine-utils.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:911) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:268) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(MultipleActionsRunner.java:182) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:162) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:84) [engine-bll.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:64) [engine-utils.jar:]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_06-icedtea]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_06-icedtea]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_06-icedtea]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_06-icedtea]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_06-icedtea]</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_06-icedtea]</div>
<div><br>
</div>
<div>2012-09-12 09:37:07,689 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-9) START, GetVmsInfoVDSCommand(storagePoolId = 262b6f0d-f534-4e90-818b-0560ddb48d9e, ignoreFailoverLimit = false, compatabilityVersion = null,
storageDomainId = 0d2af357-dcd1-4373-85c6-6b9f450816ee, vmIdList = null), log id: 52be5309</div>
<div>2012-09-12 09:37:07,746 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-9) FINISH, GetVmsInfoVDSCommand, log id: 52be5309</div>
<div><br>
</div>
<div>What could be the matter?</div>
<div>
<div><br class="Apple-interchange-newline">
<br>
</div>
<div>Med Vänliga Hälsningar<br>
-------------------------------------------------------------------------------<br>
Karli Sjöberg<br>
Swedish University of Agricultural Sciences<br>
Box 7079 (Visiting Address Kronåsvägen 8)<br>
S-750 07 Uppsala, Sweden<br>
Phone: +46-(0)18-67 15 66</div>
<div><a href="mailto:karli.sjoberg@adm.slu.se">karli.sjoberg@slu.se</a></div>
</div>
<br>
</div>
</body>
</html>