<div dir="ltr"><div><div><div><div>Hi,<br><br></div>Am trying to import VMs from an abandoned storage pool - <br><br></div>all I&#39;m getting is this : <br><br>2013-01-15 20:21:05,958 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-16) START, GetVmsInfoVDSCommand(storagePoolId = 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false, compatabilityVersion = null, storageDomainId = b9c2cf06-73ea-4dd4-900b-3af322ab223d, vmIdList = null), log id: 65b1c9a8<br>
2013-01-15 20:21:06,013 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-16) FINISH, GetVmsInfoVDSCommand, log id: 65b1c9a8<br>2013-01-15 20:21:06,036 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-11) START, GetVmsInfoVDSCommand(storagePoolId = 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false, compatabilityVersion = null, storageDomainId = b9c2cf06-73ea-4dd4-900b-3af322ab223d, vmIdList = null), log id: 7b0bc172<br>
2013-01-15 20:21:06,085 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-11) FINISH, GetVmsInfoVDSCommand, log id: 7b0bc172<br>2013-01-15 20:21:06,928 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand] (ajp--0.0.0.0-8009-11) START, GetImageDomainsListVDSCommand(storagePoolId = 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false, compatabilityVersion = null, imageGroupId = 8d41be6c-a586-4bb6-be4b-f1241a4bf088), log id: 79952c27<br>
2013-01-15 20:21:06,951 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand] (ajp--0.0.0.0-8009-11) FINISH, GetImageDomainsListVDSCommand, return: [], log id: 79952c27<br>2013-01-15 20:21:06,954 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (ajp--0.0.0.0-8009-11) START, DoesImageExistVDSCommand(storagePoolId = 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false, compatabilityVersion = null, storageDomainId = b9c2cf06-73ea-4dd4-900b-3af322ab223d, imageGroupId = 8d41be6c-a586-4bb6-be4b-f1241a4bf088, imageId = a4782145-626c-4a6e-9e1e-fce5f1dd8f78), log id: 3085f2cd<br>
2013-01-15 20:21:06,993 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (ajp--0.0.0.0-8009-11) FINISH, DoesImageExistVDSCommand, return: true, log id: 3085f2cd<br>2013-01-15 20:21:07,039 INFO  [org.ovirt.engine.core.bll.ImportVmCommand] (pool-3-thread-48) [8991b34] Running command: ImportVmCommand internal: false. Entities affected :  ID: b756284f-06f9-44cd-ba45-6cac3486fe37 Type: Storage<br>
2013-01-15 20:21:07,040 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (pool-3-thread-48) [8991b34] Try to add duplicate values with same name. Type: UNASSIGNED. Value: vmname<br>2013-01-15 20:21:07,045 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (pool-3-thread-48) [8991b34] Try to add duplicate values with same name. Type: UNASSIGNED. Value: vmname<br>
2013-01-15 20:21:07,049 INFO  [org.ovirt.engine.core.utils.transaction.TransactionSupport] (pool-3-thread-48) [8991b34] transaction rolled back<br>2013-01-15 20:21:07,050 ERROR [org.ovirt.engine.core.bll.ImportVmCommand] (pool-3-thread-48) [8991b34] Command org.ovirt.engine.core.bll.ImportVmCommand throw exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 6<br>
    at java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:766) [rt.jar:1.6.0_24]<br>    at java.lang.StringBuilder.deleteCharAt(StringBuilder.java:280) [rt.jar:1.6.0_24]<br>    at org.ovirt.engine.core.bll.ImportVmCommand.auditInvalidInterfaces(ImportVmCommand.java:933) [engine-bll.jar:]<br>
    at org.ovirt.engine.core.bll.ImportVmCommand.AddVmNetwork(ImportVmCommand.java:801) [engine-bll.jar:]<br>    at org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:488) [engine-bll.jar:]<br>
    at org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:482) [engine-bll.jar:]<br>    at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204) [engine-utils.jar:]<br>
    at org.ovirt.engine.core.bll.ImportVmCommand.addVmToDb(ImportVmCommand.java:482) [engine-bll.jar:]<br>    at org.ovirt.engine.core.bll.ImportVmCommand.executeCommand(ImportVmCommand.java:476) [engine-bll.jar:]<br>    at org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:804) [engine-bll.jar:]<br>
    at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:896) [engine-bll.jar:]<br>    at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1203) [engine-bll.jar:]<br>
    at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:168) [engine-utils.jar:]<br>    at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:107) [engine-utils.jar:]<br>
    at org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:911) [engine-bll.jar:]<br>    at org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:268) [engine-bll.jar:]<br>    at org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(MultipleActionsRunner.java:182) [engine-bll.jar:]<br>
    at org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:162) [engine-bll.jar:]<br>    at org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:84) [engine-bll.jar:]<br>
    at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:64) [engine-utils.jar:]<br>    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.6.0_24]<br>
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.6.0_24]<br>    at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.6.0_24]<br>    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_24]<br>
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_24]<br>    at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]<br><br>2013-01-15 20:21:07,232 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-14) START, GetVmsInfoVDSCommand(storagePoolId = 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false, compatabilityVersion = null, storageDomainId = b9c2cf06-73ea-4dd4-900b-3af322ab223d, vmIdList = null), log id: 44689362<br>
2013-01-15 20:21:07,284 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-14) FINISH, GetVmsInfoVDSCommand, log id: 44689362<br><br><br></div>above only as I was somehow able to convince it, that it was a export domain ... <br>
<br><br></div>question really is - how can i re-attach the Storage domain ?? Ideally w/o having to re-import the VMs ... although i&#39;d accept it as a work around - however - re-creating is out of question, it&#39;ll take me 3 days ( and my job ) ... <br>
<br>Alex<br><br><br clear="all"><div><div><div><div><div><div><br>-- <br><div dir="ltr"><div><br></div>| RHCE | Senior Systems Engineer | <a href="http://www.vcore.co" target="_blank">www.vcore.co</a> | <a href="http://www.vsearchcloud.com" target="_blank">www.vsearchcloud.com</a> | <br>
</div>
</div></div></div></div></div></div></div>