config/sysinv/sysinv/sysinv/sysinv
Jerry Sun 158e300d54 Docker Registry Keystone Authentication
This commit adds functionality for Docker registry to authenticate
using Keystone.

First, this commit contains puppet changes which are required to
manage the new token server required for Keystone authentication.

Second, with proper authentication now implemented, we are removing
the "insecure" flag for the controller registry in the "daemon.json"
file in "/etc/docker".

With the "insecure" flag removed, Docker will start complaining about
certificate issues. This commit also includes generation of default
certificates suitable for use by Docker registry as well as a sysinv
command "system certificate-install -m docker_registry" to update the
certificate.

Docker registry token server works only with PKCS1 style keys while we
would like to use PKCS8 keys by default. This is why our default
certificate and installed certificate create both a PKCS1 style key as
well as a PKCS8 style key. The keys are installed to
"/etc/ssl/private/" as registry-cert.crt, registry-cert.key, and
registry-cert-pkcs1.key.

Story: 2002840
Task: 22783
Depends-On: https://review.openstack.org/#/c/626354/

Change-Id: I0127bd5f10f3950739678929b92eb1b77e2119db
Signed-off-by: Jerry Sun <jerry.sun@windriver.com>
2019-03-07 12:55:59 -05:00
..
agent retry func iconfig_update_file when host personality is None 2019-02-20 14:46:25 +08:00
api Docker Registry Keystone Authentication 2019-03-07 12:55:59 -05:00
cluster Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
cmd Fix: others issues for Python 2/3 compatible code 2018-12-19 10:20:56 +08:00
common Docker Registry Keystone Authentication 2019-03-07 12:55:59 -05:00
conductor Docker Registry Keystone Authentication 2019-03-07 12:55:59 -05:00
db Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
helm Merge "Configure Openstack public endpoint FQDN" 2019-03-06 13:25:51 +00:00
objects Remove un-necessary exception log 2019-02-11 09:20:50 +08:00
openstack Enable python3.5 sysinv unit test 2019-01-30 08:51:07 +08:00
puppet Docker Registry Keystone Authentication 2019-03-07 12:55:59 -05:00
tests Merge "Ceph for standard: Add deployment model to System Inventory cluster API" 2019-02-11 16:59:47 +00:00
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
netconf.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
sanity_coverage.py Sysinv tox updates. Prepare for bandit reports and test reports 2018-06-29 13:25:09 -04:00
version.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00