<div>Bugs filed.</div><div><br></div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=856219">https://bugzilla.redhat.com/show_bug.cgi?id=856219</a></div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=856234">https://bugzilla.redhat.com/show_bug.cgi?id=856234</a></div>
<div><br></div><br><div class="gmail_quote">On Tue, Sep 11, 2012 at 1:16 AM, Haim Ateya <span dir="ltr"><<a href="mailto:hateya@redhat.com" target="_blank">hateya@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 class="im">On 09/11/2012 12:32 AM, Thomas Scofield wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
While trying to import a virtual machine I got very generic error message in the web interface "Failed to import Vm host to ovirt", in the engine.log I got this java exception below. After doing some digging I realized the problem was I did not map the network bridge names from my previous machine to the bridge name used on the current machine. After modifing the master/vms/e94464d3-ae44-45ac-<u></u>b09b-0e17f784a378/e94464d3-<u></u>ae44-45ac-b09b-0e17f784a378.<u></u>ovf file and updating the references to the bridge name the import worked as expected. Could more information be added to the error message to indicate the source of the problem? Are there any plans to allow the network configuration to be modified as part of the import?<br>
</blockquote>
<br></div>
Hi Thomas,<br>
<br>
thanks for your feedback (and nice catch!).<br>
please file 2 new bugs around this issue (one for the unhandled exception and another for more informative error message).<br>
<br>
<a href="https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt" target="_blank">https://bugzilla.redhat.com/<u></u>enter_bug.cgi?product=oVirt</a><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<br>
2012-09-10 17:04:29,436 INFO [org.ovirt.engine.core.<u></u>vdsbroker.irsbroker.<u></u>GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-3) START, GetVmsInfoVDSCommand(<u></u>storagePoolId = 04f7efb6-f9f8-11e1-af92-<u></u>6805ca00c345, ignoreFailoverLimit = false, compatabilityVersion = null, storageDomainId = 913e496b-b0a3-4b2e-a481-<u></u>7d1a101c89db, vmIdList = null), log id: 223efce6<br>
2012-09-10 17:04:29,446 INFO [org.ovirt.engine.core.<u></u>vdsbroker.irsbroker.<u></u>GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-3) FINISH, GetVmsInfoVDSCommand, log id: 223efce6<br>
2012-09-10 17:04:29,470 INFO [org.ovirt.engine.core.<u></u>vdsbroker.irsbroker.<u></u>GetImageDomainsListVDSCommand] (ajp--0.0.0.0-8009-3) START, GetImageDomainsListVDSCommand(<u></u>storagePoolId = 04f7efb6-f9f8-11e1-af92-<u></u>6805ca00c345, ignoreFailoverLimit = false, compatabilityVersion = null, imageGroupId = b9d80d3d-0b3d-4249-8f12-<u></u>3bc7e8b93464), log id: 682b1cec<br>
2012-09-10 17:04:29,483 INFO [org.ovirt.engine.core.<u></u>vdsbroker.irsbroker.<u></u>GetImageDomainsListVDSCommand] (ajp--0.0.0.0-8009-3) FINISH, GetImageDomainsListVDSCommand, return: [], log id: 682b1cec<br>
2012-09-10 17:04:29,484 INFO [org.ovirt.engine.core.<u></u>vdsbroker.irsbroker.<u></u>DoesImageExistVDSCommand] (ajp--0.0.0.0-8009-3) START, DoesImageExistVDSCommand(<u></u>storagePoolId = 04f7efb6-f9f8-11e1-af92-<u></u>6805ca00c345, ignoreFailoverLimit = false, compatabilityVersion = null, storageDomainId = 913e496b-b0a3-4b2e-a481-<u></u>7d1a101c89db, imageGroupId = b9d80d3d-0b3d-4249-8f12-<u></u>3bc7e8b93464, imageId = 60fb55ea-1450-4f3e-b3ac-<u></u>4ba0db3e80ab), log id: 6677ff61<br>
2012-09-10 17:04:29,548 INFO [org.ovirt.engine.core.<u></u>vdsbroker.irsbroker.<u></u>DoesImageExistVDSCommand] (ajp--0.0.0.0-8009-3) FINISH, DoesImageExistVDSCommand, return: true, log id: 6677ff61<br>
2012-09-10 17:04:29,602 INFO [org.ovirt.engine.core.bll.<u></u>ImportVmCommand] (pool-3-thread-49) [30fbeac] Running command: ImportVmCommand internal: false. Entities affected : ID: 70fc57d2-4f51-4029-a7ce-<u></u>9e7705b27723 Type: Storage<br>
2012-09-10 17:04:29,607 INFO [org.ovirt.engine.core.utils.<u></u>transaction.<u></u>TransactionSupport] (pool-3-thread-49) [30fbeac] transaction rolled back<br>
2012-09-10 17:04:29,608 ERROR [org.ovirt.engine.core.bll.<u></u>ImportVmCommand] (pool-3-thread-49) [30fbeac] Command org.ovirt.engine.core.bll.<u></u>ImportVmCommand throw exception: java.lang.<u></u>StringIndexOutOfBoundsExceptio<u></u>n: String index out of range: 4<br>
at java.lang.<u></u>AbstractStringBuilder.<u></u>deleteCharAt(<u></u>AbstractStringBuilder.java:<u></u>766) [rt.jar:1.6.0_24]<br>
at java.lang.StringBuilder.<u></u>deleteCharAt(StringBuilder.<u></u>java:280) [rt.jar:1.6.0_24]<br>
at org.ovirt.engine.core.bll.<u></u>ImportVmCommand.<u></u>auditInvalidInterfaces(<u></u>ImportVmCommand.java:933) [engine-bll.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>ImportVmCommand.AddVmNetwork(<u></u>ImportVmCommand.java:801) [engine-bll.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>ImportVmCommand$3.<u></u>runInTransaction(<u></u>ImportVmCommand.java:488) [engine-bll.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>ImportVmCommand$3.<u></u>runInTransaction(<u></u>ImportVmCommand.java:482) [engine-bll.jar:]<br>
at org.ovirt.engine.core.utils.<u></u>transaction.<u></u>TransactionSupport.<u></u>executeInNewTransaction(<u></u>TransactionSupport.java:204) [engine-utils.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>ImportVmCommand.addVmToDb(<u></u>ImportVmCommand.java:482) [engine-bll.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>ImportVmCommand.<u></u>executeCommand(<u></u>ImportVmCommand.java:476) [engine-bll.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>CommandBase.<u></u>ExecuteWithoutTransaction(<u></u>CommandBase.java:804) [engine-bll.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>CommandBase.<u></u>executeActionInTransactionScop<u></u>e(CommandBase.java:896) [engine-bll.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>CommandBase.runInTransaction(<u></u>CommandBase.java:1203) [engine-bll.jar:]<br>
at org.ovirt.engine.core.utils.<u></u>transaction.<u></u>TransactionSupport.<u></u>executeInSuppressed(<u></u>TransactionSupport.java:168) [engine-utils.jar:]<br>
at org.ovirt.engine.core.utils.<u></u>transaction.<u></u>TransactionSupport.<u></u>executeInScope(<u></u>TransactionSupport.java:107) [engine-utils.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>CommandBase.Execute(<u></u>CommandBase.java:911) [engine-bll.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>CommandBase.ExecuteAction(<u></u>CommandBase.java:268) [engine-bll.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>MultipleActionsRunner.<u></u>executeValidatedCommands(<u></u>MultipleActionsRunner.java:<u></u>182) [engine-bll.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>MultipleActionsRunner.<u></u>RunCommands(<u></u>MultipleActionsRunner.java:<u></u>162) [engine-bll.jar:]<br>
at org.ovirt.engine.core.bll.<u></u>MultipleActionsRunner$1.run(<u></u>MultipleActionsRunner.java:84) [engine-bll.jar:]<br>
at org.ovirt.engine.core.utils.<u></u>threadpool.ThreadPoolUtil$<u></u>InternalWrapperRunnable.run(<u></u>ThreadPoolUtil.java:64) [engine-utils.jar:]<br>
at java.util.concurrent.<u></u>Executors$RunnableAdapter.<u></u>call(Executors.java:471) [rt.jar:1.6.0_24]<br>
at java.util.concurrent.<u></u>FutureTask$Sync.innerRun(<u></u>FutureTask.java:334) [rt.jar:1.6.0_24]<br>
at java.util.concurrent.<u></u>FutureTask.run(FutureTask.<u></u>java:166) [rt.jar:1.6.0_24]<br>
at java.util.concurrent.<u></u>ThreadPoolExecutor.runWorker(<u></u>ThreadPoolExecutor.java:1110) [rt.jar:1.6.0_24]<br>
at java.util.concurrent.<u></u>ThreadPoolExecutor$Worker.run(<u></u>ThreadPoolExecutor.java:603) [rt.jar:1.6.0_24]<br>
at java.lang.Thread.run(Thread.<u></u>java:679) [rt.jar:1.6.0_24]<br>
<br>
2012-09-10 17:04:29,641 INFO [org.ovirt.engine.core.<u></u>vdsbroker.irsbroker.<u></u>GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-10) START, GetVmsInfoVDSCommand(<u></u>storagePoolId = 04f7efb6-f9f8-11e1-af92-<u></u>6805ca00c345, ignoreFailoverLimit = false, compatabilityVersion = null, storageDomainId = 913e496b-b0a3-4b2e-a481-<u></u>7d1a101c89db, vmIdList = null), log id: 1ef604dc<br>
2012-09-10 17:04:29,648 INFO [org.ovirt.engine.core.<u></u>vdsbroker.irsbroker.<u></u>GetVmsInfoVDSCommand] (ajp--0.0.0.0-8009-10) FINISH, GetVmsInfoVDSCommand, log id: 1ef604dc<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<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" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
</blockquote>
<br>
</blockquote></div><br>