nova/nova/db/sqlalchemy/migrate_repo
melanie witt 642caf0c58 Skip soft-deleted records in 330_enforce_mitaka_online_migrations
The 330_enforce_mitaka_online_migrations migration considers
soft-deleted records as unmigrated (the blocker migration uses the
select function from sqlalchemy), but the online migrations only
migrate non-deleted records (the migrations use the model_query
function which defaults to read_deleted='no'). So even after running
all of the online migrations, operators can get stuck until they can
hard delete any soft-deleted compute_nodes, aggregates, and
pci_devices records they have.

 Conflicts:
	nova/tests/unit/db/test_sqlalchemy_migration.py

NOTE(melwitt): The conflict is due to ocata unit tests that don't
exist in newton.

Closes-Bug: #1665719

Change-Id: I2285005098b7dab7753366f53667ff8d4532d668
(cherry picked from commit 6d64b72744)
2017-02-17 22:46:53 +00:00
..
versions Skip soft-deleted records in 330_enforce_mitaka_online_migrations 2017-02-17 22:46:53 +00:00
README add support for database migration 2011-01-12 16:57:04 -08:00
__init__.py Removed copyright from empty files 2014-02-27 14:27:54 +02:00
manage.py Remove vi modelines 2014-02-03 14:19:44 +00:00
migrate.cfg add support for database migration 2011-01-12 16:57:04 -08:00

README

This is a database migration repository.

More information at
http://code.google.com/p/sqlalchemy-migrate/