[openstack-dev] [openstack-ansible] When to purge the DB, and when not to purge the DB?

Ian Cordasco sigmavirus24 at gmail.com
Sat Jul 2 22:20:12 UTC 2016


On Jul 2, 2016 10:37 AM, "Dan Smith" <dms at danplanet.com> wrote:
>
> > The question is whether we should do something like this:
> >
> > 1) As part of the normal execution of the service playbooks;
> > 2) As part of the automated major upgrade (i.e. The step is not
optional);
> > 3) As part of the manual major upgrade (i.e. The step is optional);
> > 4) Never.
>
> I am not an operator, but I would think that #4 is the right thing to
> do. If I want to purge the database, it's going to be based on billing
> reasons (or lack thereof) and be tied to another archival, audit, etc
> policy that the "business people" are involved with. Install and
> configuration of my services shouldn't really ever touch my data other
> than mechanical upgrade scripts and the like, IMHO.
>
> Purging the database only during upgrades is not sufficient for large
> installs, so why artificially tie it to that process? In Nova we don't
> do data migrations as part of schema updates anymore, so it's not like a
> purge is going to make the upgrade any faster...

I agree with this sentiment. If OSA feels like it must provide automation
for purging databases, it should be in the ops repo mentioned earlier.

I see no reason to over extend upgrades with something not inherently
necessary or appropriate for upgrades.

--
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160702/667b9afc/attachment.html>


More information about the OpenStack-dev mailing list