[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?

------=_Part_25027987_857403810.1394540796595 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- Original Message -----
From: "Vikas Kokare" <vikaskokare@gmail.com> To: engine-devel@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@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_25027987_857403810.1394540796595 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;"><b>Fr= om: </b>"Vikas Kokare" <vikaskokare@gmail.com><br><b>To: </b>engine-d= evel@ovirt.org<br><b>Sent: </b>Tuesday, March 11, 2014 12:11:41 PM<br><b>Su= bject: </b>[Engine-devel] oVirt Engine 3.2 ReST API<br><div><br></div><div = dir=3D"ltr"><div>As per the API documentation, the host cluster element "da= ta_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 i= s this a required element, but it can't be changed and deleting(disassociat= ion) is out of question?<br> <br></div>We have a RHEVM environment, where one such host cluster was crea= ted initially being associated to a data center. Later someone changed some= thing, that resulted in the specific host cluster having no "data_center" e= lement on it. Could it be that the association was deleted, or that the dat= a_center itself was deleted, but the system didn't honor referential integr= ity, that it was being referred by other objects?<br> </div> <br>_______________________________________________<br>Engine-devel mailing= list<br>Engine-devel@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/= engine-devel<br></blockquote><div><br></div><div>it is possible to remove a= data-center, even if it has clusters,<br></div><div>as long there is no us= age in the storage (vms, templates..)<br></div><div>this makes the clusters= to have no data-center,<br></div><div>and then the cluster can be joined t= o a different data center (new/existing)<br></div></div></body></html> ------=_Part_25027987_857403810.1394540796595--
participants (2)
-
Omer Frenkel
-
Vikas Kokare