From 78ca2c3dc711d0982b0a67101f6b8529c4599944 Mon Sep 17 00:00:00 2001 From: John Griffith Date: Fri, 24 Oct 2014 08:19:19 -0600 Subject: [PATCH] Reserve 5 migrations for backports Reserve 5 migrations incase the need arises to backport any fixes that require a db migration in stable/juno. We've never set this up in the past and we did run into a case last cycle where we had to hack some things around to make it work without the place holder. Why 5? Why not? For as little as we touch the DB historically this number should be more than sufficient. Change-Id: I2830f6557c65c4c9b3056bb5ee72b17346e21823 --- .../migrate_repo/versions/027_placeholder.py | 23 +++++++++++++++++++ .../migrate_repo/versions/028_placeholder.py | 23 +++++++++++++++++++ .../migrate_repo/versions/029_placeholder.py | 23 +++++++++++++++++++ .../migrate_repo/versions/030_placeholder.py | 23 +++++++++++++++++++ .../migrate_repo/versions/031_placeholder.py | 23 +++++++++++++++++++ 5 files changed, 115 insertions(+) create mode 100644 cinder/db/sqlalchemy/migrate_repo/versions/027_placeholder.py create mode 100644 cinder/db/sqlalchemy/migrate_repo/versions/028_placeholder.py create mode 100644 cinder/db/sqlalchemy/migrate_repo/versions/029_placeholder.py create mode 100644 cinder/db/sqlalchemy/migrate_repo/versions/030_placeholder.py create mode 100644 cinder/db/sqlalchemy/migrate_repo/versions/031_placeholder.py diff --git a/cinder/db/sqlalchemy/migrate_repo/versions/027_placeholder.py b/cinder/db/sqlalchemy/migrate_repo/versions/027_placeholder.py new file mode 100644 index 000000000..27d01e500 --- /dev/null +++ b/cinder/db/sqlalchemy/migrate_repo/versions/027_placeholder.py @@ -0,0 +1,23 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +# Do not use this number for new Kilo work. New Kilo work starts after +# all the placeholders. +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/cinder/db/sqlalchemy/migrate_repo/versions/028_placeholder.py b/cinder/db/sqlalchemy/migrate_repo/versions/028_placeholder.py new file mode 100644 index 000000000..27d01e500 --- /dev/null +++ b/cinder/db/sqlalchemy/migrate_repo/versions/028_placeholder.py @@ -0,0 +1,23 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +# Do not use this number for new Kilo work. New Kilo work starts after +# all the placeholders. +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/cinder/db/sqlalchemy/migrate_repo/versions/029_placeholder.py b/cinder/db/sqlalchemy/migrate_repo/versions/029_placeholder.py new file mode 100644 index 000000000..27d01e500 --- /dev/null +++ b/cinder/db/sqlalchemy/migrate_repo/versions/029_placeholder.py @@ -0,0 +1,23 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +# Do not use this number for new Kilo work. New Kilo work starts after +# all the placeholders. +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/cinder/db/sqlalchemy/migrate_repo/versions/030_placeholder.py b/cinder/db/sqlalchemy/migrate_repo/versions/030_placeholder.py new file mode 100644 index 000000000..27d01e500 --- /dev/null +++ b/cinder/db/sqlalchemy/migrate_repo/versions/030_placeholder.py @@ -0,0 +1,23 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +# Do not use this number for new Kilo work. New Kilo work starts after +# all the placeholders. +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/cinder/db/sqlalchemy/migrate_repo/versions/031_placeholder.py b/cinder/db/sqlalchemy/migrate_repo/versions/031_placeholder.py new file mode 100644 index 000000000..27d01e500 --- /dev/null +++ b/cinder/db/sqlalchemy/migrate_repo/versions/031_placeholder.py @@ -0,0 +1,23 @@ +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. + +# Do not use this number for new Kilo work. New Kilo work starts after +# all the placeholders. +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass -- 2.45.2