Commit Graph

139479 Commits

Author SHA1 Message Date
Patrick Donnelly
36eaa495eb
common/TrackedOp: fix race updating description with proper lock
It is not safe to "cache" a member which may be changed by a racing thread.

This reworks the locking so we can do a light-weight check if the description
is already generated wihtout acquiring the heavier TrackedOp::lock. If it's not
available yet or it needs regenerated, then get the proper locks to generate
it.

Fixes: e45f5c2c33
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-08-08 08:58:40 -04:00
Patrick Donnelly
5f57c526b2
common/Formatter: add support for dumping null
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-08-08 08:58:40 -04:00
Patrick Donnelly
dd7a99349f
common/Formatter: refactor generating xml name
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2023-08-08 08:58:40 -04:00
Adam Kupczyk
7195fb2ae1
Merge pull request #52543 from aclamk/wip-aclamk-fix-valgrind-bluefs-test
os/bluestore: Fix unittest_bluefs
2023-08-08 13:37:17 +02:00
Xuehan Xu
f11504cd5d crimson/os/seastore/lba_manager: lba map value may contain laddr
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2023-08-08 17:00:13 +08:00
Pere Diaz Bou
720bb10e30 mgr/dashboard: paginate hosts
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
Fixes: https://tracker.ceph.com/issues/56513
2023-08-08 10:40:28 +02:00
Leonid S. Usov
8262586cd0
Merge pull request #52792 from leonid-s-usov/bulk-data-pool
mgr/volumes: create bulk data pool for new volumes
2023-08-08 11:24:59 +03:00
Guillaume Abrioux
2612c91c31
Merge pull request #50427 from ifed01/wip-ifed-encrypted-ceph-volume
ceph_volume: support encrypted volumes for lvm new-db/new-wal/migrate  commands
2023-08-08 09:57:33 +02:00
Nizamudeen A
76bc438f81
Merge pull request #52870 from rhcs-dashboard/gh-add-to-project-link-broken
.github: pr-triage broken link fix

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2023-08-08 12:25:40 +05:30
Nizamudeen A
38ee272419 .github: pr-triage broken link fix
The link I put was broken so replacing it with the correct one:

Fixes: https://github.com/ceph/ceph/pull/52455

Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-08-08 10:34:59 +05:30
Nizamudeen A
4db3c6308d
Merge pull request #52786 from rhcs-dashboard/fs-subvolumes-create
mgr/dashboard: cephfs subvolume creation form 

Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2023-08-08 10:16:03 +05:30
Nizamudeen A
a0ccdd411a
Merge pull request #52455 from ceph/gh-add-to-project-fix
.github: pr-triage fix

Reviewed-by: Aashish Sharma <aasharma@redhat.com>
2023-08-08 10:09:54 +05:30
Venky Shankar
4a40b78349 Merge PR #52788 into main
* refs/pull/52788/head:
	mds: remove unused C_MDC_OpenSnapRealms

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2023-08-08 09:44:49 +05:30
Pritha Srivastava
6f7ef8620e rgw/auth: Fix the return code returned by AuthStrategy,
in case of LocalEngine authentication, when the previous
auth engine is Not Applicable. The error code now returned
is the one returned by LocalEngine.

fixes: https://tracker.ceph.com/issues/61916

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2023-08-08 09:27:48 +05:30
Laura Flores
d79e61895a
Merge pull request #52838 from zztaki/fix-backport-resolve-issue
script/backport-resolve-issue: fix script to handle RC versions
2023-08-07 18:18:17 -05:00
Laura Flores
c6e9f9a1df
Merge pull request #52490 from zdover23/wip-doc-2023-07-18-add-reef-18-2-0-release-notes
doc: Add Reef 18.2.0 release notes
2023-08-07 13:57:17 -05:00
Zac Dover
411017878e doc: Add Reef 18.2.0 release notes
Add release notes for the first stable release of Ceph Reef (18.2.0).

Co-authored-by: Anthony D'Atri <anthony.datri@gmail.com>
Co-authored-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
Co-authored-by: Laura Flores <lflores@redhat.com>
Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-07 13:37:37 -05:00
Laura Flores
ab48671ca3
Merge pull request #52736 from ljflores/wip-update-stale
.github/workflows: pin the stale bot to the latest version
2023-08-07 11:24:22 -05:00
Ali Maredia
0444571114
Merge pull request #52494 from alimaredia/wip-rgw-crypt-keystone-fix
qa: fix keystone in rgw/crypt/barbican.yaml

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2023-08-07 12:24:09 -04:00
Adam King
7884fae7f2 debian/control: add docker-ce as recommends for cephadm package
The issue this is addressing is that if somebody has
docker-ce installed but not docker.io with the
current recommends it will install podman. If
the user has docker-ce we don't want it to do that.

Signed-off-by: Adam King <adking@redhat.com>
2023-08-07 11:49:56 -04:00
Nizamudeen A
a54af94f6a .github: pr-triage fix
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-08-07 21:17:43 +05:30
Anthony D'Atri
b069f0619c
Merge pull request #52860 from Matan-B/wip-matanb-monstore-osd_snap-docs
tools/ceph_monstore_tool: add docs
2023-08-07 11:03:45 -04:00
Matan Breizman
ccfe7e50b6 doc/man/8/ceph-monstore-tool: add documentation
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-08-07 13:55:26 +00:00
Nizamudeen A
48753745ab
Merge pull request #52720 from debjyoti-pandit/api-docs-routes
mgr/dashboard: exposed the open api documentations to details card

Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2023-08-07 19:21:52 +05:30
Nizamudeen A
8bf6c59584 mgr/dashboard: cephfs subvolume creation form
Fixes: https://tracker.ceph.com/issues/62345
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-08-07 18:32:15 +05:30
Igor Fedotov
2c3477a69e ceph-volume: make raw prepare use encryption_units.prepare_dmcrypt
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
2023-08-07 12:04:10 +03:00
Nizamudeen A
6241530960 mgr/dashboard: create/generalize checked table scope_permission table
Fixes: https://tracker.ceph.com/issues/62345
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-08-07 13:33:24 +05:30
dpandit
c6857988d2 mgr/dashboard: exposed the open api documentations to details card
Fixes: https://tracker.ceph.com/issues/62296
Signed-off-by: dpandit <dpandit@li-6f946d4c-287f-11b2-a85c-b0cb07ed936d.ibm.com>
2023-08-07 13:25:34 +05:30
Nizamudeen A
3b6779f7ea
Merge pull request #52395 from rhcs-dashboard/upgrade-ui-enhancements
mgr/dashboard: add logs and daemon version to upgrade UI

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2023-08-07 10:30:41 +05:30
Nizamudeen A
e2d71466fa
Merge pull request #52647 from rhcs-dashboard/rbd-typing
mgr/dashboard: rbd type status

Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-08-07 09:34:48 +05:30
zdover23
3d3da4351d
Merge pull request #52703 from zdover23/wip-doc-2023-07-31-documenting-ceph-linking-customs-2
doc/start: update linking conventions

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2023-08-07 09:27:22 +10:00
zdover23
a3acde7dad
Merge pull request #52827 from zdover23/wip-doc-2023-08-05-troubleshooting-troubleshooting-mon-2-of-x
doc/rados: edit troubleshooting-mon.rst (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-08-07 08:17:15 +10:00
Yuval Lifshitz
776eea8c65 rgw/lua: add configurable memory limit for the lua state
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
2023-08-06 16:42:47 +00:00
Zhelong Zhao
8ef771d486
script/backport-resolve-issue: fix script to handle RC versions
Fixes: https://tracker.ceph.com/issues/61746

Signed-off-by: Zhelong Zhao <zztaki@outlook.com>

Signed-off-by: Zhelong Zhao <50295684+zztaki@users.noreply.github.com>
2023-08-06 22:29:34 +08:00
Matan Breizman
bd8af9498d
Merge pull request #52785 from Matan-B/wip-matanb-crimson-add-asan-req
ceph.spec.in: add libasan to seastar requires

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-08-06 14:49:01 +03:00
Zac Dover
9938955c09 doc/rados: edit troubleshooting-mon.rst (2 of x)
Edit the second part of
doc/rados/troubleshooting/troubleshooting-mon.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-06 21:46:16 +10:00
zdover23
3f6aac1f22
Merge pull request #52824 from bluikko/bluikko-doc-radosgw-config-language
doc/radosgw: Improve language and formatting in config-ref.rst

Reviewed-by: Zac Dover <zac.dover@proton.me>
2023-08-06 21:29:03 +10:00
Ville Ojamo
9dd86773b3 doc/radosgw: Improve language and formatting in config-ref.rst
The "Topic persistency settings" section includes convoluted
and incomplete sentences so attempt to improve the
language. The section lacks context so add a link to the
relevant documentation about Notifications.

The "Garbage Collection settings" note includes a sentence
that looks incomplete so try to improve the language.

Don't capitalize "Ops" in "RGW Ops" especially when the
same sentence talks about "op queue" with lower case "o".

Also improve formatting: indentation of a note and wrap
several very long lines.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
2023-08-06 16:48:36 +07:00
Matan Breizman
e6d2ec65bd ceph.spec.in: add sanitizers to seastar requires
```
CMake Error at src/seastar/CMakeLists.txt:782 (message):
  Sanitizers not found!
```

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
2023-08-06 09:45:42 +00:00
Leonid Usov
129cfa5415 mount.fuse.ceph: strip the 'nofail' option from those that fuse will see
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
Fixes: https://tracker.ceph.com/issues/58394
2023-08-06 11:28:40 +03:00
Matan Breizman
4080ace23e
Merge pull request #52784 from Matan-B/wip-matanb-crimson-only-centos-9
qa/suites/crimson-rados: add centos9 to supported distros

Reviewed-by: Samuel Just <sjust@redhat.com>
2023-08-06 10:40:07 +03:00
zdover23
ededb5924e
Merge pull request #52778 from zdover23/wip-doc-2023-08-03-rados-operations-add-or-rm-mons-2-of-x
doc/rados: edit operations/add-or-rm-mons (2 of x)

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2023-08-05 21:46:34 +10:00
Zac Dover
4e790603d9 doc/rados: edit operations/add-or-rm-mons (2 of x)
Edit the second part of doc/rados/operations/add-or-rm-mons.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
2023-08-05 14:46:45 +10:00
Anthony D'Atri
5888359a0b
Merge pull request #52802 from dvanders/support_the_foundation
doc: Add a Ceph Foundation footer to docs.ceph.com
2023-08-04 16:59:41 -04:00
Anthony D'Atri
2fabdc82d1
Merge pull request #52814 from cbodley/wip-doc-rgw-zonegroup-feature-default
doc/rgw: correct statement about default zone features
2023-08-04 16:52:39 -04:00
Nizamudeen A
911c87c8e8
Merge pull request #52787 from rhcs-dashboard/fix-rgw-average-object-size
mgr/dashboard: fix average object size calculation in rgw overview dashboard

Reviewed-by: cloudbehl <NOT@FOUND>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2023-08-04 23:21:17 +05:30
Nizamudeen A
7dcb06d368 mgr/dashboard: update the upgrade layout by introducing new items
Shows Cluster Health
Shows the count of mgr daemons
Shows a table with all the daemon versions
Display the cluster logs

Fixes: https://tracker.ceph.com/issues/62016
Signed-off-by: Nizamudeen A <nia@redhat.com>
2023-08-04 23:05:28 +05:30
Casey Bodley
bb5ad067ed doc/rgw: correct statement about default zone features
this sentence wasn't updated when we added the Default column to the
table below

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2023-08-04 13:00:59 -04:00
Ali Maredia
863f8d789d qa: pin rgw/crypt suite temporarily to ubuntu_latest
barbican tests are only passing on ubunutu latest,
this commit allows us to have a green crypt suite.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2023-08-04 12:52:07 -04:00
Ali Maredia
43069394c5 qa: change admin_host to admin_url in barbican.py
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2023-08-04 12:51:48 -04:00