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

Add keystone-shell container

Open timothyb89 opened this issue 8 years ago • 2 comments

The keystone-shell is a container to help debug keystone instances in Kubernetes. It provides a ptipython-based shell with highlighting, autocomplete, and access to the Keystone and Kubernetes APIs, along with an OpenStack client and utility function to read and swap between credentials from secrets (in any namespace) at runtime.

timothyb89 avatar Aug 28 '17 23:08 timothyb89

I have really bad and nasty problems trying to make it run. Most of them resolves around the keystone secret (tried to used some of those that monaca-helm has used) with kubectl get secret -n monitoring but without a success. Finally managed to launch that without KEYSTONE_SHELL and everything was fine until I tried to get a token from connected keystone. The error encountered was:

[Errno 2] No such file or directory: '/usr/local/lib/python3.6/site-packages/ptyprocess-0.5.2.dist-info/top_level.txt'

From within the container I called ```openstack token issue````

kornicameister avatar Sep 27 '17 07:09 kornicameister

Monasca/python changes are merged so this change could be updated to reflect that.

matrixik avatar Oct 11 '17 09:10 matrixik