My output from 3.2.0:
$ openstack --debug token issue START with options: [u'--debug', u'token', u'issue'] options: Namespace(access_token='***', access_token_endpoint='', access_token_type='', auth_type='', auth_url='https://api.cloud.catalyst.net.nz:5000/v2.0', authorization_code='', cacert=None, cert='', client_id='', client_secret='***', cloud='', debug=True, default_domain='default', default_domain_id='', default_domain_name='', deferred_help=False, discovery_endpoint='', domain_id='', domain_name='', endpoint='', identity_provider='', insecure=None, interface='', key='', log_file=None, openid_scope='', os_beta_command=False, os_compute_api_version='', os_identity_api_version='2.0', os_image_api_version='', os_network_api_version='', os_object_api_version='', os_orchestration_api_version='1', os_project_id=None, os_project_name=None, os_volume_api_version='', passcode='', password='***', project_domain_id='', project_domain_name='', project_id='', project_name='openstack-dev.catalyst.net.nz', protocol='', redirect_uri='', region_name='nz-por-1', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_name='', user_id='', username='xavuser', verbose_level=3, verify=None) Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 'https://api.cloud.catalyst.net.nz:5000/v2.0', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', 'verbose_level': 3, 'region_name': 'nz-por-1', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'openstack-dev.catalyst.net.nz'}, 'default_domain': 'default', 'debug': True, u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': 'THISISAREALPASSWORDRIGHTHERE', 'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, u'identity_api_version': '2.0', u'volume_api_version': u'2', 'username': 'xavuser', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}} defaults: {u'auth_type': 'password', u'status': u'active', u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', 'api_timeout': None, u'baremetal_api_version': u'1', u'image_api_version': u'2', u'metering_api_version': u'2', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': u'1', 'cacert': None, u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', u'key_manager_api_version': u'v1', 'verify': True, u'identity_api_version': u'2.0', u'volume_api_version': u'2', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', u'dns_api_version': u'2', u'object_store_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}} cloud cfg: {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', u'orchestration_api_version': '1', u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 'https://api.cloud.catalyst.net.nz:5000/v2.0', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', 'verbose_level': 3, 'region_name': 'nz-por-1', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'username': 'xavuser', 'project_name': 'openstack-dev.catalyst.net.nz', 'password': '***', 'auth_url': 'https://api.cloud.catalyst.net.nz:5000/v2.0'}, 'default_domain': 'default', u'container_api_version': u'1', u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', 'key': None, 'timing': False, 'password': '***', 'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, u'identity_api_version': '2.0', u'volume_api_version': u'2', 'username': 'xavuser', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'interface': None, u'disable_vendor_agent': {}} compute API version 2, cmd group openstack.compute.v2 network API version 2, cmd group openstack.network.v2 image API version 2, cmd group openstack.image.v2 volume API version 2, cmd group openstack.volume.v2 identity API version 2.0, cmd group openstack.identity.v2 object_store API version 1, cmd group openstack.object_store.v1 neutronclient API version 2, cmd group openstack.neutronclient.v2 orchestration API version 1, cmd group openstack.orchestration.v1 Auth plugin password selected auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_api_version': u'2', 'key': None, u'database_api_version': u'1.0', u'metering_api_version': u'2', 'auth_url': 'https://api.cloud.catalyst.net.nz:5000/v2.0', u'network_api_version': u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_api_version': u'2', 'verify': True, u'dns_api_version': u'2', u'object_store_api_version': u'1', u'status': u'active', 'verbose_level': 3, 'region_name': 'nz-por-1', 'api_timeout': None, u'baremetal_api_version': u'1', 'auth': {'project_name': 'openstack-dev.catalyst.net.nz'}, 'default_domain': 'default', 'debug': True, u'image_api_use_tasks': False, u'floating_ip_source': u'neutron', u'orchestration_api_version': '1', 'timing': False, 'password': 'THISISAREALPASSWORDRIGHTHERE', 'cacert': None, u'key_manager_api_version': u'v1', 'deferred_help': False, u'identity_api_version': '2.0', u'volume_api_version': u'2', 'username': 'xavuser', 'cert': None, u'secgroup_source': u'neutron', u'container_api_version': u'1', u'interface': None, u'disable_vendor_agent': {}} command: token issue -> openstackclient.identity.v2_0.token.IssueToken Using auth plugin: password Using parameters {'username': 'xavuser', 'project_name': 'openstack-dev.catalyst.net.nz', 'password': '***', 'auth_url': 'https://api.cloud.catalyst.net.nz:5000/v2.0'} Get auth_ref REQ: curl -g -i -X GET https://api.cloud.catalyst.net.nz:5000/v2.0 -H "Accept: application/json" -H "User-Agent: osc-lib keystoneauth1/2.12.1 python-requests/2.11.1 CPython/2.7.6" Starting new HTTPS connection (1): api.cloud.catalyst.net.nz /home/xav/.os-cli/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. SNIMissingWarning /home/xav/.os-cli/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning "GET /v2.0 HTTP/1.1" 200 352 RESP: [200] Server: nginx/1.8.1 Date: Thu, 06 Oct 2016 00:03:46 GMT Content-Type: application/json Content-Length: 352 Vary: X-Auth-Token x-openstack-request-id: req-0315b03f-0cd6-4500-9873-2643341d6052 RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "https://api.cloud.catalyst.net.nz:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}}
Making authentication request to https://api.cloud.catalyst.net.nz:5000/v2.0/tokens "POST /v2.0/tokens HTTP/1.1" 200 10242 run(Namespace(columns=[], formatter='table', max_width=0, noindent=False, prefix='', variables=[])) +------------+----------------------------------+ | Field | Value | +------------+----------------------------------+ | expires | 2016-10-06 14:03:46+00:00 | | id | redacted | | project_id | redacted | | user_id | redacted | +------------+----------------------------------+ clean_up IssueToken: END return value: 0
My output from 3.2.0:
$ openstack --debug token issue access_ token=' ***', access_ token_endpoint= '', access_ token_type= '', auth_type='', auth_url='https:/ /api.cloud. catalyst. net.nz: 5000/v2. 0', authorization_ code='' , cacert=None, cert='', client_id='', client_ secret= '***', cloud='', debug=True, default_ domain= 'default' , default_ domain_ id='', default_ domain_ name='' , deferred_ help=False, discovery_ endpoint= '', domain_id='', domain_name='', endpoint='', identity_ provider= '', insecure=None, interface='', key='', log_file=None, openid_scope='', os_beta_ command= False, os_compute_ api_version= '', os_identity_ api_version= '2.0', os_image_ api_version= '', os_network_ api_version= '', os_object_ api_version= '', os_orchestratio n_api_version= '1', os_project_id=None, os_project_ name=None, os_volume_ api_version= '', passcode='', password='***', project_ domain_ id='', project_ domain_ name='' , project_id='', project_ name='openstack -dev.catalyst. net.nz' , protocol='', redirect_uri='', region_ name='nz- por-1', timing=False, token='***', trust_id='', url='', user_domain_id='', user_domain_ name='' , user_id='', username='xavuser', verbose_level=3, verify=None) api_version' : u'2', 'key': None, u'database_ api_version' : u'1.0', u'metering_ api_version' : u'2', 'auth_url': 'https:/ /api.cloud. catalyst. net.nz: 5000/v2. 0', u'network_ api_version' : u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_ api_version' : u'2', 'verify': True, u'dns_api_version': u'2', u'object_ store_api_ version' : u'1', u'status': u'active', 'verbose_level': 3, 'region_name': 'nz-por-1', 'api_timeout': None, u'baremetal_ api_version' : u'1', 'auth': {'project_name': 'openstack- dev.catalyst. net.nz' }, 'default_domain': 'default', 'debug': True, u'image_ api_use_ tasks': False, u'floating_ ip_source' : u'neutron', u'orchestration _api_version' : '1', 'timing': False, 'password': 'THISISAREALPAS SWORDRIGHTHERE' , 'cacert': None, u'key_manager_ api_version' : u'v1', 'deferred_help': False, u'identity_ api_version' : '2.0', u'volume_ api_version' : u'2', 'username': 'xavuser', 'cert': None, u'secgroup_source': u'neutron', u'container_ api_version' : u'1', u'interface': None, u'disable_ vendor_ agent': {}} api_version' : u'2', 'key': None, u'database_ api_version' : u'1.0', 'api_timeout': None, u'baremetal_ api_version' : u'1', u'image_ api_version' : u'2', u'metering_ api_version' : u'2', u'image_ api_use_ tasks': False, u'floating_ ip_source' : u'neutron', u'orchestration _api_version' : u'1', 'cacert': None, u'network_ api_version' : u'2', u'message': u'', u'image_format': u'qcow2', u'key_manager_ api_version' : u'v1', 'verify': True, u'identity_ api_version' : u'2.0', u'volume_ api_version' : u'2', 'cert': None, u'secgroup_source': u'neutron', u'container_ api_version' : u'1', u'dns_api_version': u'2', u'object_ store_api_ version' : u'1', u'interface': None, u'disable_ vendor_ agent': {}} api_version' : u'2', u'orchestration _api_version' : '1', u'database_ api_version' : u'1.0', u'metering_ api_version' : u'2', 'auth_url': 'https:/ /api.cloud. catalyst. net.nz: 5000/v2. 0', u'network_ api_version' : u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_ api_version' : u'2', 'verify': True, u'dns_api_version': u'2', u'object_ store_api_ version' : u'1', u'status': u'active', 'verbose_level': 3, 'region_name': 'nz-por-1', 'api_timeout': None, u'baremetal_ api_version' : u'1', 'auth': {'username': 'xavuser', 'project_name': 'openstack- dev.catalyst. net.nz' , 'password': '***', 'auth_url': 'https:/ /api.cloud. catalyst. net.nz: 5000/v2. 0'}, 'default_domain': 'default', u'container_ api_version' : u'1', u'image_ api_use_ tasks': False, u'floating_ ip_source' : u'neutron', 'key': None, 'timing': False, 'password': '***', 'cacert': None, u'key_manager_ api_version' : u'v1', 'deferred_help': False, u'identity_ api_version' : '2.0', u'volume_ api_version' : u'2', 'username': 'xavuser', 'cert': None, u'secgroup_source': u'neutron', 'debug': True, u'interface': None, u'disable_ vendor_ agent': {}} compute. v2 network. v2 identity. v2 object_ store.v1 neutronclient. v2 orchestration. v1 api_version' : u'2', 'key': None, u'database_ api_version' : u'1.0', u'metering_ api_version' : u'2', 'auth_url': 'https:/ /api.cloud. catalyst. net.nz: 5000/v2. 0', u'network_ api_version' : u'2', u'message': u'', u'image_format': u'qcow2', 'networks': [], u'image_ api_version' : u'2', 'verify': True, u'dns_api_version': u'2', u'object_ store_api_ version' : u'1', u'status': u'active', 'verbose_level': 3, 'region_name': 'nz-por-1', 'api_timeout': None, u'baremetal_ api_version' : u'1', 'auth': {'project_name': 'openstack- dev.catalyst. net.nz' }, 'default_domain': 'default', 'debug': True, u'image_ api_use_ tasks': False, u'floating_ ip_source' : u'neutron', u'orchestration _api_version' : '1', 'timing': False, 'password': 'THISISAREALPAS SWORDRIGHTHERE' , 'cacert': None, u'key_manager_ api_version' : u'v1', 'deferred_help': False, u'identity_ api_version' : '2.0', u'volume_ api_version' : u'2', 'username': 'xavuser', 'cert': None, u'secgroup_source': u'neutron', u'container_ api_version' : u'1', u'interface': None, u'disable_ vendor_ agent': {}} .identity. v2_0.token. IssueToken dev.catalyst. net.nz' , 'password': '***', 'auth_url': 'https:/ /api.cloud. catalyst. net.nz: 5000/v2. 0'} /api.cloud. catalyst. net.nz: 5000/v2. 0 -H "Accept: application/json" -H "User-Agent: osc-lib keystoneauth1/ 2.12.1 python- requests/ 2.11.1 CPython/2.7.6" catalyst. net.nz .os-cli/ local/lib/ python2. 7/site- packages/ requests/ packages/ urllib3/ util/ssl_ .py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https:/ /urllib3. readthedocs. io/en/latest/ security. html#snimissing warning. .os-cli/ local/lib/ python2. 7/site- packages/ requests/ packages/ urllib3/ util/ssl_ .py:122: InsecurePlatfor mWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https:/ /urllib3. readthedocs. io/en/latest/ security. html#insecurepl atformwarning. ormWarning request- id: req-0315b03f- 0cd6-4500- 9873-2643341d60 52 17T00:00: 00Z", "media-types": [{"base": "application/json", "type": "application/ vnd.openstack. identity- v2.0+json" }], "id": "v2.0", "links": [{"href": "https:/ /api.cloud. catalyst. net.nz: 5000/v2. 0/", "rel": "self"}, {"href": "http:// docs.openstack. org/", "type": "text/html", "rel": "describedby"}]}}
START with options: [u'--debug', u'token', u'issue']
options: Namespace(
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_
defaults: {u'auth_type': 'password', u'status': u'active', u'compute_
cloud cfg: {'auth_type': 'password', 'beta_command': False, u'compute_
compute API version 2, cmd group openstack.
network API version 2, cmd group openstack.
image API version 2, cmd group openstack.image.v2
volume API version 2, cmd group openstack.volume.v2
identity API version 2.0, cmd group openstack.
object_store API version 1, cmd group openstack.
neutronclient API version 2, cmd group openstack.
orchestration API version 1, cmd group openstack.
Auth plugin password selected
auth_config_hook(): {'auth_type': 'password', 'beta_command': False, u'compute_
command: token issue -> openstackclient
Using auth plugin: password
Using parameters {'username': 'xavuser', 'project_name': 'openstack-
Get auth_ref
REQ: curl -g -i -X GET https:/
Starting new HTTPS connection (1): api.cloud.
/home/xav/
SNIMissingWarning
/home/xav/
InsecurePlatf
"GET /v2.0 HTTP/1.1" 200 352
RESP: [200] Server: nginx/1.8.1 Date: Thu, 06 Oct 2016 00:03:46 GMT Content-Type: application/json Content-Length: 352 Vary: X-Auth-Token x-openstack-
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-
Making authentication request to https:/ /api.cloud. catalyst. net.nz: 5000/v2. 0/tokens columns= [], formatter='table', max_width=0, noindent=False, prefix='', variables=[])) ------+ ------- ------- ------- ------- ------+ ------+ ------- ------- ------- ------- ------+ ------+ ------- ------- ------- ------- ------+
"POST /v2.0/tokens HTTP/1.1" 200 10242
run(Namespace(
+------
| Field | Value |
+------
| expires | 2016-10-06 14:03:46+00:00 |
| id | redacted |
| project_id | redacted |
| user_id | redacted |
+------
clean_up IssueToken:
END return value: 0