magnum/magnum/tests/unit
Johannes Grassler 0c7625ff4b 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.

(cherry picked from commit e93d82e8b3)

Change-Id: I643d408cde0d6e30812cf6429fb7118184793400
2017-02-22 19:22:10 +01:00
..
api Fix for cluster-update rollback issue 2017-02-15 13:44:12 -06:00
cmd Support magnum-api multiple process workers 2017-01-09 20:25:55 +08:00
common Fix CVE-2016-7404 2017-02-22 19:22:10 +01:00
conductor Fix CVE-2016-7404 2017-02-22 19:22:10 +01:00
conf Centralize config option: paths section 2016-09-22 05:56:53 +00:00
db Resource Quota - DB layer changes 2017-01-23 11:00:10 -06:00
drivers K8S: Allows to specify admission control plugins to enable 2017-01-31 11:21:35 +01:00
objects Merge "Resource Quota - Limit clusters per project" 2017-01-26 22:15:52 +00:00
service Move cluster status notifications out of driver 2016-12-07 15:27:44 +00:00
servicegroup Cleanup MagnumService Object usage 2016-01-29 15:39:28 +08:00
template Centralize config option: paths section 2016-09-22 05:56:53 +00:00
__init__.py Make room for functional tests 2015-04-02 12:25:43 -04:00
test_hacking.py Add i18n translation for Log messages 2016-08-15 11:44:08 +05:30