d4c0a7d3b3106f8b491e78ea21fca36c99ad04d9
Commit Graph

9037 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Zuul
9b1ca0eb67 Merge "dsvm: Run service-user tests under keystoneauth" 2020年05月30日 01:07:34 +00:00
Zuul
4f440ad44d Merge "dsvm: Run service-user tests under tempauth" 2020年05月28日 00:27:40 +00:00
Zuul
e545a9291f Merge "dsvm: Run domain_remap tests with tempauth" 2020年05月28日 00:27:38 +00:00
Zuul
8f1a40eaae Merge "swift-dsvm: Enable s3api" 2020年05月28日 00:27:36 +00:00
Tim Burke
60f052f69a dsvm: Run service-user tests under keystoneauth
Change-Id: I5b0ae0b78d37a31928e0b34a1b6118802a3a8236
2020年05月27日 15:07:52 -07:00
Tim Burke
984b57a873 tests: Skip s3api copy-version test when OV not enabled
Change-Id: I175b9e1464494454b1193b9b9d5311cb6fd6503f
2020年05月27日 13:29:08 -07:00
Tim Burke
3aa4e3ec85 Remove swift-dsvm-functional-py3 job
Following https://github.com/openstack/devstack/commit/6b6bdc711,
the swift-dsvm-functional job has been running everything under
Python 3 anyway.
Change-Id: Ie285f513e1ed71dbaf4e12fe747ea6087664f843
2020年05月27日 13:16:55 -07:00
OpenStack Proposal Bot
650272eacb Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I1bb2aa262730d45a5852eaa3b3351f455a6ab337
2020年05月27日 10:03:59 +00:00
Zuul
ee59909b65 Merge "Skip tests when only changing README.rst, CONTRIBUTING.rst, etc." 2020年05月27日 04:30:54 +00:00
Tim Burke
fa768b4342 Simplify wsgify()
Change-Id: Iec399aa8b58e72152a17265f2af1131f02667131
2020年05月27日 03:19:13 +00:00
Tim Burke
a2feefb045 dsvm: Use devstack's s3api "service"
...instead of hacking up the pipeline ourselves.
Depends-On: https://review.opendev.org/731003
Depends-On: https://review.opendev.org/731065
Change-Id: Iea8a42ef54e1a2fd9c1d6132c840a20015cc5d7e
2020年05月27日 03:12:50 +00:00
Zuul
5d9c373618 Merge "versioning: Have versioning symlinks make pre-auth requests to reserved container" 2020年05月27日 00:15:58 +00:00
Tim Burke
5034916c18 Skip tests when only changing README.rst, CONTRIBUTING.rst, etc.
Change-Id: Ib78398111ee3d150b6f56aa4e59a65750aa115dd
2020年05月26日 16:42:52 -07:00
Matthew Oliver
78cce72f8a Ussuri contrib docs community goal
This patch standardizes the CONTRIBUTING.rst file and adds the
required doc/source/contributor/contributing.rst
Swift already had a detailed CONTIRBUTING.rst and an informative
REVIEW_GUIDELINES.rst in the root of the repo. So we are also pulling
them into the contributor documentation so they can not only be easily
found in the checked repo but in the online documentation.
Change-Id: I4c84efbe50eb25ab922c9d6b69198dae341af48b
2020年05月26日 15:06:02 -07:00
Zuul
7b6546b076 Merge "fix s3api functional tests" 2020年05月26日 20:36:06 +00:00
Zuul
22719f0d0d Merge "Breakup reclaim into batches" 2020年05月26日 20:36:03 +00:00
Tim Burke
73f0b143d1 dsvm: Run service-user tests under tempauth
Change-Id: I0bdd3a1d044f8f99873f6270ca821862bb994d72
2020年05月26日 12:54:17 -07:00
Tim Burke
63b16a3683 dsvm: Run domain_remap tests with tempauth
Change-Id: Idcc33c71869ccf7ad5a3134767d36ae94aab4598
2020年05月26日 12:41:03 -07:00
Zuul
c3e6575a5a Merge "Test for Versioned Object If-Match" 2020年05月26日 18:04:29 +00:00
Tim Burke
a8e03f42e0 versioning: Have versioning symlinks make pre-auth requests to reserved container
Previously, the lack of container ACLs on the reserved container would
mean that attempting to grant access to the user-visible container would
not work; the user could not access the backing object.
Now, have symlinks with the allow-reserved-names sysmeta set be
pre-authed. Note that the user still has to be authorized to read the
symlink, and if the backing object was *itself* a symlink, that will be
authed separately.
Change-Id: Ifd744044421ef2ca917ce9502b155a6514ce8ecf
Closes-Bug: #1880013 
2020年05月26日 10:09:56 -05:00
Clay Gerrard
63e02fa9fa Test for Versioned Object If-Match
Regular objects can do conditional requests, versioned objects should be
able to as well.
Change-Id: If69dbf2a4c876fa4b830f6d8652f22f39ceaf549
2020年05月26日 13:49:15 +00:00
Tim Burke
bb9b0326fd swift-dsvm: Enable s3api
Depends-On: https://review.opendev.org/#/c/571021/
Change-Id: I3ac3288cd61b745ce7dbf2bded8eade026d0418f
2020年05月22日 16:04:52 -07:00
Zuul
c5191a040a Merge "Add py38 package metadata" 2020年05月22日 22:15:58 +00:00
Clay Gerrard
aab45880f8 Breakup reclaim into batches
We want to do the table scan without locking and group the locking
deletes into small indexed operations to minimize the impact of
background processes calling reclaim each cycle.
Change-Id: I3ccd145c14a9b68ff8a9da61f79034549c9bc127
Co-Authored-By: Tim Burke <tim.burke@gmail.com>
Closes-Bug: #1877651 
2020年05月22日 21:15:57 +00:00
zhangboye
f25705ee13 Add py38 package metadata
Change-Id: Icd5312dec647f69a5df111c3a6766093ecfcb6ef
2020年05月22日 15:31:08 +08:00
Tim Burke
67598b3a4a Bump up timeouts for DSVM and probe test jobs
DSVM recently got a bunch more middlewares enabled, so it's running more
tests than it used to.
I can't think of much that's changed for probe tests, but I feel like
I've seen it popping timeouts more often lately.
Note that the new timeouts are still lower than the typical run-time of
our longest-running jobs (currently grenade / tempest-ipv6-only).
Change-Id: Iffbb567124096df02b04981550faec8204d5d1ec
Related-Change: I3cbbcd2ea9ced0923bee4a6b0783e4cf5e82e95b
2020年05月20日 15:22:12 -07:00
Tim Burke
1db11df4f2 ratelimit: Allow multiple placements
We usually want to have ratelimit fairly far left in the pipeline -- the
assumption is that something like an auth check will be fairly expensive
and we should try to shield the auth system so it doesn't melt under the
load of a misbehaved swift client.
But with S3 requests, we can't know the account/container that a request
is destined for until *after* auth. Fortunately, we've already got some
code to make s3api play well with ratelimit.
So, let's have our cake and eat it, too: allow operators to place
ratelimit once, before auth, for swift requests and again, after auth,
for s3api. They'll both use the same memcached keys (so users can't
switch APIs to effectively double their limit), but still only have each
S3 request counted against the limit once.
Change-Id: If003bb43f39427fe47a0f5a01dbcc19e1b3b67ef
2020年05月19日 11:10:22 -07:00
Zuul
70dede1ae9 Merge "versioning: Use CONTAINER_LISTING_LIMIT when doing container listings" 2020年05月17日 08:21:39 +00:00
Zuul
b8afd36fd8 Merge "object-updater: Ignore ENOENT when trying to unlink stale pending files" 2020年05月17日 05:08:59 +00:00
Zuul
31645d5bd4 Merge "updater: Shuffle suffixes so we don't keep hitting the same failures" 2020年05月16日 06:39:50 +00:00
Thiago da Silva
f4bc951508 fix s3api functional tests
Connection was hard coded to use saio config
Change-Id: I9c11162de89fa3aa2a78aea093b187d0309860f5
Signed-off-by: Thiago da Silva <thiago@redhat.com>
2020年05月15日 22:38:04 -07:00
Tim Burke
1358d37328 versioning: Use CONTAINER_LISTING_LIMIT when doing container listings
Change-Id: If274a01a6660776cf01b71efbdd102159c520794
2020年05月15日 16:03:02 -07:00
Tim Burke
971023e4c8 replication: Allow databases_per_second to be a float
Sometimes even one database per second is too fast.
Change-Id: Iaf11743485e1ad320c82476430f450be0c4f849c
Closes-Bug: #1877827 
2020年05月15日 13:23:17 -07:00
Zuul
08db36a295 Merge "py27: Suppress UnicodeWarnings in ShardRange setters" 2020年05月13日 17:44:56 +00:00
Tim Burke
0fd23ee546 Fix pep8 job
New flake8 came out with new & improved rules. Ignore E741; it would be
too much churn. Fix the rest.
Change-Id: I9125c8c53423232309a75cbcc5b695b378864c1b
2020年05月13日 00:24:13 -07:00
Tim Burke
dee98a74d4 updater: Shuffle suffixes so we don't keep hitting the same failures
When tuning your updater, you often want to try a new config, see how it
changes your metrics, then adjust concurrency up or down depending on
how your container layer is responding.
If your containers haven't been doing well, though, and you've got a
giant backlog of async pendings to work through, updater restarts to
change concurrency previously posed a problem: the updater would walk
the suffix directories in the same order every start-up. So, if you
found a config that was making decent progress for a while but still had
*some* failures, and you wanted to try tweaking settings to see if you
could *reduce* those failures -- you'd likely start getting *all*
failures as it went to retry the failed ones first and all at once. If
you continued trying to tweak configs to get your failures to a
reasonable rate, you'd almost certainly over-correct for these handful 
of overwhelmed DBs and not the overall cluster.
Now, shuffle the suffixes before we walk them.
Change-Id: I3ef34119f0cb563ab405a6517335a24dbaf2b4c3
Closes-Bug: #1878056 
2020年05月11日 17:33:31 +00:00
Tim Burke
f57d4cfa71 object-updater: Ignore ENOENT when trying to unlink stale pending files
Change-Id: Iaac1fb891d70707af38c567d9cca5913b8355b7d
Closes-Bug: #1877924 
2020年05月11日 00:23:34 -07:00
Zuul
d050ef82f7 Merge "Use local py2 upper-constraints" 2020年05月07日 09:54:44 +00:00
Zuul
a792255e79 Merge "swift-dsvm: Enable more middlewares" 2020年05月06日 19:37:13 +00:00
Zuul
cda427cc91 Merge "docs: Clean up mount options" 2020年05月06日 10:15:36 +00:00
Zuul
e00ba15f43 Merge "Switch to new grenade job name" 2020年05月05日 06:57:38 +00:00
Tim Burke
fe74ec0489 py27: Suppress UnicodeWarnings in ShardRange setters
Previously, we'd see warnings like
 UnicodeWarning: Unicode equal comparison failed to convert both
 arguments to Unicode - interpreting them as being unequal
when setting lower/upper bounds with non-ascii byte strings.
Change-Id: I328f297a5403d7e59db95bc726428a3f92df88e1
2020年05月04日 21:39:28 -07:00
Zuul
948289151b Merge "probe tests: Work when fronted by a TLS terminator" 2020年05月05日 00:45:51 +00:00
Tim Burke
630c9ef809 probe tests: Work when fronted by a TLS terminator
* Add a new config option, proxy_base_url
* Support HTTPS as well as HTTP connections
* Monkey-patch eventlet early so we never import an unpatched version
 from swiftclient
Change-Id: I4945d512966d3666f2738058f15a916c65ad4a6b
2020年05月04日 10:54:01 -07:00
Zuul
8ae1855072 Merge "Use separate name for HeaderKeyDict var vs list of response headers" 2020年05月04日 16:26:13 +00:00
Sean McGinnis
0f2da2aee6 Use local py2 upper-constraints
The global upper constraints repo will no longer track py2 packages,
meaning upper constraints for the py2.7 runtime will need to be handled
locally.
This adds an in-repo file for upper constraints enforcement using the
last py27 constraints from openstack/requirements to validate
functionality.
Change-Id: I624f914c6155178cbe474f1eae2871e2aef721eb
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020年05月04日 07:03:53 -05:00
Andreas Jaeger
6952950070 Switch to new grenade job name
The integrated gate templates has switched to the new grenade name
(grenade-py3 -> grenade). This repo uses an integrated gate template
but also listed the job for irrelevant files an extra entry.
Rename the job following the template change to avoid duplicate
grenade runs.
Details:
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014602.html
Change-Id: I4afc73301965b582fd338012f0ddc60f9b85fbb0
2020年05月04日 08:41:48 +02:00
Tim Burke
cb37d3acd6 docs: Clean up mount options
* Stop specifying logbufs=8; that's the default
* Stop including nodiratime with noatime; the latter implies the former
Nothing wrong with being explicit, I suppose, but may as well keep the
mount options to what we can easily explain: we want noatime because
Swift does not use atime, so we don't want to lose any performance to
tracking atime.
Change-Id: I1e52b4368ad7eb375964eee5132bc50297536355
2020年05月03日 00:43:57 -07:00
Zuul
207e08c64b Merge "sharding: Add probe test that exercises swift-manage-shard-ranges" 2020年04月29日 22:18:18 +00:00
Zuul
7bff34c5d3 Merge "py3: Make etag-quoter work" 2020年04月29日 19:45:57 +00:00