wrong sahara endpoint

Bug #1629895 reported by Eduardo Gonzalez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Eduardo Gonzalez

Bug Description

Sahara endpoint need version and tenant_id in order to make it run:

ENDPOINT_URL:SAHARA_PORT/v1.1/%\(tenant_id\)s

[root@control ~]# openstack --debug dataprocessing cluster list

REQ: curl -g -i -X GET http://192.168.10.3:8386/clusters -H "User-Agent: python-saharaclient" -H "X-Auth-Token: {SHA1}ea55c832583efc9de8af72591543c9e728475539"
Starting new HTTP connection (1): 192.168.10.3
"GET /clusters HTTP/1.1" 404 66
RESP: [404] Content-Length: 66 Content-Type: text/plain; charset=UTF-8 X-Openstack-Request-Id: req-6923f860-b33a-4952-95f3-196e59d5b82b Date: Mon, 03 Oct 2016 11:32:01 GMT
RESP BODY: 404 Not Found

The resource could not be found.

 Incorrect path

[root@control ~]# openstack endpoint list | grep sahara
| 109363ba84e14f4dae733fb60eb37e5e | RegionOne | sahara | data_processing | True | public | http://192.168.10.3:8386 |
| 3f52ccff54c54f319d9c556537a4d963 | RegionOne | sahara | data_processing | True | admin | http://192.168.10.3:8386 |
| 93b2026672834329947dab592d3f228d | RegionOne | sahara | data_processing | True | internal | http://192.168.10.3:8386

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

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

Reviewed: https://review.openstack.org/381188
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=7370e01b4a9c9a97b84dbdad61528f663534db7a
Submitter: Jenkins
Branch: master

commit 7370e01b4a9c9a97b84dbdad61528f663534db7a
Author: Eduardo Gonzalez <email address hidden>
Date: Mon Oct 3 17:23:52 2016 +0200

    Fix sahara endpoint url

    Sahara endpoint need api version and tenant_id
    in the URL, otherwise will fail with an incorrect
    path/resource could not be found.

    Change-Id: I348919b8ff1d00a1f6ce782f07ce2354201bac8b
    Closes-Bug: #1629895

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 3.0.0.0rc2

This issue was fixed in the openstack/kolla 3.0.0.0rc2 release candidate.

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.