a239f4ec355b48999cbdb8e54660624e9b44e835
Commit Graph

8189 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Tim Burke
a239f4ec35 Remove py35 unit test job
Change-Id: Iadb3bed811907740f85bd9277ba09a4ca17fc025
2019年05月03日 13:36:42 -07:00
ZhongShengping
32bf43990c Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.
Change-Id: I5e77307de6a484fd69b2a5863423ceb357e8601f
2019年04月24日 09:56:54 +08:00
OpenDev Sysadmins
89eced960c OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019年04月19日 19:28:47 +00:00
Zuul
3be4d2f64b Merge "Clean up dlo unit tests" 2019年04月18日 00:37:36 +00:00
Zuul
1a1b44df6f Merge "py3: port dlo" 2019年04月18日 00:37:34 +00:00
Zuul
5e6b7f32ac Merge "Move from py35 to py37 for gating py3 jobs" 2019年04月17日 20:25:42 +00:00
Tim Burke
b6ebabee78 Clean up dlo unit tests
We don't actually need so many py2/py3 branches, and once we
clean those up, there's hardly any reason to import six.
Change-Id: Ia3b4f02e7eb99ad1a76aa35c39dc198528fd39ad
2019年04月17日 09:15:56 -07:00
Pete Zaitcev
893acffbc0 py3: port dlo
Change-Id: I7236ddea0acde93d0789ad8affa76df0097a86aa
2019年04月16日 22:34:58 -05:00
Tim Burke
7cb276da42 Move from py35 to py37 for gating py3 jobs
Looking at https://governance.openstack.org/tc/reference/runtimes/train.html
OpenStack is no longer targetting Python 3.5, so it doesn't really make sense
to gate on it. Move to Python 3.7, just to make it so we can go longer before
having to do this shuffle again.
Presumably, once we actually declare support for Python 3.6, we should
make that job voting, too? We've had enough gate flaky-ness lately that
I'm not keen on it.
Change-Id: I9c9e5df76a6592ab9c512b7c1ba807f9a0053059
2019年04月16日 13:50:29 -07:00
zhufl
65d3cb75f8 Use assertIn to check whether substring is in str
This is to use assertIn to check whether substring is in str,
go get clearer failure message.
Change-Id: I40aff29454c423389755a5330751d2f69a227a05
2019年04月16日 08:56:36 +08:00
Zuul
5090a15f52 Merge "Make staticweb return URL-encoded Location headers" 2019年04月13日 02:47:42 +00:00
Zuul
d7ef9f8f80 Merge "Add tests for unexpected names in part dir" 2019年04月13日 00:43:41 +00:00
Tim Burke
e5ff405ec9 Make staticweb return URL-encoded Location headers
Also, enhance tests to verify proper encoding in generated responses.
Change-Id: Ib696b1c3a34722f3a6de010973b90ef8b1917012
Partial-Bug: 1774238
2019年04月12日 12:29:00 -07:00
Zuul
b27026f6c7 Merge "py3: port staticweb middleware" 2019年04月11日 18:33:09 +00:00
Zuul
f21fe6f479 Merge "Remove our urlparse wrapper" 2019年04月11日 08:16:16 +00:00
Tim Burke
049e56a5d0 Remove our urlparse wrapper
It has not been necessary since we dropped support for Python 2.6.
See https://github.com/python/cpython/commit/8c6d9d7 and
https://bugs.python.org/issue2987.
Be sure to keep a `urlparse` name in utils, though; swauth (at least)
still expects there to be a swift.common.utils.urlparse.
Change-Id: If2502868f251b8a83aa929ee22b10046e708d111
2019年04月10日 12:39:09 -07:00
Clay Gerrard
5b40f69ede Add tests for unexpected names in part dir
An earlier revision of the related change had a bug that this test would
have discovered.
Related-Change-Id: I85dcaf65b9f19ac4659fa5937f9b0b0e804fc54e
Change-Id: Iedd85ec65a11de189ce73e650d674aee0dc7e402
2019年04月10日 09:13:13 -05:00
Matthew Oliver
b86bc51607 py3: port staticweb middleware
This patch is porting the staticweb middleware to py3.
Change-Id: I5d9a13baecedd13d2b7a8ae3dd639eaff0894441
2019年04月10日 17:08:21 +10:00
Zuul
48a2e5c311 Merge "Change partition name from string to integer" 2019年04月09日 21:20:50 +00:00
Zuul
4f45f28ea5 Merge "Update openstack repo for libec install" 2019年04月09日 17:29:22 +00:00
Zuul
880e4e4a09 Merge "py3: test/unit/common/middleware/s3api/test_s3token.py" 2019年04月09日 01:15:43 +00:00
Thiago da Silva
621e924883 Update openstack repo for libec install
Update to rocky release
Change-Id: Id35a41d689a24bf68d17647879780f5daaecdf37
2019年04月08日 16:49:29 -04:00
Joe Yang
08d59ebcd4 Change partition name from string to integer
Object-replicator let user to input target partition numbers and
run the replicator job, and partition input will be stored as
integer list. But in build_replication_jobs method, it use
os.listdir method to retreve partitions in string list, so it is
failed to compare with target partition numbers.
Change-Id: I85dcaf65b9f19ac4659fa5937f9b0b0e804fc54e
Closes-Bug: #1822731 
2019年04月08日 09:44:48 +08:00
Zuul
0df50b5124 Merge "Clean up more things before running unit tests" 2019年04月05日 04:13:40 +00:00
Zuul
05a6f6aad7 Merge "Make symlink work with Unicode account names" 2019年04月05日 03:41:23 +00:00
Tim Burke
e5e22ebeba Make symlink work with Unicode account names
Also, ensure that the stored symlink headers really *are* url-encoded as
we've been assuming.
Change-Id: I1f300d69bec43f0deb430294da05a4ec04308040
Related-Bug: 1774238
Closes-Bug: #1821240 
2019年04月04日 09:58:18 -05:00
Zuul
ef7a3b4240 Merge "s3token: Add an underscore to the end of reseller_prefix if not present" 2019年04月04日 09:22:44 +00:00
Zuul
1214bb83cc Merge "api-ref: add link to SLO docs from multipart-manifest=put param" 2019年04月04日 01:33:49 +00:00
Pete Zaitcev
52bc11f097 Use labels to mount filesystems in the guide
It was a recommended practice for years to get away from straight
names in /dev, like /dev/sda1, when mounting filesystems. The
man page for mount(8) says:
 The device name of disk partitions are unstable; hardware
 reconfiguration, adding or removing a device can cause change
 in names. This is reason why it's strongly recommended to use
 filesystem or partition identificators like UUID or LABEL.
Nonetheless, novice operators sometimes follow our deployment
guide to the letter and then get into trouble when device names
shift from under their deployments. This patch fixes the problem
without bloating up the guide with general explanations.
Change-Id: I5faae158b62e0395d6e774cd67bd868c785c2186
2019年04月02日 22:45:27 -05:00
Tim Burke
0294836d9b py3: test/unit/common/middleware/s3api/test_s3token.py
Change-Id: Ibbff151703395d517452c3d6927652506a9eab66
2019年04月02日 17:47:31 -07:00
Zuul
e611f9e481 Merge "add more detail to s3api test failure" 2019年04月03日 00:16:55 +00:00
Tim Burke
adc826f376 Clean up more things before running unit tests
Apparently some versions of py3 will drop symlinks in the venv.
Change-Id: I77c52b6ad776ab75c4f9713290cc42a1fcb6e0f7
2019年04月02日 16:48:29 -07:00
Zuul
934074856c Merge "s3api: Fix get_container_info missing some sysmeta info." 2019年04月02日 20:15:34 +00:00
Zuul
0169a0c8a3 Merge "s3api: fix partition between S3 and Swift headers" 2019年04月02日 20:15:32 +00:00
Zuul
161366bd0f Merge "Run docs tox env under py3" 2019年04月02日 19:24:37 +00:00
Clay Gerrard
9d9f8b0ff2 add more detail to s3api test failure
Change-Id: I89d19c299cf67c459ee893cde7ed6f6716c04f9b
2019年04月02日 08:24:33 -05:00
Zuul
045ad1aae1 Merge "Remove "gross hack" for py3pep8 env; run releasenotes under py3" 2019年04月02日 08:15:46 +00:00
Zuul
20f53a3df7 Merge "Make reconciler test more stable in the gate" 2019年03月30日 01:26:39 +00:00
Tim Burke
e3e79a6e48 Remove "gross hack" for py3pep8 env; run releasenotes under py3
Change-Id: Ib853f79bc062ec550627342d0fc5b2b92029f25c
2019年03月29日 17:21:45 -07:00
Tim Burke
6c93c57685 Run docs tox env under py3
...and fix this one warning-treated-as-error that crept in since
https://github.com/openstack/swift/commit/d185b60
Change-Id: Id46ee3ab23e2703170191528427aaa2788aba1ee
2019年03月29日 16:16:53 -07:00
Tim Burke
ffe51501c2 api-ref: add link to SLO docs from multipart-manifest=put param
Drive-by: run api-ref tox env under py3.
Change-Id: Iebce47eabcb3b198d4aa7c1b8cfaf8f53300f7f9
2019年03月29日 16:07:59 -07:00
Tim Burke
9b694a3324 s3token: Add an underscore to the end of reseller_prefix if not present
This matches the behavior of tempauth/keystoneauth with regard to reseller_prefix.
Change-Id: I10f8bc354d0f45dd692915de86857679e9ca3446
2019年03月29日 14:51:36 -07:00
Zuul
d016693875 Merge "Fix lower-constraint deps handling" 2019年03月28日 01:43:44 +00:00
Clay Gerrard
8f23dbad6c Make reconciler test more stable in the gate
Change-Id: I3a831ac2cd2ef7ef83445b8d374d1435ab7292ab
2019年03月26日 12:08:00 -05:00
Thiago da Silva
89e5927f7d Fix mocking time
When running on Centos the side_effect was returning a MagicMock
object instead of the intended int.
Change-Id: I73713a9a96dc415073a637d85a40304021f76072
2019年03月26日 10:46:02 -04:00
50715acb18 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: I6109bff3227f87d914abf7bd1d76143aaf91419d
Sem-Ver: feature
2019年03月25日 10:53:31 -07:00
John Dickinson
179fa7ccd4 authors/changelog update for 2.21.0 release
Change-Id: Iac51a69c71491e5a8db435aae396178a6c592c73
2.21.0
2019年03月22日 16:53:01 -07:00
Zuul
2fa6ac344a Merge "Fix decryption for broken objects" 2019年03月22日 22:31:16 +00:00
Sean McGinnis
10cb205fe0 Fix lower-constraint deps handling
When the lower-constraints tox target was added, it was assumed the
install_command was just running the install and that the dependencies
and constraints were being set using "deps = ".
This fixed the install_command and deps to follow the expected pattern
so the lower-constraints job actual does install the lower constraints.
Also:
 * raise the minimum for netifaces as the existing version would fail
 to load
 * pin oslo.log to the minimum required by our minimum
 keystonemiddleware
 * fix up some error handling for ancient versions of pastedeploy
 * specify that we shouldn't install xattr on a platform we don't
 support anyway, because reasons
Change-Id: Ie78c0dabe12e01109db2b6412166c3564b87ee96
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019年03月22日 11:41:56 -07:00
Zuul
65660faf69 Merge "py3: port formpost middleware" 2019年03月22日 02:55:31 +00:00