]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
23 months agoMerge pull request #52904 from ronen-fr/wip-rf-ost-fmt
Yuri Weinstein [Tue, 22 Aug 2023 18:32:16 +0000 (11:32 -0700)]
Merge pull request #52904 from ronen-fr/wip-rf-ost-fmt

commom,osd: support for default fmtlib formatters

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
23 months agoMerge pull request #52809 from sseshasa/wip-mclock-client-lim-62293
Yuri Weinstein [Tue, 22 Aug 2023 18:31:22 +0000 (11:31 -0700)]
Merge pull request #52809 from sseshasa/wip-mclock-client-lim-62293

osd/scheduler/mClockScheduler: Use same profile and client ids for all clients to ensure allocated QoS limit consumption.

Reviewed-by: Samuel Just <sjust@redhat.com>
23 months agoMerge pull request #52339 from Matan-B/wip-matanb-trim-maps-refactor
Yuri Weinstein [Tue, 22 Aug 2023 18:31:05 +0000 (11:31 -0700)]
Merge pull request #52339 from Matan-B/wip-matanb-trim-maps-refactor

osd/OSD: Simplify trim_maps

Reviewed-by: Samuel Just <sjust@redhat.com>
23 months agoMerge pull request #51868 from NitzanMordhai/wip-nitzan-admin-socket-new-session...
Yuri Weinstein [Tue, 22 Aug 2023 18:30:37 +0000 (11:30 -0700)]
Merge pull request #51868 from NitzanMordhai/wip-nitzan-admin-socket-new-session-mon-shutdown

mon/Monitor: during shutdown don't accept new authentication and crea…

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
23 months agoMerge pull request #50216 from rhcs-dashboard/log-runway
Yuri Weinstein [Tue, 22 Aug 2023 18:30:17 +0000 (11:30 -0700)]
Merge pull request #50216 from rhcs-dashboard/log-runway

os/bluestore: expand BlueFS log if available space is insufficient

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
23 months agoMerge pull request #53038 from ronen-fr/wip-rf-max-utime
Ronen Friedman [Tue, 22 Aug 2023 18:16:50 +0000 (21:16 +0300)]
Merge pull request #53038 from ronen-fr/wip-rf-max-utime

common: add a utime_t::max constant

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #50200 from adk3798/drain-leave-etc-ceph
Adam King [Tue, 22 Aug 2023 16:31:33 +0000 (12:31 -0400)]
Merge pull request #50200 from adk3798/drain-leave-etc-ceph

mgr/cephadm: allow draining host without removing conf/keyring files

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #53008 from adk3798/cephadm-bind-to-specific-ip
Adam King [Tue, 22 Aug 2023 16:29:27 +0000 (12:29 -0400)]
Merge pull request #53008 from adk3798/cephadm-bind-to-specific-ip

mgr/cephadm: allow ingress services with same frontend port and different VIP

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agocephadm: have attempt_bind raise up OSErrors 53008/head
Adam King [Fri, 18 Aug 2023 16:32:38 +0000 (12:32 -0400)]
cephadm: have attempt_bind raise up OSErrors

Before it was always converting the OSError to
our self-defined "Error" class. This causes an issue
with the port_in_use function that has special handling
for OSError when the errno is EADDRNOTAVAIL or
EAFNOSUPPORT. Since the error being raised was no
longer an OSError it wasn't being caught and checked
properly in port_in_use.

This has the additional property of being necessary
to check port availability for haproxy on its VIP. If
we fail deployment when EADDRNOTAVAIL is raised, it becomes
difficult to deploy the ingress service. If we deploy
haproxy first it fails because the VIP isn't available
yet (since keepalive isn't up) and it fails saying the port
it wants to bind to is unavailable (specifically EADDRNOTAVAIL).
If we try to deploy keepalive first it fails because it
needs to know the location of the haproxy daemons in
order to build its config file. This has worked in the past
by just having the haproxy fail to bind at first and then
fix itself once the keepalive daemon is deployed. That
no longer works if the haproxy daemon fails to deploy
because cephadm is reporting the port it needs is
unavailable. Since EADDRNOTAVAIL when deploying
haproxy likely means the VIP is not up rather than
something else is taking up the port it needs, fixing
the handling of this allows ingress deployment to
work while also allowing multiple haproxy daemons
on the same host to use the same frontend port
bound to different VIPs.

Signed-off-by: Adam King <adking@redhat.com>
2 years agomgr/cephadm: only check haproxy frontend_port conflicts on VIP
Adam King [Fri, 11 Aug 2023 18:00:31 +0000 (14:00 -0400)]
mgr/cephadm: only check haproxy frontend_port conflicts on VIP

If we know what IP the frontend_port will be binding
to, we can pass that down through the port_ips mapping
so cephadm will only check if that port on that specific
VIP if in use. This allows multiple haproxy daemons
to be bound to the same port on different VIPs on the
same host.

Note that you still must use a different monitor port
for the two different ingress services as that port
is bound to on the actual IP of the host. Only the
frontend port can be the same for haproxies on the
same host as long as the VIP is different.

Fixes: https://tracker.ceph.com/issues/57614
Signed-off-by: Adam King <adking@redhat.com>
2 years agocephadm: support for specifying IP a port will be bound to on
Adam King [Fri, 11 Aug 2023 17:35:10 +0000 (13:35 -0400)]
cephadm: support for specifying IP a port will be bound to on

This is mostly for checking for port conflicts.
Currently, we just check if the port is bound to
on any IP on the host. This mechanism should allow
certain daemon types to specify a port -> IP mapping
that will be passed to the cephadm binary. That
mapping will then be used by cephadm to only
check for the port being bound to on that specific
IP rather than any IP on the host. The end result
is we could have daemons bound to the same
port on different IPs on the same node.

It's expected that daemon types will set this
up as part of their prepare_create or generate_config
functions where they may have more info about the
specific IPs and ports they need.

Signed-off-by: Adam King <adking@redhat.com>
2 years agocommon: add a utime_t::max constant 53038/head
Ronen Friedman [Thu, 17 Aug 2023 14:20:33 +0000 (09:20 -0500)]
common: add a utime_t::max constant

a convenient init value when searching for some early timepoint.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoMerge pull request #52700 from cloudbehl/utilization-improvements
Aashish Sharma [Tue, 22 Aug 2023 13:02:28 +0000 (18:32 +0530)]
Merge pull request #52700 from cloudbehl/utilization-improvements

mgr/dashboard: Adding legends and fixing queries

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2 years agoMerge pull request #53040 from ronen-fr/wip-rf-conf-minor
Ronen Friedman [Tue, 22 Aug 2023 12:52:45 +0000 (15:52 +0300)]
Merge pull request #53040 from ronen-fr/wip-rf-conf-minor

osd: minor changes to the descriptions of some configuration items

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #53036 from ceph/revert-52416-ior-make-failures
Rishabh Dave [Tue, 22 Aug 2023 09:46:42 +0000 (15:16 +0530)]
Merge pull request #53036 from ceph/revert-52416-ior-make-failures

Revert "qa/cephfs: fix ior build failure"

Reviewed-by: Rishabh Dave <ridave@redhat.com>
2 years agoMerge PR #52111 into main
Venky Shankar [Tue, 22 Aug 2023 07:57:17 +0000 (13:27 +0530)]
Merge PR #52111 into main

* refs/pull/52111/head:
ceph: allow xlock state to be LOCK_SYNC when putting it
ceph: allow xlock state to be LOCK_PREXLOCK when putting it

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge PR #52335 into main
Venky Shankar [Tue, 22 Aug 2023 07:56:02 +0000 (13:26 +0530)]
Merge PR #52335 into main

* refs/pull/52335/head:
client: move the Inode to new auth mds session when changing auth cap
client: check the xlists in ~MetaSession()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge PR #52520 into main
Venky Shankar [Tue, 22 Aug 2023 07:55:07 +0000 (13:25 +0530)]
Merge PR #52520 into main

* refs/pull/52520/head:
mds: acquire inode snaplock in open

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
2 years agoMerge PR #52741 into main
Venky Shankar [Tue, 22 Aug 2023 07:53:40 +0000 (13:23 +0530)]
Merge PR #52741 into main

* refs/pull/52741/head:
qa/cephfs: switch to python3 for centos stream 9

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2 years agoMerge pull request #53069 from zdover23/wip-doc-2023-08-22-start-os-recommendations...
zdover23 [Tue, 22 Aug 2023 04:36:42 +0000 (14:36 +1000)]
Merge pull request #53069 from zdover23/wip-doc-2023-08-22-start-os-recommendations-platforms

doc/start: update "platforms" table

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #53068 from zdover23/wip-doc-2023-08-21-README-md-cmake-options
zdover23 [Tue, 22 Aug 2023 04:35:19 +0000 (14:35 +1000)]
Merge pull request #53068 from zdover23/wip-doc-2023-08-21-README-md-cmake-options

doc/README.md - improve "CMake Options"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #53046 from cyx1231st/wip-crimson-msgr-perf-random-client-nonce
Yingxin [Tue, 22 Aug 2023 01:29:49 +0000 (09:29 +0800)]
Merge pull request #53046 from cyx1231st/wip-crimson-msgr-perf-random-client-nonce

crimson/tools/perf_crimson_msgr: randomize client nonce

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #52673 from tobias-urdin/options-anon-auth-presigned
Casey Bodley [Mon, 21 Aug 2023 19:52:25 +0000 (15:52 -0400)]
Merge pull request #52673 from tobias-urdin/options-anon-auth-presigned

rgw: handle http options CORS with v4 auth

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge PR #52868 into main
Casey Bodley [Mon, 21 Aug 2023 19:16:44 +0000 (15:16 -0400)]
Merge PR #52868 into main

* refs/pull/52868/head:
mailmap: update affiliations for reef release
script: fix credits.sh showing 0 lines changed for mapped emails
script: credits.sh uses grep -E

Reviewed-by: Joshua Baergen <jbaergen@digitalocean.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Zack Cerza <zack@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Parth Arora <paarora@redhat.com>
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: zmc <NOT@FOUND>
2 years agodoc/start: update "platforms" table 53069/head
Zac Dover [Mon, 21 Aug 2023 15:18:40 +0000 (01:18 +1000)]
doc/start: update "platforms" table

Update the table that reports which versions of which Linux releases
have been used in tests of Ceph.

Fixes: https://tracker.ceph.com/issues/62354
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoosd: minor changes to the descriptions of some configuration items 53040/head
Ronen Friedman [Thu, 17 Aug 2023 15:28:06 +0000 (10:28 -0500)]
osd: minor changes to the descriptions of some configuration items

... mostly scrub-related.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 years agomailmap: update affiliations for reef release 52868/head
Casey Bodley [Mon, 7 Aug 2023 20:03:46 +0000 (16:03 -0400)]
mailmap: update affiliations for reef release

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agodoc/README.md - improve "CMake Options" 53068/head
Zac Dover [Mon, 21 Aug 2023 13:53:33 +0000 (23:53 +1000)]
doc/README.md - improve "CMake Options"

Add subheadings to the "CMake Options" section of ceph/README.md. Remove
modal verbs when appropriate and make sentences tidier.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoRevert "qa/cephfs: fix ior build failure" 53036/head
Venky Shankar [Thu, 17 Aug 2023 13:01:42 +0000 (18:31 +0530)]
Revert "qa/cephfs: fix ior build failure"

PR #52416 is incomplete and got merged on the basis of a linked
test run which passed, however, subsequent update to the PR
caused the test to start failing again.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2 years agomgr/dashboard: Overview graph improvemntments 52700/head
cloudbehl [Thu, 10 Aug 2023 12:20:38 +0000 (17:50 +0530)]
mgr/dashboard: Overview graph improvemntments

Fixes: https://tracker.ceph.com/issues/62367
Signed-off-by: cloudbehl <cloudbehl@gmail.com>
2 years agoMerge pull request #52915 from rhcs-dashboard/rgw-multisite-sync-card
Aashish Sharma [Mon, 21 Aug 2023 12:41:12 +0000 (18:11 +0530)]
Merge pull request #52915 from rhcs-dashboard/rgw-multisite-sync-card

mgr/dashboard: multisite sync status card for rgw overview dashboard

Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agomgr/dashboard: multisite sync status card for rgw overview dashboard 52915/head
Aashish Sharma [Tue, 25 Jul 2023 12:07:38 +0000 (17:37 +0530)]
mgr/dashboard: multisite sync status card for rgw overview dashboard

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 1d6f19e53b68c180a2d0301889974949fe899a2c)

2 years agoMerge PR #52867 into main
Venky Shankar [Mon, 21 Aug 2023 05:33:48 +0000 (11:03 +0530)]
Merge PR #52867 into main

* refs/pull/52867/head:
doc: modify and add descriptions for  cephfs-shell commands.

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2 years agoMerge pull request #52128 from myoungwon/wip-fix-invalid-replay
Yingxin [Mon, 21 Aug 2023 01:49:44 +0000 (09:49 +0800)]
Merge pull request #52128 from myoungwon/wip-fix-invalid-replay

crimson/os/seastore/journal/cbj: generalize scan_valid_records()

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agoMerge pull request #53055 from zdover23/wip-doc-2023-08-19-README-md-building-ceph
zdover23 [Sun, 20 Aug 2023 10:44:23 +0000 (20:44 +1000)]
Merge pull request #53055 from zdover23/wip-doc-2023-08-19-README-md-building-ceph

doc/README.md - edit "Building Ceph"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/README.md - edit "Building Ceph" 53055/head
Zac Dover [Sat, 19 Aug 2023 09:29:08 +0000 (19:29 +1000)]
doc/README.md - edit "Building Ceph"

Improve the "Building Ceph" section of ceph/README.md.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #53035 from zdover23/wip-doc-2023-08-17-README-md-contributing...
zdover23 [Fri, 18 Aug 2023 10:26:59 +0000 (20:26 +1000)]
Merge pull request #53035 from zdover23/wip-doc-2023-08-17-README-md-contributing-code

doc: edit README.md - contributing code

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agocrimson/os/seastore/journal/cbj: remove return_record and read_record 52128/head
myoungwon oh [Wed, 16 Aug 2023 11:58:49 +0000 (11:58 +0000)]
crimson/os/seastore/journal/cbj: remove return_record and read_record

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agocrimson/os/seastore/journal/cbj: check if batched records are written at once before...
myoungwon oh [Mon, 14 Aug 2023 08:10:04 +0000 (08:10 +0000)]
crimson/os/seastore/journal/cbj: check if batched records are written at once before rolling

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agocrimson/os/seastore: genralize read_validate_record_metadata and read_validate_data
myoungwon oh [Fri, 11 Aug 2023 14:47:21 +0000 (14:47 +0000)]
crimson/os/seastore: genralize read_validate_record_metadata and read_validate_data

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agocrimson/tools/perf_crimson_msgr: randomize client nonce 53046/head
Yingxin Cheng [Thu, 17 Aug 2023 03:28:37 +0000 (11:28 +0800)]
crimson/tools/perf_crimson_msgr: randomize client nonce

In case we want to start multiple clients simultaneously.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agoMerge pull request #53023 from xxhdx1985126/wip-seastore-daggling-ref
Yingxin [Fri, 18 Aug 2023 01:19:47 +0000 (09:19 +0800)]
Merge pull request #53023 from xxhdx1985126/wip-seastore-daggling-ref

crimson/os/seastore: fix daggling reference of oid in SeaStore::Shard::stat()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2 years agodoc: edit README.md - contributing code 53035/head
Zac Dover [Thu, 17 Aug 2023 10:38:20 +0000 (20:38 +1000)]
doc: edit README.md - contributing code

Edit the "Contributing Code" section of the "ceph/README.md" file.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2 years agoMerge pull request #53022 from rhcs-dashboard/upgrade-start-enhancement
Avan [Thu, 17 Aug 2023 15:16:30 +0000 (20:46 +0530)]
Merge pull request #53022 from rhcs-dashboard/upgrade-start-enhancement

mgr/dashboard: support cluster upgrade even if the check for upgrade fails

Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoscript: fix credits.sh showing 0 lines changed for mapped emails
Casey Bodley [Tue, 8 Aug 2023 14:00:22 +0000 (10:00 -0400)]
script: fix credits.sh showing 0 lines changed for mapped emails

script was showing 0 for several contributors because the commit Author:
did not match their mapped address:
```
Number of lines added and removed, by authors
...
   306      0 Radoslaw Zarzynski <rzarzynski@redhat.com>
   307      0 Mike Perez <miperez@redhat.com>
   308      0 Michael J. Kidd <linuxkidd@redhat.com>
   309      0 Lukas Mayer <lmayer@wind.gmbh>
   310      0 Luis Henriques <lhenriques@suse.com>
   311      0 Kyle McGough <kmcgough@digitalocean.com>
   312      0 João Eduardo Luís <joao@suse.de>
   313      0 JinyongHa <jy200.ha@samsung.com>
   314      0 Ilya Dryomov <idryomov@redhat.com>
```

in the case of Ilya and Radoslaw:
```
$ git log --no-merges --pretty='%ae' v17.2.6..v18.2.0 | sed -e "s/'/ /g" | sort -u | grep -e idryomov -e rzarzyns
idryomov@gmail.com
rzarzyns@redhat.com
```

this output gets fed into `git log --numstat --author="$mail"` to fetch
the stats, but that command maps idryomov@gmail.com -> idryomov@redhat.com
and rzarzyns@redhat.com -> rzarzynski@redhat.com so no commits matched.
disabling the mapping for this command with --no-mailmap allows it to
fetch their stats correctly:
```
    14   11809 Radoslaw Zarzynski <rzarzynski@redhat.com>
    16   10051 Ilya Dryomov <idryomov@redhat.com>
```

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agoscript: credits.sh uses grep -E
Casey Bodley [Mon, 7 Aug 2023 19:47:19 +0000 (15:47 -0400)]
script: credits.sh uses grep -E

resolves warning spam:
> egrep: warning: egrep is obsolescent; using grep -E

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2 years agorgw/auth: move http options v4 logic to get_v4_canonical_method() 52673/head
Tobias Urdin [Thu, 17 Aug 2023 11:45:06 +0000 (11:45 +0000)]
rgw/auth: move http options v4 logic to get_v4_canonical_method()

Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
2 years agorgw/auth: handle HTTP OPTIONS with v4 auth
Tobias Urdin [Mon, 7 Aug 2023 20:34:43 +0000 (20:34 +0000)]
rgw/auth: handle HTTP OPTIONS with v4 auth

This adds code to properly verify the signature
for HTTP OPTIONS calls that is preflight CORS
requests passing the expected method in the
access-control-request-method header.

Fixes: https://tracker.ceph.com/issues/62033
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
2 years agorgw/auth: check auth for http options requests
Tobias Urdin [Thu, 27 Jul 2023 14:59:45 +0000 (14:59 +0000)]
rgw/auth: check auth for http options requests

If we get a HTTP OPTIONS request we previously always
allowed the anonymous engine to handle the request even
if other auth was given in the request.

Fixes: https://tracker.ceph.com/issues/62033
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
2 years agodoc: modify and add descriptions for cephfs-shell commands. 52867/head
tengjie5 [Tue, 8 Aug 2023 02:13:58 +0000 (10:13 +0800)]
doc: modify and add descriptions for  cephfs-shell commands.
Fixes: https://tracker.ceph.com/issues/62074
Signed-off-by: Teng Jie <tengjie5@asiainfo.com>
2 years agoMerge pull request #53030 from petrutlucian94/rbd_tests
Ilya Dryomov [Thu, 17 Aug 2023 09:39:53 +0000 (11:39 +0200)]
Merge pull request #53030 from petrutlucian94/rbd_tests

test/librbd/fsx: fix wnbd check

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agotest/librbd/fsx: fix wnbd check 53030/head
Lucian Petrut [Thu, 17 Aug 2023 06:12:00 +0000 (06:12 +0000)]
test/librbd/fsx: fix wnbd check

When using WNBD, the IO size must be a multiple of the sector size
(WNBD only supports 512 at the moment).

We're currently checking the "wnbd_operations" variable, however
it's only defined on Windows, leading to a compilation failure
on other platforms.

We'll switch back to a separate boolean variable called "wnbd_disk".

Fixes: https://tracker.ceph.com/issues/62475
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agomgr/dashboard: support cluster upgrade even if the check for upgrade fails 53022/head
avanthakkar [Wed, 16 Aug 2023 10:55:41 +0000 (16:25 +0530)]
mgr/dashboard: support cluster upgrade even if the check for upgrade fails

Fixes: https://tracker.ceph.com/issues/62457
Signed-off-by: avanthakkar <avanjohn@gmail.com>
2 years agoMerge pull request #51561 from rhcs-dashboard/hosts-no-data
Nizamudeen A [Thu, 17 Aug 2023 05:27:52 +0000 (10:57 +0530)]
Merge pull request #51561 from rhcs-dashboard/hosts-no-data

mgr/dashboard: add not avaialable with unpresent host facts

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #51227 from jsoref/spelling-dashboard
Nizamudeen A [Thu, 17 Aug 2023 05:18:30 +0000 (10:48 +0530)]
Merge pull request #51227 from jsoref/spelling-dashboard

dashboard: Fix spelling

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #51126 from rhcs-dashboard/jeje-log
Nizamudeen A [Thu, 17 Aug 2023 05:14:22 +0000 (10:44 +0530)]
Merge pull request #51126 from rhcs-dashboard/jeje-log

mgr/prometheus: remove jeje log

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2 years agocrimson/os/seastore/journal/cbj: check if the first record in CBJ is written after...
myoungwon oh [Fri, 11 Aug 2023 04:52:23 +0000 (04:52 +0000)]
crimson/os/seastore/journal/cbj: check if the first record in CBJ is written after rolling or not

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agoMerge pull request #53021 from rhcs-dashboard/buckets-e2e-fix
Nizamudeen A [Wed, 16 Aug 2023 17:38:35 +0000 (23:08 +0530)]
Merge pull request #53021 from rhcs-dashboard/buckets-e2e-fix

mgr/dashboard: fix rgw buckets e2e

Reviewed-by: cloudbehl <NOT@FOUND>
2 years agoMerge pull request #52740 from adk3798/ingress-vip-networks
Adam King [Wed, 16 Aug 2023 17:22:50 +0000 (13:22 -0400)]
Merge pull request #52740 from adk3798/ingress-vip-networks

mgr/cephadm: pick correct IPs for ingress service based on VIP

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #51881 from adk3798/logrotate-tcmu-runner
Adam King [Wed, 16 Aug 2023 17:05:08 +0000 (13:05 -0400)]
Merge pull request #51881 from adk3798/logrotate-tcmu-runner

cephadm: add tcmu-runner to logrotate config

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #52651 from galsalomon66/trino_tpcds_qe_fixes
Casey Bodley [Wed, 16 Aug 2023 16:36:55 +0000 (12:36 -0400)]
Merge pull request #52651 from galsalomon66/trino_tpcds_qe_fixes

rgw/s3select: s3select fixes related to Trino/TPCDS benchmark and QE tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agocrimson/os/seastore/journal/cbj: introduce magic value to identify that written recor...
myoungwon oh [Sat, 22 Jul 2023 14:52:14 +0000 (14:52 +0000)]
crimson/os/seastore/journal/cbj: introduce magic value to identify that written records are correct

The cbj would replay invalid records if the same write pattern (mkfs -> write -> mkfs -> write) repeats.
On the second mkfs(), current cbj wrongly recognizes the old records are valid beceause they have
correct seq. number at appropriate offset even though the records are expired.

To solve this, this commit introduces random value to identify the journal  during mkfs()

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agocrimson/os/seastore: introduce generalized scan_valid_records for RBM
myoungwon oh [Sat, 22 Jul 2023 06:03:04 +0000 (06:03 +0000)]
crimson/os/seastore: introduce generalized scan_valid_records for RBM

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agoMerge pull request #50141 from petrutlucian94/rbd_tests
Ilya Dryomov [Wed, 16 Aug 2023 15:44:37 +0000 (17:44 +0200)]
Merge pull request #50141 from petrutlucian94/rbd_tests

Enable librbd tests on Windows

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years agoMerge pull request #52988 from ceph/gh-add-to-project-fix-perm-issue
Ernesto Puerta [Wed, 16 Aug 2023 14:30:10 +0000 (16:30 +0200)]
Merge pull request #52988 from ceph/gh-add-to-project-fix-perm-issue

.github: fix add to dashboard failing

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2 years agoMerge pull request #52410 from phlogistonjohn/jjm-issue61852-haproxy-ips
Adam King [Wed, 16 Aug 2023 14:16:09 +0000 (10:16 -0400)]
Merge pull request #52410 from phlogistonjohn/jjm-issue61852-haproxy-ips

cephadm: fix issue with limited haproxy_hosts IPs list

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #51899 from adk3798/cephadm-signed-keys
Adam King [Wed, 16 Aug 2023 14:10:36 +0000 (10:10 -0400)]
Merge pull request #51899 from adk3798/cephadm-signed-keys

cephadm: support for CA signed keys

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agocrimson/os/seastore: introduce RecordScanner to generalize scan_valid_records()
myoungwon oh [Thu, 20 Jul 2023 02:50:48 +0000 (02:50 +0000)]
crimson/os/seastore: introduce RecordScanner to generalize scan_valid_records()

Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
2 years agoMerge pull request #51170 from kotreshhr/doc-mds-cap-acquisition-throttle
zdover23 [Wed, 16 Aug 2023 12:00:51 +0000 (22:00 +1000)]
Merge pull request #51170 from kotreshhr/doc-mds-cap-acquisition-throttle

doc: Fix doc for mds cap acquisition throttle

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2 years agocrimson/os/seastore: fix daggling reference of oid in 53023/head
Xuehan Xu [Wed, 16 Aug 2023 11:37:59 +0000 (19:37 +0800)]
crimson/os/seastore: fix daggling reference of oid in
SeaStore::Shard::stat()

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2 years agocrimson/osd: fixing fmtlib-related compilation issues 52904/head
Ronen Friedman [Thu, 10 Aug 2023 06:38:39 +0000 (01:38 -0500)]
crimson/osd: fixing fmtlib-related compilation issues

brought about by the change to fmt formatting support.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 years agomgr/dashboard: fix rgw buckets e2e 53021/head
Nizamudeen A [Wed, 16 Aug 2023 09:16:42 +0000 (14:46 +0530)]
mgr/dashboard: fix rgw buckets e2e

Fixes: https://tracker.ceph.com/issues/62458
Signed-off-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #53018 from rhcs-dashboard/rm-cephfs-subvolume-group
Nizamudeen A [Wed, 16 Aug 2023 08:33:44 +0000 (14:03 +0530)]
Merge pull request #53018 from rhcs-dashboard/rm-cephfs-subvolume-group

mgr/dashboard: cephfs remove subvolume group

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agotest/librbd/fsx: add rbd-wnbd tests 50141/head
Lucian Petrut [Fri, 4 Nov 2022 10:30:43 +0000 (12:30 +0200)]
test/librbd/fsx: add rbd-wnbd tests

rbd-wnbd can be used to map rbd images as Windows block devices.

This change will allow exercising rbd-wnbd and the wnbd driver
as opposed to using librbd directly.

One thing to note here is that read and write operations must be
512B aligned. Also, wnbd does not currently support "compare
and write".

For this reason, we'll stick to the basic operations for the time
being.

Note that we're renaming krbd_read/krbd_write to generic_pread
and generic_pwrite, reusing those functions for wnbd operations.
We're also removing the duplicated ggate read/write operations,
using the generic functions instead.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2 years agoMerge PR #52416 into main
Venky Shankar [Wed, 16 Aug 2023 07:28:01 +0000 (12:58 +0530)]
Merge PR #52416 into main

* refs/pull/52416/head:
qa/cephfs: check if re-installing this mpich fixes the issue

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agodoc: Fix doc for mds cap acquisition throttle 51170/head
Kotresh HR [Wed, 16 Aug 2023 06:45:36 +0000 (12:15 +0530)]
doc: Fix doc for mds cap acquisition throttle

The config values picks the definition from the
description. Removed the duplicate description
in the doc.

Signed-off-by: Kotresh HR <khiremat@redhat.com>
2 years agomgr/dashboard: cephfs remove subvolume group 53018/head
Pedro Gonzalez Gomez [Wed, 16 Aug 2023 05:52:05 +0000 (07:52 +0200)]
mgr/dashboard: cephfs remove subvolume group

Fixes: https://tracker.ceph.com/issues/62452
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2 years agomgr/cephadm: add utils class for tracking special host labels 50200/head
Adam King [Wed, 22 Feb 2023 19:07:58 +0000 (14:07 -0500)]
mgr/cephadm: add utils class for tracking special host labels

Signed-off-by: Adam King <adking@redhat.com>
2 years agomgr/cephadm: allow draining host without removing conf/keyring files
Adam King [Tue, 21 Feb 2023 18:53:32 +0000 (13:53 -0500)]
mgr/cephadm: allow draining host without removing conf/keyring files

Fixes: https://tracker.ceph.com/issues/58820
Signed-off-by: Adam King <adking@redhat.com>
2 years agocephadm: add tcmu-runner to logrotate config 51881/head
Adam King [Fri, 2 Jun 2023 00:06:35 +0000 (20:06 -0400)]
cephadm: add tcmu-runner to logrotate config

This process could be used to set up the tcmu-runner
to log to a file much like other ceph daemons

- create /etc/tcmu directory
- create /etc/tcmu/tcmu.conf directory with default options
- change dir to /var/log
- change log level to 4
- add -v /etc/tcmu:/etc/tcmu to tcmu-runner container podman line in unit.run

In order to support this (mostly for debugging) we should
add tcmu-runner to the logrotate config

Fixes: https://tracker.ceph.com/issues/61571
Signed-off-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #47560 from pdvian/wip-pool-app
Laura Flores [Tue, 15 Aug 2023 19:53:42 +0000 (14:53 -0500)]
Merge pull request #47560 from pdvian/wip-pool-app

mon, qa: issue pool application warning even if pool is empty

2 years agoMerge pull request #52674 from asm0deuz/add_networks_cli
Adam King [Tue, 15 Aug 2023 19:52:31 +0000 (15:52 -0400)]
Merge pull request #52674 from asm0deuz/add_networks_cli

mgr/cephadm: Add "networks" parameter to orch apply rgw

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Francesco Pantano <fpantano@redhat.com>
Reviewed-by: Guillaume Abrioux <gabrioux@ibm.com>
2 years agoMerge pull request #52691 from adk3798/nvme-of-cleanup
Adam King [Tue, 15 Aug 2023 19:37:37 +0000 (15:37 -0400)]
Merge pull request #52691 from adk3798/nvme-of-cleanup

mgr/cephadm: nvme-of follow up work

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2 years agoMerge pull request #52678 from phlogistonjohn/jjm-fix-test_valid_addr
Adam King [Tue, 15 Aug 2023 19:36:11 +0000 (15:36 -0400)]
Merge pull request #52678 from phlogistonjohn/jjm-fix-test_valid_addr

python-common: fix valid_addr on python 3.11

Reviewed-by: Adam King <adking@redhat.com>
2 years agoqa/cephadm: add test for ca signed keys 51899/head
Adam King [Fri, 7 Jul 2023 15:03:56 +0000 (11:03 -0400)]
qa/cephadm: add test for ca signed keys

Test that bootstraps with a CA signed key using
the use_ca_signed_key cephadm override. Then follows
up by doing a check-host on each host which verifies
the cephadm mgr module can reach and authenticate with
the nodes using the new key setup.

This probably should really be a workunit, but
I didn't want to create a full new section for
this test and I needed a section that didn't
already run the cephadm task for every test. I could
see this being moved into some sort of
"test_special_deployment_scenarios" section in the future

Signed-off-by: Adam King <adking@redhat.com>
2 years agoqa/cephadm: add ca signed key to cephadm task
Adam King [Fri, 7 Jul 2023 14:36:39 +0000 (10:36 -0400)]
qa/cephadm: add ca signed key to cephadm task

To allow bootstrapping a cluster using a CA signed
key instead of the standard pubkey authentication.
Will allow explicit testing of this as we add support
for it

Signed-off-by: Adam King <adking@redhat.com>
2 years agodoc/cephadm: document setting up CA signed keys in running cluster
Adam King [Sat, 3 Jun 2023 19:42:19 +0000 (15:42 -0400)]
doc/cephadm: document setting up CA signed keys in running cluster

Signed-off-by: Adam King <adking@redhat.com>
2 years agodoc/cephadm: document bootstrapping with CA signed keys
Adam King [Sat, 3 Jun 2023 19:28:05 +0000 (15:28 -0400)]
doc/cephadm: document bootstrapping with CA signed keys

Signed-off-by: Adam King <adking@redhat.com>
2 years agodoc/cephadm: document how to pass self made SSH key pairs to bootstrap
Adam King [Sat, 3 Jun 2023 18:39:05 +0000 (14:39 -0400)]
doc/cephadm: document how to pass self made SSH key pairs to bootstrap

This didn't seem to exist in the install section of
the cephadm docs. Wanted to add it in before adding
documentation for bootstrapping with CA signed keys.

Signed-off-by: Adam King <adking@redhat.com>
2 years agomgr/cephadm: add support for CA signed SSH keys setups
Adam King [Sat, 3 Jun 2023 17:31:58 +0000 (13:31 -0400)]
mgr/cephadm: add support for CA signed SSH keys setups

Signed-off-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #51785 from muahdib69/rsachere_iscsi_fixes
Adam King [Tue, 15 Aug 2023 19:25:46 +0000 (15:25 -0400)]
Merge pull request #51785 from muahdib69/rsachere_iscsi_fixes

cephadm: Fix extra_container_args for iSCSI

Reviewed-by: Adam King <adking@redhat.com>
2 years agoMerge pull request #52776 from ljflores/wip-read-balancer-documentation 49334/head
Laura Flores [Tue, 15 Aug 2023 17:27:48 +0000 (12:27 -0500)]
Merge pull request #52776 from ljflores/wip-read-balancer-documentation

doc: clarify upmap balancer documentation

2 years agoMerge pull request #52919 from rhcs-dashboard/cluster-upgrade-progress
Nizamudeen A [Tue, 15 Aug 2023 16:08:10 +0000 (21:38 +0530)]
Merge pull request #52919 from rhcs-dashboard/cluster-upgrade-progress

mgr/dashboard: cluster upgrade progress UI

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2 years agoMerge pull request #52991 from zdover23/wip-doc-2023-08-15-README-md-submodule
zdover23 [Tue, 15 Aug 2023 14:28:03 +0000 (00:28 +1000)]
Merge pull request #52991 from zdover23/wip-doc-2023-08-15-README-md-submodule

doc: improve submodule update command - README.md

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years ago- s3select fixes, related to Trino/TPCDS benchmark 52651/head
galsalomon66 [Sun, 25 Jun 2023 22:10:38 +0000 (01:10 +0300)]
- s3select fixes, related to Trino/TPCDS benchmark
- s3select submodule
- add log-message for better tracing the flow timeline
- fix valgrind issue
- new s3select version. fix crash upon wrong initialization on JSON flow
- s3select module. a fix for a constant number of columns(128).
- s3select module. QE fixes

Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
2 years agoosd: formatters for watch_info_t
Ronen Friedman [Mon, 7 Aug 2023 16:52:12 +0000 (11:52 -0500)]
osd: formatters for watch_info_t

...and entity_addr_t

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoosd: formatter for pg_log_op_return_item_t
Ronen Friedman [Fri, 4 Aug 2023 16:11:18 +0000 (11:11 -0500)]
osd: formatter for pg_log_op_return_item_t

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoosd: formatters for PastIntervals and its subclasses
Ronen Friedman [Fri, 4 Aug 2023 11:48:41 +0000 (06:48 -0500)]
osd: formatters for PastIntervals and its subclasses

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoosd: formatter for pg_log_entry_t
Ronen Friedman [Fri, 4 Aug 2023 07:56:57 +0000 (02:56 -0500)]
osd: formatter for pg_log_entry_t

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoosd: formatter for ObjectRecoveryProgress
Ronen Friedman [Thu, 3 Aug 2023 15:28:31 +0000 (10:28 -0500)]
osd: formatter for ObjectRecoveryProgress

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>