commit 24330771af0b77bb1042e280af5db3c51e8b883b
Author: Thiago da Silva <email address hidden>
Date: Mon Dec 8 21:29:30 2014 -0500
fix dlo manifest file getting versioned
According to documentation dlo manifest files should not
be versioned. This patch fixes this issue and adds
some unit and functional for this scenario.
Change-Id: Ib5b29a19e1d577026deb50fc9d26064a8da81cd7
Signed-off-by: Thiago da Silva <email address hidden>
This patch adds console logging ability to swift-drive-audit.
There are cases where logging to console is necessary when drive-audit
is done. This can be consumed for flagging errors in monitoring tools
such as icinga.
commit bfbf0d1e78ff47937adb06bce648a0b915c838d1
Author: Koert van der Veer <email address hidden>
Date: Mon Dec 15 15:56:13 2014 +0100
Remove unneeded condition
The CName loopkup middleware checked a hostname against the configured
domains. This check is likely a remnant from when cname lookup only
supported a single hostname. Now, however, the configured domain is
actually a list of domains, so checking a single hostname will never
match. The check isn't really needed anyway, as it has been broken since
swift 1.10.
commit f48350865ec1666fd51bf161c339a90aee9ff7cd
Author: Samuel Merritt <email address hidden>
Date: Fri Dec 12 11:56:42 2014 -0800
Add tests for metadata on 304 and 412 responses
Commit 1f67eb74 added support for If-[None-]Match on DLOs and SLOs. It
also made the 304 and 412 responses have the Content-Type and
X-Object-Meta-* headers from the object instead of just having the
Etag.
Someone showed up in IRC today looking for this behavior, and was
happy to learn it's in newer Swift versions than the one they were
running. If we've got clients depending on this, we should have some
unit tests to make sure we don't accidentally take it out again.
commit 2a0a8ae00f2d3b7db255b0905b063e930f824f3d
Author: Nicolas Trangez <email address hidden>
Date: Tue Nov 18 15:57:06 2014 +0100
Rework `splice` and `tee`
This patch reworks the bindings to `splice` and `tee` in order to fix a
(potential) bug when using the old `splice` binding and passing offsets
(see https://review.openstack.org/#/c/135319/ for a discussion of the
issue).
commit bd1ec7f89ce48b7359b97e7c926cc74a43267b2a
Author: James Page <email address hidden>
Date: Wed Oct 8 22:20:03 2014 +0100
Adjust MAX_FILE_SIZE during test on 32 bit systems
The default MAX_FILE_SIZE of (5 * 2 ** 30 + 2) exceeds the
capacity of an int on 32 bit systems; adjust this default
down to (2 ** 30 + 2) if the default exceeds the maxsize of
an int on the platform running the tests.
Reviewed: https:/ /review. openstack. org/143310 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=621089e7be6 24db011a837b760 39fce2d5998470
Committed: https:/
Submitter: Jenkins
Branch: feature/ec
commit 24330771af0b77b b1042e280af5db3 c51e8b883b
Author: Thiago da Silva <email address hidden>
Date: Mon Dec 8 21:29:30 2014 -0500
fix dlo manifest file getting versioned
According to documentation dlo manifest files should not
be versioned. This patch fixes this issue and adds
some unit and functional for this scenario.
Change-Id: Ib5b29a19e1d577 026deb50fc9d260 64a8da81cd7
Signed-off-by: Thiago da Silva <email address hidden>
commit 1ffe6b39534655b 35b84506ef21da6 8803bbd11a
Author: Keshava Bharadwaj <email address hidden>
Date: Thu Dec 11 13:45:38 2014 +0530
Adds console logging to swift-drive-audit
This patch adds console logging ability to swift-drive-audit.
There are cases where logging to console is necessary when drive-audit
is done. This can be consumed for flagging errors in monitoring tools
such as icinga.
DocImpact 2cf6d5b8c64019f 1647c736a3a
Change-Id: Ia1e1effcbd89bd
commit bfbf0d1e78ff479 37adb06bce648a0 b915c838d1
Author: Koert van der Veer <email address hidden>
Date: Mon Dec 15 15:56:13 2014 +0100
Remove unneeded condition
The CName loopkup middleware checked a hostname against the configured
domains. This check is likely a remnant from when cname lookup only
supported a single hostname. Now, however, the configured domain is
actually a list of domains, so checking a single hostname will never
match. The check isn't really needed anyway, as it has been broken since
swift 1.10.
Closes-Bug: #1402704 88f527cae643168 bc725b26f8d
Change-Id: If9ff345b2c7c6d
commit c23a66f66d3a9bf 64276607cd01ca9 ab466077f1
Author: John Dickinson <email address hidden>
Date: Fri Dec 12 16:19:57 2014 -0800
AUTHORS and CHANGELOG update for 2.2.1 release
Change-Id: Ib5c1bb63240457 3a7d8b9e2bfff9c 02f47ab7446
commit f48350865ec1666 fd51bf161c339a9 0aee9ff7cd
Author: Samuel Merritt <email address hidden>
Date: Fri Dec 12 11:56:42 2014 -0800
Add tests for metadata on 304 and 412 responses
Commit 1f67eb74 added support for If-[None-]Match on DLOs and SLOs. It
also made the 304 and 412 responses have the Content-Type and
X-Object-Meta-* headers from the object instead of just having the
Etag.
Someone showed up in IRC today looking for this behavior, and was
happy to learn it's in newer Swift versions than the one they were
running. If we've got clients depending on this, we should have some
unit tests to make sure we don't accidentally take it out again.
Change-Id: If06149d1314014 8463004d426cb7b a4c5601404a
commit b0f9575be3a2ee0 ecdcc5148606391 e7cc042b5a
Author: Nicolas Trangez <email address hidden>
Date: Wed Nov 26 10:02:30 2014 +0100
Splice: Use `operator.or_` instead of a lambda-expression
Suggested by Samuel Merritt in https:/ /review. openstack. org/#/c/ 135319/
Change-Id: I5b86f25b42ffa6 d4f9626dc6eb207 ae0425933a8
commit 2a0a8ae00f2d3b7 db255b0905b063e 930f824f3d
Author: Nicolas Trangez <email address hidden>
Date: Tue Nov 18 15:57:06 2014 +0100
Rework `splice` and `tee`
This patch reworks the bindings to `splice` and `tee` in order to fix a /review. openstack. org/#/c/ 135319/ for a discussion of the
(potential) bug when using the old `splice` binding and passing offsets
(see https:/
issue).
The new binding code (based on https:/ /github. com/NicolasT/ tee-n-splice)
uses more `ctypes` features w.r.t. parameter and return value handling.
It also introduces a test suite for both calls.
Change-Id: Ib8084ca20fe7a1 99a00067da9386c 2ccf618755c
commit bd1ec7f89ce48b7 359b97e7c926cc7 4a43267b2a
Author: James Page <email address hidden>
Date: Wed Oct 8 22:20:03 2014 +0100
Adjust MAX_FILE_SIZE during test on 32 bit systems
The default MAX_FILE_SIZE of (5 * 2 ** 30 + 2) exceeds the
capacity of an int on 32 bit systems; adjust this default
down to (2 ** 30 + 2) if the default exceeds the maxsize of
an int on the platform running the tests.
Closes-Bug: #1378810
Change-Id: Iafa2ce90ceb2de 4e968ad48580270 c8c572a9c9c