------=_Part_25735698_241434152.1394606717688
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
----- Original Message -----
From: "Vikas Kokare" <vikaskokare(a)gmail.com>
To: "Omer Frenkel" <ofrenkel(a)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(a)redhat.com > wrote:
> > From: "Vikas Kokare" < vikaskokare(a)gmail.com
>
>
> > To: engine-devel(a)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(a)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)
------=_Part_25735698_241434152.1394606717688
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: times new roman, new york,
times, se=
rif; font-size: 12pt; color:
#000000"><div><br></div><div><br></div><hr
id=
=3D"zwchr"><blockquote style=3D"border-left:2px solid
#1010FF;margin-left:5=
px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-de=
coration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-=
mce-style=3D"border-left: 2px solid #1010FF; margin-left: 5px; padding-left=
: 5px; color: #000; font-weight: normal; font-style: normal; text-decoratio=
n: none; font-family: Helvetica,Arial,sans-serif; font-size:
12pt;"><b>From=
: </b>"Vikas Kokare"
&lt;vikaskokare(a)gmail.com&gt;<br><b>To: </b>"Omer Fren=
kel" &lt;ofrenkel(a)redhat.com&gt;<br><b>Sent: </b>Wednesday,
March 12, 2014 =
5:24:11 AM<br><b>Subject: </b>Re: [Engine-devel] oVirt Engine 3.2 ReST
API<=
br><div><br></div><div dir=3D"ltr">The problem is
this situation is not obv=
ious from the documentation. The data center field on the cluster is define=
d 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 associati=
ons too.<br></div></blockquote><div>i guess this is a bug in the
documentat=
ion,<br></div><div>this field is editable in this specific case
only.<br></=
div><div>can you open a bug?<br></div><blockquote
style=3D"border-left:2px =
solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:norma=
l;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-s=
erif;font-size:12pt;" data-mce-style=3D"border-left: 2px solid #1010FF; mar=
gin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-st=
yle: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif=
; font-size: 12pt;"><div
class=3D"gmail_extra"><div><br></div><div class=3D=
"gmail_quote">On Tue, Mar 11, 2014 at 5:56 PM, Omer Frenkel <span
dir=3D"lt=
r"><<a href=3D"mailto:ofrenkel@redhat.com"
target=3D"_blank" data-mce-hr=
ef=3D"mailto:ofrenkel@redhat.com">ofrenkel@redhat.com</a>></span>
wrote:=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-lef=
t:1px #ccc solid;padding-left:1ex" data-mce-style=3D"margin: 0 0 0 .8ex; bo=
rder-left: 1px #ccc solid; padding-left: 1ex;"><div><div
style=3D"font-size=
:12pt;font-family:times new roman,new york,times,serif" data-mce-style=3D"f=
ont-size: 12pt; font-family: times new roman,new
york,times,serif;"><div><b=
r></div><div><br></div><hr><blockquote
style=3D"padding-left:5px;font-size:=
12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-ser=
if;text-decoration:none;font-weight:normal;border-left:2px solid #1010ff" d=
ata-mce-style=3D"padding-left: 5px; font-size: 12pt; font-style: normal; ma=
rgin-left: 5px; font-family: Helvetica,Arial,sans-serif; text-decoration: n=
one; font-weight: normal; border-left: 2px solid #1010ff;"><b>From:
</b>"Vi=
kas Kokare" <<a href=3D"mailto:vikaskokare@gmail.com"
target=3D"_blank" =
data-mce-href=3D"mailto:vikaskokare@gmail.com">vikaskokare@gmail.com</a>>=
;<br><b>To: </b><a href=3D"mailto:engine-devel@ovirt.org"
target=3D"_blank"=
data-mce-href=3D"mailto:engine-devel@ovirt.org">engine-devel@ovirt.org</a>=
<br><b>Sent: </b>Tuesday, March 11, 2014 12:11:41
PM<br><b>Subject: </b>[En=
gine-devel] oVirt Engine 3.2 ReST API<div
class=3D""><br><div><br></div><di=
v dir=3D"ltr"><div>As per the API documentation, the host cluster
element "=
data_center id=3D" 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(disassoci=
ation) is out of question?<br><br></div>We have a RHEVM environment,
where =
one such host cluster was created initially being associated to a data cent=
er. Later someone changed something, that resulted in the specific host clu=
ster having no "data_center" element on it. Could it be that the associatio=
n was deleted, or that the data_center itself was deleted, but the system d=
idn't honor referential integrity, that it was being referred by other obje=
cts?<br></div><br></div>_______________________________________________<br>=
Engine-devel mailing list<br><a href=3D"mailto:Engine-devel@ovirt.org"
targ=
et=3D"_blank"
data-mce-href=3D"mailto:Engine-devel@ovirt.org">Engine-devel@=
ovirt.org</a><br><a
href=3D"http://lists.ovirt.org/mailman/listinfo/engine-=
devel" target=3D"_blank"
data-mce-href=3D"http://lists.ovirt.org/mailman/li=
stinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engi...
a><br></blockquote><div><br></div><div>it is
possible to remove a data-cent=
er, even if it has clusters,<br></div><div>as long there is no usage in
the=
storage (vms, templates..)<br></div><div>this makes the clusters to
have n=
o data-center,<br></div><div>and then the cluster can be joined to a
differ=
ent data center
(new/existing)<br></div></div></div></blockquote></div><br>=
</div></blockquote><div><br></div></div></body></html>
------=_Part_25735698_241434152.1394606717688--