Sahara client is not backward compatible with 'data_processing' service

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

Bug Description

It was supposed that sahara client will try both service names: 'data-processing' and 'data_processing'. And there is code that intended to handle this.

But client fails with exception on 'data_processing' service.

All juno installations and master devstack use 'data_processing'.

Stacktrace:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/saharaclient/shell.py", line 707, in main
    sys.argv[1:]))
  File "/usr/local/lib/python2.7/dist-packages/saharaclient/shell.py", line 645, in main
    auth=keystone_auth)
  File "/usr/local/lib/python2.7/dist-packages/saharaclient/api/client.py", line 56, in __init__
    auth, interface=endpoint_type, service_type=service_type)
  File "/usr/local/lib/python2.7/dist-packages/keystoneclient/session.py", line 585, in get_endpoint
    return auth.get_endpoint(self, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 208, in get_endpoint
    service_name=service_name)
  File "/usr/local/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/keystoneclient/service_catalog.py", line 250, in url_for
    raise exceptions.EndpointNotFound(msg)
EndpointNotFound: publicURL endpoint for data-processing service not found
ERROR: publicURL endpoint for data-processing service not found

Changed in python-saharaclient:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-saharaclient (master)

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

commit d9285278343558634b7a4907b4d78f36ed1f5fee
Author: Andrew Lazarev <email address hidden>
Date: Thu Jan 22 13:46:59 2015 -0800

    Fixed work with 'data_processing' service spelling

    Change-Id: Ie100526fb9995a9d97ad01772f3cc31d0d332d6b
    Closes-Bug: #1413745

Changed in python-saharaclient:
status: Confirmed → Fix Committed
Changed in python-saharaclient:
milestone: none → 0.7.7
assignee: nobody → Andrew Lazarev (alazarev)
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-saharaclient 0.8.0

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

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.