commit 94bac4ab2fe65104d602378e8e49c37b8187a75d
Author: Tim Burke <email address hidden>
Date: Fri May 12 10:55:21 2017 -0400
domain_remap: stop mangling client-provided paths
The root_path option for domain_remap seems to serve two purposes:
- provide the first component (version) for the backend request
- be an optional leading component for the client request, which
should be stripped off
As a result, we have mappings like:
c.a.example.com/v1/o -> /v1/AUTH_a/c/o
instead of
c.a.example.com/v1/o -> /v1/AUTH_a/c/v1/o
which is rather bizarre. Why on earth did we *ever* start doing this?
Now, this second behavior is managed by a config option
(mangle_client_paths) with the default being to disable it.
Upgrade Consideration
=====================
If for some reason you *do* want to drop some parts of the
client-supplied path, add
mangle_client_paths = True
to the [filter:domain_remap] section of your proxy-server.conf. Do this
before upgrading to avoid any loss of availability.
Preserve X-Static-Large-Object from .data file after POST
You can't modify the X-Static-Large-Object metadata with a POST, an
object being a SLO is a property of the .data file. Revert the change
from 4500ff which attempts to correctly handle X-Static-Large-Object
metadata on a POST, but is subject to a race if the most recent SLO
.data isn't available during the POST. Instead this change adjusts the
reading of metadata such that the X-Static-Large-Object metadata is
always preserved from the metadata on the datafile and bleeds through
a .meta if any.
Closes-bug: #1453807
Closes-bug: #1634723
Co-Authored-By: Kota Tsuyuzaki <email address hidden>
Change-Id: Ie48a38442559229a2993443ab0a04dc84717ca59
commit 9c3c3880916dced3e04165c6a3dd79ec5ebb281b
Author: Alistair Coles <email address hidden>
Date: Wed Jun 7 11:33:29 2017 +0100
Improve domain_remap docs
* Make the conditions for remapping clearer
* Mention the path_root
* Mention '-' -> '_' replacement in account names
* Make example consistent with default options
commit 808ff4fff74415d94d620f74501d28d38f451990
Author: Tim Burke <email address hidden>
Date: Thu Jun 15 16:08:43 2017 -0700
Ignore all auditor_status_*.json files in reconstructor
...just like we do for the replicator. This allows third parties to define
custom audit types that re-use the object_audit_location_generator API
without having the reconstructor yell at them.
commit 849d204c596c9089dab606ece72c84092ad156ca
Author: Tim Burke <email address hidden>
Date: Fri May 12 10:43:30 2017 -0400
domain_remap: be more careful about client-path mangling
The root_path option for domain_remap seems to serve two purposes:
- provide the first component (version) for the backend request
- be an optional leading component for the client request, which
should be stripped off
Reviewed: https:/ /review. openstack. org/511941 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=ded03438927 87e4a33eea7c4f0 eb14a999ec63d8
Committed: https:/
Submitter: Jenkins
Branch: feature/deep
commit 407f5394f0f5cb4 22c06b4e5b2f9fb fdb07782d1
Author: OpenStack Proposal Bot <email address hidden>
Date: Thu Oct 12 08:12:38 2017 +0000
Imported Translations from Zanata
For more information about this automatic import see: /docs.openstack .org/i18n/ latest/ reviewing- translation- import. html
https:/
Change-Id: I628cb09aa78d8e 339b4762a3c9ed8 aed43941261
commit 45ca39fc68cdb42 b382c1638a92cc8 d3cec5529a
Author: Clay Gerrard <email address hidden>
Date: Tue Oct 10 11:47:50 2017 -0700
add mangle_client_paths to example config
Change-Id: Ic1126fc95e8152 025fccf25356c25 3facce3e3ec
commit 94bac4ab2fe6510 4d602378e8e49c3 7b8187a75d
Author: Tim Burke <email address hidden>
Date: Fri May 12 10:55:21 2017 -0400
domain_remap: stop mangling client-provided paths
The root_path option for domain_remap seems to serve two purposes:
- provide the first component (version) for the backend request
- be an optional leading component for the client request, which
should be stripped off
As a result, we have mappings like:
instead of
which is rather bizarre. Why on earth did we *ever* start doing this?
Now, this second behavior is managed by a config option client_ paths) with the default being to disable it.
(mangle_
Upgrade Consideration ======= ======= ====
===
If for some reason you *do* want to drop some parts of the
client-supplied path, add
to the [filter: domain_ remap] section of your proxy-server.conf. Do this
before upgrading to avoid any loss of availability.
UpgradeImpact e1fc36dbc791030 5fa1f11eeed
Change-Id: I87944bfbf8b767
commit a4a5494fd2fe8a4 3a5d50a21a19512 66cc7c4212
Author: Alistair Coles <email address hidden>
Date: Mon Oct 9 11:33:28 2017 +0100
test account autocreate listing format
Related-Change: Id3ce37aa0402e2 d8dd5784ce329d7 cb4fbaf700d 71600bea9158bda 1edd18b48b0
Change-Id: I50c22225bbebff
commit 8b7f15223cde4c1 9fd9cbbd97e8ad7 9a1b4afa8d
Author: Alistair Coles <email address hidden>
Date: Mon Oct 9 10:06:19 2017 +0100
Add example to container- sync-realms. conf.5 man page
Related-Change: I0760ce149e6d74 f2b3f1badebac3e 36da1ab7e77
Change-Id: I129de42f91d792 4c7bcb9952f17fe 8a1a10ae219
commit 816331155c624c4 44ed123bcab4128 21bd7854fb
Author: HCLTech-SSW <email address hidden>
Date: Fri Oct 6 01:37:34 2017 -0700
Added the man page for container- sync-realms. conf
Updated the comments of reviewers.
Change-Id: I0760ce149e6d74 f2b3f1badebac3e 36da1ab7e77
Closes-Bug: #1607026
commit 747b9d928624a3f 44f1f9f02694895 97cddc5997
Author: Jan Zerebecki <email address hidden>
Date: Wed Oct 4 21:14:03 2017 +0200
Fix swift-ring-builder set_weight with >1 device
When iterating over the (device, weight) tuples do not carry over the
device from the previous iteration.
Closes-Bug: 1454433 0e2c1abbed308b6 51c4da4b06a
Change-Id: Iba82519b0b2bc8
commit 839c13003aea955 c48e77269d4d40a 567e07dd44
Author: Tim Burke <email address hidden>
Date: Wed Oct 4 18:59:49 2017 +0000
Stop clearing params for account_autocreate responses
Otherwise, we send back a 204 where middlewares should be expecting
a 200 and an empty JSON array.
Change-Id: I05549342327108 f71b60a316f734c 55bc9589915 d8dd5784ce329d7 cb4fbaf700d
Related-Change: Id3ce37aa0402e2
commit 4665c175be7f529 9b577925e922a59 dfa33ada8c
Author: Tim Burke <email address hidden>
Date: Mon Oct 2 22:56:42 2017 +0000
Clean up SLO tests and docs
Change-Id: If7087cb674d6c5 75c4073ba09b5ef 056d908655b
commit 79905ae794db2da 82c8834dc24177b 1820b8c53a
Author: Tim Burke <email address hidden>
Date: Wed Sep 27 22:10:42 2017 +0000
Replace SOSO auth prefix in examples with more-standard AUTH
Change-Id: I98643d6acf2488 40a8360f31e446b c8ecb834898
commit 4716d3da1188eb2 f2971004461554b 05d0061ec6
Author: Tim Burke <email address hidden>
Date: Wed Sep 27 22:05:40 2017 +0000
swift- account- audit: compare each etag to the hash from container
...rather than only comparing the ETag from the last response over and
over again.
NB: This tool *does not* like EC data :-(
Change-Id: Idd37f94b07f607 ab8a404dd986760 361c39af029
Closes-Bug: 1266636
commit 36a843be73e2d58 c3fe49a049d514b 421124bd06
Author: Clay Gerrard <email address hidden>
Date: Mon Jun 27 17:31:12 2016 -0700
Preserve X-Static- Large-Object from .data file after POST
You can't modify the X-Static- Large-Object metadata with a POST, an Large-Object Large-Object metadata is
object being a SLO is a property of the .data file. Revert the change
from 4500ff which attempts to correctly handle X-Static-
metadata on a POST, but is subject to a race if the most recent SLO
.data isn't available during the POST. Instead this change adjusts the
reading of metadata such that the X-Static-
always preserved from the metadata on the datafile and bleeds through
a .meta if any.
Closes-bug: #1453807
Closes-bug: #1634723
Co-Authored-By: Kota Tsuyuzaki <email address hidden> 9a2993443ab0a04 dc84717ca59
Change-Id: Ie48a3844255922
commit c662e5fc8e7800c a516468aaab582c 146063c3d6
Author: Alistair Coles <email address hidden>
Date: Tue Sep 26 10:15:59 2017 +0100
Add account_ autocreate= true to internal- client. conf-sample
Closes-Bug: #1698426 0f4da4a0dc8270b 408241ec415
Change-Id: I8a29a685bb12e6
commit f90ba1acb052ca5 722eccbc8611d86 efa81c3f6b
Author: Tim Burke <email address hidden>
Date: Fri Mar 3 20:56:39 2017 +0000
Use swift3's check_signature function
This adds support for v4 while getting us out of needing to know
how signatures work.
Related-Change: Iafb6114c12deb9 a40d0f8324611de 27b48ed95f6 f8f73bc46a416c0 9e4b9449515
Change-Id: I14be2845101f6a
commit 9c3c3880916dced 3e04165c6a3dd79 ec5ebb281b
Author: Alistair Coles <email address hidden>
Date: Wed Jun 7 11:33:29 2017 +0100
Improve domain_remap docs
* Make the conditions for remapping clearer
* Mention the path_root
* Mention '-' -> '_' replacement in account names
* Make example consistent with default options
Change-Id: Ifd3f3775bb8b13 367d964010f3581 3018b5b41b3
commit 808ff4fff74415d 94d620f74501d28 d38f451990
Author: Tim Burke <email address hidden>
Date: Thu Jun 15 16:08:43 2017 -0700
Ignore all auditor_ status_ *.json files in reconstructor
...just like we do for the replicator. This allows third parties to define audit_location_ generator API
custom audit types that re-use the object_
without having the reconstructor yell at them.
Change-Id: I4372a1712a1127 05c1f906386b1cb 55901256295 db6eb263c7755f1 363d1430048 e32432c1998aefe 638ca3b223b
Related-Change: I2f3d0bd2f1e242
Related-Change: Ib15a0987288d9e
commit 849d204c596c908 9dab606ece72c84 092ad156ca
Author: Tim Burke <email address hidden>
Date: Fri May 12 10:43:30 2017 -0400
domain_remap: be more careful about client-path mangling
The root_path option for domain_remap seems to serve two purposes:
- provide the first component (version) for the backend request
- be an optional leading component for the client request, which
should be stripped off
As a result, we have mappings like:
c. a.example. com/ -> /v1/AUTH_a/c/ a.example. com/o -> /v1/AUTH_a/c/o a.example. com/v1/ o -> /v1/AUTH_a/c/o
c.
c.
Currently, we don't really care about whether there was a full- or
partial-match in that first component, leading to mappings like
c. a.example. com/v1o -> /v1/AUTH_a/c/o
If we're going to continue supporting that second function, we should
only consider full-matches, so we'll have
c. a.example. com/v1o -> /v1/AUTH_a/c/v1o
Change-Id: Ibdc97bb8daf117 ad46177617f170d 03e481b0007