magnum/magnum/common
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
..
cert_manager Replace naked exceptions in barbican_cert_manager 2016-10-17 15:35:15 -04:00
x509 Centralize config option: x509 section 2016-09-22 05:58:01 +00:00
__init__.py Create a ReST API entrypoint 2014-11-18 14:01:20 -07:00
clients.py Fix compatibility with novaclient 7.0.0 2017-01-20 20:06:54 +05:30
config.py Integrate OSProfiler in Magnum 2017-01-24 07:43:31 +07:00
context.py Integrate OSProfiler in Magnum 2017-01-24 07:43:31 +07:00
docker_utils.py Centralize config option: docker section 2016-09-22 05:57:31 +00:00
exception.py Resource Quota - Limit clusters per project 2017-01-25 08:55:45 -06:00
keystone.py Fix CVE-2016-7404 2017-02-09 16:44:27 +01:00
name_generator.py Clean imports in code 2016-09-05 09:51:38 +07:00
policy.py Fix CVE-2016-7404 2017-02-09 16:44:27 +01:00
profiler.py Integrate OSProfiler in Magnum 2017-01-24 07:43:31 +07:00
rpc.py Integrate OSProfiler in Magnum 2017-01-24 07:43:31 +07:00
rpc_service.py Integrate OSProfiler in Magnum 2017-01-24 07:43:31 +07:00
service.py Centralize config option: service section 2016-09-22 05:57:24 +00:00
short_id.py Convert bytes to string in get_id for python3 compatibility 2016-02-29 14:34:01 +08:00
urlfetch.py Centralize config option: urlfetch and periodic 2016-10-11 04:04:38 +00:00
utils.py Use function is_valid_mac from oslo.utils 2016-10-21 13:41:38 +08:00