armada/armada/exceptions
Sean Eagan 7af22df7dc Implement tiller gRPC channel clean up
We have seen issues with dangling threads in Armada. This is likely due to
a bug [0] in the version of gRPC that we were pinned to.

This patchset:

- moves us to the latest versions of the gRPC python libraries which add
  a new `channel.close()` method to cleanup channels.
- implements the python context manager api in the tiller handler
- uses the context manager api to explicitly scope tiller channel creation
  and cleanup to each Armada API and CLI call.

This also fixes a couples issues with error handling introduced in [1].

[0]: https://github.com/grpc/grpc/issues/14338
[1]: https://review.openstack.org/#/c/610384

Change-Id: I2577a20fc76c397aa33157dc12a0e1d36f49733e
2018-11-12 13:32:52 -06:00
..
__init__.py Fix for get manifest 2018-09-14 15:27:03 +00:00
api_exceptions.py Index, Guide, & Api Armada Exception Documentation 2018-02-13 10:01:27 -05:00
armada_exceptions.py Correctly identify latest release 2018-10-19 09:14:15 -05:00
base_exception.py Implement tiller gRPC channel clean up 2018-11-12 13:32:52 -06:00
chartbuilder_exceptions.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
k8s_exceptions.py fix(timeouts): Address timeout handling issues 2018-05-01 08:45:56 -05:00
manifest_exceptions.py Fix for get manifest 2018-09-14 15:27:03 +00:00
override_exceptions.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
source_exceptions.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
tiller_exceptions.py Use paging to list releases from tiller 2018-10-12 21:28:22 -05:00
validate_exceptions.py Improved document validation 2018-02-23 11:11:09 -05:00