From: "Karli Sjöberg" <Karli.Sjoberg(a)slu.se>
To: "users" <users(a)ovirt.org>
Sent: Wednesday, September 12, 2012 10:43:36 AM
Subject: [Users] Restoring guest from export domain fails
Hi,
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:
Hi
seems as a Bug (StringIndexOutOfBoundsException)
Can you please open a Bug and attach the corresponding VM OVF file ?
Thanks
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
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
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
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
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
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
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
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
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
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
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
2012-09-12 09:37:07,559 INFO
[org.ovirt.engine.core.utils.transaction.TransactionSupport]
(pool-3-thread-48) [69deb9d3] transaction rolled back
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
at
java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:762)
[rt.jar:1.7.0_06-icedtea]
at java.lang.StringBuilder.deleteCharAt(StringBuilder.java:258)
[rt.jar:1.7.0_06-icedtea]
at
org.ovirt.engine.core.bll.ImportVmCommand.auditInvalidInterfaces(ImportVmCommand.java:933)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand.AddVmNetwork(ImportVmCommand.java:801)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:488)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:482)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
[engine-utils.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand.addVmToDb(ImportVmCommand.java:482)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.ImportVmCommand.executeCommand(ImportVmCommand.java:476)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:804)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:896)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1203)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:168)
[engine-utils.jar:]
at
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:107)
[engine-utils.jar:]
at
org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:911)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:268)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(MultipleActionsRunner.java:182)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:162)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:84)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:64)
[engine-utils.jar:]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.7.0_06-icedtea]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[rt.jar:1.7.0_06-icedtea]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
[rt.jar:1.7.0_06-icedtea]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_06-icedtea]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_06-icedtea]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_06-icedtea]
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
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
What could be the matter?
Med Vänliga Hälsningar
-------------------------------------------------------------------------------
Karli Sjöberg
Swedish University of Agricultural Sciences
Box 7079 (Visiting Address Kronåsvägen 8)
S-750 07 Uppsala, Sweden
Phone: +46-(0)18-67 15 66
karli.sjoberg(a)slu.se
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users