magnum/magnum/tests
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
..
contrib Upgrade to Fedora 25 2017-01-26 15:40:34 +01:00
functional Make Kubernetes pods' health checks configurable 2017-01-26 20:02:52 +00:00
unit Fix CVE-2016-7404 2017-02-09 16:44:27 +01:00
__init__.py Remove redundant FunctionalTest class 2015-07-15 03:39:11 +08:00
base.py Fix CVE-2016-7404 2017-02-09 16:44:27 +01:00
conf_fixture.py Centralize config option: trust section 2016-09-22 05:57:46 +00:00
fake_notifier.py Emit notifications when bay operations get executed 2016-05-19 15:29:56 +08:00
fake_policy.py Magnum stats API 2017-01-17 09:48:54 -06:00
fakes.py Move cluster status updates into driver 2016-12-01 19:52:06 -06:00
policy_fixture.py Remove redundant code about fake_policy 2015-08-07 01:29:26 +00:00
utils.py Remove redundant code from magnum.test.utils 2015-07-20 21:53:12 +08:00