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