Commit Graph

139180 Commits

Author SHA1 Message Date
Ilya Dryomov
e45272df04
Merge pull request #52688 from petrutlucian94/avoid_tzset
build: globally set FMT_USE_TZSET=0 for Windows

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-07-29 00:23:42 +02:00
Anthony D'Atri
8bb6cad041
Merge pull request #52668 from bluikko/patch-16
doc/radosgw: Add missing space to date option spec in admin.rst
2023-07-28 12:38:55 -04:00
Anthony D'Atri
cc6b9ae620
Merge pull request #52685 from bluikko/patch-17
doc/mgr/ceph_api: Promptify example commands in index.rst
2023-07-28 11:15:19 -04:00
Lucian Petrut
5fd67e1f88 build: globally set FMT_USE_TZSET=0 for Windows
We're currently setting FMT_USE_TZSET=0 when building libfmt
in order to avoid the _tzset function, which is unavailable
under Mingw:
aa5769ecf1

The issue is that it still gets used by fmt/chrono.h, which is
why we'll move this definition to the top level cmake file.

Note that the Windows build is currently failing as a result of
a recent change: https://github.com/ceph/ceph/pull/52590/files

  In file included from ceph/src/common/ceph_time.h:22,
                   from ceph/src/include/encoding.h:31,
                   from ceph/src/include/uuid.h:9,
                   from ceph/src/include/types.h:21,
                   from ceph/src/crush/CrushWrapper.h:14,
                   from ceph/src/crush/CrushCompiler.h:7,
                   from ceph/src/crush/CrushCompiler.cc:4:
  ceph/src/fmt/include/fmt/chrono.h: In lambda function:
  ceph/src/fmt/include/fmt/chrono.h:953:5: error: ‘_tzset’ was
  not declared in this scope; did you mean ‘tzset’?
    953 |     _tzset();
        |     ^~~~~~
        |     tzset

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2023-07-28 14:34:37 +00:00
Nizamudeen A
7b3a4f2b4e
Merge pull request #52191 from rhcs-dashboard/fix-daemon-labels-exporter
mgr/dashboard: empty grafana panels for performance of daemons 

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2023-07-28 18:46:35 +05:30
avanthakkar
fa2d1f9f07 mgr/dashboard: empty grafana panels for performance of daemons
Fixes: https://tracker.ceph.com/issues/61792
Signed-off-by: avanthakkar <avanjohn@gmail.com>

Removing the `ceph-` prefix from ceph_daemon label to adopt it with the label
format used by queries in grafana dashboards. Also changing the
`instance_id` label for rgw to match the values coming from
exporter and prometheus module
2023-07-28 16:05:32 +05:30
Ville Ojamo
4f9bd62f37
doc/mgr/ceph_api: Promptify example commands in index.rst
Use the more modern prompt block instead of
using code blocks for example commands.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2023-07-28 11:49:19 +07:00
Ville Ojamo
dd16ad9055 doc/radosgw: Add missing space to date option spec in admin.rst
The start time and end time CLI option specification is missing a space between the date and the optional time value. Also expand the text to talk about "optional time" after the date.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2023-07-28 10:54:06 +07:00
Ilya Dryomov
23f9ebb115
Merge pull request #52549 from cbodley/wip-qa-distros-centos9-no-copr
qa/distros: disable ceph/el9 copr workaround for missing python deps

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-07-27 21:40:07 +02:00
zdover23
8e6c03fdda
Merge pull request #52671 from zdover23/wip-doc-2023-07-27-readmemd-2-of-x
doc: update README.md install procedure

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-07-28 05:11:44 +10:00
Ronen Friedman
190be730ff
Merge pull request #52591 from ronen-fr/wip-rf-cephx-init
cephx: initializing two member variables in the ctors


Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2023-07-27 19:13:06 +03:00
Ronen Friedman
c14e94d0d1
Merge pull request #52590 from ronen-fr/wip-rf-res-type2
osd/scrub: fixing & improving ReservationTimeout handler messages

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-07-27 18:24:06 +03:00
Adam King
408c1cc056
Merge pull request #52084 from rhcs-dashboard/fix-exporter-addrs
exporter: ceph-exporter scrapes failing on multi-homed server

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@ibm.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
2023-07-27 09:58:51 -04:00
Zac Dover
0b0009bf1f doc: update README.md install procedure
Add instructions directing the reader to install the "python3-routes"
package. This package is required in order to launch the dashboard after
the installation procedure has completed, but is not yet included in the
install-deps.sh script.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-07-27 21:49:19 +10:00
Venky Shankar
67f334d047 Merge PR #52376 into main
* refs/pull/52376/head:
	mds: skip forwarding request if the session were removed

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-07-27 16:38:36 +05:30
Venky Shankar
bdde984397 Merge PR #52176 into main
* refs/pull/52176/head:
	mds: remove calculating caps after adding revokes back

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-07-27 16:37:55 +05:30
Venky Shankar
d3f9d14022 Merge PR #51536 into main
* refs/pull/51536/head:
	mds: do not send split_realms for CEPH_SNAP_OP_UPDATE msg

Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2023-07-27 13:38:54 +05:30
Venky Shankar
edd0eb1592 Merge PR #52275 into main
* refs/pull/52275/head:
	mds: update mdlog perf counters during replay

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-07-27 13:37:29 +05:30
Ilya Dryomov
a0d126376c
Merge pull request #52624 from idryomov/wip-61565
qa/workunits/rbd: use jammy version of qemu-iotests for centos 9

Reviewed-by: Ramana Raja <rraja@redhat.com>
2023-07-26 18:23:29 +02:00
Nizamudeen A
0033dcb2dd
Merge pull request #52546 from rhcs-dashboard/node-16-main
deps: increase the node version to 16

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2023-07-26 19:32:24 +05:30
Casey Bodley
47e8b1e518
Merge pull request #49810 from baergj/fix-create_time_event-header
async: Fix units in the create_time_event() declaration.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2023-07-26 08:24:55 -04:00
Aashish Sharma
d88b456512
Merge pull request #52644 from rhcs-dashboard/fix-62124-main
mgr/dashboard: add validations to zone access/secret key in zone creation/edit form


Reviewed-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
2023-07-26 17:16:10 +05:30
Aashish Sharma
2d12a7cfd2
Merge pull request #52570 from rhcs-dashboard/fix-62110-main
mgr/dashboard: fix removal of non-master zone from the zone group via dashboard


Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-07-26 17:08:41 +05:30
Venky Shankar
2496406038 Merge PR #52600 into main
* refs/pull/52600/head:
	qa: fix cephfs-mirror unwinding and 'fs volume create/rm' order

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-07-26 16:01:05 +05:30
Aashish Sharma
f85d83125d mgr/dashboard: add validations to zone access/secret key in zone creation/edit form
Fixes: https://tracker.ceph.com/issues/62124

Signed-off-by: Aashish Sharma <aasharma@redhat.com>
2023-07-26 11:30:32 +05:30
Jos Collin
b9a1a3cdf9
qa: fix cephfs-mirror unwinding and 'fs volume create/rm' order
* Fixes the 'fs volume create' happens before the cephfs-mirror daemon start.
* Fixes the 'fs volume rm' happen only after the cephfs-mirror daemon unwinding.
  - This prevents the issue of mirror-daemon not returning from a libcephfs call, as
    the volumes were deleted during the cephfs_mirror_thrash ing.

Fixes: https://tracker.ceph.com/issues/61182
Signed-off-by: Jos Collin <jcollin@redhat.com>
2023-07-26 10:00:41 +05:30
zdover23
38dea7dc21
Merge pull request #52630 from zdover23/wip-doc-2023-07-25-readmemd-1-of-x
doc: update README.md

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-07-26 09:07:40 +10:00
Yuval Lifshitz
f82b9942d6
Merge pull request #52596 from yuvalif/wip-yuval-fix-61868-new
rgw/lua: allow passing tenant without uid to manage lua scripts
2023-07-25 21:59:23 +03:00
Joshua Baergen
100a176d3a async: Fix units in the create_time_event() declaration.
Commit 19a9d9531f changed the definition
to microseconds but neglected to update the header.

Signed-off-by: Joshua Baergen <jbaergen@digitalocean.com>
2023-07-25 10:37:18 -06:00
Matan Breizman
86b36a132d
Merge pull request #52592 from xxhdx1985126/wip-62098
crimson/net: set TCP_NODELAY according to ms_tcp_nodelay

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Kefu Chai <kefu.chai@scylladb.com>
2023-07-25 17:53:22 +03:00
Zac Dover
ad1202be68 doc: update README.md
Correct and improve ceph/README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-07-25 23:15:09 +10:00
Adam King
19b6eafb9f
Merge pull request #50423 from rkachach/fix_issue_nmveof
mgr/cephadm: adding support for nvmeof

Reviewed-by: Adam King <adking@redhat.com>
2023-07-25 08:56:31 -04:00
Adam Kupczyk
6217a62438
Merge pull request #51933 from aclamk/wip-aclamk-bs-onode-doc
os/bluestore: Some in-code documentation for Onode / blob
2023-07-25 14:06:02 +02:00
Nizamudeen A
7f2659615c
Merge pull request #52218 from YiteGu/cephfs-get-statfs
mgr/dashboard: CephFS statfs REST API

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2023-07-25 17:30:11 +05:30
Ilya Dryomov
d49df8d74c qa/workunits/rbd: use jammy version of qemu-iotests for centos 9
It's the one we are using for all recent distros.

While at it, get rid of custom bin directory -- it appears that both
v2.3.0 and v2.11.0 tests are happy with just symlinks in the current
directory.

Fixes: https://tracker.ceph.com/issues/61565
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-07-25 14:00:04 +02:00
Venky Shankar
6eb1276ce1 Merge PR #52523 into main
* refs/pull/52523/head:
	mds: remove dead method

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2023-07-25 16:23:23 +05:30
Guillaume Abrioux
8392e7dff7
Merge pull request #52429 from guits/fix-raw-list
ceph-volume: fix raw list for lvm devices
2023-07-25 10:22:26 +02:00
Venky Shankar
cb485d6f04 Merge PR #52597 into main
* refs/pull/52597/head:
	qa: use centos 8.stream for fs:upgrade tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2023-07-25 12:53:45 +05:30
Matan Breizman
45c6c5474d
Merge pull request #52599 from Matan-B/wip-matanb-crimson-cbt-fix
qa: Fix cbt usage with Crimson

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-07-25 09:58:58 +03:00
Matan Breizman
f3b4c1deb8
Merge pull request #52598 from Matan-B/wip-matanb-crimson-centos-8
qa/suites/crimson-rados: Use centos8 for testing

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-07-25 09:57:01 +03:00
Venky Shankar
b5756b98f9 qa: use centos 8.stream for fs:upgrade tests
fs:upgrade tests use n/o/p release packages which aren't
available for centos 9.stream - switch using 8.stream instead.

Fixes: http://tracker.ceph.com/issues/62146
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2023-07-25 09:49:16 +05:30
Venky Shankar
e99c17f271 Merge PR #48038 into main
* refs/pull/48038/head:
	client test: Add fsync to ll_preadv_pwritev test
	libcephfs: Option to write + fsync via ceph_ll_nonblocking_readv_writev
	Client: Hook nonblocking fsync into the write path of ll_preadv_pwritev
	Client: Add non-blocking fsync
	Client/Inode: wait_for_caps fixups
	Client: change several waitfor_* to use Context list
	test: Add nonblocking I/O client test
	libcephfs: Add nonblocking readv/writev I/O interface
	Client: Add ll_preadv_pwritev to expose non-blocking I/O to libcephfs
	Client: Add non-blocking helper classes
	Client: Break some code into new methods in prep for non-blocking I/O
	Buffers: Add function to buffer.h to copy bufferlist to an iovec
	ObjectCacher: Prepare file_write path for non-blocking I/O

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2023-07-25 09:34:36 +05:30
Ilya Dryomov
f3a659f33d
Merge pull request #52607 from zap51/patch-1
doc/rbd/rbd-cloudstack.rst: include support for multiple monitors

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2023-07-25 04:49:40 +02:00
Anthony D'Atri
591e698803
Merge pull request #49889 from bluikko/bluikko-doc-srv-lookup-link
doc/rados/configuration: add links to MON DNS
2023-07-24 18:39:53 -04:00
Jayanth Reddy
5bce61ecf3 doc/rbd/rbd-cloudstack.rst: include support for multiple monitors
Signed-off-by: Jayanth Reddy <45934027+zap51@users.noreply.github.com>
2023-07-24 23:02:53 +02:00
Frank S. Filz
13162f6ecc client test: Add fsync to ll_preadv_pwritev test
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
2023-07-24 11:49:05 -07:00
Frank S. Filz
201a355f36 libcephfs: Option to write + fsync via ceph_ll_nonblocking_readv_writev
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
2023-07-24 11:49:05 -07:00
Frank S. Filz
6809ff8c12 Client: Hook nonblocking fsync into the write path of ll_preadv_pwritev
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
2023-07-24 11:49:04 -07:00
Frank S. Filz
a181c1a0db Client: Add non-blocking fsync
We will need the ability to do an non-blocking write that finishes with
fsync so we need non-blocking fsync.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
2023-07-24 11:49:04 -07:00
Frank S. Filz
a8d0158d0d Client/Inode: wait_for_caps fixups
The non-blocking flush requires us to be able to re-add to
wait_for_caps but if we simply add to the list, we get stuck in an
infinite loop. Add a wait_for_caps_pending list to add to, and then
when done signalling, we move the wait_for_caps_pending items onto the
wait_for_caps list.

Also in handle_cap_flush_ack(), we need to complete the caps flushing
before signalling since with non-blocking flush, we will be actually
examining the caps from the completion rather than signalling a
condition variable in the completion.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
2023-07-24 11:49:04 -07:00