`openstack token issue` cannot print `expires` value when using JSON formatter
Bug #1619937 reported by
Brian Hall
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Medium
|
Steve Martinelli |
Bug Description
Running the python-
$ openstack token issue --format json
{
"project_id": "57b3240733b94a
datetime.
"expires":
Version 2.6.0 of the python-
$ openstack token issue --format json
{
"project_id": "57b3240733b94a
"expires": "2016-09-
"user_id": "535f4fbc9bea41
"id": "45592ea61eab4b
Changed in python-openstackclient: | |
assignee: | nobody → tamil vanan (tamilhce) |
status: | New → In Progress |
summary: |
- python-openstackclient 3.2.0 failure + `openstack token issue` cannot print `expires` value when using JSON + formatter |
Changed in python-openstackclient: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Can you add --debug to the command?
I am unable to reproduce this:
$ openstack --version
openstack 3.2.0
$ env | grep OS NAME=admin API_VERSION= 2.0 openstack 172.16. 240.200: 5000/v2. 0 NAME=admin API_VERSION= 2
OS_PROJECT_
OS_IDENTITY_
OS_PASSWORD=
OS_AUTH_URL=http://
OS_USERNAME=admin
OS_TENANT_
OS_VOLUME_
$ openstack token issue ------+ ------- ------- ------- ------- ------+ ------+ ------- ------- ------- ------- ------+ ea5f6031d3ee7f7 f5 | 39d1cac59ff69f5 b2 | 2a5950a4b2c7bb0 f4 | ------+ ------- ------- ------- ------- ------+
+------
| Field | Value |
+------
| expires | 2016-09-05 04:20:52+00:00 |
| id | a6366fb21b7d4fd
| project_id | 49f68521a7934de
| user_id | aa11cee173d5467
+------