<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Vikas Kokare" &lt;vikaskokare@gmail.com&gt;<br><b>To: </b>"Omer Frenkel" &lt;ofrenkel@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="ltr">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.<br></div></blockquote><div>i guess this is a bug in the documentation,<br></div><div>this field is editable in this specific case only.<br></div><div>can you open a bug?<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div class="gmail_extra"><div><br></div><div class="gmail_quote">On Tue, Mar 11, 2014 at 5:56 PM, Omer Frenkel <span dir="ltr">&lt;<a href="mailto:ofrenkel@redhat.com" target="_blank" data-mce-href="mailto:ofrenkel@redhat.com">ofrenkel@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" data-mce-style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif" data-mce-style="font-size: 12pt; font-family: times new roman,new york,times,serif;"><div><br></div><div><br></div><hr><blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left:2px solid #1010ff" data-mce-style="padding-left: 5px; font-size: 12pt; font-style: normal; margin-left: 5px; font-family: Helvetica,Arial,sans-serif; text-decoration: none; font-weight: normal; border-left: 2px solid #1010ff;"><b>From: </b>"Vikas Kokare" &lt;<a href="mailto:vikaskokare@gmail.com" target="_blank" data-mce-href="mailto:vikaskokare@gmail.com">vikaskokare@gmail.com</a>&gt;<br><b>To: </b><a href="mailto:engine-devel@ovirt.org" target="_blank" data-mce-href="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>[Engine-devel] oVirt Engine 3.2 ReST API<div class=""><br><div><br></div><div dir="ltr"><div>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?<br><br></div>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?<br></div><br></div>_______________________________________________<br>Engine-devel mailing list<br><a href="mailto:Engine-devel@ovirt.org" target="_blank" data-mce-href="mailto:Engine-devel@ovirt.org">Engine-devel@ovirt.org</a><br><a href="http://lists.ovirt.org/mailman/listinfo/engine-devel" target="_blank" data-mce-href="http://lists.ovirt.org/mailman/listinfo/engine-devel">http://lists.ovirt.org/mailman/listinfo/engine-devel</a><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 usage 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 to a different data center (new/existing)<br></div></div></div></blockquote></div><br></div></blockquote><div><br></div></div></body></html>