Commit Graph

140430 Commits

Author SHA1 Message Date
Rishabh Dave
c3a2e678c9 mon/FSCommands: make use of imported namespace symbols
There's no need to mention the "home" namespace of a symbol while using
it after it has been imported into the current namespace. IOW, no need to
write, for example, "std::string" after it has been imported from its
namespace; instead simply writing "string" will suffice.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2023-10-05 19:50:11 +05:30
Rishabh Dave
ee940855be mon/FSCommands: remove unused namespace imports
When symbols imported into the current namespace won't be used, don't
import them.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2023-10-05 19:48:21 +05:30
Liu-Chunmei
80bcefadf7
Merge pull request #53432 from liu-chunmei/seastore_device_size
crimson/vstart: default seastore_device_size will be out of space f…

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-09-27 20:11:47 -07:00
Casey Bodley
de55616429
Merge pull request #53607 from cfsnyder/wip-cfsnyder-bucket-check-bug
rgw: fix radosgw-admin bucket check stat calculation bug

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-09-27 18:38:42 +01:00
Yuval Lifshitz
935c513a14
Merge pull request #52393 from yuvalif/wip-yuval-enable-trace-lua
common/tracer: remove is_enabled check in add_span methods

reviewed-by: cbodley, ljflores
2023-09-27 18:07:28 +03:00
Ilya Dryomov
73dd77f8e7
Merge pull request #53523 from rhcs-dashboard/add-ceph-daemon-label-labeled-counters
exporter: add ceph_daemon labels to labeled counters as well

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-09-27 09:27:04 +02:00
Nizamudeen A
3df6ce3071
Merge pull request #52828 from rhcs-dashboard/angular-15
mgr/dashboard: upgrade to angular v15

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2023-09-27 11:11:35 +05:30
Nizamudeen A
95d8f59938
Merge pull request #53596 from rhcs-dashboard/fix-validations-in-cephfs-forms
mgr/dashboard: fix cephfs forms validations

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Ankush Behl <cloudbehl@gmail.com>
2023-09-27 10:43:14 +05:30
Venky Shankar
c01beb38b7 Merge PR #53529 into main
* refs/pull/53529/head:
	doc: update colorama, packaging
	cephfs-shell: drop LooseVersion for version.parse

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-09-27 09:57:25 +05:30
zdover23
4dee8b7928
Merge pull request #53685 from zdover23/wip-doc-2023-09-27-architecture-11-of-x
doc/architecture: edit "OSDs service clients directly"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-09-27 06:54:06 +10:00
Zac Dover
6f9dfd75b5 doc/architecture: edit "OSDs service clients directly"
Edit "OSDs service clients directly" in the list in
"Smart Daemons Enable Hyperscale" in doc/architecure.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-09-27 06:00:34 +10:00
Ronen Friedman
05c5f97c1d
Merge pull request #53615 from ronen-fr/wip-rf-great-move
tools, rgw/test: add std:: qualifiers to 'move'

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2023-09-26 17:34:41 +03:00
Laura Flores
1f378332c3
Merge pull request #53048 from YiteGu/add-slow-count-committed-kv
os/bluestore: add some slow count for bluestore
2023-09-26 10:22:44 -04:00
Laura Flores
4fbb4acab4
Merge pull request #52930 from leonid-s-usov/msg_wait
msg/AsyncMessenger: re-evaluate the stop condition when woken up in 'wait()'
2023-09-26 10:22:23 -04:00
Laura Flores
35506db4a4
Merge pull request #52906 from sseshasa/wip-fix-config-dump-pretty-print
mon/ConfigMonitor: Show localized name in "config dump --format json" output
2023-09-26 10:22:08 -04:00
Laura Flores
8dd1c9db87
Merge pull request #52200 from jinmyeonglee/61819
client: append to buffer list to save all result from wildcard command
2023-09-26 10:21:51 -04:00
Laura Flores
611c7b4cd1
Merge pull request #50585 from ssdohammer-sl/fix-metadata-obj-promote
osd: chunked type manifest object not to be promoted
2023-09-26 10:21:14 -04:00
Nizamudeen A
630ba3ab37 mgr/dashboard: upgrade to cypress 12
Looks like chrome 117 will need cypress >=12.15.0
https://github.com/cypress-io/cypress-documentation/issues/5479

Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-09-26 19:42:13 +05:30
Nizamudeen A
e2626fb63c mgr/dashboard: adapt and refactor jest test files
Use the `configureTestBed` as the placeholder for adding the
declarations, imports... that is required for the unit tests to run

Fixes: https://tracker.ceph.com/issues/62844
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-09-26 19:41:59 +05:30
Kamoltat (Junior) Sirivadhna
86047f0fe1
Merge pull request #51923 from kamoltat/wip-ksirivad-fix-61570
pybind/mgr/pg_autoscaler: fix warn when not too few pgs
Reviewed-by: Laura Flores <lflores@redhat.com>
2023-09-26 09:45:18 -04:00
Adam Kupczyk
7e2c94fd48
Merge pull request #53324 from aclamk/wip-aclamk-osd-op-scraper-fixes
Set of scraper improvements
2023-09-26 15:20:36 +02:00
avanthakkar
f061955f0b exporter: add ceph_daemon labels to labeled counters as well
Exporter missed adding the `ceph_daemon` or `instance_id`
labels(in case if rgw metrics) to the new labeled performance counters.

Fixes: https://tracker.ceph.com/issues/62874
Signed-off-by: avanthakkar <avanjohn@gmail.com>
2023-09-26 16:45:54 +05:30
Yingxin
0f539cd011
Merge pull request #53284 from xxhdx1985126/wip-seastore-remap-intermediate_key
crimson/os/seastore/transaction_manager: move intermediate_key by "remap_offset" when remapping the "back" half of the original pin

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2023-09-26 16:36:43 +08:00
Yingxin
0102c2afa3
Merge pull request #53455 from xxhdx1985126/wip-seastore-no-touch-pending
crimson/os/seastore/cache: don't add EXIST_CLEAN extents to lru

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2023-09-26 16:35:16 +08:00
zdover23
3ed92db078
Merge pull request #53657 from zdover23/wip-doc-2023-09-26-architecture-10-of-x
doc/architecture: edit "SDEH"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-09-26 14:38:38 +10:00
Zac Dover
5054f6c753 doc/architecture: edit "SDEH"
Edit the front matter of the "Smart Daemons Enable Hyperscale" section
of doc/architecture.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-09-26 13:45:26 +10:00
Xuehan Xu
f60f318450 crimson/os/seastore/cache: replace is_clean by is_stable_clean wherever
possible

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2023-09-26 11:30:54 +08:00
Xuehan Xu
dc6c091fd3 crimson/os/seastore/transaction_manager: move intermediate_key by
"remap_offset" when remapping the "back" half of the original pin

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
2023-09-26 11:17:07 +08:00
Kamoltat (Junior) Sirivadhna
dc5d6ffa42
Merge pull request #52442 from kamoltat/wip-ksirivad-fix-tracker-61922
pybind/mgr/pg_autoscaler: noautoscale flag retains individual pool configs
Reviewed-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
2023-09-25 17:57:38 -04:00
Adam King
ad54514806
Merge pull request #51926 from adk3798/host-drain-zap
mgr/cephadm: add ability to zap OSDs' devices while draining host

Reviewed-by: John Mulligan <jmulligan@redhat.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2023-09-25 13:39:54 -04:00
Adam King
57d18f16e0
Merge pull request #53589 from adk3798/cephadm-refactor-host-facts
cephadm: create host_facts.py in cephadmlib

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2023-09-25 13:38:07 -04:00
Adam King
dec3717b45 cephadm: format black host_facts.py
Signed-off-by: Adam King <adking@redhat.com>
2023-09-25 10:26:53 -04:00
Adam King
987452dbd6 cephadm: create host_facts.py in cephadmlib
For storing classes/functions related to gathering
information about the hosts such as disk enclosures
and networks

Signed-off-by: Adam King <adking@redhat.com>
2023-09-25 10:26:49 -04:00
Kamoltat
0972dbf225 qa/workunits: modified tests for noautoscale flag change
modified:

`qa/workunits/mon/test_noautoscale_flag.sh`
`qa/workunits/cephtool/test.sh`

adding test coverage to files mentioned above

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

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2023-09-25 12:46:36 +00:00
Adam King
a6d174c2d6
Merge pull request #53482 from adk3798/cephadm-refactor-decorators
cephadm: start decorators.py in cephadmlib

Reviewed-by: John Mulligan <jmulligan@redhat.com>
2023-09-25 08:32:39 -04:00
Pedro Gonzalez Gomez
99c06f594c
Merge pull request #53479 from rhcs-dashboard/upgrade-ui-popover-fix
mgr/dashboard: remove empty popover when there are no health warns

Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2023-09-25 12:24:58 +02:00
Cory Snyder
32fb6a1a68 rgw: fix output formatting of bucket index check admin api
The bucket index check admin API was previously returning invalid
JSON.

Signed-off-by: Cory Snyder <csnyder@1111systems.com>
2023-09-25 10:06:45 +00:00
Nizamudeen A
98a10dc0e7
Merge pull request #53512 from rhcs-dashboard/promqls-enhancements
mgr/dashboard: fix prometheus queries subscriptions

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-09-25 13:15:11 +05:30
zdover23
d855643ddb
Merge pull request #53631 from zdover23/wip-doc-2023-09-25-architecture-9-of-x
doc/architecture: edit "HA Authentication"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-09-25 15:06:22 +10:00
Zac Dover
cb680a7865 doc/architecture: edit "HA Authentication"
Edit "High Availability Authentication" in doc/architecture.rst.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-09-25 14:53:29 +10:00
Adam King
2015892b58
Merge pull request #53575 from rkachach/fix_issue_62838
mgr/cephadm: removing double quotes from the generated nvmeof config

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
2023-09-24 09:48:20 -04:00
Adam King
e91a621ead cephadm: black format initial decorators.py
Signed-off-by: Adam King <adking@redhat.com>
2023-09-24 09:44:32 -04:00
Adam King
2fe7c87bd1 cephadm: start decorators.py in cephadmlib
Originally, wanted to move all the decorators into
their own files. Unfortunately, that isn't possible
at this time as most of them depend on things that
are still within cephadm.py This includes

list_daemons
_rm_cluster
is_fsid
termcolor
ContainerInfo
Ceph

and I'm sure I'm missing some others. We'll have to
revisit this again later when more of these things
have moved, or they can be slowly moved as their
dependencies are.

Signed-off-by: Adam King <adking@redhat.com>
2023-09-24 09:44:27 -04:00
Adam King
d80e4215f1
Merge pull request #53468 from phlogistonjohn/jjm-cephadm-move-container-types
cephadm: move container types

Reviewed-by: Adam King <adking@redhat.com>
2023-09-24 09:39:47 -04:00
zdover23
aee1f43e26
Merge pull request #53613 from zdover23/wip-doc-2023-09-23-architecture-8-of-x
doc/architecture: "Edit HA Auth"

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-09-24 03:52:15 +10:00
Zac Dover
c71cd84ec9 doc/architecture: "Edit HA Auth"
Rewrite the explanation of how a client authenticates against a monitor.
This is a rewrite of a single paragraph, and has been set apart in its
own PR so that it can receive the maximum amount of scrutiny that the
upstream Ceph community can muster.

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-09-24 03:11:34 +10:00
Casey Bodley
3cdfef2cf6
Merge pull request #53097 from mkogan1/rgw-wip-t62141-valg-supp
valgrind: UninitCondition under __run_exit_handlers suppression

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-09-23 16:11:38 +01:00
Kefu Chai
53579861ac
Merge pull request #49405 from tchaikov/clang-16
run-make-check.sh: use clang-17 if available

Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
2023-09-23 20:23:15 +08:00
Rishabh Dave
56412b71a2
Merge pull request #51890 from lxbsz/wip-61394
test: unmount the mountpoint just before exiting

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
2023-09-23 14:54:14 +05:30
Kefu Chai
0934413254 run-make-check.sh: use clang-17 if available
now that clang-17 has been released, let's use it if available.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2023-09-23 15:07:37 +08:00