[Users] trouble with imported windows VM
Laszlo Hornyak
lhornyak at redhat.com
Thu Apr 18 06:22:25 UTC 2013
Hi Jonathan,
Looks like a bug to me. What version do you use?
It seems the disk data is broken, you could try to detach the disks and attach again.
----- Original Message -----
> From: "Jonathan Horne" <jhorne at skopos.us>
> To: users at ovirt.org
> Sent: Wednesday, April 17, 2013 9:26:36 PM
> Subject: [Users] trouble with imported windows VM
>
>
>
> I just imported this windows VM from a kvm using virt-v2v. actually, this is
> the 2 nd time I imported it. The first time, I only did the c drive (forgot
> the d), and it booted up fine. Now that I have started over and re-imported
> it, it wont start this time around. I am getting this error in the
> engine.log on the manager:
>
>
>
> 2013-04-17 14:24:22,840 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
> (ajp--0.0.0.0-8009-11) START, IsValidVDSCommand(storagePoolId =
> 2ecfa6dd-a1fa-428c-9d04-db17c6c4491d, ignoreFailoverLimit = false,
> compatabilityVersion = null), log id: 6fd8cb9d
>
> 2013-04-17 14:24:22,842 INFO
> [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand]
> (ajp--0.0.0.0-8009-11) FINISH, IsValidVDSCommand, return: true, log id:
> 6fd8cb9d
>
> 2013-04-17 14:24:22,856 INFO
> [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
> (ajp--0.0.0.0-8009-11) START, IsVmDuringInitiatingVDSCommand(vmId =
> 86f26e5d-40f0-48ad-944b-11688bdccff1), log id: 3fda4033
>
> 2013-04-17 14:24:22,857 INFO
> [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand]
> (ajp--0.0.0.0-8009-11) FINISH, IsVmDuringInitiatingVDSCommand, return:
> false, log id: 3fda4033
>
> 2013-04-17 14:24:22,887 INFO [org.ovirt.engine.core.bll.RunVmCommand]
> (pool-3-thread-45) [7a939d6d] Lock Acquired to object EngineLock
> [exclusiveLocks= key: 86f26e5d-40f0-48ad-944b-11688bdccff1 value: VM
>
> , sharedLocks= ]
>
> 2013-04-17 14:24:22,890 INFO [org.ovirt.engine.core.bll.RunVmCommand]
> (pool-3-thread-45) [7a939d6d] Running command: RunVmCommand internal: false.
> Entities affected : ID: 86f26e5d-40f0-48ad-944b-11688bdccff1 Type: VM
>
> 2013-04-17 14:24:22,939 INFO
> [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-3-thread-45)
> [7a939d6d] START, CreateVmVDSCommand(vdsId =
> 6d7b413a-5c06-11e2-b94b-0022191dcf23,
> vmId=86f26e5d-40f0-48ad-944b-11688bdccff1,
> vm=org.ovirt.engine.core.common.businessentities.VM at 5cad701b), log id:
> 72d09808
>
> 2013-04-17 14:24:22,944 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SysprepHandler]
> (pool-3-thread-45) [7a939d6d] Could not find value for user. Going to use
> default value of:
>
> 2013-04-17 14:24:22,945 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVmFromSysPrepVDSCommand]
> (pool-3-thread-45) [7a939d6d] START, CreateVmFromSysPrepVDSCommand(vdsId =
> 6d7b413a-5c06-11e2-b94b-0022191dcf23,
> vmId=86f26e5d-40f0-48ad-944b-11688bdccff1,
> vm=org.ovirt.engine.core.common.businessentities.VM at 5cad701b,
> hostName=ws08-svr-3, domain=), log id: 4ad723ad
>
> 2013-04-17 14:24:22,949 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
> (pool-3-thread-45) [7a939d6d] Failed in CreateVmFromSysPrepVDS method, for
> vds: d0lppn037; host: d0lppn037.skopos.me
>
> 2013-04-17 14:24:22,950 ERROR
> [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-3-thread-45)
> [7a939d6d] Command CreateVmFromSysPrepVDS execution failed. Exception:
> NullPointerException:
>
> 2013-04-17 14:24:22,951 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVmFromSysPrepVDSCommand]
> (pool-3-thread-45) [7a939d6d] FINISH, CreateVmFromSysPrepVDSCommand, log id:
> 4ad723ad
>
> 2013-04-17 14:24:22,951 ERROR
> [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-3-thread-45)
> [7a939d6d] Error in excuting CreateVmVDSCommand:
> java.lang.NullPointerException
>
> at
> org.ovirt.engine.core.dal.comparators.DiskImageByDiskAliasComparator.compare(DiskImageByDiskAliasComparator.java:11)
> [engine-dal.jar:]
>
> at
> org.ovirt.engine.core.dal.comparators.DiskImageByDiskAliasComparator.compare(DiskImageByDiskAliasComparator.java:7)
> [engine-dal.jar:]
>
> at java.util.Arrays.mergeSort(Arrays.java:1283) [rt.jar:1.6.0_24]
>
> at java.util.Arrays.sort(Arrays.java:1223) [rt.jar:1.6.0_24]
>
> at java.util.Collections.sort(Collections.java:176) [rt.jar:1.6.0_24]
>
> at
> org.ovirt.engine.core.vdsbroker.vdsbroker.VmInfoBuilderBase.getSortedDisks(VmInfoBuilderBase.java:182)
> [engine-vdsbroker.jar:]
>
> at
> org.ovirt.engine.core.vdsbroker.vdsbroker.VmInfoBuilder.buildVmDrives(VmInfoBuilder.java:224)
> [engine-vdsbroker.jar:]
>
> at
> org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand.buildVmData(CreateVDSCommand.java:64)
> [engine-vdsbroker.jar:]
>
> at
> org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand.ExecuteVdsBrokerCommand(CreateVDSCommand.java:24)
> [engine-vdsbroker.jar:]
>
> at
> org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand.ExecuteVDSCommand(VdsBrokerCommand.java:86)
> [engine-vdsbroker.jar:]
>
> at
> org.ovirt.engine.core.vdsbroker.VDSCommandBase.ExecuteCommand(VDSCommandBase.java:60)
> [engine-vdsbroker.jar:]
>
> at org.ovirt.engine.core.dal.VdcCommandBase.Execute(VdcCommandBase.java:41)
> [engine-dal.jar:]
>
> at
> org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand.ExecuteVdsIdCommand(CreateVmVDSCommand.java:59)
> [engine-vdsbroker.jar:]
>
> at
> org.ovirt.engine.core.vdsbroker.VdsIdVDSCommandBase.ExecuteVDSCommand(VdsIdVDSCommandBase.java:40)
> [engine-vdsbroker.jar:]
>
> at
> org.ovirt.engine.core.vdsbroker.VDSCommandBase.ExecuteCommand(VDSCommandBase.java:60)
> [engine-vdsbroker.jar:]
>
> at org.ovirt.engine.core.dal.VdcCommandBase.Execute(VdcCommandBase.java:41)
> [engine-dal.jar:]
>
> at
> org.ovirt.engine.core.vdsbroker.ResourceManager.runVdsCommand(ResourceManager.java:413)
> [engine-vdsbroker.jar:]
>
> at
> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendImpl.java:35)
> [engine-bll.jar:]
>
> at
> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunAsyncVdsCommand(VDSBrokerFrontendImpl.java:71)
> [engine-bll.jar:]
>
> at org.ovirt.engine.core.bll.RunVmCommand.CreateVm(RunVmCommand.java:404)
> [engine-bll.jar:]
>
> at org.ovirt.engine.core.bll.RunVmCommand.RunVm(RunVmCommand.java:225)
> [engine-bll.jar:]
>
> at
> org.ovirt.engine.core.bll.RunVmCommand.ExecuteVmCommand(RunVmCommand.java:272)
> [engine-bll.jar:]
>
> at org.ovirt.engine.core.bll.VmCommand.executeCommand(VmCommand.java:100)
> [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.SortedMultipleActionsRunnerBase.RunCommands(SortedMultipleActionsRunnerBase.java:16)
> [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.6.0_24]
>
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> [rt.jar:1.6.0_24]
>
> at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.6.0_24]
>
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> [rt.jar:1.6.0_24]
>
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> [rt.jar:1.6.0_24]
>
> at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]
>
>
>
> 2013-04-17 14:24:22,967 ERROR
> [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-3-thread-45)
> [7a939d6d] Command CreateVmVDS execution failed. Exception:
> RuntimeException: java.lang.NullPointerException
>
> 2013-04-17 14:24:22,968 INFO
> [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-3-thread-45)
> [7a939d6d] FINISH, CreateVmVDSCommand, log id: 72d09808
>
> 2013-04-17 14:24:22,968 INFO [org.ovirt.engine.core.bll.RunVmCommand]
> (pool-3-thread-45) [7a939d6d] Lock freed to object EngineLock
> [exclusiveLocks= key: 86f26e5d-40f0-48ad-944b-11688bdccff1 value: VM
>
> , sharedLocks= ]
>
> 2013-04-17 14:24:22,969 ERROR [org.ovirt.engine.core.bll.RunVmCommand]
> (pool-3-thread-45) [7a939d6d] Command org.ovirt.engine.core.bll.RunVmCommand
> throw Vdc Bll exception. With error message VdcBLLException:
> java.lang.RuntimeException: java.lang.NullPointerException
>
>
>
> Anyone have any ideas what I need to do to get this VM started up?
>
>
>
>
>
> Thanks,
>
> jonathan
>
>
> This is a PRIVATE message. If you are not the intended recipient, please
> delete without copying and kindly advise us by e-mail of the mistake in
> delivery. NOTE: Regardless of content, this e-mail shall not operate to bind
> SKOPOS to any order or other contract unless pursuant to explicit written
> agreement or government initiative expressly permitting the use of e-mail
> for such purpose.
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list