client does not show exception reason in base get

Bug #1498105 reported by Henrique Truta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Sahara
Fix Released
High
Henrique Truta

Bug Description

saharaclient loses the original exception traceback, raising only a generic wrong message: "Failed to parse response from Sahara. Check if service catalog configured properly", as in https://github.com/openstack/python-saharaclient/blob/master/saharaclient/api/base.py#L179

In my case, I was getting this message, when an "Unauthorized" exception was raised in Keystone.

Changed in sahara:
assignee: nobody → Henrique Truta (henriquetruta)
affects: sahara → python-saharaclient
Changed in python-saharaclient:
importance: Undecided → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-saharaclient (master)

Reviewed: https://review.openstack.org/225964
Committed: https://git.openstack.org/cgit/openstack/python-saharaclient/commit/?id=846ade2c49e3523ea3d39dcd4550ddc789e80b01
Submitter: Jenkins
Branch: master

commit 846ade2c49e3523ea3d39dcd4550ddc789e80b01
Author: henriquetruta <email address hidden>
Date: Mon Sep 21 14:56:40 2015 -0300

    Shows reason of failure in base.get

    base.get showed only a generic message, hiding the real problem
    that happened.

    Change-Id: I44b60f8e5bfb059a426def6e89502d7fb02bae6f
    Closes-Bug: #1498105

Changed in python-saharaclient:
status: In Progress → Fix Committed
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-saharaclient 0.12.0

This issue was fixed in the openstack/python-saharaclient 0.12.0 release.

Changed in python-saharaclient:
milestone: none → 0.12.0
Changed in python-saharaclient:
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.