S3 API Broken For >= Kilo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack swift-proxy charm |
Critical
|
Edward Hope-Morley | ||
| Ubuntu Cloud Archive |
Undecided
|
Unassigned | ||
| Mitaka |
Undecided
|
Unassigned | ||
| Newton |
Undecided
|
Unassigned | ||
| Ocata |
Undecided
|
Unassigned | ||
| Pike |
Undecided
|
Unassigned | ||
| Queens |
Undecided
|
Unassigned |
Bug Description
Seems we got ahead of ourselves in commit 25a2ea7f and broke the S3 api by changing the swift3 middleware config to something that is not supported until the Newton version (1.11) of swift-plugin-s3. In the swift-proxy charm for >= Kilo we currently have:
-------
[filter:s3token]
paste.filter_
auth_uri = {{ auth_protocol }}://{{ keystone_host }}:{{ auth_port }}
[filter:swift3]
use = egg:swift3#swift3
-------
but that is broken in (at least) two ways; firstly swift3 (swift-plugin-s3) didn't switch to use auth_uri until 1.11 which is not available until Newton and secondly, when you switch to 1.11 you then need to change the s3token config to:
-------
[filter:s3token]
use = egg:swift3#s3token
auth_uri = http://
[filter:swift3]
use = egg:swift3#swift3
-------
Changed in charm-swift-proxy: | |
status: | Confirmed → In Progress |
description: | updated |
Edward Hope-Morley (hopem) wrote : | #2 |
Ok so there is an added issue here in that successive releases of ubuntu have newer versions of swift-plugin-s3 BUT the Ubuntu cloud archive does not (until Queens which has 1.12-1). So, I will need to modify my patch so that the same config is used until Queens and change at a later time for prior Xenial UCA releases should this ever get resolved.
[0] https:/
[1] http://
Edward Hope-Morley (hopem) wrote : | #3 |
And more issues... It seems that since Newton->Pike UCA do have newer deps such as python-
Edward Hope-Morley (hopem) wrote : | #4 |
And it seems that Trusty Mitaka UCA will also fall foul to this until the UCA packages are updated.
James Page (james-page) wrote : | #5 |
Raising tasks for the UCA; Queens is already underway.
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit a256263c79236be
Author: Edward Hope-Morley <email address hidden>
Date: Wed Dec 13 19:10:56 2017 +0000
Fix S3 API for >= Kilo
From Kilo onwards the swift-proxy charm is
misconfiguring the swift3 middleware such that
the api is unable to respond to any requests.
We fix this by providing working config for
Kilo onwards.
NOTE: see LP for full explanation but due to
problems with package version mismatches in the
UCA this patch only fixes Trusty Kilo, (L is
EOL) and Xenial Mitaka.
Change-Id: Ice5690e7f06ffc
Closes-Bug: 1738063
Changed in charm-swift-proxy: | |
status: | In Progress → Fix Committed |
Fix proposed to branch: stable/17.11
Review: https:/
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: stable/17.11
commit 37cfb1c504f1dbd
Author: Edward Hope-Morley <email address hidden>
Date: Wed Dec 13 19:10:56 2017 +0000
Fix S3 API for >= Kilo
From Kilo onwards the swift-proxy charm is
misconfiguring the swift3 middleware such that
the api is unable to respond to any requests.
We fix this by providing working config for
Kilo onwards.
NOTE: see LP for full explanation but due to
problems with package version mismatches in the
UCA this patch only fixes Trusty Kilo, (L is
EOL) and Xenial Mitaka.
Change-Id: Ice5690e7f06ffc
Closes-Bug: 1738063
(cherry picked from commit a256263c79236be
Changed in charm-swift-proxy: | |
status: | Fix Committed → Fix Released |
Corey Bryant (corey.bryant) wrote : | #9 |
Hi Edward,
I've backported the following to corresponding cloud archive proposed pockets for testing:
newton: swift-plugin-s3 1.10-3~cloud0
ocata: swift-plugin-s3 1.11-2~cloud0
pike: swift-plugin-s3 1.11-2~cloud0
Thanks,
Corey
Edward Hope-Morley (hopem) wrote : | #10 |
@corey.bryant thanks I will test those today. Don't forget that we also need to make Trusty Mitaka UCA parity with Xenial (which has 1.10-1)
Edward Hope-Morley (hopem) wrote : | #11 |
@corey.bryant actually I see in http://
Corey Bryant (corey.bryant) wrote : | #12 |
There was a hash mismatch in the cloud archive with ocata and pike having the same versions. That's been fixed and the packages are now syncing to proposed.
I need to look into the build failure for Mitaka.
Corey Bryant (corey.bryant) wrote : | #13 |
swift-plugin-s3 1.10-1~cloud1 is available now in mitaka-proposed.
tags: | added: sts-sru-needed |
Corey Bryant (corey.bryant) wrote : | #14 |
Newton is end of life.
tags: | removed: sts-sru-needed |
Fix proposed to branch: master /review. openstack. org/527763
Review: https:/