[ovirt-users] Ovirt and Foreman integration failure to provision

2018-11-15 Thread 0pk0de
Hello, I am trying to integrate ovirt and foreman, foreman is able to create VMs but fails to provision them correctly (image/template based). The IP address does not get set to the correct one, cloud-init doesnt run either since the password is not correct after booting. My questions are the

Re: [ovirt-users] oVirt and Foreman

2017-08-01 Thread Juan Hernández
On 07/28/2017 06:03 PM, Davide Ferrari wrote: On 28/07/17 17:46, Juan Hernández wrote: The oVirt access log indeed shows that three disks are added to the virtual machine. May it be that Foreman thinks that it has to explicitly add a boot disk? Ohad, Ivan, any idea? I've explicitly

Re: [ovirt-users] oVirt and Foreman

2017-07-28 Thread Davide Ferrari
On 28/07/17 17:46, Juan Hernández wrote: The oVirt access log indeed shows that three disks are added to the virtual machine. May it be that Foreman thinks that it has to explicitly add a boot disk? Ohad, Ivan, any idea? I've explicitly added the template id to the hammer command line

Re: [ovirt-users] oVirt and Foreman

2017-07-28 Thread Juan Hernández
On 07/28/2017 04:53 PM, Davide Ferrari wrote: On 28/07/17 16:14, Juan Hernández wrote: Ah, I see, in your command you are listing Gluster volumes, not storage domains. They are different kinds of objects inside oVirt, and thus they have different identifiers. That is completely normal. If

Re: [ovirt-users] oVirt and Foreman

2017-07-28 Thread Davide Ferrari
On 28/07/17 16:14, Juan Hernández wrote: Ah, I see, in your command you are listing Gluster volumes, not storage domains. They are different kinds of objects inside oVirt, and thus they have different identifiers. That is completely normal. If you want to get the identifiers of the storage

Re: [ovirt-users] oVirt and Foreman

2017-07-28 Thread Juan Hernández
On 07/28/2017 01:27 PM, Davide Ferrari wrote: On 28/07/17 10:50, Juan Hernández wrote: [oVirt shell (connected)]# list glustervolumes --cluster-identifier 0002-0002-0002-0002-0345 id : 23f8f1ae-a3ac-47bf-8223-5b5f7c29e508 name : data_ssd id :

Re: [ovirt-users] oVirt and Foreman

2017-07-28 Thread Juan Hernández
On 07/28/2017 09:34 AM, Davide Ferrari wrote: On 27/07/17 11:17, Juan Hernández wrote: Looks like the oVirt engine is rejecting the request to add the disk because some of the related entities doesn't exist. This is the relevant message in the engine log: 2017-07-25 08:28:03,063Z ERROR

Re: [ovirt-users] oVirt and Foreman

2017-07-28 Thread Davide Ferrari
On 27/07/17 11:17, Juan Hernández wrote: Looks like the oVirt engine is rejecting the request to add the disk because some of the related entities doesn't exist. This is the relevant message in the engine log: 2017-07-25 08:28:03,063Z ERROR

Re: [ovirt-users] oVirt and Foreman

2017-07-27 Thread Juan Hernández
On 07/27/2017 09:46 AM, Davide Ferrari wrote: On 25/07/17 10:59, Davide Ferrari wrote: Hello I've attached logs from: - hammer cli (debug) with the command line I've used - foreman logs - ovirt engine logs (server.log) Any idea about what might be happening? Looks like the oVirt

Re: [ovirt-users] oVirt and Foreman

2017-07-27 Thread Davide Ferrari
On 25/07/17 10:59, Davide Ferrari wrote: Hello I've attached logs from: - hammer cli (debug) with the command line I've used - foreman logs - ovirt engine logs (server.log) Any idea about what might be happening? -- Davide ___ Users mailing

Re: [ovirt-users] oVirt and Foreman

2017-07-25 Thread Ivan Necas
Oved Ourfali writes: > 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

Re: [ovirt-users] oVirt and Foreman

2017-07-25 Thread Davide Ferrari
On 25/07/17 12:19, Maton, Brett wrote: Last time I looked at creating VM's from foreman there was a problem with the compute resource being passed from foreman plugin to the ovirt api. Can't remember exactly what was being sent, but it didn't match any available ovirt 'instance type' which

Re: [ovirt-users] oVirt and Foreman

2017-07-25 Thread Maton, Brett
Last time I looked at creating VM's from foreman there was a problem with the compute resource being passed from foreman plugin to the ovirt api. Can't remember exactly what was being sent, but it didn't match any available ovirt 'instance type' which is why it was failing to create the machine.

Re: [ovirt-users] oVirt and Foreman

2017-07-25 Thread Davide Ferrari
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

Re: [ovirt-users] oVirt and Foreman

2017-07-24 Thread Oved Ourfali
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

[ovirt-users] oVirt and Foreman

2017-07-24 Thread Davide Ferrari
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

Re: [ovirt-users] oVirt 4 + Foreman

2016-09-13 Thread Arsène Gschwind
Hi, Thanks, that was the problem, it works now. Regards, Arsène On 09/08/2016 06:16 PM, Karli Sjöberg wrote: Den 8 sep 2016 15:32 skrev Arsène Gschwind : > > Hi, > > Sorry for this late reply, i've been busy with some other projects in the last weeks. > > I did

Re: [ovirt-users] oVirt 4 + Foreman

2016-09-08 Thread Arsène Gschwind
Hi, Sorry for this late reply, i've been busy with some other projects in the last weeks. I did some log analysing and could find the following in the foreman log when trying to add foreman as an external provider for oVirt: 2016-09-08 15:20:03 [app] [I] Started GET "/api/v2" for

Re: [ovirt-users] oVirt 4 + Foreman

2016-08-22 Thread Oved Ourfali
Can you please attach the complete logs of ovirt and foreman? On Wed, Aug 17, 2016 at 10:25 AM, Martin Perina wrote: > Adding Yaniv ... > > On Wed, Aug 17, 2016 at 9:16 AM, Arsène Gschwind < > arsene.gschw...@unibas.ch> wrote: > >> Hi, >> >> Thanks a lot this did work on

Re: [ovirt-users] oVirt 4 + Foreman

2016-08-17 Thread Martin Perina
Adding Yaniv ... On Wed, Aug 17, 2016 at 9:16 AM, Arsène Gschwind wrote: > Hi, > > Thanks a lot this did work on the Foreman side using https:// > /ovirt-engine/api/v3 . > > But on the oVirt Side, to define Foreman as an external provider, it still > doesn't work, is

Re: [ovirt-users] oVirt 4 + Foreman

2016-08-17 Thread Arsène Gschwind
Hi, Thanks a lot this did work on the Foreman side using https:///ovirt-engine/api/v3 . But on the oVirt Side, to define Foreman as an external provider, it still doesn't work, is there also a special URL to enter? I didn't find anything in the docs. Thanks for any hint. Regards, Arsène

Re: [ovirt-users] oVirt 4 + Foreman

2016-08-16 Thread Juan Hernández
On 08/16/2016 11:58 AM, Arsène Gschwind wrote: > Hi, > > has anybody been able to configure Foreman with oVirt 4 ? When trying to > add Foreman as an external provider and test the login it always return > : Failed to communicate with the external provider, see log for > additional details. > >