Merge "Placeholders for DB migration backports to Wallaby"
This commit is contained in:
commit
4f25a37bfa
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 backports.
|
||||||
|
# Do not use this number for new work. New work starts after
|
||||||
|
# all the placeholders.
|
||||||
|
#
|
||||||
|
# See this for more information:
|
||||||
|
# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade(migrate_engine):
|
||||||
|
pass
|
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 backports.
|
||||||
|
# Do not use this number for new work. New work starts after
|
||||||
|
# all the placeholders.
|
||||||
|
#
|
||||||
|
# See this for more information:
|
||||||
|
# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade(migrate_engine):
|
||||||
|
pass
|
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 backports.
|
||||||
|
# Do not use this number for new work. New work starts after
|
||||||
|
# all the placeholders.
|
||||||
|
#
|
||||||
|
# See this for more information:
|
||||||
|
# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade(migrate_engine):
|
||||||
|
pass
|
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 backports.
|
||||||
|
# Do not use this number for new work. New work starts after
|
||||||
|
# all the placeholders.
|
||||||
|
#
|
||||||
|
# See this for more information:
|
||||||
|
# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade(migrate_engine):
|
||||||
|
pass
|
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 backports.
|
||||||
|
# Do not use this number for new work. New work starts after
|
||||||
|
# all the placeholders.
|
||||||
|
#
|
||||||
|
# See this for more information:
|
||||||
|
# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade(migrate_engine):
|
||||||
|
pass
|
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 backports.
|
||||||
|
# Do not use this number for new work. New work starts after
|
||||||
|
# all the placeholders.
|
||||||
|
#
|
||||||
|
# See this for more information:
|
||||||
|
# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade(migrate_engine):
|
||||||
|
pass
|
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 backports.
|
||||||
|
# Do not use this number for new work. New work starts after
|
||||||
|
# all the placeholders.
|
||||||
|
#
|
||||||
|
# See this for more information:
|
||||||
|
# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade(migrate_engine):
|
||||||
|
pass
|
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 backports.
|
||||||
|
# Do not use this number for new work. New work starts after
|
||||||
|
# all the placeholders.
|
||||||
|
#
|
||||||
|
# See this for more information:
|
||||||
|
# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade(migrate_engine):
|
||||||
|
pass
|
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 backports.
|
||||||
|
# Do not use this number for new work. New work starts after
|
||||||
|
# all the placeholders.
|
||||||
|
#
|
||||||
|
# See this for more information:
|
||||||
|
# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade(migrate_engine):
|
||||||
|
pass
|
|
@ -0,0 +1,22 @@
|
||||||
|
# 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 backports.
|
||||||
|
# Do not use this number for new work. New work starts after
|
||||||
|
# all the placeholders.
|
||||||
|
#
|
||||||
|
# See this for more information:
|
||||||
|
# http://lists.openstack.org/pipermail/openstack-dev/2013-March/006827.html
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade(migrate_engine):
|
||||||
|
pass
|
|
@ -170,12 +170,14 @@ class NovaAPIMigrationsWalk(test_migrations.WalkVersionsMixin):
|
||||||
train_placeholders = list(range(68, 73))
|
train_placeholders = list(range(68, 73))
|
||||||
ussuri_placeholders = list(range(73, 78))
|
ussuri_placeholders = list(range(73, 78))
|
||||||
victoria_placeholders = list(range(78, 83))
|
victoria_placeholders = list(range(78, 83))
|
||||||
|
wallaby_placeholders = list(range(83, 88))
|
||||||
special_cases = [
|
special_cases = [
|
||||||
self.INIT_VERSION + 1, # initial change
|
self.INIT_VERSION + 1, # initial change
|
||||||
]
|
]
|
||||||
return (train_placeholders +
|
return (train_placeholders +
|
||||||
ussuri_placeholders +
|
ussuri_placeholders +
|
||||||
victoria_placeholders +
|
victoria_placeholders +
|
||||||
|
wallaby_placeholders +
|
||||||
special_cases)
|
special_cases)
|
||||||
|
|
||||||
def migrate_up(self, version, with_data=False):
|
def migrate_up(self, version, with_data=False):
|
||||||
|
|
|
@ -165,11 +165,13 @@ class NovaMigrationsCheckers(test_migrations.ModelsMigrationsSync,
|
||||||
train_placeholders = list(range(403, 408))
|
train_placeholders = list(range(403, 408))
|
||||||
ussuri_placeholders = list(range(408, 413))
|
ussuri_placeholders = list(range(408, 413))
|
||||||
victoria_placeholders = list(range(413, 418))
|
victoria_placeholders = list(range(413, 418))
|
||||||
|
wallaby_placeholders = list(range(418, 423))
|
||||||
|
|
||||||
return (special +
|
return (special +
|
||||||
train_placeholders +
|
train_placeholders +
|
||||||
ussuri_placeholders +
|
ussuri_placeholders +
|
||||||
victoria_placeholders)
|
victoria_placeholders +
|
||||||
|
wallaby_placeholders)
|
||||||
|
|
||||||
def migrate_up(self, version, with_data=False):
|
def migrate_up(self, version, with_data=False):
|
||||||
if with_data:
|
if with_data:
|
||||||
|
|
Loading…
Reference in New Issue