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" <[email protected] <mailto:[email protected]>> 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
    [email protected] <mailto:[email protected]>
    http://lists.ovirt.org/mailman/listinfo/users
    <http://lists.ovirt.org/mailman/listinfo/users>



Attachment: hammer-ovirt-logs.tar.gz
Description: application/gzip

_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to