PrettyTable 0.6 breaks Keystone CLI

Bug #995976 reported by Mohammed Naser
This bug report is a duplicate of:  Bug #995811: updated prettytable api. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
In Progress
Undecided
Johannes Erdfelt

Bug Description

I faced this yesterday and it's likely going to be a common problem soon.

http://pypi.python.org/pypi/PrettyTable/0.6

It was released yesterday, after looking into the code, the "printt" method is no longer there, so when you run any Keystone commands, it outputs "printt" only, nothing else.

This breaks DevStack installation process and leaves you with a broken Keystone, the current quick fix is to simply enforce the usage of PrettyTable 0.5 until the table code is updated to work with 0.6

What is the recommended route (as basically all new Keystone develop installations will be broken)?

Revision history for this message
Mohammed Naser (mnaser) wrote :

Just as an update, the code in question that is causing this:

https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/utils.py#L22

Revision history for this message
Mohammed Naser (mnaser) wrote :

I just added a fix for it if someone can review it:

https://review.openstack.org/#/c/7196/

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

Fix proposed to branch: master
Review: https://review.openstack.org/7198

Changed in keystone:
assignee: nobody → Johannes Erdfelt (johannes.erdfelt)
status: New → In Progress
Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

This isn't a duplicate of the other bug. This is a new one. Confirmed. Looking at the fix.

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

Sorry, this is an old bug. But I am seeing this behavior again...

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :

Ugh. Retracted. I'm seeing this behavior from glanceclient, not keystoneclient. It's not my day today.

Revision history for this message
Steven Yang (monte-carlo) wrote :

I'm looking for the solution to solve this problem...

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.