Commit Graph

105706 Commits

Author SHA1 Message Date
Abhishek L
7933cd191f
Merge pull request #31124 from theanalyst/rgw/user-policy-args
rgw: iam: add all http args to req_info

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Pritha Srivastava <prsivas@redhat.com>
Reviewed-By: Yuval Lifshitz <yuvalif@yahoo.com>
2019-12-20 18:12:22 +01:00
Sage Weil
4a566bdc2d Merge PR #32362 into master
* refs/pull/32362/head:
	qa/packages/packages: el8 has granular -debuginfo
	qa/tasks/cbt: include py2 deps on ubuntu for now
	src/test: misc python -> python3
	qa/suites/rados/singleton-flag/valgrind-leaks: run on latest centos
	qa/workunits: env python -> env python3
	qa/suites/rados/dashboard/tasks/dashboard: whitelist OSDMAP_FLAGS
	qa/suites/rados/verify: ping to specific centos
	qa/workunits/rados/test_envlibrados_rocksdb: enable el8 PowerTools
	qa/workunits/rados/test_pool_access.sh: python -> python3
	mgr/crash: fix signature for py3

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-12-20 09:29:47 -06:00
Kefu Chai
ead5033931
Merge pull request #32374 from zdover23/wip-doc-osd-verb-commit-20-dec-2019
doc: added an "is" where it was needed.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-20 22:33:46 +08:00
Kefu Chai
49e3243230
Merge pull request #32371 from tchaikov/wip-mgr-dashboard-popd
mgr/dashboard: restore working directory after creating venv

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-12-20 22:28:29 +08:00
Kefu Chai
130e3eddb9 qa/tasks/vstart_runner.py: use current python executable
python3 is not always the path to executable used by current python
session.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-20 21:39:49 +08:00
Sage Weil
6f5fb95408 qa/packages/packages: el8 has granular -debuginfo
Also add a bunch of missing packages.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-20 07:17:10 -06:00
Sage Weil
3f2270a1c4 qa/tasks/cbt: include py2 deps on ubuntu for now
...until cbt is converted to py3

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-20 07:17:10 -06:00
Sage Weil
13cbfaaea8 src/test: misc python -> python3
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-20 07:17:10 -06:00
Sage Weil
c87a76096e qa/suites/rados/singleton-flag/valgrind-leaks: run on latest centos
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-20 07:17:10 -06:00
Sage Weil
1abcb0bb9b qa/workunits: env python -> env python3
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-20 07:17:10 -06:00
Sage Weil
fb60e71a23 qa/suites/rados/dashboard/tasks/dashboard: whitelist OSDMAP_FLAGS
"2019-12-19T20:42:43.020748+0000 mon.b (mon.0) 2771 : cluster [WRN] Health check failed: noout flag(s) set (OSDMAP_FLAGS)" in cluster log

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-20 07:17:10 -06:00
Sage Weil
344ff7f0ef qa/suites/rados/verify: ping to specific centos
The simple

 os_type: centos

in valgrind.yaml doesn't pick a particular centos, and we end up with
the teuthology default (currently 7.6).

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-20 07:17:10 -06:00
Sage Weil
481a09f6b9 qa/workunits/rados/test_envlibrados_rocksdb: enable el8 PowerTools
We need it for snappy-devel

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-20 07:17:10 -06:00
Sage Weil
bfbad54b55 qa/workunits/rados/test_pool_access.sh: python -> python3
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-20 07:17:10 -06:00
Sage Weil
191b55e834 mgr/crash: fix signature for py3
With python3 the sig.digest() is bytes, so c is an int, not a char.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-20 07:17:10 -06:00
Zac Dover
c6135b2c15 doc: added an "is" where it was needed.
This tiny commit changes "The foregoing functionality
equivalent to" to "The foregoing functionality is
equivalent to".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2019-12-20 23:08:38 +10:00
Kefu Chai
e075fd91aa mgr/dashboard: restore working directory after creating venv
this change addresses the regression introduced by 79584862f6

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-20 20:39:57 +08:00
Sebastian Wagner
e4be7eedf1
Merge pull request #32353 from mgfritch/wip-cephadm-rename-tox
cephadm: Rename tox tests ceph-daemon -> cephadm

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-20 10:13:37 +01:00
Kefu Chai
2fe7893c64
Merge pull request #32173 from rosinL/wip-fix-coremask
msg/async/dpdk: Fix the overflow while parsing dpdk coremask

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-20 16:37:20 +08:00
Sage Weil
cfef72ede7 Merge PR #32359 into master
* refs/pull/32359/head:
	qa/workunits: python -> python3 throughout
	qa/workunits/fs/misc/direct_io.py: fix for py3
	qa/tasks/cephfs: os.write takes bytes, not str

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-19 16:21:44 -06:00
Sage Weil
ad1a21712a Merge PR #32355 into master
* refs/pull/32355/head:
	qa/suites/rados/perf: run on ubuntu

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-19 16:20:45 -06:00
Sage Weil
8099272b78 Merge PR #32356 into master
* refs/pull/32356/head:
	qa/suites/rados/thrash-old-clients: centos -> ubuntu

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-12-19 16:17:19 -06:00
Sage Weil
f9bd3d7673 Merge PR #32357 into master
* refs/pull/32357/head:
	qa/tasks/swift: remove swift tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-12-19 16:17:06 -06:00
Patrick Donnelly
1949ddf0e2
Merge PR #32117 into master
* refs/pull/32117/head:
	doc: add config help/get/set section for runtime client configuration

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-19 11:59:24 -08:00
Patrick Donnelly
49a093d79a
Merge PR #32168 into master
* refs/pull/32168/head:
	test_cephfs_shell: fix test_du_works_for_hardlinks

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-19 11:54:36 -08:00
Sage Weil
253a557f10 qa/workunits: python -> python3 throughout
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-19 12:38:47 -06:00
Sage Weil
d9756f0a08 qa/workunits/fs/misc/direct_io.py: fix for py3
os.write takes bytes, os.read returns bytes

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-19 12:35:13 -06:00
Sage Weil
aa9272d872 qa/tasks/swift: remove swift tests
- This is an ancient swift version
- The tempest tests are newer and show provide similar coverage
- It somehow broke with the py3 transition

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-19 12:21:21 -06:00
Sage Weil
922ba8bb4e qa/suites/rados/thrash-old-clients: centos -> ubuntu
We can't upgrade packages from el7 to el8, so do this on ubuntu 18.04.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-19 12:16:00 -06:00
Sage Weil
4dcb7dcc6a qa/suites/rados/perf: run on ubuntu
pdsh and collectl packages don't seem to exist on el8.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-19 12:03:10 -06:00
Sage Weil
05eb2f647d qa/tasks/cephfs: os.write takes bytes, not str
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-19 11:12:04 -06:00
Casey Bodley
757a605511
Merge pull request #31142 from zhangsw/fix-rgw-reshard-list-error
rgw: don't print error log when list reshard result is not truncated.

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-12-19 11:19:14 -05:00
Sage Weil
1a624493c7 Merge PR #32335 into master
* refs/pull/32335/head:
	qa/tasks/s3tests_java: move to gradle 6.0.1

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2019-12-19 10:16:10 -06:00
Sage Weil
755878e98e Merge PR #32343 into master
* refs/pull/32343/head:
	doc: update '--force' flag to be precise

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-19 09:27:36 -06:00
Casey Bodley
daeafeff1f
Merge pull request #31186 from zhangsw/clean-rgw-check-buckets-shard
rgw: remove unused bucket parameter in check_bucket_shards

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-12-19 10:24:10 -05:00
Michael Fritch
dcf8d6173f
cephadm: Rename tox tests ceph-daemon -> cephadm
Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-12-19 08:16:38 -07:00
Casey Bodley
17d1d4e61f
Merge pull request #31150 from zhangsw/cleanup-rgw-reshard-last_run
rgw: remove unused 'last_run' in reshard thread entry
2019-12-19 10:14:16 -05:00
Sage Weil
3fb581c86f Merge PR #32339 into master
* refs/pull/32339/head:
	qa/tasks/cephfs: python3
	qa/workunits/fs: python3
	qa/tasks/cephfs/fuse_mount: use python3

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-19 08:13:27 -06:00
Kefu Chai
3e1e6a6694
Merge pull request #32344 from kotreshhr/boost_cmake_py3_fix
cmake/Boost: Fix python3 version

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-19 17:57:06 +08:00
Kotresh HR
886b18a9a2 cmake/Boost: Fix python3 version
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2019-12-19 14:40:11 +05:30
Jos Collin
f35d03a037
doc: update '--force' flag to be precise
Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-12-19 12:09:34 +05:30
Kefu Chai
dd84d07a01
Merge pull request #31525 from tchaikov/wip-no-py2-in-make-check
install-deps.sh,src: drop python2 support

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-19 13:31:29 +08:00
Kefu Chai
6841b1356e test/run-rbd-tests: s/nosetests/python3 -m nose/
different distro use different names for nosetests3, so let's just go
with `python3 -m nose`

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-19 12:06:00 +08:00
Kefu Chai
717aaad9ed test/pybind: s/nosetests/python3/
different distros package python3-nose in different ways by adding
different postfix to "/usr/bin/nosetests" to differentiate it from
its python2 counterpart.

* on bionic, python3-nose offers "nosetests3"
* on el8, python3-nose offers "nosetests-3" and "nosetests-3.6"

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-19 11:52:56 +08:00
Kefu Chai
46358e04d2 cmake: drop Find{Python,Python2}.cmake
since we are python3 only, there is no need to check Python2 anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-19 11:52:56 +08:00
Kefu Chai
5c990ddd8e install-deps.sh: do not echo version of git
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-19 11:52:56 +08:00
Kefu Chai
e06b7bdd4f install-deps.sh: silence popd and pushd
otherwise they will echo the pushed/popped directory

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-19 11:52:56 +08:00
Kefu Chai
48c4bc445f mgr: drop the compatibility with python2
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-19 11:52:56 +08:00
Kefu Chai
5d4c2c71bd install-deps.sh: revert a5a44cf4
we don't prepare wheels for python2 anymore, and we don't test for
python2. so no need to test for python2

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-19 11:52:56 +08:00
Kefu Chai
7fec5f7a67 install-deps.sh: stop preparing wheels for python2
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-12-19 11:52:56 +08:00