commit a505d02b3762ecbe7ea80b968ddec90ca3446549
Author: Chris Smart <email address hidden>
Date: Sat Nov 2 20:48:47 2019 +1100
Tweak Swift AIO docs, update CentOS and Fedora
The Swift AIO documentation is out of date for CentOS and Fedora.
This patch updates the documentation to ensure that the instructions are
clear and accurate.
It also cleans up a few other sections along the way and adds some new
headings to make it easier to read. Some explanatory notes are added,
such as the need for XFS storage and test directories. XFS tmp loopback
device is moved out of the user's home directory to /srv to match
storage.
Change-Id: Ieb0341536b7149c99139a1cf620828eba25f4bc6
Signed-off-by: Chris Smart <email address hidden>
commit 281ffab2a52f348aa3f8ad39e800a43c6047e1cf
Author: Thiago da Silva <email address hidden>
Date: Fri Nov 1 09:57:34 2019 +0200
commit 85d3658d6297efbe9a588d1b4364a2a68f9e5bb7
Author: Thomas Goirand <email address hidden>
Date: Fri Oct 11 14:12:01 2019 +0200
Fix kms_keymaster under Python 3
Depending on how the key was stored in Barbican, it may come out of
Castellan as a native string, which would not be suitable on Python 3.
Now, check that the secret is a byte string, and if it isn't, encode as
UTF-8 (to match Barbican's internal encoding).
commit 405a2b2a55866b74f196ad81eaafedeee4615fa8
Author: Tim Burke <email address hidden>
Date: Sun Oct 13 21:55:54 2019 -0700
py3: Fix swift-drive-audit
Walking through the kernel logs backwards requires that we open them
in binary mode. Add a new option to allow users to specify which
encoding should be used to interpret those logs; default to the same
encoding that open() uses for its default.
Several tools are returning a misleading error message if swift.conf is
missing or not readable by the user, stating that the hash pre-/suffixes
are missing. Let's fix this by catching the real issue down below.
commit d667affb6f0b0b125901a0c002ddb00322a8e4f4
Author: Thiago da Silva <email address hidden>
Date: Wed Oct 9 16:24:12 2019 +0200
Create segment container w/ same policy as primary
When users upload an MPU object, s3api will automatically
create a segment container if one doesn't already exist.
Currently, s3api will create the segment bucket using the
cluster's default storage policy. This patch changes that
behavior to use the same storage policy as the primary bucket.
commit 98f9781096f4f8f989e11f52fee0ec145fb5a173
Author: Christian Schwede <email address hidden>
Date: Sat Mar 12 06:36:46 2016 +0000
Add commands to ring-builder to change region / zone
Currently one has to remove and re-add devices when the region or zone needs to
be changed. Adding the subcommands set_region and set_zone simplifies this, now
it is possible to change the region and/or zone easily. Note that there is no
change to the required rebalancing; it is likely that data still needs to be
moved within the cluster.
This is mostly copy-n-paste of the existing set_weight subcommand and adopting
tests accordingly. Some duplicated code in the tests has been aggregated as
well.
commit bb5fa0ea2e5be9d7537f31091015e816796499ba
Author: Pete Zaitcev <email address hidden>
Date: Fri May 3 14:51:47 2019 -0500
tests: bust md5 of object not footers
The test test_PUT_ec_fragment_quorum_archive_etag_mismatch
busts the md5 in server.py, so it ends damaging the md5 of
footers instead of the fragment archive. It appears that the
intention of the test was to check the integrity verification
for fragment archive, so change the test to bust diskfile.py
instead.
Reviewed: https:/ /review. opendev. org/693283 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=dbfb6a6fc90 cb3367ed2248572 089ee3cbafc15a
Committed: https:/
Submitter: Zuul
Branch: feature/losf
commit 7cb92810acfd3cd 598860aefadff8f ba47e3efdd
Author: SeongSoo Cho <email address hidden>
Date: Wed Nov 6 15:32:56 2019 +0800
Fix bug internal client's delete_object logs 499
Internal Client's doest not read body for 404.
So, When internal deleing object that not existed, proxy-server logs
its response code to 499.
In this patch, add a code that drain the reponse body to prevent
unexpected disconnect in proxy-server
Change-Id: I6d170fead798d0 d539c69d27a6fa8 a2d0123ca99
Closes-Bug: #1835324
commit c512574e110c214 396658743e75ae4 97ba76e2ff
Author: Tim Burke <email address hidden>
Date: Tue Nov 5 01:45:26 2019 +0000
Make our py2 func tests more explicitly py2
...because otherwise, I think they might be running under py3 right now.
Change-Id: I96ad9e5ed87a7e 08d06e889233730 cec476d3af7
commit a505d02b3762ecb e7ea80b968ddec9 0ca3446549
Author: Chris Smart <email address hidden>
Date: Sat Nov 2 20:48:47 2019 +1100
Tweak Swift AIO docs, update CentOS and Fedora
The Swift AIO documentation is out of date for CentOS and Fedora.
This patch updates the documentation to ensure that the instructions are
clear and accurate.
It also cleans up a few other sections along the way and adds some new
headings to make it easier to read. Some explanatory notes are added,
such as the need for XFS storage and test directories. XFS tmp loopback
device is moved out of the user's home directory to /srv to match
storage.
Change-Id: Ieb0341536b7149 c99139a1cf62082 8eba25f4bc6
Signed-off-by: Chris Smart <email address hidden>
commit 281ffab2a52f348 aa3f8ad39e800a4 3c6047e1cf
Author: Thiago da Silva <email address hidden>
Date: Fri Nov 1 09:57:34 2019 +0200
pin lower-constraints to run against python 2.7
Change-Id: I5c856012a04ef8 f910c28b0248ea7 bcda47e4816
commit 0c1b485ad671fc0 abac15cd0bbec89 4e517e1dd9
Author: John Dickinson <email address hidden>
Date: Thu Oct 17 09:43:55 2019 -0700
exclude utf8 tests under py3
These are known to not work until https:/ /bugs.python. org/issue37093
is addressed in CPython upstream.
Change-Id: I4a6877907d14b6 32a9a477c887913 488427b62b7
commit dd235b6ac0757e3 4805b041d331511 c957764f3e
Author: Clay Gerrard <email address hidden>
Date: Mon Oct 28 11:27:58 2019 -0500
use request_helpers import namespace for tests
Change-Id: I8e18ff2036312d 3049a420f3332a6 ea6110447c4
commit b75d5939352c405 ab82ab52c3a9a1c 3ad030aa26
Author: Clay Gerrard <email address hidden>
Date: Fri Oct 25 14:34:41 2019 -0500
Refactor timestamp iter in db backend tests
Change-Id: I61d044a6d778e1 58af73a3f4d9fc7 5d642af0beb
commit 739c3704107bd99 1493472c18bfe7a c5f933077c
Author: OpenStack Proposal Bot <email address hidden>
Date: Fri Oct 18 07:10:33 2019 +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: I7a72be3568c2e8 afd7211978cd917 810c9af22ad
commit 2ac50079c1a9f2d fe2db4f9671d823 086915e9d2
Author: Tim Burke <email address hidden>
Date: Thu Oct 17 09:52:50 2019 -0700
docs: Fix then/than grammar
Change-Id: I948d65d0d3b58f cb13f8141fe095c cad4b8f1425
Closes-Bug: #1848485
commit 86952dd3edf4ca4 5f8df7440cb8b6d 31d9e415d7
Author: Tim Burke <email address hidden>
Date: Tue Oct 15 15:06:35 2019 -0700
tests: Stop invoking python just to get the real source directory
While we're at it, stop checking for a seven-year-old version of nose -- ts.txt anyway.
we already list a newer version in test-requiremen
Change-Id: I97beace3094f11 286730b99653dc1 e8f699c5aec
commit d270596b6766bf5 9ea8eaa58a7d48d d2b368cf37
Author: Tim Burke <email address hidden>
Date: Mon Oct 14 14:03:16 2019 -0700
Consistently use io.BytesIO
Change-Id: Ic41b37ac75b559 6a8307c4962be86 f2a4b0d9731
commit 8efaa3556fdb21f 741ff897dac4730 c3c3654421
Author: Tim Burke <email address hidden>
Date: Mon Oct 14 17:59:36 2019 -0700
py38: Provide readinto() interface for RingReader
Otherwise pickle complains
TypeError: file must have 'read', 'readinto' and 'readline' attributes
Change-Id: I7ae0d7e47ae442 86564f8ab7126e8 ff131bc0de6
commit 3bd5653873bbb0d dc154481c3804ce 6d801664b3
Author: Tim Burke <email address hidden>
Date: Mon Oct 14 17:40:42 2019 -0700
Use `==` to compare against the empty string, not `is`
py38 will start complaining like
Change-Id: I799e288f66230a 7847a13b7f303e4 cd8e63eea59
commit 2edcd0b7b9dd02a 041fd1452ea17ef da5f27f21c
Author: Tim Burke <email address hidden>
Date: Mon Oct 14 11:40:03 2019 -0700
py3: Fix swift-recon
Avoid things like
TypeError: '<' not supported between instances of 'NoneType' and 'int'
Change-Id: I82edbf1ddcc28f 86e97405d21db0b 96249412eac
commit 4c66596e630ee63 cf2cd54d216c8e4 43203e59fe
Author: Tim Burke <email address hidden>
Date: Mon Oct 14 11:34:31 2019 -0700
py3: fix swift-dispersio n-populate
Change-Id: I1f140ae00cbd25 b23c9a40ee91dcc ee8c7c15d81
commit 3e90ddb37d1d139 77b69ae01117f50 bab3495266
Author: Tim Burke <email address hidden>
Date: Mon Oct 14 11:15:37 2019 -0700
swift- account- audit: clean up some error formatting
"127. 0.0.1s: sdas" is confusing at best.
Change-Id: I37f78d5993082a c29b001e9563aa4 b24fd009a27
commit 2f4fe56ca484c0e fc11736aa323b2e 63199e3513
Author: Tim Burke <email address hidden>
Date: Mon Oct 14 11:15:14 2019 -0700
py3: fix swift-account-audit
Previously, we'd get a KeyError trying to read headers.
Change-Id: I5d9f86784a3e39 577ab010d29d8d0 3b26ffda357
commit 85d3658d6297efb e9a588d1b4364a2 a68f9e5bb7
Author: Thomas Goirand <email address hidden>
Date: Fri Oct 11 14:12:01 2019 +0200
Fix kms_keymaster under Python 3
Depending on how the key was stored in Barbican, it may come out of
Castellan as a native string, which would not be suitable on Python 3.
Now, check that the secret is a byte string, and if it isn't, encode as
UTF-8 (to match Barbican's internal encoding).
Change-Id: I6da047716c05e4 f2a9e1e74ca19af b62e812d172
Closes-Bug: #1847755
commit 405a2b2a55866b7 4f196ad81eaafed eee4615fa8
Author: Tim Burke <email address hidden>
Date: Sun Oct 13 21:55:54 2019 -0700
py3: Fix swift-drive-audit
Walking through the kernel logs backwards requires that we open them
in binary mode. Add a new option to allow users to specify which
encoding should be used to interpret those logs; default to the same
encoding that open() uses for its default.
Change-Id: Iae332bb58388b5 521445e75beba6e e2e9f06bfa6
Closes-Bug: #1847955
commit 78a4070c90573fb 8cf3f933329a270 19d52aeea4
Author: Christian Schwede <email address hidden>
Date: Tue Jul 10 09:15:18 2018 +0000
Fix misleading error msg if swift.conf unreadable
Several tools are returning a misleading error message if swift.conf is
missing or not readable by the user, stating that the hash pre-/suffixes
are missing. Let's fix this by catching the real issue down below.
Change-Id: I7a47e6260ed51a 3b7d9665b3a4510 520429ae158
commit d667affb6f0b0b1 25901a0c002ddb0 0322a8e4f4
Author: Thiago da Silva <email address hidden>
Date: Wed Oct 9 16:24:12 2019 +0200
Create segment container w/ same policy as primary
When users upload an MPU object, s3api will automatically
create a segment container if one doesn't already exist.
Currently, s3api will create the segment bucket using the
cluster's default storage policy. This patch changes that
behavior to use the same storage policy as the primary bucket.
Change-Id: Ib64a06868bd367 0a1d4a1860ac291 22e1ede7c39
Closes-Bug: 1832390
commit 98f9781096f4f8f 989e11f52fee0ec 145fb5a173
Author: Christian Schwede <email address hidden>
Date: Sat Mar 12 06:36:46 2016 +0000
Add commands to ring-builder to change region / zone
Currently one has to remove and re-add devices when the region or zone needs to
be changed. Adding the subcommands set_region and set_zone simplifies this, now
it is possible to change the region and/or zone easily. Note that there is no
change to the required rebalancing; it is likely that data still needs to be
moved within the cluster.
This is mostly copy-n-paste of the existing set_weight subcommand and adopting
tests accordingly. Some duplicated code in the tests has been aggregated as
well.
Change-Id: I37dd8e8ac24e2b 0bb196758449a1d 91a769b2e96
commit bb5fa0ea2e5be9d 7537f31091015e8 16796499ba
Author: Pete Zaitcev <email address hidden>
Date: Fri May 3 14:51:47 2019 -0500
tests: bust md5 of object not footers
The test test_PUT_ ec_fragment_ quorum_ archive_ etag_mismatch
busts the md5 in server.py, so it ends damaging the md5 of
footers instead of the fragment archive. It appears that the
intention of the test was to check the integrity verification
for fragment archive, so change the test to bust diskfile.py
instead.
Change-Id: I54a203bb637d5f 5814e8df2b42977 58b0b72adac
commit 3f7ffbc2ccc899c df17ff1a338560c e3bc075e07
Author: Thiago da Silva <email address hidden>
Date: Thu Oct 3 17:05:23 2019 +0200
Start building py3 docker images
Change-Id: Id6f1075b277453 6bb095de0904a1c dcf2b34b0fd