On Sun, Mar 27, 2022 at 12:24 PM Nir Soffer <nsof...@redhat.com> wrote:
> On Wed, Mar 23, 2022 at 3:09 PM <nico...@devels.es> wrote: > > We're running oVirt 4.4.8.6. We have uploaded a qcow2 image (metasploit > > v.3, FWIW) > > Is it Metasploitable3-0.1.4.ova from the github releases page? > https://github.com/brimstone/metasploitable3/releases > > If not, can you share the image? It will help if we can reproduce this > problem > locally with the same image you are using. > > > using the GUI (Storage -> Disks -> Upload -> Start). The > > image is in qcow2 format. > > Did you convert the vmdk file from the ova to qcow2? > > > No options on the right side were checked. The > > upload went smoothly, so we now tried to attach the disk to a VM. > > > > To do that, we opened the VM -> Disks -> Attach and selected the disk. > > As interface, VirtIO-iSCSI was chosen, and the disk was marked as OS, so > > the "bootable" checkbox was selected. > > > > The VM was later powered on, but when accessing the console the message > > "No bootable device." appears. We're pretty sure this is a bootable > > image, because it was tested on other virtualization infrastructure and > > it boots well. We also tried to upload the image in RAW format but the > > result is the same. > > > > What are we missing here? Is anything else needed to do so the disk is > > bootable? > > It sounds like you converted an image from another virtualization > system (virtualbox) > to qcow2 format, which may not be good enough to use the virtual machine. > > oVirt supports importing OVA, but based on the UI, it supports only OVA > created > by oVirt. > That information message is incorrect, both OVAs that are created by oVirt/RHV and OVAs that are created by VMware are supported It could work for OVAs that are VMware-compatible though Posted https://github.com/oVirt/ovirt-engine/pull/191 to emphasis that > > You can try virt-v2v - this is an example command, you need > to fill in the {} parts: > > virt-v2v \ > -i ova {path-to-ova-file} \ > -o rhv-upload \ > -oc https://{engine-address}/ovirt-engine/api \ > -op {engine-password-file} \ > -on {vm-name} \ > -os {storrage-domain-name} \ > -of qcow2 \ > -oo rhv-cafile={engine-ca-file} \ > -oo rhv-cluster={cluster-name} > > I tried to import the Metasploitable3-0.1.4.ova, and virt-v2 fails > with this error: > > virt-v2v: error: inspection could not detect the source guest (or > physical machine). > > attached virt-v2v log. > > Nir >
_______________________________________________ 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/XLRNVGUB43YPAYOBSGA6BZZD6ULUMC5H/