monasca-docker icon indicating copy to clipboard operation
monasca-docker copied to clipboard

keystone-init integration path

Open timothyb89 opened this issue 8 years ago • 4 comments

Requirements:

  • [x] support password lookup from secrets (in case of lost keystone)
  • [x] support password changing with lost secrets (in case of lost k8s)
  • [x] support secret replacement when fields change/update
  • [x] support creating endpoints and services
  • [ ] remove preload.py from base keystone container
  • [ ] include keystone-init in monasca-docker
  • [ ] include keystone-init in monasca-helm

Bonus points:

  • convert to python 3 (following example from mysql-users-init)
  • move kubernetes.py to a dedicated kubernetes-simple pypi package
  • shared utils.py for k8s secret management in keystone-init, mysql-users-init, etc

timothyb89 avatar Aug 24 '17 19:08 timothyb89

@timothyb89 will this one feature going back to keystone-init ? Personally I liked the idea of separate container much more. Simply because with it we could rely on keystone deployed elsewhere and use all else the way it it.

kornicameister avatar Aug 25 '17 09:08 kornicameister

Right, that's exactly what we want to support. keystone-init is a separate container and can create all our Monasca users and projects in any target keystone instance (or really any any keystone resources for any purpose). This issue is to track the work that's still needed before we can switch over to using it here and in monasca-helm.

Once the preloading logic is separate from the keystone container it should be easy to just turn our keystone off and use an external one. This is definitely the best scenario for a production deployment anyway, since our own keystone container is really only acceptable for dev purposes.

timothyb89 avatar Aug 25 '17 16:08 timothyb89

first 3 added in https://github.com/monasca/monasca-docker/pull/180

timothyb89 avatar Aug 28 '17 15:08 timothyb89

4th in #196

matrixik avatar Sep 08 '17 10:09 matrixik