[ovirt-users] OVA Import Fail

2022-05-12 Thread Abe E
Anyone getting issues with OVA Imports on 4.4?
I exported this from ovirt back in March although now importing again it is 
failing.

My engine logs show it erroring out here:
Command, return: StatusReturn:{status='Status [code=0, message=Done]'}, log id: 
7f970c1f
2022-05-12 17:14:40,396-06 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-68) [] 
EVENT_ID: USER_ADD_DISK_TO_VM_FINISHED_SUCCESS(97), The d   
   isk Nextgen-CC-Tools_Disk1 was successfully added to VM 
Nextgen-CC-Tools.
2022-05-12 17:14:40,678-06 INFO  
[org.ovirt.engine.core.bll.exportimport.ExtractOvaCommand] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-68) 
[192f636b-0dd4-4a61-a673-1b946d7e0b56] Running command: ExtractOvaComman
  d internal: true. Entities affected :  ID: 
66ff7ebd-7682-4b94-b98d-5ceb76661830 Type: VM
2022-05-12 17:14:40,691-06 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-68) 
[192f636b-0dd4-4a61-a673-1b946d7e0b56] START, PrepareImageVDSCom
  mand(HostName = ovirt-2.removed.com, 
PrepareImageVDSCommandParameters:{hostId='0fbd6429-9c91-44d7-8d50-dcc08c8301f9'}),
 log id: 6915fcb6
2022-05-12 17:14:40,731-06 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-68) 
[192f636b-0dd4-4a61-a673-1b946d7e0b56] FINISH, PrepareImageVDSCo
  mmand, return: PrepareImageReturn:{status='Status [code=0, 
message=Done]'}, log id: 6915fcb6
2022-05-12 17:14:46,893-06 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-68) 
[192f636b-0dd4-4a61-a673-1b946d7e0b56] EVENT_ID: ANSIBLE_RUN
  NER_EVENT_NOTIFICATION(559), Import OVA. Run import yaml on py3.
2022-05-12 17:14:46,918-06 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-68) 
[192f636b-0dd4-4a61-a673-1b946d7e0b56] EVENT_ID: ANSIBLE_RUN
  NER_EVENT_NOTIFICATION(559), Import OVA. Set facts.
2022-05-12 17:14:49,936-06 ERROR 
[org.ovirt.engine.core.bll.exportimport.ExtractOvaCommand] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-68) 
[192f636b-0dd4-4a61-a673-1b946d7e0b56] Command 'org.ovirt.engine.core.bl
  l.exportimport.ExtractOvaCommand' failed: Task Run 
extraction script failed to execute. Please check logs for more details: 
/var/log/ovirt-engine/ova/ovirt-import-ova-ansible-20220512171440-ovirt-2.removed.com-192f636b-0dd4-4a61-a673-1b94
  6d7e0b56.log
2022-05-12 17:14:49,936-06 ERROR 
[org.ovirt.engine.core.bll.exportimport.ExtractOvaCommand] 
(EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-68) 
[192f636b-0dd4-4a61-a673-1b946d7e0b56] Exception: org.ovirt.engine.core.
  common.utils.ansible.AnsibleRunnerCallException: Task 
Run extraction script failed to execute. Please check logs for more details: 
/var/log/ovirt-engine/ova/ovirt-import-ova-ansible-20220512171440-ovirt-2.removed.com-192f636b-0dd4-4a61-a6
  73-1b946d7e0b56.log
at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.common.utils.ansible.AnsibleRunnerHttpClient.processEvents(AnsibleRunnerHttpClient.java:251)
at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor.runCommand(AnsibleExecutor.java:227)
at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor.runCommand(AnsibleExecutor.java:74)
at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.common.utils.ansible.AnsibleExecutor.runCommand(AnsibleExecutor.java:51)
at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.exportimport.ExtractOvaCommand.runAnsibleImportOvaPlaybook(ExtractOvaCommand.java:129)
at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.exportimport.ExtractOvaCommand.executeVmCommand(ExtractOvaCommand.java:79)
at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.VmCommand.executeCommand(VmCommand.java:178)
at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1174)
at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1332)
at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2010)
at 
org.ovirt.engine.core.utils//org.ovirt.engine.cor

[ovirt-users] ova import

2021-04-07 Thread eevans
I am running Ovirt 4.3 and exported machines as ova which includes disks. When 
I re import them. the disks are thin provisioned and the vm will not boot. 
Any idea how to get the import to  preallocate disks?  I have vms that will not 
boot.
It states no bootable disk is available.
It seems the virt2vm isn't working correctly.
ANy help would be appreciated.
Eric
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GYGBNMSMEZZJA6GZPVRSMLTBRCXCAILK/


[ovirt-users] OVA import does not upload disks

2020-07-21 Thread Paolo Airaldi
Hello,

 

I'm running 4.3.5.4-1.el7. I've exported a VM as OVA and now I'm trying to
import it in another Data Center (it's like a DR Data Center)

 

Import runs successfully both from GUI and from Ansible, but imported VM
disks are empty and the VM fails to boot.

 

How can I import disks content too?

 

Thanks in advance for any help.

 

Paolo

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QQVROGY5NKXX7KTJFQJSBW5OMNXU37HX/


[ovirt-users] OVA import does not upload disks

2020-07-21 Thread Paolo Airaldi
Hello,

 

I’m running 4.3.5.4-1.el7. I’ve exported a VM as OVA and now
I’m trying to import it in another Data Center (it’s like a DR Data Center)

 

Import runs successfully both from GUI and from
Ansible, but imported VM disks are empty and the VM fails to boot.

 

How can I import disks content too?

 

Thanks in advance for any help.

 

Paolo___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QHBSAJKUCKA3CSILUA22G7LCMNETI2QY/


[ovirt-users] OVA import fails always

2020-02-27 Thread Juan Pablo Lorier

Hi,

I'm running 4.3.8.2-1.el7 (just updated engine to see if it helps) and I 
haven't been able to import vms in OVA format, I've tried many 
appliances downloaded from the web but couldn't get them to work.


Any hints?

Regards

___
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/KRCE36GYQIOCXYR6K3KWUJA6R4ODWU56/


Re: [ovirt-users] OVA Import - Failed to convert VM

2016-12-06 Thread Shahar Havivi
Sure, glad it been solved.

 Shahar.

On Tue, Dec 6, 2016 at 10:41 PM, Nate T. Llaneza 
wrote:

> Hey Shahar,
>
>
>
> I have been doing even more “googling” today, and I stumbled upon this
> article: https://www.mail-archive.com/users@ovirt.org/msg36886.html. I
> was able to fix the issue by running a yum update –enablerepo=cr on one of
> my test hosts. It works now! Thank you for your help.
>
>
>
>
>
> *From: *Shahar Havivi 
> *Sent: *Tuesday, December 6, 2016 7:26 AM
> *To: *Nate T. Llaneza ; users@ovirt.org
>
> *Subject: *Re: [ovirt-users] OVA Import - Failed to convert VM
>
>
> Thanks Nate,
> The Engine log is correct but the vdsm one is without the error, it maybe
> the wrong host, the log that we expected is the one you named CTI04.
> If you try to import again please make sure you select the right host in
> the import dialog.
>
>  Shahar.
>
> On Tue, Dec 6, 2016 at 1:48 PM, Nate T. Llaneza 
> wrote:
>
>> I cleared the log files and re-attempted to import the ova. This should
>> be everything plus a little. Thanks again!
>>
>>
>>
>>
>>
>>
>>
>> *From: *Shahar Havivi 
>> *Sent: *Monday, December 5, 2016 4:26 AM
>> *To: *Nate T. Llaneza 
>> *Subject: *Re: [ovirt-users] OVA Import - Failed to convert VM
>>
>>
>>
>> HI,
>>
>> The log don't show the error.
>>
>> Please send the right part of the log and vdsm log as well.
>>
>>
>>
>> Thanks you,
>>
>>   Shahar.
>>
>>
>>
>> On Fri, Dec 2, 2016 at 6:55 PM, Nate T. Llaneza 
>> wrote:
>>
>> Hey All,
>>
>>
>>
>> I am trying to import a VM into oVirt. I am attempting to use the web
>> interface to do so. I started by exporting a ova file directly from VMware
>> Workstation. I uploaded the file to the local hard disk of a virtual host.
>> Changed the permissions on the file to 36:36. The last step from what I can
>> see was to go into the web interface and "import" the VM. I used the VMware
>> Virtual Appliance as the source and specified the local path to the ova. It
>> detected the ova, and I was able to move it into the "Virtual Machines to
>> Import" box. After oVirt starts the import of the VM it ends up failing
>> with the error "Failed to convert VM", and then shortly after it deletes
>> the VM.
>>
>>
>>
>> I am attaching a snippet of the engine.log, but I can't really make heads
>> or tails of the error messages in there. I am on oVirt 4.0.5. The virtual
>> host is running CentOS 7. Thanks in advance!
>>
>>
>>
>> Regards,
>>
>> Nathan Llaneza
>>
>> Systems Engineer
>>
>> Coastal IT Solutions of NC, LLC
>>
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>>
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] OVA Import - Failed to convert VM

2016-12-06 Thread Shahar Havivi
Thanks Nate,
The Engine log is correct but the vdsm one is without the error, it maybe
the wrong host, the log that we expected is the one you named CTI04.
If you try to import again please make sure you select the right host in
the import dialog.

 Shahar.

On Tue, Dec 6, 2016 at 1:48 PM, Nate T. Llaneza  wrote:

> I cleared the log files and re-attempted to import the ova. This should be
> everything plus a little. Thanks again!
>
>
>
>
>
>
>
> *From: *Shahar Havivi 
> *Sent: *Monday, December 5, 2016 4:26 AM
> *To: *Nate T. Llaneza 
> *Subject: *Re: [ovirt-users] OVA Import - Failed to convert VM
>
>
>
> HI,
>
> The log don't show the error.
>
> Please send the right part of the log and vdsm log as well.
>
>
>
> Thanks you,
>
>   Shahar.
>
>
>
> On Fri, Dec 2, 2016 at 6:55 PM, Nate T. Llaneza 
> wrote:
>
> Hey All,
>
>
>
> I am trying to import a VM into oVirt. I am attempting to use the web
> interface to do so. I started by exporting a ova file directly from VMware
> Workstation. I uploaded the file to the local hard disk of a virtual host.
> Changed the permissions on the file to 36:36. The last step from what I can
> see was to go into the web interface and "import" the VM. I used the VMware
> Virtual Appliance as the source and specified the local path to the ova. It
> detected the ova, and I was able to move it into the "Virtual Machines to
> Import" box. After oVirt starts the import of the VM it ends up failing
> with the error "Failed to convert VM", and then shortly after it deletes
> the VM.
>
>
>
> I am attaching a snippet of the engine.log, but I can't really make heads
> or tails of the error messages in there. I am on oVirt 4.0.5. The virtual
> host is running CentOS 7. Thanks in advance!
>
>
>
> Regards,
>
> Nathan Llaneza
>
> Systems Engineer
>
> Coastal IT Solutions of NC, LLC
>
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] OVA Import - Failed to convert VM

2016-12-04 Thread Nate T. Llaneza
Hey All,

I am trying to import a VM into oVirt. I am attempting to use the web interface 
to do so. I started by exporting a ova file directly from VMware Workstation. I 
uploaded the file to the local hard disk of a virtual host. Changed the 
permissions on the file to 36:36. The last step from what I can see was to go 
into the web interface and "import" the VM. I used the VMware Virtual Appliance 
as the source and specified the local path to the ova. It detected the ova, and 
I was able to move it into the "Virtual Machines to Import" box. After oVirt 
starts the import of the VM it ends up failing with the error "Failed to 
convert VM", and then shortly after it deletes the VM.

I am attaching a snippet of the engine.log, but I can't really make heads or 
tails of the error messages in there. I am on oVirt 4.0.5. The virtual host is 
running CentOS 7. Thanks in advance!


Regards,

Nathan Llaneza

Systems Engineer

Coastal IT Solutions of NC, LLC



engine.log
Description: engine.log
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] OVA import of FC21 VM hangs during virt-v2v conversion?

2016-11-07 Thread Derek Atkins
Hi,

My last VM imported in 2 minutes.  This one has been sitting for three
hours.  I think this is a bug.

Just in case it helps, here's a larger piece of the virt-v2v log
(see the end)

-derek

On Mon, November 7, 2016 12:54 pm, Derek Atkins wrote:
> Hi,
>
> I've successfully imported several VMs already, so I thought I had the
> process down.  Each import completed relatively quickly.  So that's why
> this one was such a surprise.
>
> I've got a Fedora 21 VM packaged into an OVA.  I copy it to my ovirt
> host and then [Virtual Machines] -> Import -> [OVA] and select the ova
> file.  Follow the process, assign the correct storage location, and let
> it go.  Usually it takes only a few minutes, but it's been sitting in
> the conversion process for over 20 minutes already (multiple attempts
> end in the same place).  It's only a 4GB disk; the other imports were
> all around the same size and took significantly longer.
>
> I tried running virt-v2v by hand:
>
> LIBGUESTFS_BACKEND=direct virt-v2v -v -x -i ova fedora21.ova -of raw -o
> null
>
> and it hung here:
>
> guestfsd: main_loop: new request, len 0x28
> guestfsd: main_loop: proc 26 (aug_close) took 0.03 seconds
> libguestfs: trace: v2v: aug_close = 0
> libguestfs: trace: v2v: selinux_relabel
> "/etc/selinux/targeted/contexts/files/file_contexts" "/" "force:true"
> guestfsd: main_loop: new request, len 0x6c
> commandrvf: stdout=n stderr=y flags=0x0
> commandrvf: setfiles -F -e /sysroot/dev -e /sysroot/proc -e
> /sysroot/selinux -e /sysroot/sys -r /sysroot -q
> /sysroot/etc/selinux/targeted/contexts/files/file_contexts /sysroot/
> Can't stat exclude path "/sysroot/selinux", No such file or directory -
> ignoring.
> ^C
>
> Any ideas why this VM is different from all the other VMs?
>
> -derek

[snip]
installed kernel packages in this guest:
(kernel-core, 3.17.8-300.fc21, x86_64,
/boot/vmlinuz-3.17.8-300.fc21.x86_64,
/boot/initramfs-3.17.8-300.fc21.x86_64.img, virtio=true, xen=false,
debug=false)
(kernel-core, 3.17.4-301.fc21, x86_64,
/boot/vmlinuz-3.17.4-301.fc21.x86_64,
/boot/initramfs-3.17.4-301.fc21.x86_64.img, virtio=true, xen=false,
debug=false)
libguestfs: trace: v2v: glob_expand "/vmlinuz-*"
guestfsd: main_loop: new request, len 0x3c
guestfsd: main_loop: proc 113 (glob_expand) took 0.00 seconds
libguestfs: trace: v2v: glob_expand = []
libguestfs: trace: v2v: glob_expand "/boot/vmlinuz-*"
guestfsd: main_loop: new request, len 0x40
guestfsd: main_loop: proc 113 (glob_expand) took 0.00 seconds
libguestfs: trace: v2v: glob_expand =
["/boot/vmlinuz-0-rescue-aebaf0a54c334c40a3f2a001266b032e",
"/boot/vmlinuz-3.17.4-301.fc21.x86_64",
"/boot/vmlinuz-3.17.8-300.fc21.x86_64"]
libguestfs: trace: v2v: glob_expand "/boot/kernel-*"
guestfsd: main_loop: new request, len 0x40
guestfsd: main_loop: proc 113 (glob_expand) took 0.00 seconds
libguestfs: trace: v2v: glob_expand = []
libguestfs: trace: v2v: exists "/sbin/grubby"
guestfsd: main_loop: new request, len 0x38
libguestfs: trace: v2v: exists = 1
libguestfs: trace: v2v: command "grubby --default-kernel"
guestfsd: main_loop: proc 36 (exists) took 0.00 seconds
guestfsd: main_loop: new request, len 0x4c
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: mount --bind /dev /sysroot/dev
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: mount --bind /dev/pts /sysroot/dev/pts
mount: mount point /sysroot/dev/pts does not exist
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: mount --bind /proc /sysroot/proc
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: mount --bind /sys/fs/selinux /sysroot/selinux
mount: mount point /sysroot/selinux does not exist
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: mount --bind /sys /sysroot/sys
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: mount --bind /sys/fs/selinux /sysroot/sys/fs/selinux
mount: mount point /sysroot/sys/fs/selinux does not exist
renaming /sysroot/etc/resolv.conf to /sysroot/etc/bojotzks
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: cp /etc/resolv.conf /sysroot/etc/resolv.conf
commandrvf: stdout=y stderr=y flags=0x4
commandrvf: grubby --default-kernel
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: umount /sysroot/sys
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: umount /sysroot/proc
commandrvf: stdout=n stderr=n flags=0x0
commandrvf: umount /sysroot/dev
renaming /sysroot/etc/bojotzks to /sysroot/etc/resolv.conf
guestfsd: main_loop: proc 50 (command) took 0.13 seconds
libguestfs: trace: v2v: command = "/boot/vmlinuz-3.17.8-300.fc21.x86_64\n"
libguestfs: trace: v2v: statns "/boot/vmlinuz-3.17.8-300.fc21.x86_64"
guestfsd: main_loop: new request, len 0x50
guestfsd: main_loop: proc 421 (statns) took 0.00 seconds
libguestfs: trace: v2v: statns = 
libguestfs: trace: v2v: statns
"/boot/vmlinuz-0-rescue-aebaf0a54c334c40a3f2a001266b032e"
guestfsd: main_loop: new request, len 0x64
guestfsd: main_loop: proc 421 (statns) took 0.00 seconds
libguestfs: trace: v2v: statns = 
libguestfs: trace: v2v: statns "/boot/vmlinuz-3.17.4-301.f

[ovirt-users] OVA import of FC21 VM hangs during virt-v2v conversion?

2016-11-07 Thread Derek Atkins
Hi,

I've successfully imported several VMs already, so I thought I had the
process down.  Each import completed relatively quickly.  So that's why
this one was such a surprise.

I've got a Fedora 21 VM packaged into an OVA.  I copy it to my ovirt
host and then [Virtual Machines] -> Import -> [OVA] and select the ova
file.  Follow the process, assign the correct storage location, and let
it go.  Usually it takes only a few minutes, but it's been sitting in
the conversion process for over 20 minutes already (multiple attempts
end in the same place).  It's only a 4GB disk; the other imports were
all around the same size and took significantly longer.

I tried running virt-v2v by hand:

LIBGUESTFS_BACKEND=direct virt-v2v -v -x -i ova fedora21.ova -of raw -o null

and it hung here:

guestfsd: main_loop: new request, len 0x28
guestfsd: main_loop: proc 26 (aug_close) took 0.03 seconds
libguestfs: trace: v2v: aug_close = 0
libguestfs: trace: v2v: selinux_relabel 
"/etc/selinux/targeted/contexts/files/file_contexts" "/" "force:true"
guestfsd: main_loop: new request, len 0x6c
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: setfiles -F -e /sysroot/dev -e /sysroot/proc -e /sysroot/selinux -e 
/sysroot/sys -r /sysroot -q 
/sysroot/etc/selinux/targeted/contexts/files/file_contexts /sysroot/
Can't stat exclude path "/sysroot/selinux", No such file or directory - 
ignoring.
^C

Any ideas why this VM is different from all the other VMs?

-derek

-- 
   Derek Atkins 617-623-3745
   de...@ihtfp.com www.ihtfp.com
   Computer and Internet Security Consultant
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users