]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agorbd-mirror: fix image replayer shut down description on force promote 52880/head
Prasanna Kumar Kalever [Thu, 15 Jun 2023 14:10:16 +0000 (19:40 +0530)]
rbd-mirror: fix image replayer shut down description on force promote

On force promote if the opposite site is down then we currently show
image status description as "local image linked to unknown peer"

Previously:
----------
$ rbd --cluster=site-b mirror image status pool1/img1
img1:
  global_id:   a73341a6-8302-4c97-ac6e-278083fd347e
  state:       up+stopping_replay
  description: local image linked to unknown peer
  service:     admin on localhost.localdomain
  last_update: 2023-06-15 19:47:45
  peer_sites:
    name: site-a
    state: up+stopped
    description: local image is primary
    last_update: 2023-06-15 19:47:32
  snapshots:
    9 .mirror.primary.a73341a6-8302-4c97-ac6e-278083fd347e.1f101367-277f-42f0-8308-e51201d0529a (peer_uuids:[c46c6d97-f59b-4591-9d35-d7ff9d0d72f7])

Currently:
---------
$ rbd --cluster=site-b mirror image status pool1/img1
img1:
  global_id:   2a6d61e1-8e76-42c4-af76-8f61ce65c7e2
  state:       up+stopped
  description: orphan (force promoting)
  service:     admin on localhost.localdomain
  last_update: 2023-06-15 19:29:22
  peer_sites:
    name: site-a
    state: down+stopped
    description: local image is primary
    last_update: 2023-06-15 19:29:05
  snapshots:
    9 .mirror.primary.2a6d61e1-8e76-42c4-af76-8f61ce65c7e2.99f82a30-0241-4e51-8428-7a2376d137f6 (peer_uuids:[3150c6ef-aeee-45dc-8d0e-5dc5a53d88eb])

Fixes: https://tracker.ceph.com/issues/52913
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
(cherry picked from commit 947a53677d40fd125f041abab9b5e3fea3a8371a)

2 years agoMerge pull request #52872 from zdover23/wip-doc-2023-08-08-backport-52860-to-reef
Anthony D'Atri [Tue, 8 Aug 2023 12:38:01 +0000 (08:38 -0400)]
Merge pull request #52872 from zdover23/wip-doc-2023-08-08-backport-52860-to-reef

reef: doc/man/8/ceph-monstore-tool: add documentation

2 years agodoc/man/8/ceph-monstore-tool: add documentation 52872/head
Matan Breizman [Mon, 7 Aug 2023 06:57:45 +0000 (06:57 +0000)]
doc/man/8/ceph-monstore-tool: add documentation

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
(cherry picked from commit ccfe7e50b6985dc12352437368ea66d80c2f95df)

2 years agoMerge pull request #52536 from rhcs-dashboard/wip-62017-reef
Nizamudeen A [Tue, 8 Aug 2023 04:40:44 +0000 (10:10 +0530)]
Merge pull request #52536 from rhcs-dashboard/wip-62017-reef

reef: mgr/dashboard: disable promote on mirroring not enabled

Reviewed-by: Pegonzal <NOT@FOUND>
2 years agoMerge pull request #52705 from rhcs-dashboard/wip-62238-reef
Nizamudeen A [Tue, 8 Aug 2023 04:40:13 +0000 (10:10 +0530)]
Merge pull request #52705 from rhcs-dashboard/wip-62238-reef

reef: mgr/dashboard: allow PUT in CORS

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2 years agoMerge pull request #52457 from kamoltat/wip-ksirivad-backport-48209
Yuri Weinstein [Mon, 7 Aug 2023 14:54:56 +0000 (07:54 -0700)]
Merge pull request #52457 from kamoltat/wip-ksirivad-backport-48209

reef: osd/OSDMap: Check for uneven weights & != 2 buckets post stretch mode

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2 years agoMerge pull request #52507 from lxbsz/wip-61984
Yuri Weinstein [Mon, 7 Aug 2023 14:52:56 +0000 (07:52 -0700)]
Merge pull request #52507 from lxbsz/wip-61984

reef: client: force sending cap revoke ack always

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #50813 from dparmar18/wip-59260-reef
Yuri Weinstein [Mon, 7 Aug 2023 14:51:51 +0000 (07:51 -0700)]
Merge pull request #50813 from dparmar18/wip-59260-reef

reef: mds: fix stray evaluation using scrub and introduce new option

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #52841 from zdover23/wip-doc-2023-08-07-backport-52703-to-reef
Anthony D'Atri [Sun, 6 Aug 2023 23:55:37 +0000 (19:55 -0400)]
Merge pull request #52841 from zdover23/wip-doc-2023-08-07-backport-52703-to-reef

reef: doc/start: update linking conventions

2 years agodoc/start: update linking conventions 52841/head
Zac Dover [Mon, 31 Jul 2023 09:27:29 +0000 (19:27 +1000)]
doc/start: update linking conventions

Update the "External Links" section of doc/start/documenting-ceph.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 63750514d6ef7bf9dce6aa7c622664ea4310b59e)

2 years agoMerge pull request #52839 from zdover23/wip-doc-2023-08-07-backport-52827-to-reef
Anthony D'Atri [Sun, 6 Aug 2023 23:18:59 +0000 (19:18 -0400)]
Merge pull request #52839 from zdover23/wip-doc-2023-08-07-backport-52827-to-reef

reef: doc/rados: edit troubleshooting-mon.rst (2 of x)

2 years agodoc/rados: edit troubleshooting-mon.rst (2 of x) 52839/head
Zac Dover [Sat, 5 Aug 2023 12:06:13 +0000 (22:06 +1000)]
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>
(cherry picked from commit 9938955c091274313c345d680001558810e33d2d)

2 years agoMerge pull request #52833 from cbodley/wip-doc-rgw-zonegroup-feature-default-reef
zdover23 [Sun, 6 Aug 2023 01:15:51 +0000 (11:15 +1000)]
Merge pull request #52833 from cbodley/wip-doc-rgw-zonegroup-feature-default-reef

reef: doc/rgw: correct statement about default zone features

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agodoc/rgw: correct statement about default zone features 52833/head
Casey Bodley [Fri, 4 Aug 2023 17:00:57 +0000 (13:00 -0400)]
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>
(cherry picked from commit bb5ad067ed939c83b6ed5894eda0577e781bb5b3)

2 years agoMerge pull request #52825 from zdover23/wip-doc-2023-08-05-backport-52778-to-reef
Anthony D'Atri [Sat, 5 Aug 2023 13:49:14 +0000 (09:49 -0400)]
Merge pull request #52825 from zdover23/wip-doc-2023-08-05-backport-52778-to-reef

reef: doc/rados: edit operations/add-or-rm-mons (2 of x)

2 years agodoc/rados: edit operations/add-or-rm-mons (2 of x) 52825/head
Zac Dover [Wed, 2 Aug 2023 23:24:05 +0000 (09:24 +1000)]
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>
(cherry picked from commit 4e790603d9e4645234d3953e88a34dd3a8a10068)

2 years agoMerge pull request #52213 from batrick/wip-61836-reef
Yuri Weinstein [Fri, 4 Aug 2023 16:47:11 +0000 (09:47 -0700)]
Merge pull request #52213 from batrick/wip-61836-reef

reef: pybind/mgr/devicehealth: do not crash if db not ready

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #51698 from dparmar18/wip-61204-reef
Yuri Weinstein [Fri, 4 Aug 2023 16:42:28 +0000 (09:42 -0700)]
Merge pull request #51698 from dparmar18/wip-61204-reef

reef: MDS imported_inodes metric is not updated.

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #52578 from rishabh-d-dave/wip-59410-reef
Yuri Weinstein [Fri, 4 Aug 2023 16:35:12 +0000 (09:35 -0700)]
Merge pull request #52578 from rishabh-d-dave/wip-59410-reef

reef: client: correct quota check in Client::_rename()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #52515 from neesingh-rh/wip-61987-reef
Yuri Weinstein [Fri, 4 Aug 2023 16:34:36 +0000 (09:34 -0700)]
Merge pull request #52515 from neesingh-rh/wip-61987-reef

reef:  mds: session ls command appears twice in command listing

2 years agoMerge pull request #52512 from joscollin/wip-62054-reef
Yuri Weinstein [Fri, 4 Aug 2023 16:32:35 +0000 (09:32 -0700)]
Merge pull request #52512 from joscollin/wip-62054-reef

reef: mds: MDLog::_recovery_thread: handle the errors gracefully

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #52504 from lxbsz/wip-62011
Yuri Weinstein [Fri, 4 Aug 2023 16:30:57 +0000 (09:30 -0700)]
Merge pull request #52504 from lxbsz/wip-62011

reef: client: wait rename to finish

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #52501 from lxbsz/wip-62041
Yuri Weinstein [Fri, 4 Aug 2023 16:30:21 +0000 (09:30 -0700)]
Merge pull request #52501 from lxbsz/wip-62041

reef: client: do not send metrics until the MDS rank is ready

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #52497 from lxbsz/wip-62044
Yuri Weinstein [Fri, 4 Aug 2023 16:28:42 +0000 (09:28 -0700)]
Merge pull request #52497 from lxbsz/wip-62044

reef: client: trigger to flush the buffer when making snapshot

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #52235 from batrick/wip-59373-reef
Yuri Weinstein [Fri, 4 Aug 2023 16:26:13 +0000 (09:26 -0700)]
Merge pull request #52235 from batrick/wip-59373-reef

reef: qa: wait for MDSMonitor tick to replace daemons

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #52774 from rhcs-dashboard/wip-62223-reef
Avan [Fri, 4 Aug 2023 16:03:50 +0000 (21:33 +0530)]
Merge pull request #52774 from rhcs-dashboard/wip-62223-reef

reef: mgr/dashboard: empty grafana panels for performance of daemons

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2 years agoMerge pull request #52801 from ceph/reef-release
Laura Flores [Fri, 4 Aug 2023 15:07:44 +0000 (10:07 -0500)]
Merge pull request #52801 from ceph/reef-release

v18.2.0

2 years agoMerge pull request #52805 from yaarith/release-checklists-telemetry
yaarith [Fri, 4 Aug 2023 13:18:42 +0000 (09:18 -0400)]
Merge pull request #52805 from yaarith/release-checklists-telemetry

reef: doc/dev/release-checklist: check telemetry validation

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agomgr/prometheus: introduce fetch_perf_counters_metrics module option 52774/head
Avan Thakkar [Thu, 1 Dec 2022 06:06:56 +0000 (11:36 +0530)]
mgr/prometheus: introduce fetch_perf_counters_metrics module option

Fixes: https://tracker.ceph.com/issues/58164
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Introducing module option in prometheus module to enable/disable support for exporting ceph daemons
perf counters as prometheus metrics, by default this option will be disabled. The use case for this option
is in case if ceph-exporter deployment failed for any reason then user still can have option to fetch metrics
from promethues exporter.

2 years agoMerge pull request #52803 from zdover23/wip-doc-2023-08-04-backport-52800-to-reef
Anthony D'Atri [Fri, 4 Aug 2023 01:22:52 +0000 (21:22 -0400)]
Merge pull request #52803 from zdover23/wip-doc-2023-08-04-backport-52800-to-reef

reef: doc/rgw: several response headers are supported

2 years agodoc/dev/release-checklist: check telemetry validation 52805/head
Yaarit Hatuka [Fri, 4 Aug 2023 00:31:27 +0000 (00:31 +0000)]
doc/dev/release-checklist: check telemetry validation

Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
2 years agodoc/rgw: several response headers are supported 52803/head
Casey Bodley [Thu, 3 Aug 2023 21:31:31 +0000 (17:31 -0400)]
doc/rgw: several response headers are supported

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit ab6ec66a2f82c3dfb3807d5e76d3290ff30bf613)

2 years agoMerge pull request #52769 from adamemerson/wip-62097-reef
Ilya Dryomov [Thu, 3 Aug 2023 19:50:17 +0000 (21:50 +0200)]
Merge pull request #52769 from adamemerson/wip-62097-reef

reef: build: Remove ceph-libboost* packages in install-deps

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2 years ago18.2.0 52801/head v18.2.0
Ceph Release Team [Thu, 3 Aug 2023 16:53:12 +0000 (16:53 +0000)]
18.2.0

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
2 years agoMerge pull request #52716 from neha-ojha/wip-reef-stable
Yuri Weinstein [Thu, 3 Aug 2023 14:20:17 +0000 (10:20 -0400)]
Merge pull request #52716 from neha-ojha/wip-reef-stable

reef: src/ceph_release, doc: mark reef stable

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2 years agobuild: Remove old ceph-libboost* packages in install-deps 52769/head
Adam Emerson [Wed, 19 Jul 2023 21:12:08 +0000 (17:12 -0400)]
build: Remove old ceph-libboost* packages in install-deps

Here, we extract `clean_boost_on_ubuntu()` and call it before other
installs on Debian distributions so that if we install a system boost,
a potentially newer `ceph-libboost` won't get in the way.

As the sources.list.d being removed in the original cleanup code isn't
the one we're currently installing in the install code, add a removal
for the currently used source, then do apt-update so packages from the
removed source are no longer included as available.

Two subsidiary dev packages from conflicting boost libraries can be
installed, but it leaves apt in an inconsistent state. To clean this
up, add `--fix-missing` to the removal line and call
`clean_boost_on_ubuntu()` before other uses of apt.

Fixes: https://tracker.ceph.com/issues/62097
Signed-off-by: Adam Emerson <aemerson@redhat.com>
(cherry picked from commit 0c3f511e14af639b6509e69b889258b2f718f8fd)

Conflicts:
install-deps.sh
 - Different boost version for Reef than Squid
 - ci_debug does not exist in Reef
 - No INSTALL_EXTRA

Signed-off-by: Adam Emerson <aemerson@redhat.com>
2 years agoMerge pull request #52779 from zdover23/wip-doc-2023-08-03-backport-52775-to-reef
Anthony D'Atri [Thu, 3 Aug 2023 00:40:28 +0000 (20:40 -0400)]
Merge pull request #52779 from zdover23/wip-doc-2023-08-03-backport-52775-to-reef

reef: doc: for EC we recommend K+1

2 years agodoc: for EC we recommend K+1 52779/head
Dan van der Ster [Wed, 2 Aug 2023 21:31:07 +0000 (14:31 -0700)]
doc: for EC we recommend K+1

Update the doc to match the reality in the code. I don't know where
the recommendation to have min_size = k+2 came from, but for awhile
now we've defaulted to K+1. See PR #8008.

Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
(cherry picked from commit 68faf88e6babf7e5c2cce2b4d9b80a159b38c30d)

2 years agoexporter: fix instance_id labeld value for rgw in exporter
avanthakkar [Sun, 30 Jul 2023 21:09:36 +0000 (02:39 +0530)]
exporter: fix instance_id labeld value for rgw in exporter

Signed-off-by: avanthakkar <avanjohn@gmail.com>
(cherry picked from commit ca5691834cc30c4f9175bb0b4730750ed9df59cc)

2 years agomgr/dashboard: empty grafana panels for performance of daemons
avanthakkar [Mon, 26 Jun 2023 07:11:24 +0000 (12:41 +0530)]
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

(cherry picked from commit fa2d1f9f0745ffecc671af3a3f0a93e7edaa1222)

2 years agoMerge pull request #52710 from cbodley/wip-62247-reef
Yuri Weinstein [Wed, 2 Aug 2023 14:53:09 +0000 (10:53 -0400)]
Merge pull request #52710 from cbodley/wip-62247-reef

reef: qa/rgw: pacific upgrade disables centos9

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoMerge pull request #52758 from zdover23/wip-doc-2023-08-02-backport-51960-to-reef
Anthony D'Atri [Wed, 2 Aug 2023 14:36:40 +0000 (10:36 -0400)]
Merge pull request #52758 from zdover23/wip-doc-2023-08-02-backport-51960-to-reef

reef: doc: improve doc/dev/encoding.rst

2 years agodoc: improve doc/dev/encoding.rst 52758/head
Radosław Zarzyński [Mon, 5 Jun 2023 14:04:36 +0000 (16:04 +0200)]
doc: improve doc/dev/encoding.rst

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
(cherry picked from commit 83bef6668d319685923df927f32590b4e1795746)

2 years agoMerge pull request #52731 from rhcs-dashboard/flake8-fix-reef
Casey Bodley [Tue, 1 Aug 2023 18:10:42 +0000 (14:10 -0400)]
Merge pull request #52731 from rhcs-dashboard/flake8-fix-reef

reef: mgr: fix some flake8 complaints

Reviewed-by: Adam King <adking@redhat.com>
2 years agomgr: fix some flake8 complaints 52731/head
Nizamudeen A [Mon, 31 Jul 2023 09:20:57 +0000 (14:50 +0530)]
mgr: fix some flake8 complaints

Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit d199782fb5f3c22f1cd5fda6ddf1d64f40a92726)

2 years agoMerge pull request #52712 from zdover23/wip-doc-2023-08-01-backport-52131-to-reef
zdover23 [Mon, 31 Jul 2023 21:18:37 +0000 (07:18 +1000)]
Merge pull request #52712 from zdover23/wip-doc-2023-08-01-backport-52131-to-reef

reef: doc/radosgw: correct emphasis in rate limit section

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agosrc/ceph_release, doc: mark reef stable 52716/head
Neha Ojha [Mon, 31 Jul 2023 21:12:26 +0000 (21:12 +0000)]
src/ceph_release, doc: mark reef stable

Signed-off-by: Neha Ojha <nojha@redhat.com>
2 years agodoc/radosgw: correct emphasis in rate limit section 52712/head
Piotr Parczewski [Mon, 31 Jul 2023 14:42:26 +0000 (16:42 +0200)]
doc/radosgw: correct emphasis in rate limit section

Signed-off-by: Piotr Parczewski <piotr@stackhpc.com>
(cherry picked from commit 50bfbab6d9a30b3ba6ec4f4c8df9059298c28a7f)

2 years agoqa/rgw: pacific upgrade disables centos9 52710/head
Casey Bodley [Mon, 24 Jul 2023 14:09:28 +0000 (10:09 -0400)]
qa/rgw: pacific upgrade disables centos9

we don't build centos 9 packages for pacific, so the pacific upgrade
suite was failing with errors like:

Failed to fetch package version from https://shaman.ceph.com/api/search/?status=ready&project=ceph&flavor=default&distros=centos%2F9%2Fx86_64&ref=pacific

Fixes: https://tracker.ceph.com/issues/62135
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b16bc1cd07a28d2a5677c2fc107686f0b96648ce)

2 years agomgr/dashboard: allow PUT in CORS 52705/head
Nizamudeen A [Tue, 25 Jul 2023 09:21:40 +0000 (14:51 +0530)]
mgr/dashboard: allow PUT in CORS

Fixes: https://tracker.ceph.com/issues/62222
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 8da2a2c0e296a94a2bfab6ab68480d2e33e7d84e)

2 years agoMerge pull request #52679 from zdover23/wip-doc-2023-07-28-backport-52671-to-reef
zdover23 [Sun, 30 Jul 2023 06:22:34 +0000 (16:22 +1000)]
Merge pull request #52679 from zdover23/wip-doc-2023-07-28-backport-52671-to-reef

reef: doc: update README.md install procedure

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #52693 from zdover23/wip-doc-2023-07-29-backport-52668-to-reef
Anthony D'Atri [Sat, 29 Jul 2023 12:14:35 +0000 (08:14 -0400)]
Merge pull request #52693 from zdover23/wip-doc-2023-07-29-backport-52668-to-reef

reef: doc/radosgw: Add missing space to date option spec in admin.rst

2 years agoMerge pull request #52695 from zdover23/wip-doc-2023-07-29-backport-52685-to-reef
Anthony D'Atri [Sat, 29 Jul 2023 12:12:58 +0000 (08:12 -0400)]
Merge pull request #52695 from zdover23/wip-doc-2023-07-29-backport-52685-to-reef

reef: doc/mgr/ceph_api: Promptify example commands in index.rst

2 years agodoc/mgr/ceph_api: Promptify example commands in index.rst 52695/head
Ville Ojamo [Fri, 28 Jul 2023 04:49:19 +0000 (11:49 +0700)]
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>
(cherry picked from commit 4f9bd62f374d2f6bf74296d87e5205960464c349)

2 years agodoc/radosgw: Add missing space to date option spec in admin.rst 52693/head
Ville Ojamo [Thu, 27 Jul 2023 07:56:58 +0000 (14:56 +0700)]
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>
(cherry picked from commit dd16ad9055f134433d9bd6410cd31eb0fc918723)

2 years agoMerge pull request #52687 from rhcs-dashboard/wip-62220-reef
Avan [Fri, 28 Jul 2023 18:48:39 +0000 (00:18 +0530)]
Merge pull request #52687 from rhcs-dashboard/wip-62220-reef

reef: exporter: ceph-exporter scrapes failing on multi-homed server

Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
2 years agoMerge pull request #52618 from vshankar/tr-62147
Yuri Weinstein [Fri, 28 Jul 2023 16:35:52 +0000 (12:35 -0400)]
Merge pull request #52618 from vshankar/tr-62147

reef: qa: use centos 8.stream for fs:upgrade tests

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2 years agoMerge pull request #52664 from idryomov/wip-61565-reef
Yuri Weinstein [Fri, 28 Jul 2023 15:38:46 +0000 (11:38 -0400)]
Merge pull request #52664 from idryomov/wip-61565-reef

reef: qa/workunits/rbd: use jammy version of qemu-iotests for centos 9

Reviewed-by: Ramana Raja <rraja@redhat.com>
2 years agoexporter: ceph-exporter scrapes failing on multi-homed server 52687/head
Avan Thakkar [Thu, 15 Jun 2023 11:18:54 +0000 (16:48 +0530)]
exporter: ceph-exporter scrapes failing on multi-homed server

Fixes: https://tracker.ceph.com/issues/61669
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Adopted ceph-exporter deployment in cephadm
to bind to all addresses on a machine.

(cherry picked from commit 9a6f01d0d229177a23175b5985d12aa140ca6271)

2 years agodoc: update README.md install procedure 52679/head
Zac Dover [Thu, 27 Jul 2023 11:49:19 +0000 (21:49 +1000)]
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>
(cherry picked from commit 0b0009bf1fb0cd54cdf0014bd724b00805a3dbd1)

2 years agoMerge pull request #52641 from zdover23/wip-doc-2023-07-26-backport-52630-to-reef
zdover23 [Wed, 26 Jul 2023 23:36:30 +0000 (09:36 +1000)]
Merge pull request #52641 from zdover23/wip-doc-2023-07-26-backport-52630-to-reef

reef: doc: update README.md

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoqa/workunits/rbd: use jammy version of qemu-iotests for centos 9 52664/head
Ilya Dryomov [Tue, 25 Jul 2023 11:31:25 +0000 (13:31 +0200)]
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>
(cherry picked from commit d49df8d74ca96a3c0fc00f1d7e303d4e12f2f1e3)

2 years agodoc: update README.md 52641/head
Zac Dover [Tue, 25 Jul 2023 13:09:11 +0000 (23:09 +1000)]
doc: update README.md

Correct and improve ceph/README.md.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit ad1202be685c1d35026b5ba96ba3f5cf3aefdb3a)

2 years agoMerge pull request #52616 from ceph/reef-release
Laura Flores [Tue, 25 Jul 2023 21:51:28 +0000 (16:51 -0500)]
Merge pull request #52616 from ceph/reef-release

v18.1.3

2 years agoMerge pull request #52612 from zdover23/wip-doc-2023-07-25-backport-49889-to-reef
zdover23 [Tue, 25 Jul 2023 14:36:12 +0000 (00:36 +1000)]
Merge pull request #52612 from zdover23/wip-doc-2023-07-25-backport-49889-to-reef

reef: doc/rados/configuration: add links to MON DNS

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoMerge pull request #52608 from zdover23/wip-doc-2023-07-25-backport-52601-to-reef
zdover23 [Tue, 25 Jul 2023 14:35:58 +0000 (00:35 +1000)]
Merge pull request #52608 from zdover23/wip-doc-2023-07-25-backport-52601-to-reef

reef: doc/rados: remove redundant cache tiering deprecation note

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2 years agoqa: use centos 8.stream for fs:upgrade tests 52618/head
Venky Shankar [Mon, 24 Jul 2023 06:54:35 +0000 (12:24 +0530)]
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>
(cherry picked from commit b5756b98f989e8610f310ade4777cf6c87d72e23)

2 years ago18.1.3 52616/head v18.1.3
Ceph Release Team [Tue, 25 Jul 2023 02:48:11 +0000 (02:48 +0000)]
18.1.3

Signed-off-by: Ceph Release Team <ceph-maintainers@ceph.io>
2 years agodoc/rados/configuration: add links to MON DNS 52612/head
Ville Ojamo [Fri, 27 Jan 2023 07:54:11 +0000 (14:54 +0700)]
doc/rados/configuration: add links to MON DNS

Add two links to MON DNS lookup and an anchor in the destination document.

Signed-off-by: Ville Ojamo <14869000+bluikko@users.noreply.github.com>
(cherry picked from commit 06cb5652157a53b25e8ae588f375548b1df72d2d)

2 years agoMerge pull request #52377 from soumyakoduri/wip-skoduri-reef-dbstore
Yuri Weinstein [Mon, 24 Jul 2023 19:11:55 +0000 (15:11 -0400)]
Merge pull request #52377 from soumyakoduri/wip-skoduri-reef-dbstore

[reef]rgw/dbstore: Do not update mtime for attr change

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2 years agodoc/rados: remove redundant cache tiering deprecation note 52608/head
Ilya Dryomov [Mon, 24 Jul 2023 13:01:26 +0000 (15:01 +0200)]
doc/rados: remove redundant cache tiering deprecation note

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 12ccd294663b03f34a44424c6006248bb7469b73)

2 years agoMerge pull request #52574 from cbodley/wip-62106-reef
Yuri Weinstein [Mon, 24 Jul 2023 13:35:13 +0000 (09:35 -0400)]
Merge pull request #52574 from cbodley/wip-62106-reef

reef: valgrind: replace suppression for EVP_DecryptFinal_ex

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #52567 from cbodley/wip-qa-distros-centos9-reef
Yuri Weinstein [Mon, 24 Jul 2023 13:34:37 +0000 (09:34 -0400)]
Merge pull request #52567 from cbodley/wip-qa-distros-centos9-reef

reef: qa/distros: add centos stream 9 as supported distro

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #52566 from cbodley/wip-62104-reef
Yuri Weinstein [Mon, 24 Jul 2023 13:33:50 +0000 (09:33 -0400)]
Merge pull request #52566 from cbodley/wip-62104-reef

reef: test/pybind: replace nose with pytest

Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2 years agoMerge pull request #52078 from guits/wip-61700-reef
Guillaume Abrioux [Mon, 24 Jul 2023 08:07:27 +0000 (10:07 +0200)]
Merge pull request #52078 from guits/wip-61700-reef

reef: ceph-volume: set lvm membership for mpath type devices

2 years agoMerge pull request #52593 from zdover23/wip-doc-2023-07-23-backport-52587-to-reef
Anthony D'Atri [Sun, 23 Jul 2023 14:20:05 +0000 (10:20 -0400)]
Merge pull request #52593 from zdover23/wip-doc-2023-07-23-backport-52587-to-reef

reef: doc/rados: edit ceph-conf.rst (4 of x)

2 years agodoc/rados: edit ceph-conf.rst (4 of x) 52593/head
Zac Dover [Sat, 22 Jul 2023 03:57:51 +0000 (13:57 +1000)]
doc/rados: edit ceph-conf.rst (4 of x)

Edit doc/rados/configuration/ceph-conf.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit ac47899863390ff9f2adf658273e1d61760a68c2)

2 years agoMerge pull request #52588 from zdover23/wip-doc-2023-07-22-backport-52542-to-reef
Anthony D'Atri [Sat, 22 Jul 2023 11:54:50 +0000 (07:54 -0400)]
Merge pull request #52588 from zdover23/wip-doc-2023-07-22-backport-52542-to-reef

reef: doc/rados: edit ceph-conf.rst (3 of x)

2 years agodoc/rados: edit ceph-conf.rst (3 of x) 52588/head
Zac Dover [Wed, 19 Jul 2023 13:00:38 +0000 (23:00 +1000)]
doc/rados: edit ceph-conf.rst (3 of x)

Edit doc/rados/configuration/ceph-conf.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit b1fb80ae088e4f00f207454433111f6597715ed8)

2 years agoclient: correct quota check in Client::_rename() 52578/head
Rishabh Dave [Wed, 15 Feb 2023 13:19:10 +0000 (18:49 +0530)]
client: correct quota check in Client::_rename()

Client::_rename() only checks for max files quota. As a result, max
bytes quota is not enforced. Thus the following code (copied from
qa/workunits/fs/quota/quota.sh), runs successfully instead of exiting
with error "Disk quota exceeded" -

mkdir files limit
setfattr limit -n ceph.quota.max_bytes -v 1000
truncate filles/file1 -s 1M
mv files limit

This patch makes Client::_rename() enforce both kinds of quota which
leads command "mv files limit" from above script to fail with "Disk
quota exceeded" error. This is the expected behaviour in this case.

Introduced-by: dde1a19d4105f1db41477752a71d8fe40c45cd7f
Fixes: https://tracker.ceph.com/issues/58220
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit a8d9a256dc1c7f4186f293eb25c4edc54f69eda3)

2 years agoMerge pull request #52572 from zdover23/wip-doc-2023-07-21-backport-52563-to-reef
Anthony D'Atri [Fri, 21 Jul 2023 13:46:08 +0000 (09:46 -0400)]
Merge pull request #52572 from zdover23/wip-doc-2023-07-21-backport-52563-to-reef

reef: doc: governance.rst - update D Orman

2 years agovalgrind: remove stale openssl suppressions 52574/head
Casey Bodley [Thu, 20 Jul 2023 13:23:52 +0000 (09:23 -0400)]
valgrind: remove stale openssl suppressions

years ago in commit fe97a000990632dbe9734e0d3a96df627f104f7a, the
signature of authenticated_decrypt_update_final() changed and this
suppression no longer matches its mangled form:

-  fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalEONS_6buffer7v*4listEj
+  fun:_ZN4ceph6crypto6onwire25AES128GCM_OnWireRxHandler34authenticated_decrypt_update_finalERNS_6buffer7v15_2_04listE

the fact that we didn't notice must mean that we don't need the
suppressions anymore

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d6d9986315481ca13e8823c8e26c03eeac2d1713)

2 years agovalgrind: suppress uninitialized value in OpenSSL
Casey Bodley [Wed, 19 Jul 2023 17:19:46 +0000 (13:19 -0400)]
valgrind: suppress uninitialized value in OpenSSL

Fixes: https://tracker.ceph.com/issues/61566
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit ef61386862a507e993a05e23de75a88d7744f7b4)

2 years agodoc: governance.rst - update D Orman 52572/head
Zac Dover [Thu, 20 Jul 2023 17:35:52 +0000 (03:35 +1000)]
doc: governance.rst - update D Orman

Update David Orman's email address in doc/governance.rst.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit 46f503975e124680b29333e3972c4c937a641c10)

2 years agoMerge pull request #52302 from lxbsz/wip-61797
Yuri Weinstein [Thu, 20 Jul 2023 23:12:37 +0000 (19:12 -0400)]
Merge pull request #52302 from lxbsz/wip-61797

reef: client: only wait for write MDS OPs when unmounting

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2 years agoMerge pull request #52525 from cfsnyder/wip-62065-reef
Yuri Weinstein [Thu, 20 Jul 2023 21:43:26 +0000 (17:43 -0400)]
Merge pull request #52525 from cfsnyder/wip-62065-reef

reef: rgw: fix consistency bug with OLH objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2 years agoMerge pull request #52562 from rhcs-dashboard/reef-make-check-fix
Laura Flores [Thu, 20 Jul 2023 19:39:37 +0000 (14:39 -0500)]
Merge pull request #52562 from rhcs-dashboard/reef-make-check-fix

reef: install-deps: remove the legacy resolver flags

2 years agoqa/distros/supported-random: add centos_latest.yaml 52567/head
Casey Bodley [Wed, 8 Mar 2023 15:36:36 +0000 (10:36 -0500)]
qa/distros/supported-random: add centos_latest.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 5e0985a70aa9165157e32efc1eadf39d05c8ccf3)

2 years agoqa/distros/supported: update centos_latest.yaml and add centos_8.stream.yaml
Casey Bodley [Wed, 8 Mar 2023 15:32:10 +0000 (10:32 -0500)]
qa/distros/supported: update centos_latest.yaml and add centos_8.stream.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 9d2450a7aa6e3bed5065463f6f72d2144f0746c3)

2 years agoqa/distros/all: add centos_latest.yaml symlink to centos_9.stream.yaml
Casey Bodley [Wed, 8 Mar 2023 15:29:07 +0000 (10:29 -0500)]
qa/distros/all: add centos_latest.yaml symlink to centos_9.stream.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit a85f50c24bd478144fa02df39af47944cb7bc33e)

2 years agoqa/distros/all: add centos_9.stream.yaml
Casey Bodley [Wed, 8 Mar 2023 15:28:44 +0000 (10:28 -0500)]
qa/distros/all: add centos_9.stream.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 69fe8543dff30bdb42d9029661997a6134a81c3d)

2 years agoqa/suites: install pytest for pybind tasks 52566/head
Casey Bodley [Wed, 21 Jun 2023 12:08:58 +0000 (08:08 -0400)]
qa/suites: install pytest for pybind tasks

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit cbdd5209957646f497b5e0df2f1a8dc6d918267f)

2 years agotest/pybind/rgwfs: convert from nose to pytest
Casey Bodley [Tue, 20 Jun 2023 21:06:23 +0000 (17:06 -0400)]
test/pybind/rgwfs: convert from nose to pytest

* use a fixture for setup_test()
* replace nose assertions

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 136b3ec5323eb392e1017fffba1a538b87b77a58)

2 years agotest/pybind/rados: convert from nose to pytest
Casey Bodley [Tue, 20 Jun 2023 20:29:37 +0000 (16:29 -0400)]
test/pybind/rados: convert from nose to pytest

* replace nose.Skiptest with pytest.skip()
* replace nose attrs with @pytest.mark
* replace nose assertions
* replace setUp/tearDown with setup/teardown_method

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 0d0128f50edd16dd257a4b897bb63d9168497f80)

2 years agotest/pybind/cephfs: convert from nose to pytest
Casey Bodley [Tue, 20 Jun 2023 20:12:14 +0000 (16:12 -0400)]
test/pybind/cephfs: convert from nose to pytest

* use a fixture for setup_test()
* invoke test_cephfs.py with pytest

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 0bd813f069ed7a3ee691fbfb33da017bb00c1a55)

Conflicts:
src/test/pybind/test_cephfs.py
missing https://github.com/ceph/ceph/pull/43546
missing https://github.com/ceph/ceph/pull/46905

2 years agotest/pybind/rbd: convert from nose to pytest
Casey Bodley [Tue, 20 Jun 2023 18:46:40 +0000 (14:46 -0400)]
test/pybind/rbd: convert from nose to pytest

* use fixtures for temporary images and groups
* use pytest.skip instead of nose.SkipTest
* replace setUp/tearDown with setup/teardown_method
* add @pytest.mark.skip_if_crimson
* replace nose assertions

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit af04457a43921bcac85b572098245a4c8a79452e)

2 years agoinstall-deps: remove the legacy resolver flags 52562/head
Nizamudeen A [Wed, 19 Jul 2023 14:05:05 +0000 (19:35 +0530)]
install-deps: remove the legacy resolver flags

This was a workaround that was introduced long time ago. This will be
something that could be deprectaed at some point [1]. And its preventing some of the dependencies to be
downloaded or stored into the wheelhouse. Deps like jsonschema, parse,
mypy, cryptography etc.

[1] https://pip.pypa.io/en/latest/user_guide/#deprecation-timeline

Fixes: https://tracker.ceph.com/issues/62082
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit d179b95ddf57f8ca48633aed9f6229e39ad83fef)

 Conflicts:
install-deps.sh
  - discard the incoming change and edit the line manually

2 years agoMerge pull request #52469 from idryomov/wip-61587-reef
Yuri Weinstein [Wed, 19 Jul 2023 15:58:40 +0000 (11:58 -0400)]
Merge pull request #52469 from idryomov/wip-61587-reef

reef: common: `counter dump` command revision

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
2 years agoMerge pull request #52414 from ljflores/wip-61966-reef
Yuri Weinstein [Wed, 19 Jul 2023 15:58:02 +0000 (11:58 -0400)]
Merge pull request #52414 from ljflores/wip-61966-reef

reef: qa/suites/rados/singleton/all: remove test_envlibrados_for_rocksdb

Reviewed-by: Neha Ojha <nojha@redhat.com>
2 years agoMerge pull request #52399 from mchangir/wip-61959-reef
Yuri Weinstein [Wed, 19 Jul 2023 15:53:32 +0000 (11:53 -0400)]
Merge pull request #52399 from mchangir/wip-61959-reef

reef: mon: block osd pool mksnap for fs pools

Reviewed-by: Venky Shankar <vshankar@redhat.com>