<p>I proposed a session for ods on continuous deployment - this certainly qualifies as part of that discussion imo.</p>
<p><blockquote type="cite">On 11/03/2013 2:26 PM, "Mark Washenberger" <<a href="mailto:mark.washenberger@markwash.net">mark.washenberger@markwash.net</a>> wrote:<br><br>Hi Tom,<br>
<br>
Unfortunately, Glance does not support rolling db upgrades. Actually,<br>
I'm not aware of any OpenStack project that supports such upgrades. So<br>
far, I believe that deployments that require very high uptime are<br>
advised to carefully manage and even at times rewrite the database<br>
migrations.<br>
<br>
I'm not happy with this situation, and supporting rolling upgrades in<br>
Glance is on my personal roadmap. However, there are number of<br>
difficult issues we need to tackle to make that work. First we'll need<br>
to refactor the code away from the use of declarative sqlalchemy<br>
models, towards an approach that allows the domain models and database<br>
schemas to be versioned independently. Second, we'll need to come up<br>
with a testing procedure that can enforce the practices that make<br>
rolling upgrades possible. Last (that I know of) we'll need to figure<br>
out a way to communicate the relative significance of each commit to<br>
deployers, as each can have potentially different strategies for the<br>
best way to distribute the change out into their cluster. If we do<br>
eventually provide support for rolling upgrades, its going to be a<br>
daunting task, made much harder by the variety of possible OpenStack<br>
deployments that need to be considered.<br>
<br>
This is a subject I'm very excited about. If there are others with<br>
ideas for how we might make progress towards rolling upgrades, I'm<br>
very happy to brainstorm about ways to incorporate these ideas into<br>
Glance. I anticipate adding support will be easier in Glance, due to<br>
the relative simplicity of the project and its data model.<br>
<br>
Thanks,<br>
markwash<br>
<p><font color="#500050"><br>On Mon, Mar 11, 2013 at 4:55 AM, Hancock, Tom (HP Cloud Services)<br><<a href="mailto:Tom.Hancock@hp.com">Tom.Hancock@hp.com</a>> wrote:<br>> I’m...</font></p>> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></p>