Commit Graph

133056 Commits

Author SHA1 Message Date
Matt Benjamin
0c3f63f943
Merge pull request #46378 from pritha-srivastava/wip-rgw-sts-modify-session-duration
rgw/sts: modify max_session_duration using update role REST API/ radosgw-admin command.
2022-08-10 14:59:25 -04:00
David Galloway
6efee339e8
Merge pull request #47538 from tchaikov/wip-enable-gts
ceph.spec.in: %enable_devtoolset11 only if the macro is defined
2022-08-10 14:22:27 -04:00
David Galloway
fbf2db8634
Merge pull request #47541 from ceph/1723
doc: Add missing index links for 17.2.3
2022-08-10 13:23:20 -04:00
David Galloway
32f5fbbd57 doc: Add missing index links for 17.2.3
Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-08-10 12:29:23 -04:00
Kefu Chai
215c07ba8b ceph.spec.in: always use stock compiler on el9
as RHEL/CentOS 9, we have the access to GCC-11, which is good enough for
compiling main HEAD even with WITH_SEASTAR=ON.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-08-10 23:47:02 +08:00
Adam King
40f9b79b36
Merge pull request #46400 from rkachach/fix_issue_55733
mgr/cephadm: adding dynamic prometheus configuration based on http_sd_config

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-08-10 11:44:55 -04:00
Kefu Chai
53302f5f7f ceph.spec.in: define %gts_prefix
less repeatings this way, also  allow maintainer to use other version of GTS.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-08-10 22:49:43 +08:00
Kefu Chai
75dd923533 ceph.spec.in: %enable_devtoolset11 only if the macro is defined
there is chance that we are using `yum-builddep` to prepare the
build dependencies. in that case, gcc-toolset-11-build is not
installed. it's like a chicken-egg dilemma, but the point is
`yum-builddep` is able to pull in the gcc-toolset-11-build. once
gcc-toolset-11-build is installed, we will have the %enable_devtoolset11
rpm macro.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-08-10 22:37:48 +08:00
Kefu Chai
d750718922
Merge pull request #43155 from ljflores/wip-install-deps-fix
install-deps.sh: ensure that pip ugrades to most recent version within virtualenv

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-08-10 22:06:12 +08:00
Kefu Chai
eb30ccdb02
Merge pull request #47278 from rzarzynski/wip-cephx-verify_auth_cleanups
monc, cephx: improve debugs and slightly clean invalidate_ticket() up

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2022-08-10 22:02:22 +08:00
Adam King
1c4da3dbd2
Merge pull request #47092 from dparmar18/wip-dparmar-cephadm-simple-1
pybind/mgr/cephadm/upgrade: allow upgrades without reducing max_mds

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-08-10 09:57:22 -04:00
Redouane Kachach
f556a48ea6
mgr/cephadm: setting version field to a 17.2.3
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2022-08-10 15:46:10 +02:00
Redouane Kachach
a0fe3ffdaa
mgr/cephadm: adding dynamic prometheus config based on http_sd
Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2022-08-10 15:46:09 +02:00
Ernesto Puerta
ee1e163b1e
Merge pull request #47479 from ceph/wip-backportbot_script-main
.github/workflows: add create-backport action

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: David Galloway <dgallowa@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2022-08-10 14:40:18 +02:00
Ernesto Puerta
a92bf26f05
.github/workflows: add create-backport action
Currently there's a cron job in a teuthology VM running a script to find all trackers in needs-backports and to create their corresponding backport trackers. This is done through the [Backport Bot](https://tracker.ceph.com/users/12172) Redmine account.

This PR intends to run this cron job task as a periodic Github Action.

Signed-off-by: Ernesto Puerta <37327689+epuertat@users.noreply.github.com>
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2022-08-10 13:09:52 +02:00
Guillaume Abrioux
53b0023859
Merge pull request #47514 from guits/c-v-thread-inventory-2
ceph-volume: system.get_mounts() refactor
2022-08-10 13:08:20 +02:00
Ilya Dryomov
8197c9b927
Merge pull request #47198 from ceph/wip-yuriw-release-15.2.17-main
doc: 15.2.17 Release Notes

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-08-10 12:39:03 +02:00
Ilya Dryomov
3d18110c2b doc/releases/octopus.rst: add note for CVE-2022-0670
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-08-10 11:15:51 +02:00
Ilya Dryomov
4588d4f431 doc/releases/octopus.rst: add note for rbd perf image iostat/iotop
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-08-10 11:15:51 +02:00
Matan Breizman
f9b9e146aa doc/releases/octopus.rst: add release note for rados
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2022-08-10 11:15:51 +02:00
Yuri Weinstein
cc80446127 doc: 15.2.17 Release Notes
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2022-08-10 11:15:51 +02:00
Pere Diaz Bou
2e03b798bf
Merge pull request #47179 from rhcs-dashboard/service-id-info
mgr/dashboard: validate mds service_id and helper text for service_id

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-08-10 10:39:38 +02:00
Kefu Chai
67b3f3f4db
Merge pull request #47517 from tchaikov/wip-cortx-motr-jammy
install-deps: install cortx-motr from chacra on jammy

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-08-10 14:50:20 +08:00
Casey Bodley
f36690f0e7
Merge pull request #47488 from cbodley/wip-rgw-lc-shuffle
rgw/lc: random_sequence() uses default_random_engine

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2022-08-09 17:13:16 -04:00
Casey Bodley
7ef6250a93
Merge pull request #47504 from cbodley/wip-57050
rgw/cmake: stop building all of radosgw a shared lib

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2022-08-09 17:12:03 -04:00
David Galloway
5662b52dca
Merge pull request #47503 from ceph/infosec
.gitleaks.toml: Allowlist cephadm test
2022-08-09 15:53:51 -04:00
dparmar18
6b4a8263a5 qa/suites/fs/upgrade: added upgrade_without_reducing_max_mds for testing the fail_fs option
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-08-10 00:13:43 +05:30
dparmar18
0bea48984b qa/tasks/fs: add cases in post_upgrade_checks() for fail_fs
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-08-10 00:13:43 +05:30
dparmar18
c1ff3c7a40 doc/cephadm/upgrade: Add doc for mds upgrade without reducing mds_mds to 1.
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-08-10 00:13:43 +05:30
dparmar18
c3fb65a245 PendingReleaseNotes: added note related to new mds upgrade option using cephadm
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-08-10 00:13:43 +05:30
dparmar18
68bb22e704 pybind/mgr/cephadm/upgrade: allow upgrades without reducing max_mds
Fixes: https://tracker.ceph.com/issues/55715

Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
2022-08-10 00:11:09 +05:30
Kefu Chai
8761314777
Merge pull request #46101 from myoungwon/wip-dedup-tool-update
tool: modify object-dedup command to run on manifest object

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-08-10 00:17:00 +08:00
Kefu Chai
bda173fc09
Merge pull request #46242 from kamoltat/wip-ksirivad-fix-overlapping-message
pybind/mgr/pg_autoscaler: change overlapping roots to warning

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-08-10 00:15:28 +08:00
Kefu Chai
c7b17211f7
Merge pull request #47408 from ronen-fr/wip-rf-snprefix
osd: a faster version of SnapMapper::get_prefix()

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-08-10 00:13:45 +08:00
Kefu Chai
3215a9d533
Merge pull request #46573 from aclamk/wip-one-cmdparse
common/cmdparse: Unsplit crimson/classic

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2022-08-10 00:07:08 +08:00
Kefu Chai
cf287b3b3b
Merge pull request #47379 from NitzanMordhai/wip-nitzan-valgrind-handle-recovery-delete
osd: remove invalid put on message

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2022-08-10 00:05:55 +08:00
Kefu Chai
14ab202bd1
Merge pull request #47500 from tchaikov/wip-no-more-distutils
pybind/mgr/dashboard: do not use distutils.version.StrictVersion

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-08-09 23:02:07 +08:00
Kefu Chai
9dc71eb68e install-deps: install cortx-motr from chacra
this is an intermediate solution before cotx-motr upstream builds the
packages for jammy and upload them to github.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-08-09 22:53:53 +08:00
Kefu Chai
d1d14d58e4 install-deps: extract install_cortx_motr_on_ubuntu out
for better readability and maintainability

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-08-09 22:53:53 +08:00
Kefu Chai
7547a3fe13
Merge pull request #47496 from tchaikov/wip-atomic-fc36
ceph.spec.in: add libatomic to BuildRequires on fedora

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2022-08-09 21:49:31 +08:00
Kefu Chai
075b31c1c7 pybind/mgr/dashboard: do not use distutils.version.StrictVersion
replace `distutils.version.StrictVersion` with
`pkg_resources.parse_version()`

as the former is deprecated, see https://peps.python.org/pep-0632/.
let's use `pkg_resources` instead. this change also addresses
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010894.
we have this issue when testing with an ubuntu jammy test node.
see https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1967139

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-08-09 21:04:34 +08:00
Kefu Chai
110e90a10e
Merge pull request #47505 from ceph/dot
doc: Install graphviz

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-08-09 20:48:37 +08:00
Guillaume Abrioux
89cad1f33b ceph-volume: system.get_mounts() refactor
When a network mount is present in `/proc/mounts` but for any reason
the corresponding server is down, this function hangs forever.
In a cluster deployed with cephadm, the consequence is that
it triggers `ceph-volume inventory` commands that hang and stay in D
state.

The idea here is to use a thread with a timeout to abort the call if the
timeout is reached.
`get_mounts()` is now a method of a class so we can exclude a path
altogether during the whole `inventory` execution (otherwise,
ceph-volume would try to access it as many devices there is on the
host which could slow down the inventory execution)

Fixes: https://tracker.ceph.com/issues/57070

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
2022-08-09 11:44:15 +02:00
Yingxin
9a498550d1
Merge pull request #47476 from rosinL/fix-enoent
crimson/os/seastore: return future when no element error tolerated

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-08-09 09:26:32 +08:00
Yingxin
2e14277e20
Merge pull request #47425 from cyx1231st/wip-seastore-backref-cleanup
crimson/os/seastore: backref related cleanups

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-08-09 09:25:17 +08:00
David Galloway
7e25c03697 doc: Install graphviz
Fixes `WARNING: dot command 'dot' cannot be run (needed for graphviz output), check the graphviz_dot setting`

Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-08-08 16:14:38 -04:00
Casey Bodley
69a231888e rgw/cmake: stop building all of radosgw a shared lib
Fixes: https://tracker.ceph.com/issues/57050

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-08-08 11:10:11 -07:00
David Galloway
2fbcb6f9e6 .gitleaks.toml: Allowlist cephadm test
I signed up for Red Hat's gitleaks scanning service.  The self-signed key is just for testing purposes.

Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-08-08 13:57:36 -04:00
Casey Bodley
97d9de3340
Merge pull request #47475 from Huber-ming/stale_delete
rgw: correct help message of 'reshard stale-instances delete'

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2022-08-08 10:11:09 -04:00
Kefu Chai
7e122341d9 ceph.spec.in: add libatomic to BuildRequires on fedora
otherwise we'd have failures like

/opt/compiler-explorer/gcc-trunk-20220808/bin/../lib/gcc/x86_64-linux-gnu/13.0.0/../../../../x86_64-linux-gnu/bin/ld:
/tmp/ccVlMbVh.o: in function `std::atomic<tagged_ptr>::store(tagged_ptr,
std::memory_order)':
/opt/compiler-explorer/gcc-trunk-20220808/include/c++/13.0.0/atomic:273:
undefined reference to `__atomic_store_16'

when generating the building system using CMake on fedora 36.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-08-08 20:40:54 +08:00