[Engine-devel] oVirt Engine 3.2 ReST API

2014-03-11 Thread Vikas Kokare
As per the API documentation, the host cluster element "data_center id=" is
both required at creation(exclamation in a triangle) as well as
non-updatable(lock sign). Is it right to consider that, not only is this a
required element, but it can't be changed and deleting(disassociation) is
out of question?

We have a RHEVM environment, where one such host cluster was created
initially being associated to a data center. Later someone changed
something, that resulted in the specific host cluster having no
"data_center" element on it. Could it be that the association was deleted,
or that the data_center itself was deleted, but the system didn't honor
referential integrity, that it was being referred by other objects?
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] ReST API docs

2014-02-28 Thread Vikas Kokare
Only
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.0/has
the ReST API document available, and not corresponding versions for
3.1, 3.2 and 3.3.

I see differences in 3.0 ReST data structure and what is returned back from
RHEVM 3.2 installation.

Please point to the REST API Guide for RHEVM 3.2.
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] ReST API documentation

2014-02-26 Thread Vikas Kokare
Only
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.0/has
the ReST API document available, and not corresponding versions for
3.1, 3.2 and 3.3. Hasn't the API changed since 3.0?
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] Search collections with queries

2014-02-26 Thread Vikas Kokare
There is very limited documentation (ReST API)about the search query
"criteria" for searching objects. The general format is

(criteria) [sortby (elem ent) asc|desc]

I was looking for detailed information on what the criteria can or can't
support. Please guide to the appropriate source.
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] ovirt-engine Java SDK

2014-02-25 Thread Vikas Kokare
Is this the right location to look for the Java SDK of the ovirt-engine?

https://oss.sonatype.org/content/repositories/releases/org/ovirt/engine/sdk/ovirt-engine-sdk-java

Regards
Vikas
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] Storage allocation/usage

2014-02-23 Thread Vikas Kokare
We are trying to query the rhevm/oVirt engine for the storage
allocation/actual usage numbers for

1. Host
2. Virtual Machine (we can have allocation size from virtual disks
associated with VM, but not the actual usage)
3. Cluster

Is there a ReST API that can fetch this information?
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] Storage allocation and usage

2014-02-20 Thread Vikas Kokare
We are trying to query the rhevm/oVirt engine for the storage
allocation/actual usage numbers for

1. Host
2. Virtual Machine (we can have allocation size from virtual disks
associated with VM, but not the actual usage)
3. Cluster

Is there a ReST API that can fetch this information?
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] Install rhevm-guest-agent on SLES guest

2014-02-20 Thread Vikas Kokare
We want to install the rhevm-guest-agent package on a virtual machine with
Suse Linux as the guest OS. The RHEVM 3.2 documentation provides install
instructions for RHEL and Windows guests but not for Suse Linux. This agent
is important to monitor virtual resources on guest machines, hence the need.
How can this be done?
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] VM Ip Address

2014-02-20 Thread Vikas Kokare
We have a RHEV 3.2 manager environment setup with hosts having virtual
machines. The administrator's have confirmed that they have assigned IP
addresses to the VM's, but the address is not showing up both in the Web
Admin console, and the ReST API payload for /api/vms/{vm-id}
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] 401 Authorization Error

2014-02-17 Thread Vikas Kokare
I am using oVirt Java SDK 3.4.2 to connect to RHEV-M environment. The code
being used is

org.ovirt.engine.sdk.Api api = new
Api("https://HOST:PORT/api","USER","PASSWORD";,
true);

The response from the server to this call is


*oVirt API error JBoss Web/7.2.2.Final-redhat-1 -
JBWEB64: Error report
JBWEB65: HTTP Status 401 - JBWEB000309: type JBWEB67: Status
reportJBWEB68: message JBWEB69:
description JBWEB000121: This request requires HTTP
authentication.JBoss
Web/7.2.2.Final-redhat-1*
The documentation talks about the 401 error when the request doesn't
contain "Authorization" header.

Even when i access https://HOST:PORT/api , i am prompted to login, but the
credentials used to login to
https://HOST:PORT/webadmin/webadmin/WebAdmin.html don't work. So if i login
to webadmin console first, then since the "Authorization" header is set,
access to /api is now possible in the browser.

I need help here specifically for making the Java SDK work with RHeVM
server.

-Vikas
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel