[Engine-devel] oVirt Engine 3.2 ReST API
Omer Frenkel
ofrenkel at redhat.com
Wed Mar 12 06:45:17 UTC 2014
----- Original Message -----
> From: "Vikas Kokare" <vikaskokare at gmail.com>
> To: "Omer Frenkel" <ofrenkel at redhat.com>
> Sent: Wednesday, March 12, 2014 5:24:11 AM
> Subject: Re: [Engine-devel] oVirt Engine 3.2 ReST API
> The problem is this situation is not obvious from the documentation. The data
> center field on the cluster is defined as required during creation and
> non-updatable. How can that be explained? So its a question not just for
> this example but for other entity associations too.
i guess this is a bug in the documentation,
this field is editable in this specific case only.
can you open a bug?
> On Tue, Mar 11, 2014 at 5:56 PM, Omer Frenkel < ofrenkel at redhat.com > wrote:
> > > From: "Vikas Kokare" < vikaskokare at gmail.com >
> >
>
> > > To: engine-devel at ovirt.org
> >
>
> > > Sent: Tuesday, March 11, 2014 12:11:41 PM
> >
>
> > > Subject: [Engine-devel] oVirt Engine 3.2 ReST API
> >
>
> > > 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 at ovirt.org
> >
>
> > > http://lists.ovirt.org/mailman/listinfo/engine-devel
> >
>
> > it is possible to remove a data-center, even if it has clusters,
>
> > as long there is no usage in the storage (vms, templates..)
>
> > this makes the clusters to have no data-center,
>
> > and then the cluster can be joined to a different data center
> > (new/existing)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/engine-devel/attachments/20140312/4d02457b/attachment.html>
More information about the Engine-devel
mailing list