magnum/magnum/tests/unit/conductor
Johannes Grassler e93d82e8b3 Fix CVE-2016-7404
This commit addresses multiple potential vulnerabilities in
Magnum. It makes the following changes:

* Permissions for /etc/sysconfig/heat-params inside Magnum
  created instances are tightened to 0600 (used to be 0755).
* Certificate retrieval is modified to work without the need
  for a Keystone trust.
* The cluster's Keystone trust id is only passed into
  instances for clusters where that is actually needed. This
  prevents the trustee user from consuming the trust in cases
  where it is not needed.
* The configuration setting trust/cluster_user_trust (False by
  default) is introduced. It needs to be explicitely enabled
  by the cloud operator to allow clusters that need the
  trust_id to be passed into instances to work. Without this
  setting, attempts to create such clusters will fail.

Please note, that none of these changes apply to existing
clusters. They will have to be deleted and rebuilt to benefit
from these changes.

Change-Id: I643d408cde0d6e30812cf6429fb7118184793400
2017-02-09 16:44:27 +01:00
..
handlers Fix CVE-2016-7404 2017-02-09 16:44:27 +01:00
tasks Fix invalid import order 2016-02-07 22:54:41 -08:00
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
test_k8s_api.py Code refactoring in conductor/k8s_api.py 2016-05-18 01:55:20 +05:30
test_monitors.py Fix getting capacity in k8s_monitor 2017-01-24 11:28:23 +01:00
test_rpcapi.py Rename Bay DB, Object, and internal usage to Cluster 2016-09-08 13:01:12 -07:00
test_scale_manager.py Move scale managers at driver level 2017-01-23 17:16:32 +01:00
test_utils.py Rename Bay DB, Object, and internal usage to Cluster 2016-09-08 13:01:12 -07:00