swift integration not keystone v3 compatible

Bug #1752027 reported by James Page
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Glance Charm
Fix Released
Medium
James Page
OpenStack Keystone Charm
Fix Released
Medium
James Page

Bug Description

The swift storage configuration in the glance templates hard codes authentication to v2, so @queens where v2 has been removed, the integration is not functional.

Implementing v3 support is a little awkward due to:

a) the pattern for v3 configuration involves using a new configuration file (glance-swift.conf) and referencing that from the main config file - I'll dig in a little to see if we can do this via the [DEFAULT] section as we do for v2 but that's not looking hopeful.

b) AFAICT based on testing the configuration also needs the service domain id to be passed from the keystone charm to the glance charm on the identity-service relation - this is not done today.

This issue was revealed whilst enabling queens testing for the swift-proxy charm, which uses glance to validate that everything is functional.

James Page (james-page)
Changed in charm-keystone:
status: New → Triaged
Changed in charm-glance:
status: New → Triaged
importance: Undecided → Medium
Changed in charm-keystone:
importance: Undecided → Medium
Changed in charm-glance:
milestone: none → 18.05
Changed in charm-keystone:
milestone: none → 18.05
James Page (james-page)
Changed in charm-glance:
milestone: 18.05 → 18.02
Changed in charm-keystone:
milestone: 18.05 → 18.02
James Page (james-page)
Changed in charm-glance:
assignee: nobody → James Page (james-page)
Changed in charm-keystone:
assignee: nobody → James Page (james-page)
Changed in charm-glance:
status: Triaged → In Progress
Changed in charm-keystone:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-glance (master)

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

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

Reviewed: https://review.openstack.org/548264
Committed: https://git.openstack.org/cgit/openstack/charm-keystone/commit/?id=bd29991439bd264bc0c5dcf3d8be9aa7da6d0aa0
Submitter: Zuul
Branch: master

commit bd29991439bd264bc0c5dcf3d8be9aa7da6d0aa0
Author: James Page <email address hidden>
Date: Tue Feb 27 12:46:01 2018 +0000

    Provide service domain id for v3 deployments

    The glance swift store configuration requires use of the domain
    id for the service domain; update data set for identity-service
    relation to include service_domain_id.

    Change-Id: Ie6e2733f34de10a4d34b18dbf1fd9ba623af0e18
    Closes-Bug: 1752027

Changed in charm-keystone:
status: In Progress → Fix Committed
Ryan Beisner (1chb1n)
Changed in charm-glance:
milestone: 18.02 → 18.05
Ryan Beisner (1chb1n)
Changed in charm-keystone:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-glance (master)

Reviewed: https://review.openstack.org/548516
Committed: https://git.openstack.org/cgit/openstack/charm-glance/commit/?id=4d1d7f5a3f9fbaf1bffa3384e037e40a2b54b677
Submitter: Zuul
Branch: master

commit 4d1d7f5a3f9fbaf1bffa3384e037e40a2b54b677
Author: James Page <email address hidden>
Date: Tue Feb 27 15:13:49 2018 +0000

    Fix keystone v3 support with swift backend

    Refactor configuration for mitaka onwards, where the
    authentication details for swift storage are in a new
    glance-swift.conf configuration file.

    Update for Keystone v3 support as required for
    queens or later, where the v2 API has been dropped.

    Closes-Bug: 1752027
    Depends-On: Ie6e2733f34de10a4d34b18dbf1fd9ba623af0e18
    Change-Id: Ibcc36ca22d72d310921f840e6081608be1fbc7e1

Changed in charm-glance:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-glance (stable/18.02)

Fix proposed to branch: stable/18.02
Review: https://review.openstack.org/553724

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-glance (stable/18.02)

Reviewed: https://review.openstack.org/553724
Committed: https://git.openstack.org/cgit/openstack/charm-glance/commit/?id=c9b3eb6bbd0422b94462a48cf8386babdd6956ff
Submitter: Zuul
Branch: stable/18.02

commit c9b3eb6bbd0422b94462a48cf8386babdd6956ff
Author: James Page <email address hidden>
Date: Tue Feb 27 15:13:49 2018 +0000

    Fix keystone v3 support with swift backend

    Refactor configuration for mitaka onwards, where the
    authentication details for swift storage are in a new
    glance-swift.conf configuration file.

    Update for Keystone v3 support as required for
    queens or later, where the v2 API has been dropped.

    Closes-Bug: 1752027
    Depends-On: Ie6e2733f34de10a4d34b18dbf1fd9ba623af0e18
    Change-Id: Ibcc36ca22d72d310921f840e6081608be1fbc7e1
    (cherry picked from commit 4d1d7f5a3f9fbaf1bffa3384e037e40a2b54b677)

David Ames (thedac)
Changed in charm-glance:
status: Fix Committed → Fix Released
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.