This is my current gotcha. If I import it with a single disk from KVM (C drive only), its
successful. If I add the 2nd disk to KVM and import it, it will import both disks, but I
get the error at the beginning of this thread. If I detach the 2nd imported disk, it
boots again.
Now, I made another VM on kvm that contained only my D drive, and imported that. After
the import, I got this:
[root@d0lppc021 ~]# virt-v2v -i libvirt -ic qemu+ssh://root@rnd8/system -o rhev -os
d0lppc021.skopos.me:/opt/nfs -of qcow2 -oa sparse -n ovirtmgmt ws08-svr-3Donly
ws08-svr-03-0_copy.raw: 100%
[=========================================================================================================================]D
4h09m19s
virt-v2v: No root device found in this operating system image.
The D drive contains only things like SQL db files and other related data. Am I using
virt-v2v incorrectly for this 2nd disk (in either scenario, a single VM with 2 disks, or
even on a standalone (and albeit unbootable) VM with just the D drive)?
Thanks,
jonathan
-----Original Message-----
From: Itamar Heim [mailto:iheim@redhat.com]
Sent: Saturday, April 20, 2013 10:06 AM
To: Laszlo Hornyak
Cc: Jonathan Horne; users(a)ovirt.org; Allon Mureinik
Subject: Re: [Users] trouble with imported windows VM
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(a)skopos.us>
> To: "Laszlo Hornyak" <lhornyak(a)redhat.com>
> Cc: users(a)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@redhat.com]
> Sent: Thursday, April 18, 2013 1:22 AM
> To: Jonathan Horne
> Cc: users(a)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(a)skopos.us>
>> To: users(a)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@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.CreateVmFromSysPrepVDSCom
>> ma
>> 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@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.CreateVmFromSysPrepVDSCom
>> ma
>> 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.getSorte
>> dD
>> isks(VmInfoBuilderBase.java:182)
>> [engine-vdsbroker.jar:]
>>
>> at
>> org.ovirt.engine.core.vdsbroker.vdsbroker.VmInfoBuilder.buildVmDrive
>> s(
>> VmInfoBuilder.java:224)
>> [engine-vdsbroker.jar:]
>>
>> at
>> org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand.buildVmDa
>> ta
>> (CreateVDSCommand.java:64)
>> [engine-vdsbroker.jar:]
>>
>> at
>> org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand.ExecuteVd
>> sB
>> rokerCommand(CreateVDSCommand.java:24)
>> [engine-vdsbroker.jar:]
>>
>> at
>> org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand.ExecuteVD
>> SC
>> ommand(VdsBrokerCommand.java:86)
>> [engine-vdsbroker.jar:]
>>
>> at
>> org.ovirt.engine.core.vdsbroker.VDSCommandBase.ExecuteCommand(VDSCom
>> ma
>> 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.ExecuteVdsIdComma
>> nd
>> (CreateVmVDSCommand.java:59)
>> [engine-vdsbroker.jar:]
>>
>> at
>> org.ovirt.engine.core.vdsbroker.VdsIdVDSCommandBase.ExecuteVDSComman
>> d(
>> VdsIdVDSCommandBase.java:40)
>> [engine-vdsbroker.jar:]
>>
>> at
>> org.ovirt.engine.core.vdsbroker.VDSCommandBase.ExecuteCommand(VDSCom
>> ma
>> 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(Resour
>> ce
>> Manager.java:413)
>> [engine-vdsbroker.jar:]
>>
>> at
>> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBro
>> ke
>> rFrontendImpl.java:35)
>> [engine-bll.jar:]
>>
>> at
>> org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunAsyncVdsCommand(V
>> DS
>> BrokerFrontendImpl.java:71)
>> [engine-bll.jar:]
>>
>> at
>> org.ovirt.engine.core.bll.RunVmCommand.CreateVm(RunVmCommand.java:40
>> 4)
>> [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:10
>> 0)
>> [engine-bll.jar:]
>>
>> at
>> org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(Comm
>> an
>> dBase.java:804)
>> [engine-bll.jar:]
>>
>> at
>> org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScop
>> e(
>> CommandBase.java:896)
>> [engine-bll.jar:]
>>
>> at
>> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.j
>> av
>> a:1203)
>> [engine-bll.jar:]
>>
>> at
>> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeIn
>> Su
>> ppressed(TransactionSupport.java:168)
>> [engine-utils.jar:]
>>
>> at
>> org.ovirt.engine.core.utils.transaction.TransactionSupport.executeIn
>> Sc
>> 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.executeValidatedComm
>> an
>> ds(MultipleActionsRunner.java:182)
>> [engine-bll.jar:]
>>
>> at
>> org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(Multiple
>> Ac
>> tionsRunner.java:162)
>> [engine-bll.jar:]
>>
>> at
>> org.ovirt.engine.core.bll.SortedMultipleActionsRunnerBase.RunCommand
>> s(
>> SortedMultipleActionsRunnerBase.java:16)
>> [engine-bll.jar:]
>>
>> at
>> org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleAction
>> sR
>> unner.java:84)
>> [engine-bll.jar:]
>>
>> at
>> org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrappe
>> rR
>> unnable.run(ThreadPoolUtil.java:64)
>> [engine-utils.jar:]
>>
>> at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:4
>> 71
>> )
>> [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(a)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(a)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.