[ovirt-users] Re: Failure to import a VM
On Wed, Jun 06, 2018 at 02:02:55PM +, Aziz wrote: > Here attached more logs, while importing the OVA file. Thanks [ 11.4] Converting PanOS release 2 (HDF) to run on KVM I'm not sure what this is, except it seems to be derived from RHEL or CentOS, but we don't usually support arbitrary guests, only the ones listed in the manual: http://libguestfs.org/virt-v2v.1.html#support-matrix If it's not in that list then it's pot luck whether it works. In this case the actual failure is: virt-v2v: error: no bootloader detected It's looking for a grub configuration file under /boot and doesn't find one (out of grub.cfg, grub.conf or menu.lst). We need to find the bootloader in order to determine what kernel can be booted and sometimes to change the kernel to one which supports virtio. You might want to try ovirt-image-uploader instead. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/DWRA7AJZ3O4FSYSYQXVOZCT4N4N7GZV6/
[ovirt-users] Re: Failure to import a VM
Hi Richard, Here attached more logs, while importing the OVA file. Thanks Kind regards On Mon, Jun 4, 2018 at 4:18 PM, Richard W.M. Jones wrote: > On Mon, Jun 04, 2018 at 05:22:44PM +0300, Arik Hadas wrote: > > On Mon, Jun 4, 2018 at 3:51 PM, Aziz wrote: > > > > > Hi, > > > > > > It's RedHat x64 ( The system is Palo Alto Firewall VM). > > > > > > > > > > > > > > > Note : I imported the VM to virtualbox and Vmware without any issues, > so I > > > can confirm that the OVA file is working. > > This is where you're making the mistake. OVA is not a real standard. > > Anyway I need to see the full logs from virt-v2v to say anything more. > > http://libguestfs.org/virt-v2v.1.html#debugging-rhv-m-import-failures > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~ > rjones > Read my programming and virtualization blog: http://rwmj.wordpress.com > virt-p2v converts physical machines to virtual machines. Boot with a > live CD or over the network (PXE) and turn machines into KVM guests. > http://libguestfs.org/virt-v2v > logs.tar.gz Description: application/gzip ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/AC6SQP5BFZWBDHJEPLV7HG6ZAUVFXMTV/
[ovirt-users] Re: Failure to import a VM
On Mon, Jun 04, 2018 at 05:22:44PM +0300, Arik Hadas wrote: > On Mon, Jun 4, 2018 at 3:51 PM, Aziz wrote: > > > Hi, > > > > It's RedHat x64 ( The system is Palo Alto Firewall VM). > > > > > > > > > > Note : I imported the VM to virtualbox and Vmware without any issues, so I > > can confirm that the OVA file is working. This is where you're making the mistake. OVA is not a real standard. Anyway I need to see the full logs from virt-v2v to say anything more. http://libguestfs.org/virt-v2v.1.html#debugging-rhv-m-import-failures Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/GMGEW63SUA3X576UPBKUAIM3QHZCEKQO/
[ovirt-users] Re: Failure to import a VM
hehehe Thanks Arik . On Mon, Jun 4, 2018 at 2:22 PM, Arik Hadas wrote: > > > On Mon, Jun 4, 2018 at 3:51 PM, Aziz wrote: > >> Hi, >> >> It's RedHat x64 ( The system is Palo Alto Firewall VM). >> >> >> >> >> Note : I imported the VM to virtualbox and Vmware without any issues, so >> I can confirm that the OVA file is working. >> >> Thanks >> >> On Mon, Jun 4, 2018 at 12:14 PM, Arik Hadas wrote: >> >>> >>> >>> On Mon, Jun 4, 2018 at 2:53 PM, Aziz wrote: >>> Hi Arik, Please find attached the the HV2 logs as requested. Thanks >>> >>> Adding Richard. >>> >> > And now for real :) > > >> Seems like the problem is: >>> >>> virt-v2v: error: no bootloader detected >>> >>> What operating system is installed in that image? >>> >>> Best regards On Fri, Jun 1, 2018 at 8:44 PM, Arik Hadas wrote: > > > On Fri, Jun 1, 2018 at 4:12 PM, Aziz wrote: > >> Hi Arik, >> >> Thank you for your feedback, indeed the new version resolved my >> problem, however I'm still unable to upload the OVA VM, in the new logs >> I'm >> seeing a different error, any hints ? >> > >> > >> >> -- >> 2018-06-01 12:59:58,656Z INFO [org.ovirt.engine.core.dal.dbb >> roker.auditloghandling.AuditLogDirector] >> (EE-ManagedThreadFactory-engine-Thread-196) >> [e0846352-12c0-4bff-bdff-43d1938ec9be] EVENT_ID: >> ADD_DISK_INTERNAL(2,036), Add-Disk operation of 'vmdisk1' was initiated >> by >> the system. >> 2018-06-01 12:59:58,757Z INFO [org.ovirt.engine.core.dal.dbb >> roker.auditloghandling.AuditLogDirector] >> (EE-ManagedThreadFactory-engine-Thread-196) >> [e0846352-12c0-4bff-bdff-43d1938ec9be] EVENT_ID: >> IMPORTEXPORT_STARTING_IMPORT_VM(1,165), Starting to import Vm >> PA-VM-8.0.0 to Data Center DC2, Cluster Cluster2 >> 2018-06-01 13:00:00,292Z INFO [org.ovirt.engine.core.bll.Ser >> ialChildCommandsExecutionCallback] >> (EE-ManagedThreadFactory-engineScheduled-Thread-84) >> [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'ImportVmFromOva' >> (id: 'ba2a1ec9-36b3-451b-b6b9-2b2d698ed900') waiting on child >> command id: 'f20e8e29-39be-48d4-aee9-de3cb4cd7751' type:'AddDisk' to >> complete >> 2018-06-01 13:00:00,297Z INFO [org.ovirt.engine.core.bll.Con >> currentChildCommandsExecutionCallback] >> (EE-ManagedThreadFactory-engineScheduled-Thread-84) >> [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'AddDisk' (id: >> 'f20e8e29-39be-48d4-aee9-de3cb4cd7751') waiting on child command id: >> '698a4fae-9420-4ebb-afd3-ad16df881166' type:'AddImageFromScratch' to >> complete >> 2018-06-01 13:00:04,310Z INFO [org.ovirt.engine.core.bll.Ser >> ialChildCommandsExecutionCallback] >> (EE-ManagedThreadFactory-engineScheduled-Thread-19) >> [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'ImportVmFromOva' >> (id: 'ba2a1ec9-36b3-451b-b6b9-2b2d698ed900') waiting on child >> command id: 'f20e8e29-39be-48d4-aee9-de3cb4cd7751' type:'AddDisk' to >> complete >> 2018-06-01 13:00:04,316Z INFO [org.ovirt.engine.core.bll.Con >> currentChildCommandsExecutionCallback] >> (EE-ManagedThreadFactory-engineScheduled-Thread-19) >> [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'AddDisk' (id: >> 'f20e8e29-39be-48d4-aee9-de3cb4cd7751') waiting on child command id: >> '698a4fae-9420-4ebb-afd3-ad16df881166' type:'AddImageFromScratch' to >> complete >> 2018-06-01 13:00:06,418Z INFO >> [org.ovirt.engine.core.bll.tasks.AsyncTaskManager] >> (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] Polling and >> updating Async Tasks: 1 tasks, 1 tasks to poll now >> 2018-06-01 13:00:06,424Z INFO >> [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] >> (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] >> SPMAsyncTask::PollTask: Polling task >> 'fed324cf-c16b-41f0-a1b3-17f60a20f52e' >> (Parent Command 'AddImageFromScratch', Parameters Type >> 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') >> returned status 'finished', result 'success'. >> 2018-06-01 13:00:06,436Z INFO >> [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] >> (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] >> BaseAsyncTask::onTaskEndSuccess: Task >> 'fed324cf-c16b-41f0-a1b3-17f60a20f52e' >> (Parent Command 'AddImageFromScratch', Parameters Type >> 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended >> successfully. >> 2018-06-01 13:00:06,437Z INFO >> [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] >> (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] >> CommandAsyncTask::endActionIfNecessary: All tasks of command >> '698a4fae-9420-4ebb-afd3-ad16df881166' has ended -> executing >> 'endAction' >> 2018-06-01
[ovirt-users] Re: Failure to import a VM
Hi, It's RedHat x64 ( The system is Palo Alto Firewall VM). Note : I imported the VM to virtualbox and Vmware without any issues, so I can confirm that the OVA file is working. Thanks On Mon, Jun 4, 2018 at 12:14 PM, Arik Hadas wrote: > > > On Mon, Jun 4, 2018 at 2:53 PM, Aziz wrote: > >> Hi Arik, >> >> Please find attached the the HV2 logs as requested. Thanks >> > > Adding Richard. > Seems like the problem is: > > virt-v2v: error: no bootloader detected > > What operating system is installed in that image? > > >> >> Best regards >> >> On Fri, Jun 1, 2018 at 8:44 PM, Arik Hadas wrote: >> >>> >>> >>> On Fri, Jun 1, 2018 at 4:12 PM, Aziz wrote: >>> Hi Arik, Thank you for your feedback, indeed the new version resolved my problem, however I'm still unable to upload the OVA VM, in the new logs I'm seeing a different error, any hints ? >>> >>> -- 2018-06-01 12:59:58,656Z INFO [org.ovirt.engine.core.dal.dbb roker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-196) [e0846352-12c0-4bff-bdff-43d1938ec9be] EVENT_ID: ADD_DISK_INTERNAL(2,036), Add-Disk operation of 'vmdisk1' was initiated by the system. 2018-06-01 12:59:58,757Z INFO [org.ovirt.engine.core.dal.dbb roker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-196) [e0846352-12c0-4bff-bdff-43d1938ec9be] EVENT_ID: IMPORTEXPORT_STARTING_IMPORT_VM(1,165), Starting to import Vm PA-VM-8.0.0 to Data Center DC2, Cluster Cluster2 2018-06-01 13:00:00,292Z INFO [org.ovirt.engine.core.bll.Ser ialChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-84) [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'ImportVmFromOva' (id: 'ba2a1ec9-36b3-451b-b6b9-2b2d698ed900') waiting on child command id: 'f20e8e29-39be-48d4-aee9-de3cb4cd7751' type:'AddDisk' to complete 2018-06-01 13:00:00,297Z INFO [org.ovirt.engine.core.bll.Con currentChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-84) [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'AddDisk' (id: 'f20e8e29-39be-48d4-aee9-de3cb4cd7751') waiting on child command id: '698a4fae-9420-4ebb-afd3-ad16df881166' type:'AddImageFromScratch' to complete 2018-06-01 13:00:04,310Z INFO [org.ovirt.engine.core.bll.Ser ialChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-19) [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'ImportVmFromOva' (id: 'ba2a1ec9-36b3-451b-b6b9-2b2d698ed900') waiting on child command id: 'f20e8e29-39be-48d4-aee9-de3cb4cd7751' type:'AddDisk' to complete 2018-06-01 13:00:04,316Z INFO [org.ovirt.engine.core.bll.Con currentChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-19) [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'AddDisk' (id: 'f20e8e29-39be-48d4-aee9-de3cb4cd7751') waiting on child command id: '698a4fae-9420-4ebb-afd3-ad16df881166' type:'AddImageFromScratch' to complete 2018-06-01 13:00:06,418Z INFO [org.ovirt.engine.core.bll.tasks.AsyncTaskManager] (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] Polling and updating Async Tasks: 1 tasks, 1 tasks to poll now 2018-06-01 13:00:06,424Z INFO [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] SPMAsyncTask::PollTask: Polling task 'fed324cf-c16b-41f0-a1b3-17f60a20f52e' (Parent Command 'AddImageFromScratch', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') returned status 'finished', result 'success'. 2018-06-01 13:00:06,436Z INFO [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] BaseAsyncTask::onTaskEndSuccess: Task 'fed324cf-c16b-41f0-a1b3-17f60a20f52e' (Parent Command 'AddImageFromScratch', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended successfully. 2018-06-01 13:00:06,437Z INFO [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] CommandAsyncTask::endActionIfNecessary: All tasks of command '698a4fae-9420-4ebb-afd3-ad16df881166' has ended -> executing 'endAction' 2018-06-01 13:00:06,437Z INFO [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] CommandAsyncTask::endAction: Ending action for '1' tasks (command ID: '698a4fae-9420-4ebb-afd3-ad16df881166'): calling endAction '. 2018-06-01 13:00:06,437Z INFO [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (EE-ManagedThreadFactory-engine-Thread-197) []
[ovirt-users] Re: Failure to import a VM
On Fri, Jun 1, 2018 at 4:12 PM, Aziz wrote: > Hi Arik, > > Thank you for your feedback, indeed the new version resolved my problem, > however I'm still unable to upload the OVA VM, in the new logs I'm seeing a > different error, any hints ? > > > > -- > 2018-06-01 12:59:58,656Z INFO [org.ovirt.engine.core.dal. > dbbroker.auditloghandling.AuditLogDirector] > (EE-ManagedThreadFactory-engine-Thread-196) > [e0846352-12c0-4bff-bdff-43d1938ec9be] EVENT_ID: > ADD_DISK_INTERNAL(2,036), Add-Disk operation of 'vmdisk1' was initiated by > the system. > 2018-06-01 12:59:58,757Z INFO [org.ovirt.engine.core.dal. > dbbroker.auditloghandling.AuditLogDirector] > (EE-ManagedThreadFactory-engine-Thread-196) > [e0846352-12c0-4bff-bdff-43d1938ec9be] EVENT_ID: > IMPORTEXPORT_STARTING_IMPORT_VM(1,165), Starting to import Vm PA-VM-8.0.0 > to Data Center DC2, Cluster Cluster2 > 2018-06-01 13:00:00,292Z INFO [org.ovirt.engine.core.bll. > SerialChildCommandsExecutionCallback] > (EE-ManagedThreadFactory-engineScheduled-Thread-84) > [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'ImportVmFromOva' (id: > 'ba2a1ec9-36b3-451b-b6b9-2b2d698ed900') waiting on child command id: > 'f20e8e29-39be-48d4-aee9-de3cb4cd7751' type:'AddDisk' to complete > 2018-06-01 13:00:00,297Z INFO [org.ovirt.engine.core.bll. > ConcurrentChildCommandsExecutionCallback] > (EE-ManagedThreadFactory-engineScheduled-Thread-84) > [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'AddDisk' (id: > 'f20e8e29-39be-48d4-aee9-de3cb4cd7751') waiting on child command id: > '698a4fae-9420-4ebb-afd3-ad16df881166' type:'AddImageFromScratch' to > complete > 2018-06-01 13:00:04,310Z INFO [org.ovirt.engine.core.bll. > SerialChildCommandsExecutionCallback] > (EE-ManagedThreadFactory-engineScheduled-Thread-19) > [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'ImportVmFromOva' (id: > 'ba2a1ec9-36b3-451b-b6b9-2b2d698ed900') waiting on child command id: > 'f20e8e29-39be-48d4-aee9-de3cb4cd7751' type:'AddDisk' to complete > 2018-06-01 13:00:04,316Z INFO [org.ovirt.engine.core.bll. > ConcurrentChildCommandsExecutionCallback] > (EE-ManagedThreadFactory-engineScheduled-Thread-19) > [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'AddDisk' (id: > 'f20e8e29-39be-48d4-aee9-de3cb4cd7751') waiting on child command id: > '698a4fae-9420-4ebb-afd3-ad16df881166' type:'AddImageFromScratch' to > complete > 2018-06-01 13:00:06,418Z INFO > [org.ovirt.engine.core.bll.tasks.AsyncTaskManager] > (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] Polling and > updating Async Tasks: 1 tasks, 1 tasks to poll now > 2018-06-01 13:00:06,424Z INFO [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] > (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] > SPMAsyncTask::PollTask: Polling task 'fed324cf-c16b-41f0-a1b3-17f60a20f52e' > (Parent Command 'AddImageFromScratch', Parameters Type > 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') returned > status 'finished', result 'success'. > 2018-06-01 13:00:06,436Z INFO [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] > (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] > BaseAsyncTask::onTaskEndSuccess: > Task 'fed324cf-c16b-41f0-a1b3-17f60a20f52e' (Parent Command > 'AddImageFromScratch', Parameters Type 'org.ovirt.engine.core.common. > asynctasks.AsyncTaskParameters') ended successfully. > 2018-06-01 13:00:06,437Z INFO > [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] > (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] > CommandAsyncTask::endActionIfNecessary: > All tasks of command '698a4fae-9420-4ebb-afd3-ad16df881166' has ended -> > executing 'endAction' > 2018-06-01 13:00:06,437Z INFO > [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] > (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] > CommandAsyncTask::endAction: Ending action for '1' tasks (command ID: > '698a4fae-9420-4ebb-afd3-ad16df881166'): calling endAction '. > 2018-06-01 13:00:06,437Z INFO > [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] > (EE-ManagedThreadFactory-engine-Thread-197) [] > CommandAsyncTask::endCommandAction > [within thread] context: Attempting to endAction 'AddImageFromScratch', > 2018-06-01 13:00:06,444Z INFO [org.ovirt.engine.core.bll. > storage.disk.image.AddImageFromScratchCommand] > (EE-ManagedThreadFactory-engine-Thread-197) > [e0846352-12c0-4bff-bdff-43d1938ec9be] Command > [id=698a4fae-9420-4ebb-afd3-ad16df881166]: Updating status to > 'SUCCEEDED', The command end method logic will be executed by one of its > parent commands. > 2018-06-01 13:00:06,444Z INFO > [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] > (EE-ManagedThreadFactory-engine-Thread-197) > [e0846352-12c0-4bff-bdff-43d1938ec9be] > CommandAsyncTask::HandleEndActionResult [within thread]: endAction for > action type 'AddImageFromScratch' completed, handling the result. > 2018-06-01 13:00:06,444Z INFO > [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] >
[ovirt-users] Re: Failure to import a VM
Hi Arik, Thank you for your feedback, indeed the new version resolved my problem, however I'm still unable to upload the OVA VM, in the new logs I'm seeing a different error, any hints ? -- 2018-06-01 12:59:58,656Z INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-196) [e0846352-12c0-4bff-bdff-43d1938ec9be] EVENT_ID: ADD_DISK_INTERNAL(2,036), Add-Disk operation of 'vmdisk1' was initiated by the system. 2018-06-01 12:59:58,757Z INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-196) [e0846352-12c0-4bff-bdff-43d1938ec9be] EVENT_ID: IMPORTEXPORT_STARTING_IMPORT_VM(1,165), Starting to import Vm PA-VM-8.0.0 to Data Center DC2, Cluster Cluster2 2018-06-01 13:00:00,292Z INFO [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-84) [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'ImportVmFromOva' (id: 'ba2a1ec9-36b3-451b-b6b9-2b2d698ed900') waiting on child command id: 'f20e8e29-39be-48d4-aee9-de3cb4cd7751' type:'AddDisk' to complete 2018-06-01 13:00:00,297Z INFO [org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-84) [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'AddDisk' (id: 'f20e8e29-39be-48d4-aee9-de3cb4cd7751') waiting on child command id: '698a4fae-9420-4ebb-afd3-ad16df881166' type:'AddImageFromScratch' to complete 2018-06-01 13:00:04,310Z INFO [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-19) [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'ImportVmFromOva' (id: 'ba2a1ec9-36b3-451b-b6b9-2b2d698ed900') waiting on child command id: 'f20e8e29-39be-48d4-aee9-de3cb4cd7751' type:'AddDisk' to complete 2018-06-01 13:00:04,316Z INFO [org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-19) [e0846352-12c0-4bff-bdff-43d1938ec9be] Command 'AddDisk' (id: 'f20e8e29-39be-48d4-aee9-de3cb4cd7751') waiting on child command id: '698a4fae-9420-4ebb-afd3-ad16df881166' type:'AddImageFromScratch' to complete 2018-06-01 13:00:06,418Z INFO [org.ovirt.engine.core.bll.tasks.AsyncTaskManager] (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] Polling and updating Async Tasks: 1 tasks, 1 tasks to poll now 2018-06-01 13:00:06,424Z INFO [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] SPMAsyncTask::PollTask: Polling task 'fed324cf-c16b-41f0-a1b3-17f60a20f52e' (Parent Command 'AddImageFromScratch', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') returned status 'finished', result 'success'. 2018-06-01 13:00:06,436Z INFO [org.ovirt.engine.core.bll.tasks.SPMAsyncTask] (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] BaseAsyncTask::onTaskEndSuccess: Task 'fed324cf-c16b-41f0-a1b3-17f60a20f52e' (Parent Command 'AddImageFromScratch', Parameters Type 'org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters') ended successfully. 2018-06-01 13:00:06,437Z INFO [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] CommandAsyncTask::endActionIfNecessary: All tasks of command '698a4fae-9420-4ebb-afd3-ad16df881166' has ended -> executing 'endAction' 2018-06-01 13:00:06,437Z INFO [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (EE-ManagedThreadFactory-engineScheduled-Thread-26) [] CommandAsyncTask::endAction: Ending action for '1' tasks (command ID: '698a4fae-9420-4ebb-afd3-ad16df881166'): calling endAction '. 2018-06-01 13:00:06,437Z INFO [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (EE-ManagedThreadFactory-engine-Thread-197) [] CommandAsyncTask::endCommandAction [within thread] context: Attempting to endAction 'AddImageFromScratch', 2018-06-01 13:00:06,444Z INFO [org.ovirt.engine.core.bll.storage.disk.image.AddImageFromScratchCommand] (EE-ManagedThreadFactory-engine-Thread-197) [e0846352-12c0-4bff-bdff-43d1938ec9be] Command [id=698a4fae-9420-4ebb-afd3-ad16df881166]: Updating status to 'SUCCEEDED', The command end method logic will be executed by one of its parent commands. 2018-06-01 13:00:06,444Z INFO [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (EE-ManagedThreadFactory-engine-Thread-197) [e0846352-12c0-4bff-bdff-43d1938ec9be] CommandAsyncTask::HandleEndActionResult [within thread]: endAction for action type 'AddImageFromScratch' completed, handling the result. 2018-06-01 13:00:06,444Z INFO [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (EE-ManagedThreadFactory-engine-Thread-197) [e0846352-12c0-4bff-bdff-43d1938ec9be] CommandAsyncTask::HandleEndActionResult [within thread]: endAction for action type 'AddImageFromScratch' succeeded, clearing tasks. 2018-06-01 13:00:06,444Z INFO
[ovirt-users] Re: Failure to import a VM
On Mon, May 28, 2018 at 7:55 PM, Aziz wrote: > Hi All, > > I'm getting an error when trying to import an OVA file to my oVirt. It > seems that a JAVA command is failing with an exception : > > Here are the logs from the engine.log file, while importing the OVA file. > > 2018-05-28 16:47:09,491Z ERROR > [org.ovirt.engine.core.bll.exportimport.ImportVmFromOvaCommand] > (EE-ManagedThreadFactory-engine-Thread-19767) > [e0306ff3-db73-4030-924b-57d86023db28] > Command 'org.ovirt.engine.core.bll.exportimport.ImportVmFromOvaCommand' > failed: For input string: "" > 2018-05-28 16:47:09,491Z ERROR > [org.ovirt.engine.core.bll.exportimport.ImportVmFromOvaCommand] > (EE-ManagedThreadFactory-engine-Thread-19767) > [e0306ff3-db73-4030-924b-57d86023db28] > Exception: java.lang.NumberFormatException: For input string: "" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) > [rt.jar:1.8.0_171] > at java.lang.Long.parseLong(Long.java:601) [rt.jar:1.8.0_171] > at > org.ovirt.engine.core.utils.MacAddressRangeUtils.macToLong(MacAddressRangeUtils.java:124) > [utils.jar:] > at org.ovirt.engine.core.bll.network.macpool.MacPoolUsingRanges. > isMacInRange(MacPoolUsingRanges.java:193) [bll.jar:] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [rt.jar:1.8.0_171] > at sun.reflect.NativeMethodAccessorImpl.invoke( > NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_171] > at sun.reflect.DelegatingMethodAccessorImpl.invoke( > DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_171] > at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_171] > at org.ovirt.engine.core.utils.lock.LockedObjectFactory$ > LockingInvocationHandler.invoke(LockedObjectFactory.java:66) [utils.jar:] > at com.sun.proxy.$Proxy187.isMacInRange(Unknown Source) > at java.util.function.Predicate.lambda$negate$1(Predicate.java:80) > [rt.jar:1.8.0_171] > at > java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) > [rt.jar:1.8.0_171] > at > java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) > [rt.jar:1.8.0_171] > at > java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) > [rt.jar:1.8.0_171] > at java.util.ArrayList$ArrayListSpliterator. > forEachRemaining(ArrayList.java:1382) [rt.jar:1.8.0_171] > at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) > [rt.jar:1.8.0_171] > at > java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) > [rt.jar:1.8.0_171] > at > java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) > [rt.jar:1.8.0_171] > at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) > [rt.jar:1.8.0_171] > at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) > [rt.jar:1.8.0_171] > at org.ovirt.engine.core.bll.network.vm.ExternalVmMacsFinder. > findExternalMacAddresses(ExternalVmMacsFinder.java:37) [bll.jar:] > at org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase. > reportExternalMacs(ImportVmCommandBase.java:512) [bll.jar:] > at org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase. > addVmInterfaces(ImportVmCommandBase.java:640) [bll.jar:] > at org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase.lambda$ > addVmToDb$2(ImportVmCommandBase.java:533) [bll.jar:] > at org.ovirt.engine.core.utils.transaction.TransactionSupport. > executeInNewTransaction(TransactionSupport.java:202) [utils.jar:] > at org.ovirt.engine.core.bll.exportimport. > ImportVmCommandBase.addVmToDb(ImportVmCommandBase.java:529) [bll.jar:] > at org.ovirt.engine.core.bll.exportimport. > ImportVmFromExternalProviderCommand.addVmToDb( > ImportVmFromExternalProviderCommand.java:364) [bll.jar:] > at org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase. > executeVmCommand(ImportVmCommandBase.java:474) [bll.jar:] > at org.ovirt.engine.core.bll.VmCommand.executeCommand(VmCommand.java:161) > [bll.jar:] > at > org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1133) > [bll.jar:] > at org.ovirt.engine.core.bll.CommandBase. > executeActionInTransactionScope(CommandBase.java:1285) [bll.jar:] > at > org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1934) > [bll.jar:] > at org.ovirt.engine.core.utils.transaction.TransactionSupport. > executeInSuppressed(TransactionSupport.java:164) [utils.jar:] > at org.ovirt.engine.core.utils.transaction.TransactionSupport. > executeInScope(TransactionSupport.java:103) [utils.jar:] > at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1345) > [bll.jar:] > at > org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:400) > [bll.jar:] > at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRu > nner.executeValidatedCommand(PrevalidatingMultipleActionsRunner.java:204) > [bll.jar:] > at