<div dir="ltr">I think that particular scenario in the Ops Guide could be considered a bit outdated, but the subject in general is still relevant.<div><br></div><div>I've found that in each release of OpenStack, the various OpenStack components are better able to reclaim / resolve orphaned resources, such as the floating IP scenario described. In fact, I haven't had a need to manually update the databases for anything for at least the past three releases.</div><div><br></div><div>But situations still exist. I think the big one at the moment is the issue of quota skewing. There's a good discussion on the openstack-operators list about a possible solution:</div><div><br></div><div><a href="http://lists.openstack.org/pipermail/openstack-operators/2015-March/006517.html">http://lists.openstack.org/pipermail/openstack-operators/2015-March/006517.html</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 17, 2015 at 3:36 PM, Arun Adiththan <span dir="ltr"><<a href="mailto:arunadiththan@gmail.com" target="_blank">arunadiththan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">​<span style="font-size:12.8000001907349px;line-height:1.4">OpenStack Operations Guide talks about some of the potential data inconsistency errors in openstack databases.</span></div><div class="gmail_quote"><div dir="ltr"><div><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4"><font face="verdana, sans-serif" color="#000000">"... an instance was terminated, but the status was not updated in the database" [1]</font></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4"><font face="verdana, sans-serif" color="#000000">"Sometimes an instance is terminated but the floating IP was not correctly de-associated from that instance. Because the database is in an inconsistent state, the usual tools to dissaociate the IP no longer work. To fix this, you must manually update the database." [2]</font></p><p style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none;line-height:1.4"><font face="verdana, sans-serif" color="#000000">I'm wondering whether manually inspecting the database is the only way to identify such data inconsistency errors. If so, I think it could be a tedious process since we have a large number of tables in each openstack component database and may not clearly know which ones should be queried to detect the potential inconsistencies.</font></p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none"><font face="verdana, sans-serif" color="#000000" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8000001907349px;line-height:1.4">[1] </font><font color="#000000" face="verdana, sans-serif"><span style="font-size:12.8000001907349px;line-height:17.9200000762939px"><a href="http://docs.openstack.org/openstack-ops/content/maintenance.html" target="_blank">http://docs.openstack.org/openstack-ops/content/maintenance.html</a></span></font></p><p style="margin:0px 0px 14px;padding:0px 5px 5px 0px;border:none"><font color="#000000" face="verdana, sans-serif"><span style="font-size:12.8000001907349px;line-height:17.9200000762939px">[2] <a href="http://docs.openstack.org/openstack-ops/content/network_troubleshooting.html" target="_blank">http://docs.openstack.org/openstack-ops/content/network_troubleshooting.html</a></span></font></p></div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font face="verdana, sans-serif">---<br>Regards​,<br>Arun Adiththan<br></font></div><br><div><span style="font-family:verdana,sans-serif"></span></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
</div><br></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>