nova/nova
Matt Riedemann c0ea53ce35 Enforce unique instance uuid in data model
This adds the database migration that checks for records
where instance_uuid is NULL and fails if found until the
'nova-manage db null_instance_uuid_scan' command is run
and the records are manually deleted.

Unit tests are added for the migration to make sure the
fixed_ips table is left alone and the UniqueConstraint is
created on the instances table.

DocImpact: New 'nova-manage db null_instance_uuid_scan'
           command.

UpgradeImpact: The new database migration script.

Implements blueprint enforce-unique-instance-uuid-in-db

Change-Id: I768c36b140c7e9f437907d4dfe175e1410ca44b0
2014-12-04 08:31:17 -08:00
..
CA
api Merge "Break V2 XML Support" 2014-12-04 10:50:22 +00:00
cells Merge "initialize objects with context in cells" 2014-11-25 22:38:27 +00:00
cert Remove havana compat from nova.cert.rpcapi 2014-11-22 01:10:05 +00:00
cloudpipe Fixes potential reliablity issue with missing CONF import 2014-09-26 13:48:25 +09:30
cmd Enforce unique instance uuid in data model 2014-12-04 08:31:17 -08:00
compute Merge "Drop support for legacy server groups" 2014-12-04 06:01:55 +00:00
conductor Merge "Check server group policy on migrate/evacuate" 2014-11-28 12:02:09 +00:00
console Merge "Replacement `_` on `_LW` in all LOG.warning part 1" 2014-11-21 18:09:57 +00:00
consoleauth Replacement `_` on `_LW` in all LOG.warning part 1 2014-11-20 11:19:16 +02:00
db Enforce unique instance uuid in data model 2014-12-04 08:31:17 -08:00
hacking Enable pep8 on ./tools directory 2014-11-25 11:42:02 +01:00
image Replacement `_` on `_LI` in all LOG.info - part 2 2014-11-20 10:28:46 +02:00
ipv6
keymgr Replacement `_` on `_LW` in all LOG.warning part 1 2014-11-20 11:19:16 +02:00
locale Imported Translations from Transifex 2014-12-04 06:16:12 +00:00
network Merge "Switch to moxstubout and mockpatch from oslotest" 2014-12-02 16:09:53 +00:00
objects Merge "Adds NUMA CPU Pinning object modeling" 2014-12-04 12:37:07 +00:00
objectstore
openstack Sync latest from oslo-incubator 2014-11-26 12:53:20 -05:00
pci Replacement `_` on `_LW` in all LOG.warning part 1 2014-11-20 11:19:16 +02:00
rdp
scheduler Merge "Make aggregate filters use objects" 2014-12-04 11:04:44 +00:00
servicegroup Replacement `_` on `_LW` in all LOG.warning part 1 2014-11-20 11:19:16 +02:00
spice
storage Replacement `_` on `_LW` in all LOG.warning part 1 2014-11-20 11:19:16 +02:00
tests Enforce unique instance uuid in data model 2014-12-04 08:31:17 -08:00
virt Merge "libvirt: Fix domain creation for LXC" 2014-12-04 12:07:34 +00:00
vnc Deduplicate some INFO and AUDIT level messages 2014-11-13 15:25:40 +11:00
volume Merge "Use session in cinderclient" 2014-11-20 12:27:14 +00:00
__init__.py
availability_zones.py
baserpc.py Switch to nova's jsonutils in oslo.serialization 2014-10-14 11:35:05 +00:00
block_device.py Use oslo.utils 2014-10-06 21:41:17 -04:00
config.py Set logging level for glanceclient to WARN 2014-10-21 10:59:43 -04:00
context.py Prevent admin role leak in context.elevated 2014-11-24 22:58:05 +00:00
crypto.py Replacement `_` on `_LE` in all LOG.exception 2014-11-20 11:19:09 +02:00
debugger.py Replacement `_` on `_LW` in all LOG.warning part 1 2014-11-20 11:19:16 +02:00
exception.py Merge "Correct InvalidAggregateAction translation&format." 2014-12-04 04:56:28 +00:00
filters.py Replacement `_` on `_LI` in all LOG.info - part 2 2014-11-20 10:28:46 +02:00
hooks.py Update hooks from oslo-incubator copy 2014-10-28 01:24:31 +00:00
i18n.py Remove unused modules copied from oslo-incubator 2014-10-15 01:28:42 +00:00
loadables.py Use oslo.utils 2014-10-06 21:41:17 -04:00
manager.py
netconf.py Specify storage IP for iscsi connector 2014-11-13 11:06:11 -06:00
notifications.py Merge "Make notifications use Instance.get_flavor()" 2014-11-24 06:43:30 +00:00
paths.py
policy.py
quota.py Replacement `_` on `_LE` in all LOG.exception 2014-11-20 11:19:09 +02:00
rpc.py Switch to nova's jsonutils in oslo.serialization 2014-10-14 11:35:05 +00:00
safe_utils.py
service.py Replacement `_` on `_LW` in all LOG.warning part 1 2014-11-20 11:19:16 +02:00
test.py Break V2 XML Support 2014-12-03 13:13:50 -05:00
utils.py Replacement `_` on `_LW` in all LOG.warning part 1 2014-11-20 11:19:16 +02:00
version.py Replacement `_` on `_LE` in all LOG.error 2014-10-21 06:40:05 +00:00
weights.py
wsgi.py Merge "Eventlet green threads not released back to pool" 2014-12-02 13:04:26 +00:00