swift proxy is configured with keystone v2.0

Bug #1742654 reported by Juan Antonio Osorio Robles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Juan Antonio Osorio Robles

Bug Description

Originally filed by Rys Oxenham.

Description of problem:

When deploying an overcloud with OSP director/TripleO, it deploys Swift with a configuration to use Keystone v2.0 API. With the initiative to move to v3 for all OpenStack services, this one is not consistent. I've tested Swift with v3 and it works just fine, even disabling v2.0 just to make sure there was nothing hanging around.

Version-Release number of selected component (if applicable):

openstack-tripleo-puppet-elements-7.0.1-2.el7ost.noarch
openstack-tripleo-common-7.6.3-8.el7ost.noarch
openstack-tripleo-image-elements-7.0.1-1.el7ost.noarch
openstack-tripleo-heat-templates-7.0.3-18.el7ost.noarch
openstack-tripleo-ui-7.4.3-4.el7ost.noarch
python-tripleoclient-7.3.3-7.el7ost.noarch
openstack-tripleo-validations-7.4.2-1.el7ost.noarch
puppet-tripleo-7.4.3-11.el7ost.noarch
openstack-tripleo-common-containers-7.6.3-8.el7ost.noarch

How reproducible:

Every time

Steps to Reproduce:
1. Deploy an overcloud with the above package versions
2. Observe that Swift is configured to use v2.0 keystone API
3. Realise that this is inconsistent with the rest of the OpenStack services :)

Actual results:

Deployed using v2.0 Keystone API

Expected results:

Deployed using v3 Keystone API like all other OpenStack services

Additional info:

Before...

[root@overcloud-controller-0 puppet-generated]# grep -r "v2.0" .
./swift/etc/swift/proxy-server.conf:auth_uri=http://172.16.0.25:5000/v2.0

After...

[root@overcloud-controller-0 puppet-generated]# egrep '(auth_version|auth_uri)' ./swift/etc/swift/proxy-server.conf
auth_uri=http://172.16.0.25:5000
auth_version=v3

Changed in tripleo:
status: New → Triaged
assignee: nobody → Juan Antonio Osorio Robles (juan-osorio-robles)
importance: Undecided → Medium
milestone: none → queens-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/532795

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

Reviewed: https://review.openstack.org/532794
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=b9870d4c6cf1ca2e77dcfc7ca4855a8dde7ff5a6
Submitter: Zuul
Branch: master

commit b9870d4c6cf1ca2e77dcfc7ca4855a8dde7ff5a6
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Thu Jan 11 12:12:16 2018 +0200

    Configure auth_uri for swift proxy explicitly without suffix

    This is meant for backporting to pike, since in that version, swift
    proxy is the only service left that's configured with keystone v2.0.
    This fixes that.

    Change-Id: I403868e36000abd10be756dcbdb4ce32700f3fec
    Closes-Bug: #1742654

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/pike)

Change abandoned by Juan Antonio Osorio Robles (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/532795

Changed in tripleo:
milestone: queens-3 → queens-rc1
no longer affects: tripleo/pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.0.0b3

This issue was fixed in the openstack/tripleo-heat-templates 8.0.0.0b3 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.