Re: [ovirt-users] restapi

2017-03-07 Thread Yaniv Kaul
On Tue, Mar 7, 2017 at 2:21 PM Juan Hernández wrote: > On 03/07/2017 12:50 PM, qinglong.d...@horebdata.cn wrote: > > Hi, all > > I have a cloud foundry environment. I have noticed that cloud > > foundry can schedule vitual machines created by vmware or openstack > >

Re: [ovirt-users] restapi

2017-03-07 Thread Juan Hernández
On 03/07/2017 12:50 PM, qinglong.d...@horebdata.cn wrote: > Hi, all > I have a cloud foundry environment. I have noticed that cloud > foundry can schedule vitual machines created by vmware or openstack > using restapi. Ovirt supports restapi, too. So I want to know if it is > possible to

[ovirt-users] restapi

2017-03-07 Thread qinglong.d...@horebdata.cn
Hi, all I have a cloud foundry environment. I have noticed that cloud foundry can schedule vitual machines created by vmware or openstack using restapi. Ovirt supports restapi, too. So I want to know if it is possible to schedule vitual machines which created by ovirt using cloud

Re: [ovirt-users] RESTAPI and kerberos authentication

2016-04-14 Thread Marcel Galke
Hi, I've managed to get it work. What I've done is to first run "engine-manage-domains delete" to remove the domain and add it again using the new aaa extension tool "ovirt-engine-extension-aaa-ldap-setup". It's not a good idea to mix these two methods, I guess. Restart the engine after each

Re: [ovirt-users] RESTAPI and kerberos authentication

2016-04-14 Thread Ondra Machacek
The issue is most probably that your user don't have permissions to login/see vms in oVirt. Just login as admin@internal to webadmin and assign user 'aaa' some permissions. Here[1] is example how to work with virtual machine permissions. [1]

Re: [ovirt-users] RESTAPI and kerberos authentication

2016-04-14 Thread Marcel Galke
Hi, I'm using curl and I followed steps in [1] and double checked the permissions. I've tested API access vs. webadmin access (see below). $ curl -v --negotiate -X GET -H "Accept: application/xml" -k https://server8.funfurt.de/ovirt-engine/webadmin/?locale=de_DE # Result: HTTP 401 $ kinit $ curl

Re: [ovirt-users] RESTAPI and kerberos authentication

2016-04-14 Thread Ondra Machacek
On 04/13/2016 10:43 PM, Marcel Galke wrote: Hello, I need to automatically create a list of all the VMs and the storage path to their disks in the data center for offline storage for desaster recovery. We have oVirt 3.6 and IPA 4.2.0. To achieve this my idea was to query the API using Kerberos

[ovirt-users] RESTAPI and kerberos authentication

2016-04-13 Thread Marcel Galke
Hello, I need to automatically create a list of all the VMs and the storage path to their disks in the data center for offline storage for desaster recovery. We have oVirt 3.6 and IPA 4.2.0. To achieve this my idea was to query the API using Kerberos authentication and a keytab. This could then

Re: [ovirt-users] RESTAPI: 'action type cpu profile empty' if more then one profile defined in the cluster

2015-09-11 Thread Sandro Bonazzola
On Thu, Sep 10, 2015 at 1:19 PM, Daniel Helgenberger < daniel.helgenber...@m-box.de> wrote: > Hello, > > Sandro set BZ1160846 to resolved for 3.5.4, yet the same issue still > exists with cpu profiles (I even remember a duplicate poining to this BZ > but seem to be unable to find it). > Well,

Re: [ovirt-users] RESTAPI: 'action type cpu profile empty' if more then one profile defined in the cluster

2015-09-11 Thread Daniel Helgenberger
Hello Sandro, On 11.09.2015 14:02, Sandro Bonazzola wrote: > > > On Thu, Sep 10, 2015 at 1:19 PM, Daniel Helgenberger > > wrote: > > Hello, > > Sandro set BZ1160846 to resolved for 3.5.4, yet the same issue still >

[ovirt-users] RESTAPI: 'action type cpu profile empty' if more then one profile defined in the cluster

2015-08-20 Thread Daniel Helgenberger
Hello, I still seem to have an issue in ovirt with a [BZ1160846]. In my case, foreman is unable to add hosts if I have multiple CPU Profiles defined in the cluster: Failed to create a compute oVirt (oVirt) instance $hostname: action type cpu profile empty BZ says this was resolved in RHEV