57306181f1ffde3da1849c6d27e0b001d3bf5ea3
Commit Graph

7249 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Gerard Gine
57306181f1 Improved usage of args in .functests
If we're calling the script with any arguments, --pretty will not
be passed to ostestr.
Also redirected cd commands' output to /dev/null in .functests.
Change-Id: I6e7e391c7e1659b86ab12eae4362b565218917b2
2018年02月14日 12:31:17 -08:00
Zuul
b33941feda Merge "Imported Translations from Zanata" 2018年02月10日 01:26:56 +00:00
Zuul
6544ae1848 Merge "Move eventlet patch before call to loadapp" 2018年02月09日 22:29:27 +00:00
malei
f0f3de3462 fix typos in swift
Change-Id: I14dd433ed7c7fe789d5d04defbf9eec5bffc301a
2018年02月09日 22:47:02 +08:00
Zuul
8d530d305f Merge "Fix grammar error" 2018年02月09日 11:59:12 +00:00
baiwenteng
54918ad1db Fix grammar error
Change-Id: Ic375b6c6ebf3f66860b065785e75b8d47552be28
2018年02月09日 16:39:32 +08:00
Zuul
1038ddacae Merge "Fix typos in swift" 2018年02月09日 07:35:22 +00:00
OpenStack Proposal Bot
753715499c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I1409c8eaca4fbe1170d2e998b35e7fdacf4b86b4
2018年02月09日 07:09:42 +00:00
baiwenteng
a3d2aaba64 Fix typos in swift
Change-Id: I0982b0046a16fda0a39d9b31402b2e4b3160a5c4
2018年02月09日 12:22:08 +08:00
Zuul
ea4e9c0067 Merge "Update install-guide URLs to point to stable/queens" 2018年02月09日 02:05:19 +00:00
Zuul
07a5f2f8db Merge "Quarantine DB without *_stat row" 2018年02月09日 02:05:18 +00:00
Thiago da Silva
c9410c7dd4 Move eventlet patch before call to loadapp
Ran into an eventlet bug[0] while integration Swift/Barbican
in TripleO. It is very similar to a previous bug related
to keystonemiddleware[1]. Suggestion from urllib3[2] is to
patch eventlet "as early as possible". Traceback[3] shows that
urllib3 is being imported before the eventlet patch, so moved
the patch to before the loadapp call.
[0] - http://paste.openstack.org/show/658046/
[1] - https://bugs.launchpad.net/swift/+bug/1662473
[2] - https://github.com/shazow/urllib3/issues/1104
[3] - https://gist.github.com/thiagodasilva/12dad7dc4f940b046dd0863b6f82a78b
Change-Id: I74e580f31349bdefd187cc5d6770a7041a936bef
2018年02月08日 18:52:56 -05:00
Tim Burke
0a993437d1 Update install-guide URLs to point to stable/queens
Change-Id: I7b2dd19f18cbfac3bc3ea763cd3333e3fb68f1cd
2018年02月08日 10:57:49 -08:00
OpenStack Proposal Bot
6b9098eead Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: Ib339f89f634a22ea874dcf858c43a14d1145ed77
2018年02月08日 07:06:31 +00:00
Ondřej Nový
bfe52a2e35 Quarantine DB without *_stat row
Closes-Bug: #1747689
Change-Id: Ief6bd0ba6cf675edd8ba939a36fb9d90d3f4447f
2018年02月07日 19:35:05 +01:00
Tim Burke
5b30c1f811 Fix flakey test_check_delete_headers_sets_delete_at
It was rare (saw it once in 10k runs running locally), but it's
ocassionally blown up in the gate [1]. With this, no fails locally even
after 100k runs.
[1] http://logs.openstack.org/11/538011/3/gate/swift-tox-py27/06c06f0/job-output.txt.gz#_2018年02月07日_03_29_09_578389
Change-Id: I7701d2db2ec82b48559c5b74a2e08c4403fd5dec
Related-Change: Ia126ad6988f387bbd2d1f5ddff0a56d457a1fc9b
2018年02月07日 05:50:12 +00:00
Zuul
174cef641d Merge "Zuul: Remove project name" 2018年02月05日 22:26:24 +00:00
Zuul
4704eeaefb Merge "Fix inconsistency of account info in expirer's unit tests" 2018年02月05日 22:25:51 +00:00
James E. Blair
d9eec63a58 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I2226881d18e69bf25ad93ee8b8db67248e14f697
2018年02月05日 08:15:52 -08:00
Zuul
32d1b3246f Merge "authors/changelog updates for 2.17.0 release" 2.17.0 2018年02月02日 23:14:16 +00:00
John Dickinson
f4cfe81e59 authors/changelog updates for 2.17.0 release
Change-Id: I577d169022916676a20a9ac24c7cc7b63ae46778
2018年02月02日 12:09:20 -08:00
Zuul
d6e911c623 Merge "Refactor expirer unit tests" 2018年02月02日 06:40:37 +00:00
Zuul
c97459b54a Merge "Remove some cruft from ratelimit tests" 2018年02月01日 18:08:19 +00:00
Zuul
82844a3211 Merge "Add support for data segments to SLO and SegmentedIterable" 2018年02月01日 12:52:55 +00:00
Kazuhiro MIYAHARA
8140b7e7ad Fix inconsistency of account info in expirer's unit tests
In expirer's unit tests, FakeInternalClient instances simulates
expirer's task queue behavior. But get_account_info method of
the FakeInternalClient returns container count = 1 and object
count = 2, even if it simulate different count of containers or
objects.
This patch fixes the behavior. The return values of get_account_info
will be equal to simulated container and object counts.
This patch will make review for expirer's task queue upgrade patch [1]
more easy.
[1]: https://review.openstack.org/#/c/517389
Change-Id: Id5339ea7e10e4577ff22daeb91ec90f08704c98d
2018年02月01日 09:43:46 +00:00
Zuul
c6894a2ca4 Merge "Imported Translations from Zanata" 2018年02月01日 08:59:07 +00:00
Zuul
bf172e2936 Merge "tempurl: Make the digest algorithm configurable" 2018年02月01日 03:51:06 +00:00
Samuel Merritt
924a043c70 Remove some cruft from ratelimit tests
The tests were carefully setting up a mock for the 'http_connect'
function in the ratelimit module, but there is no such function
imported by the ratelimit module.
As far as I can tell, this has been the case since the ratelimit
middleware first appeared in 72d40bd (Mon Oct 4 14:11:48 2010 -0700).
Change-Id: If047184c6435aa1647050f50b499dc9feff4318d
2018年01月31日 16:40:21 -08:00
Kazuhiro MIYAHARA
5cac37284e Refactor expirer unit tests
In expirer's unit tests, fake InternalClient classes are defined
and its instance simulates expirer's task queue behaviors.
To make review for expirer's task queue update patch [1] easy,
this patch refactors the implementation of the fake InternalClient
classes. In this patch, unit tests are refactored by the following
two approaches:
 #1: Summarizing duplicated fake InternalClient implementation
 #2: Make task account name variable
The #2 approach is for multiple task accounts in [1].
The patch [1] will be rebased after this patch merged.
[1]: https://review.openstack.org/#/c/517389
Change-Id: I10a7151cfdd43460ad38c47f672d3c31b77e7990
2018年01月31日 08:42:48 +00:00
OpenStack Proposal Bot
1c306660a5 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I6e420ea5241838192571dd9d857cca4056699314
2018年01月31日 08:18:59 +00:00
Tim Burke
5a4d3bdfc4 tempurl: Make the digest algorithm configurable
... and add support for SHA-256 and SHA-512 by default. This allows us
to start moving toward replacing SHA-1-based signatures. We've known
this would eventually be necessary for a while [1], and earlier this
year we've seen SHA-1 collisions [2].
Additionally, allow signatures to be base64-encoded, provided they start
with a digest name followed by a colon. Trailing padding is optional for
base64-encoded signatures, and both normal and "url-safe" modes are
supported. For example, all of the following SHA-1 signatures are
equivalent:
 da39a3ee5e6b4b0d3255bfef95601890afd80709
 sha1:2jmj7l5rSw0yVb/vlWAYkK/YBwk=
 sha1:2jmj7l5rSw0yVb/vlWAYkK/YBwk
 sha1:2jmj7l5rSw0yVb_vlWAYkK_YBwk=
 sha1:2jmj7l5rSw0yVb_vlWAYkK_YBwk
(Note that "normal" base64 encodings will require that you url encode
all "+" characters as "%2B" so they aren't misinterpretted as spaces.)
This was done for two reasons:
 1. A hex-encoded SHA-512 is rather lengthy at 128 characters -- 88
 isn't *that* much better, but it's something.
 2. This will allow us to more-easily add support for different
 digests with the same bit length in the future.
Base64-encoding is required for SHA-512 signatures; hex-encoding is
supported for SHA-256 signatures so we aren't needlessly breaking from
what Rackspace is doing.
[1] https://www.schneier.com/blog/archives/2012/10/when_will_we_se.html
[2] https://security.googleblog.com/2017/02/announcing-first-sha1-collision.html
Change-Id: Ia9dd1a91cc3c9c946f5f029cdefc9e66bcf01046
Related-Bug: #1733634 
2018年01月31日 02:19:18 +00:00
Joel Wright
11bf9e4588 Add support for data segments to SLO and SegmentedIterable
This patch updates the SLO middleware and SegmentedIterable to add
support for user-specified inlined-data segments. Such segments will
contain base64-encoded data to be added before/after an object-backed
segment within an SLO. To accommodate the potential extra data we
increase the default SLO maximum manifest size from 2MiB to 8MiB.
The default maximum number of segments remains 1000, but this will
only be enforced for object-backed segments.
This patch is a prerequisite for a future patch enabling the
download of large objects as tarballs. The TLO patch will be added
as a dependent patch later.
UpgradeImpact
=============
During a rolling upgrade, an updated proxy may write a manifest that
out-of-date proxies will not be able to read. This will resolve itself
once the upgrade completes on all nodes.
Change-Id: Ib8dc216a84d370e6da7d6b819af79582b671d699
2018年01月31日 02:13:22 +00:00
Zuul
d800c177cc Merge "Replace Chinese punctuation with English punctuation" 2018年01月31日 01:48:12 +00:00
Zuul
f5ee951e7f Merge "Disallow fractional replicas in EC policies" 2018年01月31日 01:00:46 +00:00
Zuul
8359f43079 Merge "Increase name-length limits for internal accounts" 2018年01月31日 00:29:29 +00:00
Zuul
1485c13754 Merge "Remove the deprecated "giturl" option" 2018年01月30日 23:06:52 +00:00
Tim Burke
89a5c9d56f Disallow fractional replicas in EC policies
Change-Id: I873d7bf7de54e4b1dccdafc8a61f03c09a65dfbc
Closes-Bug: 1554391
Closes-Bug: 1677547
2018年01月29日 16:57:46 -08:00
Zuul
b0cd86676d Merge "Fix bulk heartbeating when emitting XML" 2018年01月27日 01:37:04 +00:00
Zuul
7fee65c360 Merge "Add container-reconciler to source doc tree" 2018年01月26日 21:48:29 +00:00
Zuul
6d2503652b Merge "Add a small sleep when trying to predict X-Timestamp" 2018年01月25日 19:26:53 +00:00
Zuul
9263e7daf5 Merge "Reset state every iteration to avoid stale reference" 2018年01月25日 06:28:43 +00:00
gaofei
10542d00ea Replace Chinese punctuation with English punctuation
Curly quotes(Chinese punctuation) usually input from Chinese input method.
When read from english context, it makes some confusion.
Change-Id: Ibd50299ee287c56ec4759ea8ff53d47d006144f8
2018年01月25日 05:33:04 +00:00
Zuul
5cf96230c8 Merge "Add pipeline modification test for previously-recommended pipelines" 2018年01月24日 11:14:58 +00:00
Zuul
8516f2302a Merge "Include policy in ran-out-of-handoffs log message" 2018年01月24日 10:52:22 +00:00
Zuul
813e6ad265 Merge "object-server can 409 in response to x-if-delete-at" 2018年01月24日 08:27:35 +00:00
Zuul
f2aed004a0 Merge "Internal Client should only retry server errors" 2018年01月24日 03:49:15 +00:00
Zuul
c9264124f3 Merge "Stop logging tracebacks when the replicator runs out of handoffs" 2018年01月24日 02:27:34 +00:00
Tim Burke
fdf817b318 Include policy in ran-out-of-handoffs log message
Related-Change: I2f5bb12f3704880df1750229425f64f419ff9aef
Change-Id: I14b70e949a57d2c31b71d3efa6ee1200d0717db6
2018年01月23日 18:43:00 +00:00
gaofei
05b2a14fe0 Update broken link
Change-Id: I8d13696970593d47d0f07cf97aa1284eed5f7a15
2018年01月23日 14:57:18 +08:00
Zuul
da5c71b7cb Merge "Remove redundant blank space in README.rst" 2018年01月22日 10:13:18 +00:00