Merge "Add placeholder migrations for Victoria backports"
This commit is contained in:
commit
7dcc4cfea7
@ -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
|
22
nova/db/sqlalchemy/migrate_repo/versions/413_placeholder.py
Normal file
22
nova/db/sqlalchemy/migrate_repo/versions/413_placeholder.py
Normal file
@ -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
|
22
nova/db/sqlalchemy/migrate_repo/versions/414_placeholder.py
Normal file
22
nova/db/sqlalchemy/migrate_repo/versions/414_placeholder.py
Normal file
@ -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
|
22
nova/db/sqlalchemy/migrate_repo/versions/415_placeholder.py
Normal file
22
nova/db/sqlalchemy/migrate_repo/versions/415_placeholder.py
Normal file
@ -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
|
22
nova/db/sqlalchemy/migrate_repo/versions/416_placeholder.py
Normal file
22
nova/db/sqlalchemy/migrate_repo/versions/416_placeholder.py
Normal file
@ -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
|
22
nova/db/sqlalchemy/migrate_repo/versions/417_placeholder.py
Normal file
22
nova/db/sqlalchemy/migrate_repo/versions/417_placeholder.py
Normal file
@ -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
|
@ -181,6 +181,7 @@ class NovaAPIMigrationsWalk(test_migrations.WalkVersionsMixin):
|
|||||||
stein_placeholders = list(range(63, 68))
|
stein_placeholders = list(range(63, 68))
|
||||||
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))
|
||||||
special_cases = [
|
special_cases = [
|
||||||
30, # Enforcement migration, no changes to test
|
30, # Enforcement migration, no changes to test
|
||||||
]
|
]
|
||||||
@ -192,6 +193,7 @@ class NovaAPIMigrationsWalk(test_migrations.WalkVersionsMixin):
|
|||||||
stein_placeholders +
|
stein_placeholders +
|
||||||
train_placeholders +
|
train_placeholders +
|
||||||
ussuri_placeholders +
|
ussuri_placeholders +
|
||||||
|
victoria_placeholders +
|
||||||
special_cases)
|
special_cases)
|
||||||
|
|
||||||
def migrate_up(self, version, with_data=False):
|
def migrate_up(self, version, with_data=False):
|
||||||
|
@ -184,6 +184,7 @@ class NovaMigrationsCheckers(test_migrations.ModelsMigrationsSync,
|
|||||||
stein_placeholders = list(range(392, 397))
|
stein_placeholders = list(range(392, 397))
|
||||||
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))
|
||||||
|
|
||||||
return (special +
|
return (special +
|
||||||
havana_placeholders +
|
havana_placeholders +
|
||||||
@ -198,7 +199,8 @@ class NovaMigrationsCheckers(test_migrations.ModelsMigrationsSync,
|
|||||||
queens_placeholders +
|
queens_placeholders +
|
||||||
stein_placeholders +
|
stein_placeholders +
|
||||||
train_placeholders +
|
train_placeholders +
|
||||||
ussuri_placeholders)
|
ussuri_placeholders +
|
||||||
|
victoria_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
Block a user