R3.1-build-19-mitaka-get request using keystone v3 token not working
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
Critical
|
Deepinder Setia | |||
R3.1 |
Fix Committed
|
High
|
Deepinder Setia | |||
Trunk |
Fix Committed
|
Critical
|
Deepinder Setia |
Bug Description
Step:
1. Get the token using ‘openstack token issue’ command
2. Use below curl command to get from api 9example)
curl -H"X-Auth-Token: ed50f17901ec470
Thanks,
Shaju
From: Deepinder Singh Setia <email address hidden>
Date: Thursday, August 11, 2016 at 6:03 PM
To: "Shaju V.K" <email address hidden>
Cc: Jeba Paulaiyan <email address hidden>
Subject: Re: v3 token for accessing api
You are using curl? Can you send the exact command sequence for failure case?
Deepinder
Sent from my iPhone
On Aug 11, 2016, at 5:39 PM, Shaju V.K <email address hidden> wrote:
Hi Deepinder,
When even I tried to get some object from api using v3 token generated using “openstack token issue” command, I see an exception in contrail-api log.
But it works if I use the token generated from “keystone token-get” command.
requested: http://
Traceback (most recent call last):
File "/usr/lib/
response = handler(*args, **kwargs)
File "/usr/lib/
response = func(api_
File "/usr/lib/
req_fields)
File "/usr/lib/
tenant_uuid = self._db_
File "/usr/lib/
obj_uuid = self._cassandra
File "/usr/lib/
fq_name_str = utils.encode_
TypeError: sequence item 1: expected string, NoneType found
Thanks,
Shaju
summary: |
- R3.1-buil-19-get request from api using keystone v3 token not working + R3.1-buil-19-get request using keystone v3 token not working |
summary: |
- R3.1-buil-19-get request using keystone v3 token not working + R3.1-buil-19-mitaka-get request using keystone v3 token not working |
summary: |
- R3.1-buil-19-mitaka-get request using keystone v3 token not working + R3.1-build-19-mitaka-get request using keystone v3 token not working |
tags: | added: rbac |
information type: | Proprietary → Public |
Review in progress for https:/ /review. opencontrail. org/23243
Submitter: Deepinder Setia (<email address hidden>)