nova/nova
melanie witt b26db1752a Pass context as kwarg instead of positional arg to get_engine
There are a couple of places in nova/db/api/sqlalchemy.py where the
context argument is passed as a positional arg instead of a kwarg,
causing it to be erroneously mapped to the use_slave kwarg:

  def get_engine(use_slave=False, context=None):

This corrects to calls to pass context=context instead.

Change-Id: I8fb7f04a54d9f7f645df8287cdda0ae665a22368
2016-12-06 16:35:22 +00:00
..
CA
api Merge "Move tag schema to parameter_types.py" 2016-12-02 23:03:38 +00:00
cells Merge "Add RPC version aliases for Newton" 2016-11-28 18:01:39 +00:00
cert Merge "conf: remove deprecated cert_topic option" 2016-12-02 13:46:21 +00:00
cloudpipe Rename security_group parameter in compute.API:create 2016-11-10 11:25:43 -05:00
cmd Merge "conf: remove deprecated cert_topic option" 2016-12-02 13:46:21 +00:00
common
compute Merge "objects: Move 'vm_mode' to 'fields.VMMode'" 2016-12-02 15:50:51 +00:00
conductor Merge "Add RPC version aliases for Newton" 2016-11-28 18:01:39 +00:00
conf Merge "conf: remove deprecated exception option" 2016-12-06 02:07:11 +00:00
console Add RPC version aliases for Newton 2016-10-28 03:11:38 -07:00
consoleauth Merge "conf: Move consoleauth options to a group" 2016-12-02 13:41:00 +00:00
db Pass context as kwarg instead of positional arg to get_engine 2016-12-06 16:35:22 +00:00
hacking hacking: Use assertIs(Not), assert(True|False) 2016-10-12 11:14:33 +01:00
image conf: Remove deprecated ``use_glance_v1`` 2016-10-12 12:21:59 +00:00
ipv6
keymgr Deprecate barbican options 2016-07-29 15:36:28 -05:00
locale Imported Translations from Zanata 2016-10-27 08:19:38 +00:00
network Merge "Fix config option types" 2016-11-30 04:13:09 +00:00
notifications Merge "Transform instance.finish_resize notifications" 2016-11-24 11:12:16 +00:00
objects Merge "Create schema generation for AddressBase" 2016-12-06 13:25:18 +00:00
pci Merge "Fix pci_alias that include white spaces" 2016-12-02 06:00:38 +00:00
policies Merge "Fix server operations' policies to admin only" 2016-08-11 06:07:52 +00:00
scheduler Merge "objects: Move 'vm_mode' to 'fields.VMMode'" 2016-12-02 15:50:51 +00:00
servicegroup Add a hacking rule for string interpolation at logging 2016-10-11 08:39:48 +00:00
tests Merge "Create schema generation for AddressBase" 2016-12-06 13:25:18 +00:00
virt Merge "objects: Move 'vm_mode' to 'fields.VMMode'" 2016-12-02 15:50:51 +00:00
vnc
volume encryptors: Workaround mangled passphrases 2016-11-02 20:03:41 +00:00
wsgi
__init__.py
availability_zones.py Port test_metadata to Python 3 2016-11-29 11:28:24 +08:00
baserpc.py
block_device.py compute: fixes python 3 related unit tests 2016-10-18 07:07:43 +00:00
cache_utils.py
config.py Add the ability to configure glanceclient debug logging 2016-08-04 00:32:37 +00:00
context.py Remove require_admin_context 2016-11-28 04:07:12 +08:00
crypto.py
debugger.py
exception.py Merge "conf: remove deprecated exception option" 2016-12-06 02:07:11 +00:00
exception_wrapper.py
filters.py
hash_ring.py Ironic: allow multiple compute services 2016-08-04 23:51:13 +00:00
hooks.py
i18n.py
loadables.py
manager.py
policy.py Remove unnecessary credential sanitation for logging 2016-10-05 12:54:23 -04:00
quota.py incorrect description in nova-api.log about quota check 2016-09-02 17:00:14 +09:00
rpc.py Stop overwriting thread local context in ClientRouter 2016-09-26 20:49:22 +00:00
safe_utils.py
service.py Remove conductor local api:s and 'use_local' config option 2016-10-18 14:26:06 +02:00
signature_utils.py
test.py Merge "Cleanup some redundant USES_DB_SELF usage" 2016-10-18 02:34:45 +00:00
utils.py compute: fixes python 3 related unit tests 2016-10-18 07:07:43 +00:00
version.py
weights.py
wsgi.py Fixes python 3 unit tests 2016-09-23 20:10:24 +00:00