armada/armada
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
..
api Implement tiller gRPC channel clean up 2018-11-12 13:32:52 -06:00
cli Implement tiller gRPC channel clean up 2018-11-12 13:32:52 -06:00
common Fix Flake8 3.6.0 errors 2018-10-26 09:23:42 -04:00
conf Parallelize unsequenced chart group deployments 2018-10-03 10:27:49 -05:00
exceptions Implement tiller gRPC channel clean up 2018-11-12 13:32:52 -06:00
handlers Implement tiller gRPC channel clean up 2018-11-12 13:32:52 -06:00
schemas Add chart API to wait on k8s resource types/labels 2018-10-05 16:48:32 -05:00
tests Implement tiller gRPC channel clean up 2018-11-12 13:32:52 -06:00
utils Merge "Add caching and cleanup of chart tarballs" 2018-11-05 19:08:25 +00:00
__init__.py fix(init): remove duplicated version code 2018-05-28 05:52:58 -05:00
const.py Correctly identify latest release 2018-10-19 09:14:15 -05:00
shell.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
version.py Fix(linting): Make Armada pep8 compliant 2017-09-29 11:46:58 -04:00