From d65139e6f4885869f80ee510f95f733473c579b6 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 31 Mar 2014 14:29:14 -0400 Subject: [PATCH] Reserve 10 migrations for backports Reserve 10 migrations so that we have the option of backporting fixes that include a db migration to the stable/icehouse branch. We did this same thing to allow backports to stable/grizzly in b52a2157bedba693c5da7dcb783b7a151769d6b1 and stable/havana in ab2c467da951071a8aac4eb6ca032371c69053ab. The choice of 10 migrations is just a magic number. We haven't used any of the 10 reserved in previous stable branches, so 10 seems to be enough. Implements blueprint backportable-db-migrations-juno Change-Id: Ifdeba76809a705413bacee571d6d0d43ce1f062c --- .../migrate_repo/versions/234_placeholder.py | 26 +++++++++++++++++++ .../migrate_repo/versions/235_placeholder.py | 26 +++++++++++++++++++ .../migrate_repo/versions/236_placeholder.py | 26 +++++++++++++++++++ .../migrate_repo/versions/237_placeholder.py | 26 +++++++++++++++++++ .../migrate_repo/versions/238_placeholder.py | 26 +++++++++++++++++++ .../migrate_repo/versions/239_placeholder.py | 26 +++++++++++++++++++ .../migrate_repo/versions/240_placeholder.py | 26 +++++++++++++++++++ .../migrate_repo/versions/241_placeholder.py | 26 +++++++++++++++++++ .../migrate_repo/versions/242_placeholder.py | 26 +++++++++++++++++++ .../migrate_repo/versions/243_placeholder.py | 26 +++++++++++++++++++ 10 files changed, 260 insertions(+) create mode 100644 nova/db/sqlalchemy/migrate_repo/versions/234_placeholder.py create mode 100644 nova/db/sqlalchemy/migrate_repo/versions/235_placeholder.py create mode 100644 nova/db/sqlalchemy/migrate_repo/versions/236_placeholder.py create mode 100644 nova/db/sqlalchemy/migrate_repo/versions/237_placeholder.py create mode 100644 nova/db/sqlalchemy/migrate_repo/versions/238_placeholder.py create mode 100644 nova/db/sqlalchemy/migrate_repo/versions/239_placeholder.py create mode 100644 nova/db/sqlalchemy/migrate_repo/versions/240_placeholder.py create mode 100644 nova/db/sqlalchemy/migrate_repo/versions/241_placeholder.py create mode 100644 nova/db/sqlalchemy/migrate_repo/versions/242_placeholder.py create mode 100644 nova/db/sqlalchemy/migrate_repo/versions/243_placeholder.py diff --git a/nova/db/sqlalchemy/migrate_repo/versions/234_placeholder.py b/nova/db/sqlalchemy/migrate_repo/versions/234_placeholder.py new file mode 100644 index 0000000000..f5c5483cda --- /dev/null +++ b/nova/db/sqlalchemy/migrate_repo/versions/234_placeholder.py @@ -0,0 +1,26 @@ +# 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. + +# This is a placeholder for Icehouse backports. +# Do not use this number for new Juno work. New Juno work starts after +# all the placeholders. +# +# See blueprint backportable-db-migrations-juno +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/nova/db/sqlalchemy/migrate_repo/versions/235_placeholder.py b/nova/db/sqlalchemy/migrate_repo/versions/235_placeholder.py new file mode 100644 index 0000000000..f5c5483cda --- /dev/null +++ b/nova/db/sqlalchemy/migrate_repo/versions/235_placeholder.py @@ -0,0 +1,26 @@ +# 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. + +# This is a placeholder for Icehouse backports. +# Do not use this number for new Juno work. New Juno work starts after +# all the placeholders. +# +# See blueprint backportable-db-migrations-juno +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/nova/db/sqlalchemy/migrate_repo/versions/236_placeholder.py b/nova/db/sqlalchemy/migrate_repo/versions/236_placeholder.py new file mode 100644 index 0000000000..f5c5483cda --- /dev/null +++ b/nova/db/sqlalchemy/migrate_repo/versions/236_placeholder.py @@ -0,0 +1,26 @@ +# 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. + +# This is a placeholder for Icehouse backports. +# Do not use this number for new Juno work. New Juno work starts after +# all the placeholders. +# +# See blueprint backportable-db-migrations-juno +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/nova/db/sqlalchemy/migrate_repo/versions/237_placeholder.py b/nova/db/sqlalchemy/migrate_repo/versions/237_placeholder.py new file mode 100644 index 0000000000..f5c5483cda --- /dev/null +++ b/nova/db/sqlalchemy/migrate_repo/versions/237_placeholder.py @@ -0,0 +1,26 @@ +# 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. + +# This is a placeholder for Icehouse backports. +# Do not use this number for new Juno work. New Juno work starts after +# all the placeholders. +# +# See blueprint backportable-db-migrations-juno +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/nova/db/sqlalchemy/migrate_repo/versions/238_placeholder.py b/nova/db/sqlalchemy/migrate_repo/versions/238_placeholder.py new file mode 100644 index 0000000000..f5c5483cda --- /dev/null +++ b/nova/db/sqlalchemy/migrate_repo/versions/238_placeholder.py @@ -0,0 +1,26 @@ +# 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. + +# This is a placeholder for Icehouse backports. +# Do not use this number for new Juno work. New Juno work starts after +# all the placeholders. +# +# See blueprint backportable-db-migrations-juno +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/nova/db/sqlalchemy/migrate_repo/versions/239_placeholder.py b/nova/db/sqlalchemy/migrate_repo/versions/239_placeholder.py new file mode 100644 index 0000000000..f5c5483cda --- /dev/null +++ b/nova/db/sqlalchemy/migrate_repo/versions/239_placeholder.py @@ -0,0 +1,26 @@ +# 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. + +# This is a placeholder for Icehouse backports. +# Do not use this number for new Juno work. New Juno work starts after +# all the placeholders. +# +# See blueprint backportable-db-migrations-juno +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/nova/db/sqlalchemy/migrate_repo/versions/240_placeholder.py b/nova/db/sqlalchemy/migrate_repo/versions/240_placeholder.py new file mode 100644 index 0000000000..f5c5483cda --- /dev/null +++ b/nova/db/sqlalchemy/migrate_repo/versions/240_placeholder.py @@ -0,0 +1,26 @@ +# 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. + +# This is a placeholder for Icehouse backports. +# Do not use this number for new Juno work. New Juno work starts after +# all the placeholders. +# +# See blueprint backportable-db-migrations-juno +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/nova/db/sqlalchemy/migrate_repo/versions/241_placeholder.py b/nova/db/sqlalchemy/migrate_repo/versions/241_placeholder.py new file mode 100644 index 0000000000..f5c5483cda --- /dev/null +++ b/nova/db/sqlalchemy/migrate_repo/versions/241_placeholder.py @@ -0,0 +1,26 @@ +# 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. + +# This is a placeholder for Icehouse backports. +# Do not use this number for new Juno work. New Juno work starts after +# all the placeholders. +# +# See blueprint backportable-db-migrations-juno +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/nova/db/sqlalchemy/migrate_repo/versions/242_placeholder.py b/nova/db/sqlalchemy/migrate_repo/versions/242_placeholder.py new file mode 100644 index 0000000000..f5c5483cda --- /dev/null +++ b/nova/db/sqlalchemy/migrate_repo/versions/242_placeholder.py @@ -0,0 +1,26 @@ +# 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. + +# This is a placeholder for Icehouse backports. +# Do not use this number for new Juno work. New Juno work starts after +# all the placeholders. +# +# See blueprint backportable-db-migrations-juno +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass diff --git a/nova/db/sqlalchemy/migrate_repo/versions/243_placeholder.py b/nova/db/sqlalchemy/migrate_repo/versions/243_placeholder.py new file mode 100644 index 0000000000..f5c5483cda --- /dev/null +++ b/nova/db/sqlalchemy/migrate_repo/versions/243_placeholder.py @@ -0,0 +1,26 @@ +# 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. + +# This is a placeholder for Icehouse backports. +# Do not use this number for new Juno work. New Juno work starts after +# all the placeholders. +# +# See blueprint backportable-db-migrations-juno +# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html + + +def upgrade(migrate_engine): + pass + + +def downgrade(migration_engine): + pass