nova/nova
Balazs Gibizer 08fb09e878 Fix unbound local when saving an unchanged RequestSpec
RequestSpec._get_update_primitives() tried to return the unitialized
db_updates field when the object has no changes. This patch initalizes
that local to None and handles that None in create() and save() where
the RequestSpec._get_update_primitives() is called.

Change-Id: Iad256079945bf8b5745ebdcc393c55115dbcab75
Closes-Bug: #1775863
2018-07-03 13:02:54 +00:00
..
api Merge "Merge server create schema for keypair extension" 2018-07-03 08:31:27 +00:00
cells Add instance action record for snapshot instances 2017-12-11 17:46:38 +08:00
cmd Merge "Use 'version2' when syncing placement db" 2018-07-02 11:04:44 +00:00
common
compute Merge "Simplify instance name generation" 2018-07-02 13:18:04 +00:00
conductor Merge "Drop API compat handling for old compute error cases" 2018-06-27 14:24:02 +00:00
conf Merge "Powervm configuration cleanup" 2018-06-29 07:23:12 +00:00
console Merge "Convert xenapi's xvp console to processutils." 2018-05-09 04:57:55 +00:00
consoleauth
db Remove unused DB API instance_group_delete method 2018-06-27 13:24:37 -04:00
hacking Implement granular policy rules for placement 2018-05-17 11:12:16 -04:00
image Implement certificate_utils 2018-06-12 14:44:32 -04:00
ipv6
keymgr
locale Imported Translations from Zanata 2018-04-11 06:17:52 +00:00
network Merge "Handle network-changed event for a specific port" 2018-06-27 22:06:23 +00:00
notifications Add instance.unlock notification 2018-06-25 19:25:39 +00:00
objects Fix unbound local when saving an unchanged RequestSpec 2018-07-03 13:02:54 +00:00
pci network: update pci request spec to handle trusted tags 2018-05-31 13:55:40 -04:00
policies Merge "Remove support for /os-fixed-ips REST API" 2018-06-26 21:01:35 +00:00
privsep Merge "Revert "Re-using the code of os brick cinder"" 2018-06-19 02:08:35 +00:00
scheduler Adapter raise_exc=False by default 2018-06-22 09:40:33 -05:00
servicegroup
tests Fix unbound local when saving an unchanged RequestSpec 2018-07-03 13:02:54 +00:00
virt Merge "Request only instance_uuid in ironic node list" 2018-07-02 20:04:07 +00:00
vnc
volume Remove unnecessary parameters from create volume API 2018-06-12 12:06:41 +05:30
__init__.py
availability_zones.py
baserpc.py
block_device.py Add uuid column to BlockDeviceMapping 2017-12-17 14:28:35 +00:00
cache_utils.py
config.py
context.py Remove RequestContext.instance_lock_checked 2018-04-11 11:46:19 -04:00
crypto.py Convert certificate generation to processutils. 2018-05-02 19:18:41 +10:00
debugger.py
exception.py Merge "Drop API compat handling for old compute error cases" 2018-06-27 14:24:02 +00:00
exception_wrapper.py Add full traceback to ExceptionPayload in versioned notifications 2018-06-19 16:46:46 +08:00
filters.py
hooks.py
i18n.py correct referenced url in comments 2018-01-18 09:16:37 +08:00
loadables.py
manager.py conf: Remove 'db_driver' config opt 2018-03-16 17:23:16 +00:00
policy.py
profiler.py
quota.py Restrict CONF.quota.driver to DB and noop quota drivers 2018-06-01 15:44:52 +00:00
rc_fields.py Make ResourceClass.normalize_name handle sharp S 2018-04-10 12:24:40 -05:00
rpc.py Use oslo.messaging per-call monitoring 2018-06-11 14:44:10 -07:00
safe_utils.py
service.py Deprecate running API services under eventlet 2018-05-16 03:48:32 +00:00
service_auth.py Fix NoneType error when [service_user] is misconfigured 2017-11-28 12:22:30 -06:00
test.py Handle nested serialized json entries in assertJsonEqual 2018-07-02 12:28:39 -04:00
utils.py Adapter raise_exc=False by default 2018-06-22 09:40:33 -05:00
version.py
weights.py
wsgi.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00