zun/zun/common
Hongbin Lu db0cea7121 Reuse the RPC transport to create RPC client
In before, we created a PRC transport per RPC call. This causes
too many RPC connections as reported by the bug. This patch fixes
it by initialize the RPC transport at startup and reuse the RPC
transport for each API call.

Change-Id: I55e409e0b70024673bd25ab460c2a5bfecc717a5
Closes-Bug: #1785371
(cherry picked from commit de82a5dc81)
2018-08-07 03:37:16 +00:00
..
policies Update our project definition 2018-02-04 17:56:32 +00:00
validation Temporarily relax validation of 'mounts' 2018-02-04 19:37:48 +00:00
__init__.py update higgins with zun 2016-06-08 22:21:34 -05:00
clients.py Switch keystone session in glanceclient 2018-07-11 01:26:21 +00:00
config.py Reuse the RPC transport to create RPC client 2018-08-07 03:37:16 +00:00
consts.py Make container DELETE async 2017-09-28 14:27:12 +00:00
context.py Remove unused auth_url from RequestContext 2018-07-11 01:26:12 +00:00
exception.py Add exception handler for container_show 2018-01-22 23:23:27 -08:00
i18n.py Fix docs & specs erros. 2017-07-15 16:10:06 +07:00
keystone.py Fall back to the legacy auth_uri option 2018-07-11 01:26:30 +00:00
mount.py Use privsep to execute privileged command 2018-01-08 09:36:38 +07:00
name_generator.py Refactor code 2017-07-12 09:11:34 +07:00
nova.py Remove extra bracket in LOG message 2017-08-25 22:35:26 -07:00
paths.py Make some config options work 2017-07-30 13:22:00 -04:00
policy.py Merge "Implement basic policy module in code" 2017-10-06 10:38:33 +00:00
privileged.py Use privsep to execute privileged command 2018-01-08 09:36:38 +07:00
profiler.py Fix genconfig error 2017-08-30 22:31:46 -04:00
rpc.py Reuse the RPC transport to create RPC client 2018-08-07 03:37:16 +00:00
rpc_service.py Reuse the RPC transport to create RPC client 2018-08-07 03:37:16 +00:00
service.py Remove unused LOG 2017-04-20 14:51:33 +08:00
short_id.py Py3: Finish the python3 port 2017-08-04 15:03:35 +00:00
singleton.py Enable etcd DB backend testing pipeline 2017-01-11 10:45:07 +08:00
utils.py Introduce rootwrap and filter 2018-03-20 13:58:01 +00:00
yamlutils.py Replace yaml.dump with yaml.safe_dump 2017-03-18 01:44:02 +00:00