Wishlist: Add swift3 middleware

Bug #1625053 reported by Alexey 'Fenuks' Rusetsky
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Wishlist
Charles Farquhar

Bug Description

Many tools/libs can work with object storage through Amazon S3 api, which is implemented in openstack as Swift3 (https://github.com/openstack/swift3).
Would be great to have it in OSA, as currently there are not that many libs that can work with Swift directly. And it requires an account, that would have full access to openstack tenant, to store objects from application in a swift container.

Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to openstack-ansible-os_swift (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/374416

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to openstack-ansible (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/374511

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/374511
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=1c0da7e52a0f44397db799d5e529c1b415ca5183
Submitter: Jenkins
Branch: master

commit 1c0da7e52a0f44397db799d5e529c1b415ca5183
Author: Charles Farquhar <email address hidden>
Date: Wed Sep 21 21:41:58 2016 -0500

    Add Swift3 middleware to openstack_services

    This change causes the repo building process to clone the swift3
    middleware repo so a swift3 wheel can be built.

    Change-Id: If8ec396da90532b390975aab151e2439597fbc6a
    Related-Bug: 1625053

Revision history for this message
Alexey 'Fenuks' Rusetsky (fenuks-uh) wrote :

I was able to port those patches onto 13.3.15 (Newton) and playbooks (repo-build and os-swift-install) ran without failures. Swift restated and is working as before.

But looks like in order to work with swift3 one requires ec2 credentials. Even though cli seem to support them, openstack (keystone I presume) does not. Running 'openstack ec2 credentials create' returns 'Could not find requested endpoint in Service Catalog.'

Another middleware might be required — https://github.com/openstack/ec2-api
Without it swift3 is unusable, even if operational.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible-os_swift (master)

Reviewed: https://review.openstack.org/374416
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_swift/commit/?id=14c57dd419411d7d97797c7a560b51dac91ea219
Submitter: Jenkins
Branch: master

commit 14c57dd419411d7d97797c7a560b51dac91ea219
Author: Charles Farquhar <email address hidden>
Date: Tue Sep 20 21:44:50 2016 +0000

    Add support for swift3 middleware

    This commit adds support for the swift3 middware, which allows S3-compatible
    clients to use swift for object storage.

    Change-Id: I56cd63057cc771310b69c311d975e06f73c773f7
    Related-Bug: 1625053

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to openstack-ansible-os_swift (stable/ocata)

Related fix proposed to branch: stable/ocata
Review: https://review.openstack.org/477676

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: stable/ocata
Review: https://review.openstack.org/477682

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-ansible-os_swift (stable/ocata)

Change abandoned by Charles Farquhar (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/477676
Reason: Ugh. I messed something up with the Change-Id. Please see https://review.openstack.org/#/c/477682/ .

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible-os_swift (stable/ocata)

Reviewed: https://review.openstack.org/477682
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_swift/commit/?id=5233a587f242ae5ccab7d7563a33a9f96556a9d6
Submitter: Jenkins
Branch: stable/ocata

commit 5233a587f242ae5ccab7d7563a33a9f96556a9d6
Author: Charles Farquhar <email address hidden>
Date: Tue Sep 20 21:44:50 2016 +0000

    Add support for swift3 middleware

    This commit adds support for the swift3 middware, which allows
    S3-compatible clients to use swift for object storage.

    The backport was modified slighly from the master commit to use
    `stable/ocata` for `swift_git_install_branch`.

    Change-Id: I56cd63057cc771310b69c311d975e06f73c773f7
    Related-Bug: 1625053
    (cherry picked from commit 14c57dd419411d7d97797c7a560b51dac91ea219)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to openstack-ansible (stable/ocata)

Related fix proposed to branch: stable/ocata
Review: https://review.openstack.org/479859

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible (stable/ocata)

Reviewed: https://review.openstack.org/479859
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=1594bcab8640d16c138cf0c61acecb553ec3c930
Submitter: Jenkins
Branch: stable/ocata

commit 1594bcab8640d16c138cf0c61acecb553ec3c930
Author: Jesse Pretorius <email address hidden>
Date: Mon Jul 3 16:13:08 2017 +0100

    Add Swift3 middleware to openstack_services

    This change causes the repo building process to clone the swift3
    middleware repo so a swift3 wheel can be built.

    Combined backport of:
    https://review.openstack.org/374511
    https://review.openstack.org/479855

    Change-Id: If8ec396da90532b390975aab151e2439597fbc6a
    Related-Bug: 1625053

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/479855
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=05f7979426537568066852b89c0d6c1a4d1080a5
Submitter: Jenkins
Branch: master

commit 05f7979426537568066852b89c0d6c1a4d1080a5
Author: Jesse Pretorius <email address hidden>
Date: Mon Jul 3 16:03:27 2017 +0100

    Correct swift3 repo variable names

    With I56cd63057cc771310b69c311d975e06f73c773f7 now merged,
    the correct variables need to be used to ensure that they
    match.

    Related-Bug: 1625053
    Change-Id: Ib82b6703655dca35e6eff759ec966e715cceb45a

Changed in openstack-ansible:
assignee: nobody → Charles Farquhar (cfarquhar)
status: Confirmed → 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.