[data processing] Make sahara service_type backwards compatible

Bug #1433794 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Unassigned

Bug Description

In kilo, the sahara service type was changed from data_processing to data-processing: https://github.com/openstack/horizon/commit/8c4a2cd1265c86d3493b82cb9d1277a2274f63cf

If a user is still in Juno, this would not be backwards compatible.

Add a fallback to check for "data_processing" when reading the service_catalog.

David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
status: Confirmed → In Progress
summary: - Make sahara service_type backwards compatible
+ [data processing] Make sahara service_type backwards compatible
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/165636
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=54d4bf10f0e961dd408ebd42f571ede1da18c65f
Submitter: Jenkins
Branch: master

commit 54d4bf10f0e961dd408ebd42f571ede1da18c65f
Author: Ravi Repaka <email address hidden>
Date: Wed Mar 18 22:09:03 2015 +0000

    Add fallback on sahara endpoint lookup

    In Juno, sahara is registered as 'data_processing' in the catalog.

    When endpoint for 'data-processing' is not found in service catalog,
    fallback lookup to 'data_processing' to maintain backwards compatibility
    with Juno.

    Change-Id: I2c1e6342f21080d7209c584c91379b4d22c517a2
    Closes-Bug: #1433794

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-3 → 2015.1.0
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.