trust roles display a trailing character upon show and create

Bug #1474707 reported by Gilles Dubreuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Low
Unassigned

Bug Description

# openstack --version
openstack 1.5.0

The roles field has an extra blank character:

openstack trust show -f shell bba74b46c9744efeb1b6ce3bac6b0d40
deleted_at="None"
expires_at="None"
id="bba74b46c9744efeb1b6ce3bac6b0d40"
impersonation="False"
project_id="78e22bb71862481dbe8335b4ce4551e8"
redelegation_count="0"
remaining_uses="None"
roles="admin foo "
trustee_user_id="ac994e5701d644b6a3ac78c9dd1ad04a"
trustor_user_id="24b047f52ff94029923f7f0ea982f03f"

jiaxi (tjxiter)
Changed in keystone:
assignee: nobody → jiaxi (tjxiter)
Revision history for this message
Gilles Dubreuil (gdubreui) wrote :
Revision history for this message
jiaxi (tjxiter) wrote :

Why not assigned to you after reported it ?

Changed in keystone:
assignee: jiaxi (tjxiter) → nobody
Revision history for this message
Gilles Dubreuil (gdubreui) wrote :

Yeah I guess I must take it.

Changed in keystone:
assignee: nobody → Gilles Dubreuil (gdubreui)
Changed in keystone:
status: New → Invalid
Changed in python-openstackclient:
status: New → In Progress
assignee: nobody → Gilles Dubreuil (gdubreui)
Changed in keystone:
assignee: Gilles Dubreuil (gdubreui) → nobody
summary: - python-openstackclient show trust's roles has trailing character
+ trust roles display a trailing character upon show and create
Dolph Mathews (dolph)
no longer affects: keystone
Revision history for this message
Gilles Dubreuil (gdubreui) wrote :

Giving back ownership because I shouldn't have taken it in first place, I made a fix but I don't know much about the testing framework and tox and not sure I'm going to have the bandwidth to dig into it ATM.

Changed in python-openstackclient:
assignee: Gilles Dubreuil (gdubreui) → nobody
Revision history for this message
Steve Martinelli (stevemar) wrote :

@gilles, sorry if we discouraged you. IMO the patch was almost done, i'll take over if you want, but i don't think there was much work left

Revision history for this message
Gilles Dubreuil (gdubreui) wrote :

@Steve,

Not at all, it's just that tox is not currently working on my environment. And I have other priorities (puppet/ruby)
I don't want to slow down the process.

Thanks.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/201956
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=00b4e38d3c3acf01ca5d7ff3cae287b4f8c9df2a
Submitter: Jenkins
Branch: master

commit 00b4e38d3c3acf01ca5d7ff3cae287b4f8c9df2a
Author: Gilles Dubreuil <email address hidden>
Date: Wed Jul 15 17:19:30 2015 +1000

    Removes trailing blank in trust show

    Previously a blank character at the end of the roles value would remain

    Change-Id: I0961a5f9fb4b270a6055ee69898eadee315e416a
    Closes-Bug: 1474707

Changed in python-openstackclient:
status: In Progress → Fix Committed
Changed in python-openstackclient:
importance: Undecided → Low
Changed in python-openstackclient:
milestone: none → 1.6.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.