[Users] trouble with imported windows VM

Itamar Heim iheim at redhat.com
Sat Apr 20 11:05:44 EDT 2013


On 04/18/2013 07:55 PM, Laszlo Hornyak wrote:
> Just to make sure that we do not lose this issue, could you file a bug?
> What version of ovirt are you running?

allon - i remember something about already fixing not having an alias 
during import?

>
> Thank you,
> Laszlo
>
> ----- Original Message -----
>> From: "Jonathan Horne" <jhorne at skopos.us>
>> To: "Laszlo Hornyak" <lhornyak at redhat.com>
>> Cc: users at ovirt.org
>> Sent: Thursday, April 18, 2013 2:54:30 PM
>> Subject: RE: [Users] trouble with imported windows VM
>>
>> I did.  Actually, I detached the disks, created a new VM and attached those
>> disks to it. Same thing.
>>
>> I can try to attempt to import it back into the export nfs with virt-v2v, and
>> see if it’s the same result.
>>
>> Thanks,
>> jonathan
>>
>> -----Original Message-----
>> From: Laszlo Hornyak [mailto:lhornyak at redhat.com]
>> Sent: Thursday, April 18, 2013 1:22 AM
>> To: Jonathan Horne
>> Cc: users at ovirt.org
>> Subject: Re: [Users] trouble with imported windows VM
>>
>> 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.CreateVmFromSysPrepVDSComma
>>> nd]
>>> (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.CreateVmFromSysPrepVDSComma
>>> nd]
>>> (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.c
>>> ompare(DiskImageByDiskAliasComparator.java:11)
>>> [engine-dal.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.dal.comparators.DiskImageByDiskAliasComparator.c
>>> ompare(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.getSortedD
>>> isks(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.ExecuteVdsB
>>> rokerCommand(CreateVDSCommand.java:24)
>>> [engine-vdsbroker.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand.ExecuteVDSC
>>> ommand(VdsBrokerCommand.java:86)
>>> [engine-vdsbroker.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.vdsbroker.VDSCommandBase.ExecuteCommand(VDSComma
>>> ndBase.java:60)
>>> [engine-vdsbroker.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.dal.VdcCommandBase.Execute(VdcCommandBase.java:4
>>> 1)
>>> [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(VDSComma
>>> ndBase.java:60)
>>> [engine-vdsbroker.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.dal.VdcCommandBase.Execute(VdcCommandBase.java:4
>>> 1)
>>> [engine-dal.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.vdsbroker.ResourceManager.runVdsCommand(Resource
>>> Manager.java:413)
>>> [engine-vdsbroker.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBroke
>>> rFrontendImpl.java:35)
>>> [engine-bll.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunAsyncVdsCommand(VDS
>>> BrokerFrontendImpl.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.j
>>> ava: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(Comman
>>> dBase.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.jav
>>> a:1203)
>>> [engine-bll.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSu
>>> ppressed(TransactionSupport.java:168)
>>> [engine-utils.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSc
>>> ope(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:2
>>> 68)
>>> [engine-bll.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedComman
>>> ds(MultipleActionsRunner.java:182)
>>> [engine-bll.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleAc
>>> tionsRunner.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(MultipleActionsR
>>> unner.java:84)
>>> [engine-bll.jar:]
>>>
>>> at
>>> org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperR
>>> unnable.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.j
>>> ava: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
>>>
>>
>> ________________________________
>> 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