[ovirt-users] oVirt and Foreman

Davide Ferrari davide at billymob.com
Tue Jul 25 08:59:47 UTC 2017


Hello

I've attached logs from:

- hammer cli (debug) with the command line I've used

- foreman logs

- ovirt engine logs (server.log)


Basically I was trying to create a VM from an ovirt template linked to a 
Foreman image (CentOS_73) which consists of a single disk with the OS, 
and attach via Hammer 2 more disks. In this case I get a 404 Resource 
Not Found from Foreman and what I see in the ovirt logs is that the VM 
is created and then immediately deleted via API


Thanks!


On 24/07/17 20:56, Oved Ourfali wrote:
> CC-ing Ohad and Ivan from the Foreman team to take a look.
>
> Also, by default, RHV 4.1 will use v4 of the api, so you have to use a 
> URL in Foreman that uses v3 (as Foreman doesn't support v4 yet).
>
> I assume that's not your issue, otherwise you would have encountered 
> more basic issues.
>
> Also, can you please share your logs from both environments?
>
> Ohad/Ivan, any clue?
>
> Thanks,
> Oved
>
> On Jul 24, 2017 18:08, "Davide Ferrari" <davide at billymob.com 
> <mailto:davide at billymob.com>> wrote:
>
>     Hello list
>
>
>     is anybody successfully using oVirt + Foreman for VM creation +
>     provisioning?
>
>     I'm using Foremn (latest version, 1.15.2) with latest oVirt
>     version (4.1.3) but I'm encountering several problem, especially
>     related to disks. For example:
>
>     - cannot create a VM with multiple disks though Foreman CLI (hammer)
>
>     - if I create a multidisk VM from Foreman, the second disk always
>     gets the "bootable" flag and not the primary image, making the VMs
>     not bootable at all.
>
>
>     Any other Foreman user sharing the pain here? Foramn's list is not
>     so useful so I'm trying to ask here. How do you programmatically
>     create virtual machines with oVirt and Foreman? Should I switch do
>     directly using oVirt API?
>
>     Thanks in advance
>
>     Davide
>
>     _______________________________________________
>     Users mailing list
>     Users at ovirt.org <mailto:Users at ovirt.org>
>     http://lists.ovirt.org/mailman/listinfo/users
>     <http://lists.ovirt.org/mailman/listinfo/users>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170725/4a37e2f4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hammer-ovirt-logs.tar.gz
Type: application/gzip
Size: 20379 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170725/4a37e2f4/attachment-0001.bin>


More information about the Users mailing list