Commit Graph

135288 Commits

Author SHA1 Message Date
Kefu Chai
127dd54db8 qa: add pytest to deps of py3 env
otherwise it is mising when running test, and we'd have following
failure:

py3: exit 2 (0.00 seconds) /home/jenkins-build/build/workspace/ceph-pull-requests/qa> pytest --assert=plain test_import.py

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-12-08 23:57:59 +08:00
Kefu Chai
bc2b551e9f qa: set locale to C.UTF-8 in tox.ini
as ansible is using UTF-8 encoded characters in the file names, so,
to avoid failures like:

  File "/home/jenkins-build/build/workspace/ceph-pull-requests/qa/.tox/py3/lib/python3.10/site-packages/pip/_internal/utils/unpacking.py", line 217, in untar_file
    with open(path, "wb") as destfp:
UnicodeEncodeError: 'latin-1' codec can't encode characters in position 137-140: ordinal not in range(256)

we have to set a locale which is able to handle UTF-8.

see also https://github.com/ceph/teuthology/pull/1671

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-12-08 22:39:57 +08:00
Kefu Chai
cf6442b330
Merge pull request #49322 from tchaikov/wip-allowlist_externals
*: s/whitelist_externals/allowlist_externals/

Reviewed-by: Adam King <adking@redhat.com>
2022-12-08 21:33:38 +08:00
Kefu Chai
c9cc795d02 pybind/mgr: drop cython from requires
cython is not required for running tox commands.

this should address the test failure like:

ROOT: will run in automatically provisioned tox, host /home/jenkins-build/build/workspace/ceph-pull-requests/build/mgr-virtualenv/bin/python3.10 is missing [requires (has)]: cython

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-12-08 18:26:42 +08:00
Kefu Chai
8b20bb8ca2 cephadm: drop cython from requires
cython is not required for launching the tox environment.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-12-08 18:23:57 +08:00
Kefu Chai
34e2e33870 *: s/whitelist_externals/allowlist_externals/
as allowlist_externals was introduced in
tox v4.0. see
5e33fda1a4 , but
this option was backported to 3.18 as an alias of whitelist_externals, so we don't need
to specify the minversion to 4.0 in this change.

as we started using tox 4.0 and up (v4.0.2 in specific). tox complains
and fails like:

alerts-lint: failed with promtool is not allowed, use allowlist_externals to allow it
  alerts-lint: FAIL code 1 (9.25 seconds)

see https://tox.wiki/en/latest/faq.html#tox-4-removed-tox-ini-keys
and https://tox.wiki/en/latest/config.html#allowlist_externals

it'd be nice to use a more inclusive language also. so, in this change,
s/whitelist_externals/allowlist_externals/ in all tox.ini in this
project.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-12-08 15:07:00 +08:00
zdover23
70a1011d18
Merge pull request #49306 from zdover23/wip-doc-2022-12-08-rbd-rados-rbd-cmds-create-a-block-device-user-semantics
doc/rbd: refine "Create a Block Device User"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-08 15:21:24 +10:00
Anthony D'Atri
dad9f9409f
Merge pull request #49288 from BryceCao/wip-update-doc-ubuntu-deps-install
doc/start: update "apt install" command in documenting-ceph.rst
2022-12-07 23:24:42 -05:00
cao.leilc
85a11ed22c doc/start: update "apt install" command in documenting-ceph.rst
Signed-off-by: caolei <cao.leilc@inspur.com>
2022-12-08 10:07:51 +08:00
Zac Dover
b6cc04e0bc doc/rbd: refine "Create a Block Device User"
Refine "Create a Block Device User", after suggestions made by Ilya
Dryomov in https://github.com/ceph/ceph/pull/49301#pullrequestreview-1208285685

https://tracker.ceph.com/issues/57001

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-08 10:38:52 +10:00
Laura Flores
4f693d8a57
Merge pull request #48943 from yaarith/fix-telemetry-ident
qa/workunits: identify ceph test clusters
2022-12-07 16:40:03 -06:00
Casey Bodley
d597c34fbb
Merge pull request #49121 from tchaikov/wip-cmake-cares
cmake: add c-ares::cares as a global visible library

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-12-07 15:07:27 -05:00
Casey Bodley
8b0acb2c0f
Merge pull request #48679 from cfsnyder/wip-rgw-multi-obj-del-perf
rgw: concurrency for multi object deletes

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-12-07 14:09:10 -05:00
Yuri Weinstein
85c412feae
Merge pull request #48265 from pdvian/wip-fix-mmgrupdate
mon: Fix condition to check for ceph version mismatch

Reviewed-by: Laura Flores <lflores@redhat.com>
2022-12-07 10:52:58 -08:00
Yuri Weinstein
17f18258e2
Merge pull request #48138 from sseshasa/wip-fix-osd-bench
osd: Randomize osd bench buffer data before submitting to objectstore

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2022-12-07 10:52:32 -08:00
Yuri Weinstein
f17d3f0cc4
Merge pull request #48136 from shreyanshjain7174/fix_versions
mon: remove empty list entries from ceph versions

Reviewed-by: Prashant D <pdhange@redhat.com>
2022-12-07 10:49:37 -08:00
zdover23
91bef1188b
Merge pull request #49282 from zdover23/wip-doc-2022-12-06-rbd-rados-rbd-cmds-create-a-block-device-pool-semantics
doc/rbd: refine "Create a Block Device Pool"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2022-12-08 02:51:20 +10:00
Casey Bodley
ac43fb4a4d
Merge pull request #49293 from BryceCao/wip-fix-rgw.yaml.in-spelling-mistake
src/common/options/rgw.yaml.in: fix spelling mistake

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-12-07 11:30:26 -05:00
Adam King
08718ae283
Merge pull request #47708 from rkachach/fix_issue_57160
mgr/rgw: adding support for rgw multisite

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2022-12-07 10:43:44 -05:00
Adam King
62a3289df9
Merge pull request #48074 from adk3798/client-removal-fixing
mgr/cephadm: write client files after applying services

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2022-12-07 10:37:31 -05:00
Adam King
5bf1e01908
Merge pull request #48213 from adk3798/migration-too-high
mgr/cephadm: don't say migration in progress if migration current > migration last

Reviewed-by: Michael Fritch <mfritch@suse.com>
2022-12-07 10:33:43 -05:00
Adam King
869a765abd
Merge pull request #48304 from rhcs-dashboard/iscsi-default-user-pwd
mgr/cephadm: iscsi username and password defaults to admin

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-12-07 10:32:07 -05:00
Kefu Chai
14720ac564
Merge pull request #49127 from Matan-B/wip-matanb-c-seq_mode_t
crimson/osd/osd_operations/client_request: Remove seq_mode_t

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-12-07 23:30:44 +08:00
Adam King
514895cdfa
Merge pull request #48306 from alimaredia/wip-ceph-adm-force-asok-removal
cephadm: force .asok file removal after daemon stoppage

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2022-12-07 10:27:25 -05:00
Adam King
af71b62986
Merge pull request #48389 from adk3798/staggered-start-update
qa/cephadm: update staggered upgrade test to use --image when redeploying mgr

Reviewed-by: Michael Fritch <mfritch@suse.com>
2022-12-07 10:25:51 -05:00
Adam King
daf5491c93
Merge pull request #48391 from adk3798/iscsi-ports
mgr/cephadm: specify ports for iscsi

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2022-12-07 10:22:42 -05:00
Adam King
c2d9df5d1b
Merge pull request #48489 from rkachach/fix_issue_57816
mgr/cephadm: making grafana protocol configurable

Reviewed-by: Adam King <adking@redhat.com>
2022-12-07 10:20:56 -05:00
Adam King
a2a2375608
Merge pull request #48507 from rkachach/fix_issue_57876
mgr/prometheus: fix module crash when trying to collect OSDs metrics

Reviewed-by: Adam King <adking@redhat.com>
2022-12-07 10:19:20 -05:00
Adam King
4b343d6acb
Merge pull request #48517 from adk3798/active-mgr-redeploy
mgr/cephadm: save host cache data after scheduling daemon action

Reviewed-by: Michael Fritch <mfritch@suse.com>
2022-12-07 10:16:41 -05:00
Zac Dover
987d3163a1 doc/rbd: refine "Create a Block Device Pool"
Refine the "Create a Block Device Pool" section of
doc/rbd/rados-rbd-cmds.rst.

https://tracker.ceph.com/issues/57001

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-07 23:14:02 +10:00
zdover23
b460d283b1
Merge pull request #49283 from zdover23/wip-doc-2022-12-06-rbd-rados-rbd-cmds-create-a-block-device-user-semantics
doc/rbd: refine "Create a Block Device User"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-07 21:29:10 +10:00
cao.leilc
1aa164ecbb src/common/options/rgw.yaml.in: fix spelling mistake
Signed-off-by: caolei <cao.leilc@inspur.com>
2022-12-07 14:11:56 +08:00
Venky Shankar
dfe10da454
Merge pull request #49155 from joscollin/wip-cephfs-top-doc-update-filters
doc: updated doc for Filters

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
2022-12-07 10:05:10 +05:30
Venky Shankar
10d1c376f8
Merge pull request #49257 from ktdreyer/doc-createfs-syntax
doc/cephfs: monospace "ceph fs set-default" command

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-07 09:59:50 +05:30
Zac Dover
51bc43845f doc/rbd: refine "Create a Block Device User"
Refine "Create a Block Device User" in doc/rbd/rados-rbd-cmds.rst.

https://tracker.ceph.com/issues/57001

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-07 13:58:20 +10:00
Ken Dreyer
db4cd72479 doc/cephfs: monospace "ceph fs set-default" command
Fix the rst syntax here to make this command match everything else.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2022-12-06 15:24:43 -05:00
Yuri Weinstein
10911fd9c6
Merge pull request #48296 from Matan-B/wip-matanb-no-history-cleanup
osd/OSD.cc: handle_fast_pg_create cleanup 

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-12-06 11:37:47 -08:00
Laura Flores
912fed8446
Merge pull request #49260 from ceph/core-label
.github: add core label to files under src/test/librados
2022-12-06 11:10:11 -06:00
colemitchell
c297b97cfe
Merge pull request #49270 from zdover23/wip-doc-2022-12-05-rados-placment-groups-3-of-3-prompts
doc/rados: add prompts to placement-groups.rst (3)

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-06 02:25:12 -05:00
colemitchell
c9d3b23419
Merge pull request #49269 from zdover23/wip-doc-2022-12-05-rados-placment-groups-2-of-3-prompts
doc/rados: add prompts to placement-groups.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-06 02:20:56 -05:00
colemitchell
d5c18961e1
Merge pull request #49268 from zdover23/wip-doc-2022-12-05-rados-placment-groups-1-of-3-prompts
doc/rados: add prompts to placement-groups.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-12-06 02:14:55 -05:00
Zac Dover
eb24e24e99 doc/rados: add prompts to placement-groups.rst (3)
Add unselectable prompts to doc/rados/operations/placement-groups.rst (3
of 3).

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-06 17:13:44 +10:00
Zac Dover
8574cfb847 doc/rados: add prompts to placement-groups.rst
Add unselectable prompts to doc/rados/operations/placement-groups.rst.
(2 of 3)

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-06 17:07:18 +10:00
Zac Dover
ec38804d5a doc/rados: add prompts to placement-groups.rst
Add unselectable prompts to doc/rados/operations/placement-groups.rst.

https://tracker.ceph.com/issues/57108

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-06 16:56:02 +10:00
zdover23
1542f341dd
Merge pull request #49264 from zdover23/wip-doc-2022-12-06-glossary-rbd
doc/glossary: add matter to "RBD"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-12-06 16:09:08 +10:00
Venky Shankar
e5558ce1a2
Merge pull request #48628 from lxbsz/kclient_fscrypt
qa: cephfs add fscrypt test suite support for kclient

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2022-12-06 11:06:58 +05:30
Zac Dover
acdb2a6ee3 doc/glossary: add matter to "RBD"
Clarify that "RBD" and "Ceph Block Device" and "RADOS Block Device" all
refer to the same thing.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-12-06 14:15:43 +10:00
Laura Flores
e315c5d9a3
Merge pull request #48223 from myoungwon/wip-fix-tier-evict-range
osd: mark modified region as dirty when tier-evict is called
2022-12-05 18:13:21 -06:00
Igor Fedotov
84bae39a08
Merge pull request #48467 from baergj/fix-read-error-code
blk/kernel: Fix error code mapping in KernelDevice::read.

Reviewed-by: Robin H. Johnson <robbat2@orbis-terrarum.net>
Reviewed-by: Igor Fedotov <igor.fedotov@croit.io>
2022-12-06 02:46:16 +03:00
Laura Flores
e75eb834e7
.github: add core label to files under src/test/librados
In response to https://tracker.ceph.com/issues/58173, it would have helped to have the PR label librados test files with core, so the PR would have been tagged for rados qa.

Signed-off-by: Laura Flores <lflores@redhat.com>
2022-12-05 15:07:42 -06:00