nova/nova/db
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
..
sqlalchemy Skip soft-deleted records in 330_enforce_mitaka_online_migrations 2017-02-17 22:46:53 +00:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
api.py Add objects.ServiceList.get_all_computes_by_hv_type 2016-08-01 16:38:21 -04:00
base.py config options: centralize section "database" + "api_database" 2016-05-16 10:20:51 +00:00
migration.py Manage db sync command for cell0 2016-08-22 18:53:45 +03:00