[Users] trouble with imported windows VM

--_000_9BE6F493F83A594DA60C45E6A09DC5AC2EFD098DAUSP01DAG0201_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I just imported this windows VM from a kvm using virt-v2v. actually, this = is the 2nd time I imported it. The first time, I only did the c drive (for= got the d), and it booted up fine. Now that I have started over and re-imp= orted it, it wont start this time around. I am getting this error in the e= ngine.log on the manager: 2013-04-17 14:24:22,840 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.Is= ValidVDSCommand] (ajp--0.0.0.0-8009-11) START, IsValidVDSCommand(storagePoo= lId =3D 2ecfa6dd-a1fa-428c-9d04-db17c6c4491d, ignoreFailoverLimit =3D false= , compatabilityVersion =3D null), log id: 6fd8cb9d 2013-04-17 14:24:22,842 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.Is= ValidVDSCommand] (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.IsVmDuringIn= itiatingVDSCommand] (ajp--0.0.0.0-8009-11) START, IsVmDuringInitiatingVDSCo= mmand(vmId =3D 86f26e5d-40f0-48ad-944b-11688bdccff1), log id: 3fda4033 2013-04-17 14:24:22,857 INFO [org.ovirt.engine.core.vdsbroker.IsVmDuringIn= itiatingVDSCommand] (ajp--0.0.0.0-8009-11) FINISH, IsVmDuringInitiatingVDSC= ommand, return: false, log id: 3fda4033 2013-04-17 14:24:22,887 INFO [org.ovirt.engine.core.bll.RunVmCommand] (poo= l-3-thread-45) [7a939d6d] Lock Acquired to object EngineLock [exclusiveLock= s=3D key: 86f26e5d-40f0-48ad-944b-11688bdccff1 value: VM , sharedLocks=3D ] 2013-04-17 14:24:22,890 INFO [org.ovirt.engine.core.bll.RunVmCommand] (poo= l-3-thread-45) [7a939d6d] Running command: RunVmCommand internal: false. En= tities affected : ID: 86f26e5d-40f0-48ad-944b-11688bdccff1 Type: VM 2013-04-17 14:24:22,939 INFO [org.ovirt.engine.core.vdsbroker.CreateVmVDSC= ommand] (pool-3-thread-45) [7a939d6d] START, CreateVmVDSCommand(vdsId =3D 6= d7b413a-5c06-11e2-b94b-0022191dcf23, vmId=3D86f26e5d-40f0-48ad-944b-11688bd= ccff1, vm=3Dorg.ovirt.engine.core.common.businessentities.VM@5cad701b), log= id: 72d09808 2013-04-17 14:24:22,944 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.Sy= sprepHandler] (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.Cr= eateVmFromSysPrepVDSCommand] (pool-3-thread-45) [7a939d6d] START, CreateVmF= romSysPrepVDSCommand(vdsId =3D 6d7b413a-5c06-11e2-b94b-0022191dcf23, vmId= =3D86f26e5d-40f0-48ad-944b-11688bdccff1, vm=3Dorg.ovirt.engine.core.common.= businessentities.VM@5cad701b, hostName=3Dws08-svr-3, domain=3D), log id: 4a= d723ad 2013-04-17 14:24:22,949 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.Vd= sBrokerCommand] (pool-3-thread-45) [7a939d6d] Failed in CreateVmFromSysPrep= VDS method, for vds: d0lppn037; host: d0lppn037.skopos.me 2013-04-17 14:24:22,950 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBa= se] (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.Cr= eateVmFromSysPrepVDSCommand] (pool-3-thread-45) [7a939d6d] FINISH, CreateVm= FromSysPrepVDSCommand, log id: 4ad723ad 2013-04-17 14:24:22,951 ERROR [org.ovirt.engine.core.vdsbroker.CreateVmVDSC= ommand] (pool-3-thread-45) [7a939d6d] Error in excuting CreateVmVDSCommand:= java.lang.NullPointerException at org.ovirt.engine.core.dal.comparators.DiskImageByDiskAliasCompar= ator.compare(DiskImageByDiskAliasComparator.java:11) [engine-dal.jar:] at org.ovirt.engine.core.dal.comparators.DiskImageByDiskAliasCompar= ator.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_2= 4] at org.ovirt.engine.core.vdsbroker.vdsbroker.VmInfoBuilderBase.getS= ortedDisks(VmInfoBuilderBase.java:182) [engine-vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.vdsbroker.VmInfoBuilder.buildVmD= rives(VmInfoBuilder.java:224) [engine-vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand.build= VmData(CreateVDSCommand.java:64) [engine-vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand.Execu= teVdsBrokerCommand(CreateVDSCommand.java:24) [engine-vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand.Execu= teVDSCommand(VdsBrokerCommand.java:86) [engine-vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.VDSCommandBase.ExecuteCommand(VD= SCommandBase.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.ExecuteVdsIdC= ommand(CreateVmVDSCommand.java:59) [engine-vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.VdsIdVDSCommandBase.ExecuteVDSCo= mmand(VdsIdVDSCommandBase.java:40) [engine-vdsbroker.jar:] at org.ovirt.engine.core.vdsbroker.VDSCommandBase.ExecuteCommand(VD= SCommandBase.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(Re= sourceManager.java:413) [engine-vdsbroker.jar:] at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VD= SBrokerFrontendImpl.java:35) [engine-bll.jar:] at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunAsyncVdsComma= nd(VDSBrokerFrontendImpl.java:71) [engine-bll.jar:] at org.ovirt.engine.core.bll.RunVmCommand.CreateVm(RunVmCommand.jav= a:404) [engine-bll.jar:] at org.ovirt.engine.core.bll.RunVmCommand.RunVm(RunVmCommand.java:2= 25) [engine-bll.jar:] at org.ovirt.engine.core.bll.RunVmCommand.ExecuteVmCommand(RunVmCom= mand.java:272) [engine-bll.jar:] at org.ovirt.engine.core.bll.VmCommand.executeCommand(VmCommand.jav= a: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.executeActionInTransaction= Scope(CommandBase.java:896) [engine-bll.jar:] at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBa= se.java:1203) [engine-bll.jar:] at org.ovirt.engine.core.utils.transaction.TransactionSupport.execu= teInSuppressed(TransactionSupport.java:168) [engine-utils.jar:] at org.ovirt.engine.core.utils.transaction.TransactionSupport.execu= teInScope(TransactionSupport.java:107) [engine-utils.jar:] at org.ovirt.engine.core.bll.CommandBase.Execute(CommandBase.java:9= 11) [engine-bll.jar:] at org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.= java:268) [engine-bll.jar:] at org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidated= Commands(MultipleActionsRunner.java:182) [engine-bll.jar:] at org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(Mult= ipleActionsRunner.java:162) [engine-bll.jar:] at org.ovirt.engine.core.bll.SortedMultipleActionsRunnerBase.RunCom= mands(SortedMultipleActionsRunnerBase.java:16) [engine-bll.jar:] at org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleAc= tionsRunner.java:84) [engine-bll.jar:] at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWr= apperRunnable.run(ThreadPoolUtil.java:64) [engine-utils.jar:] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja= va:471) [rt.jar:1.6.0_24] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:33= 4) [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(ThreadPoolExec= utor.java:1110) [rt.jar:1.6.0_24] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe= cutor.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.VDSCommandBa= se] (pool-3-thread-45) [7a939d6d] Command CreateVmVDS execution failed. Exc= eption: RuntimeException: java.lang.NullPointerException 2013-04-17 14:24:22,968 INFO [org.ovirt.engine.core.vdsbroker.CreateVmVDSC= ommand] (pool-3-thread-45) [7a939d6d] FINISH, CreateVmVDSCommand, log id: 7= 2d09808 2013-04-17 14:24:22,968 INFO [org.ovirt.engine.core.bll.RunVmCommand] (poo= l-3-thread-45) [7a939d6d] Lock freed to object EngineLock [exclusiveLocks= =3D key: 86f26e5d-40f0-48ad-944b-11688bdccff1 value: VM , sharedLocks=3D ] 2013-04-17 14:24:22,969 ERROR [org.ovirt.engine.core.bll.RunVmCommand] (poo= l-3-thread-45) [7a939d6d] Command org.ovirt.engine.core.bll.RunVmCommand th= row Vdc Bll exception. With error message VdcBLLException: java.lang.Runtim= eException: 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 de= lete without copying and kindly advise us by e-mail of the mistake in deliv= ery. NOTE: Regardless of content, this e-mail shall not operate to bind SKO= POS to any order or other contract unless pursuant to explicit written agre= ement or government initiative expressly permitting the use of e-mail for s= uch purpose. --_000_9BE6F493F83A594DA60C45E6A09DC5AC2EFD098DAUSP01DAG0201_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
<style> <!-- @font-face {font-family:Calibri} @font-face {font-family:Tahoma} p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"} a:link, span.MsoHyperlink {color:blue; text-decoration:underline} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {margin:0in; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif"} span.EmailStyle17 {font-family:"Calibri","sans-serif"; color:windowtext} span.BalloonTextChar {font-family:"Tahoma","sans-serif"} .MsoChpDefault {font-family:"Calibri","sans-serif"} @page WordSection1 {margin:1.0in 1.0in 1.0in 1.0in} div.WordSection1 {} --> </style> </head> <body lang=3D"EN-US" link=3D"blue" vlink=3D"purple"> <div class=3D"WordSection1"> <p class=3D"MsoNormal">I just imported this windows VM from a kvm using vir= t-v2v. actually, this is the 2<sup>nd</sup> time I imported it. = The first time, I only did the c drive (forgot the d), and it booted up fi= ne. Now that I have started over and re-imported it, it wont start this time around. I am getting this error in the e= ngine.log on the manager:</p> <p class=3D"MsoNormal"> </p> <p class=3D"MsoNormal">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 =3D 2ecfa6dd-a1fa-428c-9d04-db17c6c4491d, i= gnoreFailoverLimit =3D false, compatabilityVersion =3D null), log id: 6fd8cb9d  = ; &n= bsp;  = ; &n= bsp; </p> <p class=3D"MsoNormal">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 &= nbsp; &nb= sp; = &nb= sp; = &nb= sp; = &nb= sp; = &nb= sp; = &nb= sp; </p> <p class=3D"MsoNormal">2013-04-17 14:24:22,856 INFO [org.ovirt.engine= .core.vdsbroker.IsVmDuringInitiatingVDSCommand] (ajp--0.0.0.0-8009-11) STAR= T, IsVmDuringInitiatingVDSCommand(vmId =3D 86f26e5d-40f0-48ad-944b-11688bdc= cff1), log id: 3fda4033</p> <p class=3D"MsoNormal">2013-04-17 14:24:22,857 INFO [org.ovirt.engine= .core.vdsbroker.IsVmDuringInitiatingVDSCommand] (ajp--0.0.0.0-8009-11) FINI= SH, IsVmDuringInitiatingVDSCommand, return: false, log id: 3fda4033</p> <p class=3D"MsoNormal">2013-04-17 14:24:22,887 INFO [org.ovirt.engine= .core.bll.RunVmCommand] (pool-3-thread-45) [7a939d6d] Lock Acquired to obje= ct EngineLock [exclusiveLocks=3D key: 86f26e5d-40f0-48ad-944b-11688bdccff1 = value: VM</p> <p class=3D"MsoNormal">, sharedLocks=3D ]</p> <p class=3D"MsoNormal">2013-04-17 14:24:22,890 INFO [org.ovirt.engine= .core.bll.RunVmCommand] (pool-3-thread-45) [7a939d6d] Running command: RunV= mCommand internal: false. Entities affected : ID: 86f26e5d-40f0-48ad-= 944b-11688bdccff1 Type: VM</p> <p class=3D"MsoNormal">2013-04-17 14:24:22,939 INFO [org.ovirt.engine= .core.vdsbroker.CreateVmVDSCommand] (pool-3-thread-45) [7a939d6d] START, Cr= eateVmVDSCommand(vdsId =3D 6d7b413a-5c06-11e2-b94b-0022191dcf23, vmId=3D86f= 26e5d-40f0-48ad-944b-11688bdccff1, vm=3Dorg.ovirt.engine.core.common.busine= ssentities.VM@5cad701b), log id: 72d09808</p> <p class=3D"MsoNormal">2013-04-17 14:24:22,944 ERROR [org.ovirt.engine.core= .vdsbroker.vdsbroker.SysprepHandler] (pool-3-thread-45) [7a939d6d] Could no= t find value for user. Going to use default value of: </p> <p class=3D"MsoNormal">2013-04-17 14:24:22,945 INFO [org.ovirt.engine= .core.vdsbroker.vdsbroker.CreateVmFromSysPrepVDSCommand] (pool-3-thread-45)= [7a939d6d] START, CreateVmFromSysPrepVDSCommand(vdsId =3D 6d7b413a-5c06-11= e2-b94b-0022191dcf23, vmId=3D86f26e5d-40f0-48ad-944b-11688bdccff1, vm=3Dorg.ovirt.engine.core.common.businessentities.VM@5cad701b, hostName= =3Dws08-svr-3, domain=3D), log id: 4ad723ad</p> <p class=3D"MsoNormal">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.skop= os.me</p> <p class=3D"MsoNormal">2013-04-17 14:24:22,950 ERROR [org.ovirt.engine.core= .vdsbroker.VDSCommandBase] (pool-3-thread-45) [7a939d6d] Command CreateVmFr= omSysPrepVDS execution failed. Exception: NullPointerException: </p> <p class=3D"MsoNormal">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</p> <p class=3D"MsoNormal">2013-04-17 14:24:22,951 ERROR [org.ovirt.engine.core= .vdsbroker.CreateVmVDSCommand] (pool-3-thread-45) [7a939d6d] Error in excut= ing CreateVmVDSCommand: java.lang.NullPointerException</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.dal.comparators.DiskImageByDiskAliasComparator.compare(Disk= ImageByDiskAliasComparator.java:11) [engine-dal.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.dal.comparators.DiskImageByDiskAliasComparator.compare(Disk= ImageByDiskAliasComparator.java:7) [engine-dal.jar:]</p> <p class=3D"MsoNormal"> at java.u= til.Arrays.mergeSort(Arrays.java:1283) [rt.jar:1.6.0_24]</p> <p class=3D"MsoNormal"> at java.u= til.Arrays.sort(Arrays.java:1223) [rt.jar:1.6.0_24]</p> <p class=3D"MsoNormal"> at java.u= til.Collections.sort(Collections.java:176) [rt.jar:1.6.0_24]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.vdsbroker.vdsbroker.VmInfoBuilderBase.getSortedDisks(VmInfo= BuilderBase.java:182) [engine-vdsbroker.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.vdsbroker.vdsbroker.VmInfoBuilder.buildVmDrives(VmInfoBuild= er.java:224) [engine-vdsbroker.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand.buildVmData(CreateVDSC= ommand.java:64) [engine-vdsbroker.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand.ExecuteVdsBrokerComman= d(CreateVDSCommand.java:24) [engine-vdsbroker.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand.ExecuteVDSCommand(VdsB= rokerCommand.java:86) [engine-vdsbroker.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.vdsbroker.VDSCommandBase.ExecuteCommand(VDSCommandBase.java= :60) [engine-vdsbroker.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.dal.VdcCommandBase.Execute(VdcCommandBase.java:41) [engine-= dal.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.vdsbroker.CreateVmVDSCommand.ExecuteVdsIdCommand(CreateVmVD= SCommand.java:59) [engine-vdsbroker.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.vdsbroker.VdsIdVDSCommandBase.ExecuteVDSCommand(VdsIdVDSCom= mandBase.java:40) [engine-vdsbroker.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.vdsbroker.VDSCommandBase.ExecuteCommand(VDSCommandBase.java= :60) [engine-vdsbroker.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.dal.VdcCommandBase.Execute(VdcCommandBase.java:41) [engine-= dal.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.vdsbroker.ResourceManager.runVdsCommand(ResourceManager.jav= a:413) [engine-vdsbroker.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFrontendIm= pl.java:35) [engine-bll.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.VDSBrokerFrontendImpl.RunAsyncVdsCommand(VDSBrokerFront= endImpl.java:71) [engine-bll.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.RunVmCommand.CreateVm(RunVmCommand.java:404) [engine-bl= l.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.RunVmCommand.RunVm(RunVmCommand.java:225) [engine-bll.j= ar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.RunVmCommand.ExecuteVmCommand(RunVmCommand.java:272) [e= ngine-bll.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.VmCommand.executeCommand(VmCommand.java:100) [engine-bl= l.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:= 804) [engine-bll.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase= .java:896) [engine-bll.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1203) [en= gine-bll.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(Tr= ansactionSupport.java:168) [engine-utils.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.utils.transaction.TransactionSupport.executeInScope(Transac= tionSupport.java:107) [engine-utils.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.CommandBase.Execute(CommandBase.java:911) [engine-bll.j= ar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:268) [engine= -bll.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(Multiple= ActionsRunner.java:182) [engine-bll.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner= .java:162) [engine-bll.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.SortedMultipleActionsRunnerBase.RunCommands(SortedMulti= pleActionsRunnerBase.java:16) [engine-bll.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:= 84) [engine-bll.jar:]</p> <p class=3D"MsoNormal"> at org.ov= irt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run= (ThreadPoolUtil.java:64) [engine-utils.jar:]</p> <p class=3D"MsoNormal"> at java.u= til.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1= .6.0_24]</p> <p class=3D"MsoNormal"> at java.u= til.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.6.0_= 24]</p> <p class=3D"MsoNormal"> at java.u= til.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.6.0_24]</p> <p class=3D"MsoNormal"> at java.u= til.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [= rt.jar:1.6.0_24]</p> <p class=3D"MsoNormal"> at java.u= til.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [= rt.jar:1.6.0_24]</p> <p class=3D"MsoNormal"> at java.l= ang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]</p> <p class=3D"MsoNormal"> </p> <p class=3D"MsoNormal">2013-04-17 14:24:22,967 ERROR [org.ovirt.engine.core= .vdsbroker.VDSCommandBase] (pool-3-thread-45) [7a939d6d] Command CreateVmVD= S execution failed. Exception: RuntimeException: java.lang.NullPointerExcep= tion</p> <p class=3D"MsoNormal">2013-04-17 14:24:22,968 INFO [org.ovirt.engine= .core.vdsbroker.CreateVmVDSCommand] (pool-3-thread-45) [7a939d6d] FINISH, C= reateVmVDSCommand, log id: 72d09808</p> <p class=3D"MsoNormal">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=3D key: 86f26e5d-40f0-48ad-944b-11688bdccff1 val= ue: VM</p> <p class=3D"MsoNormal">, sharedLocks=3D ]</p> <p class=3D"MsoNormal">2013-04-17 14:24:22,969 ERROR [org.ovirt.engine.core= .bll.RunVmCommand] (pool-3-thread-45) [7a939d6d] Command org.ovirt.engine.c= ore.bll.RunVmCommand throw Vdc Bll exception. With error message VdcBLLExce= ption: java.lang.RuntimeException: java.lang.NullPointerException</p> <p class=3D"MsoNormal"> </p> <p class=3D"MsoNormal">Anyone have any ideas what I need to do to get this = VM started up?</p> <p class=3D"MsoNormal"> </p> <p class=3D"MsoNormal"> </p> <p class=3D"MsoNormal">Thanks,</p> <p class=3D"MsoNormal">jonathan</p> </div> <br> <hr> <font color=3D"Gray" face=3D"Arial" size=3D"1">This is a PRIVATE message. I= f you are not the intended recipient, please delete without copying and kin= dly advise us by e-mail of the mistake in delivery. NOTE: Regardless of con= tent, this e-mail shall not operate to bind SKOPOS to any order or other contract unless pursuant to explicit wri= tten agreement or government initiative expressly permitting the use of e-m= ail for such purpose.</font> </body> </html> --_000_9BE6F493F83A594DA60C45E6A09DC5AC2EFD098DAUSP01DAG0201_--

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@skopos.us> To: users@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.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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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@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@skopos.us> To: users@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.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@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@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.

Just to make sure that we do not lose this issue, could you file a bug? What version of ovirt are you running? Thank you, Laszlo ----- Original Message -----
From: "Jonathan Horne" <jhorne@skopos.us> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: users@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@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@skopos.us> To: users@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.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@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@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.

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@skopos.us> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: users@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@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@skopos.us> To: users@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.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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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@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@skopos.us> To: "Laszlo Hornyak" <lhornyak@redhat.com> Cc: users@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@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@skopos.us> To: users@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@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@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.

On Wed, Apr 24, 2013 at 05:14:50PM +0000, Jonathan Horne wrote:
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)?
The bad news is that virt-v2v won't work on a data disk. It has to be presented with either just the operating system disk, or all disks at once. The good news is that you don't need to convert data disks! virt-v2v knows nothing about them, and would do nothing to them. Simply copy the data disk over to the export domain using 'scp' or 'dd' or whatever. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW

I did a conversion with all disks connected on the KVM at once (which, the KVM version of the VM works fine, all SQL services start and DBs come up fine). When I import the VM with virt-v2v, the new VM will not boot until I remove the D drive. Rich, copying the disk over manually sounds like a viable plan, but im not sure what target directory to put it in. is there some specific place it should go when copying in by hand? Thanks, jonathan -----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Wednesday, April 24, 2013 3:58 PM To: Jonathan Horne Cc: Itamar Heim; Laszlo Hornyak; users@ovirt.org; Allon Mureinik Subject: Re: [Users] trouble with imported windows VM On Wed, Apr 24, 2013 at 05:14:50PM +0000, Jonathan Horne wrote:
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)?
The bad news is that virt-v2v won't work on a data disk. It has to be presented with either just the operating system disk, or all disks at once. The good news is that you don't need to convert data disks! virt-v2v knows nothing about them, and would do nothing to them. Simply copy the data disk over to the export domain using 'scp' or 'dd' or whatever. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW ________________________________ 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.

On Mon, Apr 29, 2013 at 12:55:12PM +0000, Jonathan Horne wrote:
Rich, copying the disk over manually sounds like a viable plan, but im not sure what target directory to put it in. is there some specific place it should go when copying in by hand?
I don't know the answer to this. Someone else on the ovirt users list should be able to help. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/

Jonathan, I've asked around (with people not that familiar with v2v) and we're thinking of two options - 1. Assuming that the disks weren't imported with the vm at all use v2v to import each disk separately, then create a new VM and configure it from the top. 2. If the disks were indeed imported, create a new VM with those disks, configure it and remove the old one. Good luck with that, Vered ----- Original Message -----
From: "Jonathan Horne" <jhorne@skopos.us> To: "Richard W.M. Jones" <rjones@redhat.com> Cc: users@ovirt.org Sent: Monday, April 29, 2013 3:55:12 PM Subject: Re: [Users] trouble with imported windows VM
I did a conversion with all disks connected on the KVM at once (which, the KVM version of the VM works fine, all SQL services start and DBs come up fine).
When I import the VM with virt-v2v, the new VM will not boot until I remove the D drive.
Rich, copying the disk over manually sounds like a viable plan, but im not sure what target directory to put it in. is there some specific place it should go when copying in by hand?
Thanks, jonathan
-----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Wednesday, April 24, 2013 3:58 PM To: Jonathan Horne Cc: Itamar Heim; Laszlo Hornyak; users@ovirt.org; Allon Mureinik Subject: Re: [Users] trouble with imported windows VM
On Wed, Apr 24, 2013 at 05:14:50PM +0000, Jonathan Horne wrote:
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)?
The bad news is that virt-v2v won't work on a data disk. It has to be presented with either just the operating system disk, or all disks at once.
The good news is that you don't need to convert data disks! virt-v2v knows nothing about them, and would do nothing to them. Simply copy the data disk over to the export domain using 'scp' or 'dd' or whatever.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
________________________________ 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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I did try to create a new VM and add the 2 disks that were originally imported, but still no go. The vm refuses to boot. I was also unable to import just the D drive attached to a VM, it gave me the error " virt-v2v: No root device found in this operating system image". Right now I am trying to consolidate the KVM virtual machine down to 1 disk partitioned to the necessary C and D drives, and ill try an import like that (since it was previously successful coming from KVM with just the one disk). -----Original Message----- From: Vered Volansky [mailto:vered@redhat.com] Sent: Tuesday, April 30, 2013 6:45 AM To: Jonathan Horne Cc: Richard W.M. Jones; users@ovirt.org Subject: Re: [Users] trouble with imported windows VM Jonathan, I've asked around (with people not that familiar with v2v) and we're thinking of two options - 1. Assuming that the disks weren't imported with the vm at all use v2v to import each disk separately, then create a new VM and configure it from the top. 2. If the disks were indeed imported, create a new VM with those disks, configure it and remove the old one. Good luck with that, Vered ----- Original Message -----
From: "Jonathan Horne" <jhorne@skopos.us> To: "Richard W.M. Jones" <rjones@redhat.com> Cc: users@ovirt.org Sent: Monday, April 29, 2013 3:55:12 PM Subject: Re: [Users] trouble with imported windows VM
I did a conversion with all disks connected on the KVM at once (which, the KVM version of the VM works fine, all SQL services start and DBs come up fine).
When I import the VM with virt-v2v, the new VM will not boot until I remove the D drive.
Rich, copying the disk over manually sounds like a viable plan, but im not sure what target directory to put it in. is there some specific place it should go when copying in by hand?
Thanks, jonathan
-----Original Message----- From: Richard W.M. Jones [mailto:rjones@redhat.com] Sent: Wednesday, April 24, 2013 3:58 PM To: Jonathan Horne Cc: Itamar Heim; Laszlo Hornyak; users@ovirt.org; Allon Mureinik Subject: Re: [Users] trouble with imported windows VM
On Wed, Apr 24, 2013 at 05:14:50PM +0000, Jonathan Horne wrote:
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)?
The bad news is that virt-v2v won't work on a data disk. It has to be presented with either just the operating system disk, or all disks at once.
The good news is that you don't need to convert data disks! virt-v2v knows nothing about them, and would do nothing to them. Simply copy the data disk over to the export domain using 'scp' or 'dd' or whatever.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
________________________________ 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@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.

On Tue, Apr 30, 2013 at 02:27:16PM +0000, Jonathan Horne wrote:
I did try to create a new VM and add the 2 disks that were originally imported, but still no go. The vm refuses to boot.
You need to be much more specific about how it "refuses to boot".
I was also unable to import just the D drive attached to a VM, it gave me the error " virt-v2v: No root device found in this operating system image".
As explained earlier, data disks don't need any conversion. There is nothing that virt-v2v could do with them, and it isn't able to operate on data disks, only on operating systems.
Right now I am trying to consolidate the KVM virtual machine down to 1 disk partitioned to the necessary C and D drives, and ill try an import like that (since it was previously successful coming from KVM with just the one disk).
A word of caution: Don't use Windows logical disks. Use regular partitions. Although we now support LDM upstream, that support is not in RHEL 6. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
participants (5)
-
Itamar Heim
-
Jonathan Horne
-
Laszlo Hornyak
-
Richard W.M. Jones
-
Vered Volansky