Commit Graph

140768 Commits

Author SHA1 Message Date
Adam King
3a38b25239
Merge pull request #53703 from adk3798/cephadm-refactor-ssh
cephadm: start ssh.py in cephadmlib

Reviewed-by: Michael Fritch <mfritch@suse.com>
2023-10-03 08:46:30 -04:00
Patrick Donnelly
c743568a93
Merge PR #53600 into main
* refs/pull/53600/head:
	mds/FSMap: allow upgrades if no up mds

Reviewed-by: Milind Changire <mchangir@redhat.com>
2023-10-03 12:30:20 +00:00
avanthakkar
91be9ecdf5 mgr/dashboard: enable protect option if layering enabled
Fixes: https://tracker.ceph.com/issues/63076
Signed-off-by: avanthakkar <avanjohn@gmail.com>
2023-10-03 15:50:52 +05:30
Aashish Sharma
ab06466aa2 mgr/dashboard: show a message to restart the rgw daemons after moving from single-site to multi-site
Fixes: https://tracker.ceph.com/issues/62984

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2023-10-03 15:33:44 +05:30
Nizamudeen A
03217d6dc8
Merge pull request #53522 from rhcs-dashboard/landing-page-layout-fix
mgr/dashboard: fix the landing page layout issues

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2023-10-03 15:29:45 +05:30
Pedro Gonzalez Gomez
17d87af98a mgr/dashboard: rbd image hide usage bar when disk usage is not provided
Fixes: https://tracker.ceph.com/issues/63037
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2023-10-03 10:33:07 +02:00
Nizamudeen A
d7c1bc88f5
Merge pull request #53699 from rhcs-dashboard/tls_v1.2_toglle
mgr/dashboard: allow tls 1.2 with a config option

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2023-10-03 13:22:23 +05:30
Nizamudeen A
b95fc36066
Merge pull request #53697 from rhcs-dashboard/mds-number-validator-fix
mgr/dashboard: fix cephfs form validator

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
2023-10-03 13:20:39 +05:30
Nizamudeen A
3f904b0a65 mgr/dashboard: fix the landing page layout issues
We were following a row-col grid layout for the landing page.
First row includes Details, Status and Capacity
Second row for Inventory and Cluster Utilization

So if one of the item in the first row increases, it pushes the entire
second row downwards.

To fix this, I made a col-row grid.

First col has Details and Inventory in two rows.
Second col has Status and Capacity as a col and Cluster Utilization as a
single row

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

Signed-off-by: Nizamudeen A <nia@redhat.com>
Co-authored-by: cloudbehl <cloudbehl@gmail.com>
2023-10-03 12:01:16 +05:30
Patrick Donnelly
990ca31f10
Merge PR #53754 into main
* refs/pull/53754/head:
	osd: correct unsigned/signed compiler wrn

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2023-10-03 02:39:09 +00:00
Patrick Donnelly
733a65704f
osd: correct unsigned/signed compiler wrn
/home/pdonnell/ceph/src/osd/OSD.cc: In member function ‘void OSD::ShardedOpWQ::stop_for_fast_shutdown()’:
    /home/pdonnell/ceph/src/osd/OSD.cc:11143:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
    11143 |   for (int shard_index = 0; shard_index < osd->num_shards; shard_index++) {

Fixes: https://tracker.ceph.com/issues/62851
Fixes: 210dbd4ff1
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-10-02 22:03:25 +00:00
Casey Bodley
cc984bebb7
Merge pull request #47148 from NitzanMordhai/wip-nitzan-test-cls-lock-expiered-locks-start
test/cls_lock: expired lock before unlock and start check

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-10-02 20:46:29 +01:00
Casey Bodley
80344a86e7
Merge pull request #53616 from ronen-fr/wip-rf-cnceq
rgw/test: fix compiler warning

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-10-02 20:29:57 +01:00
Patrick Donnelly
7cde5724e6
mds/FSMap: allow upgrades if no up mds
This is to support the fail_fs scenario for cephadm where max_mds >= 1
and all MDS are down.

Fixes: https://tracker.ceph.com/issues/62682
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-10-02 17:55:38 +00:00
Adam King
acc26d7b17 mgr/cephadm: make jaeger-collector urls a dep for jaeger-agent
the jaeger-agent's need to know the url for the collector(s)
that have been deployed. If a collector moves, or we deployed
the agents before the collector, we need to reconfig the agents
with updated info about the collectors. Failure to do so can
leave the jager-agents down reporting

```
Could not create collector proxy","error":"at least one collector hostPort address is required when resolver is not available"
```

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

Signed-off-by: Adam King <adking@redhat.com>
2023-10-02 13:14:58 -04:00
Adam King
8470cecf0d cephadm: format black cephadmlib/ssh.py
Signed-off-by: Adam King <adking@redhat.com>
2023-10-02 11:40:25 -04:00
Adam King
62534317d8 cephadm: start ssh.py in cephadmlib
As part of the cephadm refactoring process
to split cephadm into multiple python files,
start "ssh.py" that includes some functions used
for setting up and testing ssh connections,
primarily as part of bootstrap.

Signed-off-by: Adam King <adking@redhat.com>
2023-10-02 11:39:06 -04:00
Ilya Dryomov
6c6f0d3109
Merge pull request #53735 from idryomov/wip-63010
qa/suites/krbd: stress test for recovering from watch errors

Reviewed-by: Mykola Golub <mgolub@suse.com>
2023-10-02 17:10:19 +02:00
Casey Bodley
5e4e058a73
Merge pull request #50350 from BBoozmen/oozmen_rgw_beast_log_bucket_name
rgw/logging: add bucket and object names to the log line for ops-log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-10-02 15:39:11 +01:00
Casey Bodley
12b1a560c6
Merge pull request #52144 from linuxbox2/wip-nochown-bucket
rgw/file: make setattr(...) a no-op on buckets

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2023-10-02 15:38:35 +01:00
Casey Bodley
8da4ba8a35
Merge pull request #52960 from cbodley/wip-62411
rgw/lc: remove_bucket_config() doesn't update xattrs on bucket delete

Reviewed-by Matt Benjamin <mbenjamin@redhat.com>
2023-10-02 15:38:16 +01:00
Casey Bodley
3b4ba8b7e9
Merge pull request #53266 from VVoidV/lbr-chunk-upload-buffer-fix
rgw: improve buffer list utilization in the chunkupload scenario

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-10-02 15:37:46 +01:00
Casey Bodley
12bc70b170
Merge pull request #53525 from RickyMaRui/fix-SignatureDoesNotMatch
rgw: fix SignatureDoesNotMatch when extra headers start with 'x-amz'

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-10-02 15:37:25 +01:00
Casey Bodley
7c4c73ad17
Merge pull request #53602 from cbodley/wip-62938
rgw: s3website doesn't prefetch for web_dir() check

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2023-10-02 15:37:08 +01:00
Casey Bodley
9fbb530312
Merge pull request #53614 from xrmeng8756/master
rgw: fix rgw rate limiting RGWRateLimitInfo class decode_json max_rea…

Reviewed-by:  Jiffin Tony Thottan <jthottan@redhat.com>
2023-10-02 15:36:53 +01:00
Casey Bodley
84dcf80155
Merge pull request #53676 from smanjara/data-sync-fairness-crash
rgw/multisite: call drain before flushing markers in incremental sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-10-02 15:36:07 +01:00
Casey Bodley
98cdc09608
Merge pull request #53680 from cbodley/wip-62989
rgw/keystone: EC2Engine uses reject() for ERR_SIGNATURE_NO_MATCH

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2023-10-02 15:35:47 +01:00
Casey Bodley
123c60797e
Merge pull request #53684 from cbodley/wip-rgw-keystone-yield
rgw/async: use optional_yield for keystone and kms requests

Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2023-10-02 15:35:20 +01:00
Casey Bodley
c78168d188
Merge pull request #53691 from max-licc/radosgw_start_watcher_crash
rgw: fix unwatch crash at radosgw startup

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2023-10-02 15:34:51 +01:00
Casey Bodley
100d81aa06
Merge pull request #53714 from cbodley/wip-63004
[CVE-2023-43040] rgw: Fix bucket validation against POST policies

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2023-10-02 15:34:25 +01:00
Adam King
0bca13c8bf
Merge pull request #53724 from adk3798/rm-get_unit_name_by_instance
cephadm: remove get_unit_name_by_instance func

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2023-10-02 09:46:04 -04:00
Adam King
1bfcd77a17
Merge pull request #53715 from adk3798/other-haproxy-container-version
cephadm: fix haproxy version with certain containers

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2023-10-02 09:41:38 -04:00
zdover23
e1ea0a18df
Merge pull request #53744 from zdover23/wip-doc-2023-10-02-architecture-16-of-x
doc/architecture: edit "Calculating PG IDs"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-10-02 23:01:54 +11:00
Ilya Dryomov
237aa221eb qa/suites/krbd: stress test for recovering from watch errors
Fixes: https://tracker.ceph.com/issues/63010
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-10-02 12:21:12 +02:00
Ronen Friedman
39e370099d
Merge pull request #53606 from Patty8122/control-reaches-end-fix
test: corrected control reaches end by adding a return

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2023-10-02 08:37:18 +03:00
Zac Dover
69a585fbf4 doc/architecture: edit "Calculating PG IDs"
Edit the section "Calcluating PG IDs" in doc/architecture.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-10-02 10:22:16 +10:00
Patty8122
346981a7c2 test: corrected control reaches end by adding a return
Signed-off-by: Patty8122 <divyapattisapu@uchicago.edu>
2023-10-01 18:09:40 -05:00
Ali Masarwa
51e9525bae
Merge pull request #53580 from AliMasarweh/wip-alimasa-persistent-q-migration
RGW | Bucket Notification: migrating old entries to support persistency control

Reviewed-by: yuvalif <ylifshit@redhat.com>
2023-10-01 16:38:40 +03:00
Yuri Weinstein
5b70a6b920
Merge pull request #46692 from pdvian/wip-unreachable-osd
osd: Report health error if OSD public address is not within subnet

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-10-01 05:59:26 -07:00
Yuri Weinstein
c9f29cc362
Merge pull request #52509 from ericqzhao/main
mgr: add throttle policy for DaemonServer

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2023-10-01 05:57:01 -07:00
zdover23
e427b9e3b1
Merge pull request #53740 from zdover23/wip-doc-2023-09-30-architecture-15-of-x
doc/architecture: edit several sections

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-10-01 22:50:24 +11:00
Adam King
b949914ca1
Merge pull request #53618 from adk3798/cephadm-refactor-more-net-utils
cephadm: move more funcs into net_utils.py

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2023-09-30 18:41:29 -04:00
Zac Dover
9657c45fc1 doc/architecture: edit several sections
Edit the following sections in doc/architecture.rst:

 1. Dynamic Cluster Management
 2. About Pools
 3. Mapping PGs to OSDs

The tone of "Dynamic Cluster Management" remains a bit too close to the
tone of marketing material, in my opinion, but I will return to firm it
up when I have finished a once-over of architecture.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-10-01 08:25:34 +10:00
Adam King
1b1e91ea7b
Merge pull request #53702 from adk3798/cephadm-refactor-registry-login
cephadm: move registry_login to container_engines.py

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2023-09-30 17:07:45 -04:00
Adam King
2367fabaea
Merge pull request #53617 from adk3798/cephadm-refactor-more-data-utils
cephadm: move more funcs into data_utils.py

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2023-09-30 17:05:47 -04:00
Adam King
e2b54e39bd
Merge pull request #53612 from adk3798/fix-refreshed-column
mgr/cephadm: fix REFRESHED column of orch ps being unpopulated

Reviewed-by: Michael Fritch <mfritch@suse.com>
2023-09-30 16:59:42 -04:00
Adam King
91cbbaf799 cephadm: re-format black data_utils.py
Signed-off-by: Adam King <adking@redhat.com>
2023-09-30 15:28:44 -04:00
Adam King
915ac7d74f cephadm: move more funcs into data_utils.py
Signed-off-by: Adam King <adking@redhat.com>
2023-09-30 15:28:40 -04:00
Adam King
6306e5c316
Merge pull request #53682 from phlogistonjohn/jjm-cephadm-move-pathify
cephadm: move pathify & get_file_timestamp to file_utils

Reviewed-by: Adam King <adking@redhat.com>
2023-09-30 15:25:59 -04:00
Adam King
46e4c40b91
Merge pull request #53683 from phlogistonjohn/jjm-cephadm-move-getters
cephadm: move context getters

Reviewed-by: Adam King <adking@redhat.com>
2023-09-30 15:22:12 -04:00