
Currently project_id and user_id are retrieved from auth_token_info, but these parameters can be retrieved from v3 keystone api only. Because auth_token_info is different between v2 and v3. If keystone version v2 is specified in the config file, magnum will not work. This patch uses "context.project_id" instead of auth_token_info['token']['project']['id']. Because auth_token_info['token'] is set by only keystone v3. Change-Id: I6982f38934c0778d9a0c4271dbe08f0758b671ad Closes-Bug: #1487992
Magnum
Magnum is an OpenStack project which offers container orchestration engines for deploying and managing containers as first class resources in OpenStack.
For more information, please refer to the following resources:
- Free software: under the Apache license
- Documentation: http://docs.openstack.org/developer/magnum
- Source: http://git.openstack.org/cgit/openstack/magnum
- Blueprints: https://blueprints.launchpad.net/magnum
- Bugs: http://bugs.launchpad.net/magnum
- ReST Client: http://git.openstack.org/cgit/openstack/python-magnumclient
Description
Languages
Python
73.1%
Shell
26.6%
Dockerfile
0.3%