incorrect endpoints for swift proxy server

Bug #1559207 reported by Serguei Bezverkhi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Serguei Bezverkhi

Bug Description

swift proxy server has incorrect endpoints registered in keystone:
Currently:
openstack endpoint list
+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+
| 8345870decb54334b6fd26f217f0bdf9 | RegionOne | swift | object-store | True | internal | http://192.168.80.205:8080 |
| 9b3184c3881947c58e859f9f0d5132dd | RegionOne | swift | object-store | True | public | http://192.168.80.205:8080 | ee71fe84d4e747498ecb01ca2061db57 | RegionOne | swift | object-store | True | admin | http://192.168.80.205:8080 |
+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+

/v1/%(tenant_id)s
Should be:

+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+
| 8345870decb54334b6fd26f217f0bdf9 | RegionOne | swift | object-store | True | internal | http://192.168.80.205:8080/v1/%(tenant_id)s |
| 9b3184c3881947c58e859f9f0d5132dd | RegionOne | swift | object-store | True | public | http://192.168.80.205:8080/v1/%(tenant_id)s
| ee71fe84d4e747498ecb01ca2061db57 | RegionOne | swift | object-store | True | admin | http://192.168.80.205:8080/v1/%(tenant_id)s |
+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+

Changed in kolla:
assignee: nobody → Serguei Bezverkhi (sbezverk)
Changed in kolla:
status: New → In Progress
Revision history for this message
Serguei Bezverkhi (sbezverk) wrote :

After changing command creating end points, everything works as expected:

 swift -V 3 stat
        Account: AUTH_3a7cfc6a9463467ea81670cded05bc6a
     Containers: 0
        Objects: 0
          Bytes: 0
X-Put-Timestamp: 1458320564.47941
    X-Timestamp: 1458320564.47941
     X-Trans-Id: txc299493afe5b4ebf89428-0056ec34b4
   Content-Type: text/plain; charset=utf-8
[root@sbezverk-osp-5 ~]# openstack endpoint list | grep swift
| 29131af77ccd4d92935fea1f80976247 | RegionOne | swift | object-store | True | admin | http://192.168.80.205:8080/v1 |
| 2d38ba6b4c214dd88663aeef2804c943 | RegionOne | swift | object-store | True | internal | http://192.168.80.205:8080/v1/AUTH_%(tenant_id)s |
| 8bbb566b10c4473d910b6a3aa607d9d3 | RegionOne | swift | object-store | True | public | http://192.168.80.205:8080/v1/AUTH_%(tenant_id)s |

Revision history for this message
Steven Dake (sdake) wrote :

Marking critical because swift is DOA without this change.

Changed in kolla:
importance: Undecided → Critical
milestone: none → mitaka-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/294702
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=05b6995f6340099bc531561f61fb85a1795f5f0d
Submitter: Jenkins
Branch: master

commit 05b6995f6340099bc531561f61fb85a1795f5f0d
Author: Serguei Bezverkhi <email address hidden>
Date: Fri Mar 18 12:23:07 2016 -0400

    Fixes incorrect swift service endpoints

    This bugfix fixes incorrect swift proxy-server endpoint.

    Closes-Bug: #1559207

    Change-Id: Idcdbaedbbde4922b0d5e31557aaf5cfcfdff8636

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/kolla 2.0.0

This issue was fixed in the openstack/kolla 2.0.0 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/kolla 1.1.0

This issue was fixed in the openstack/kolla 1.1.0 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/kolla 3.0.0.0b1

This issue was fixed in the openstack/kolla 3.0.0.0b1 development milestone.

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.