Commit Graph

132099 Commits

Author SHA1 Message Date
David Galloway
04f00402d6
Merge pull request #46840 from ceph/fix-backport2
.github: Add labels while PR is open
2022-06-24 14:03:58 -04:00
David Galloway
605b457c98 .github: Add labels while PR is open
I think https://github.com/tibdex/backport will only create backport PRs if our doc/releases PRs are labelled *and then* closed.  This action currently labels after the PR is closed.

Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-06-24 12:27:43 -04:00
David Galloway
53b0e0b359
Merge pull request #46576 from ceph/wip-yuriw-release-17.2.1-main
doc: 17.2.1 Release Notes
2022-06-24 11:30:33 -04:00
David Galloway
8db6d89196
Merge pull request #46830 from ceph/backport-doc-pr
.github: Automatically backport doc/releases PRs
2022-06-24 11:06:22 -04:00
David Galloway
7f2eafc130 doc: 17.2.1 nit fixes
Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-06-23 17:35:16 -04:00
David Galloway
f5f9459fb2 .github: Support for automatically creating backport PRs when labeled
e.g., add a 'backport quincy' label to a PR and this workflow will automatically create a backport PR

Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-06-23 15:33:54 -04:00
David Galloway
24e3822435 .github: Label doc/releases PRs so tibdex/backport@v2 can backport
Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-06-23 15:31:48 -04:00
Ronen Friedman
2f71185ad6
Merge pull request #46643 from ronen-fr/wip-rf-blocked
scrub/osd: add clearer reminders that a scrub is blocked

Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2022-06-23 18:29:27 +03:00
Liu-Chunmei
6ae30f61cd
Merge pull request #46435 from liu-chunmei/crimson-error-log
Crimson/osd:  add error log

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-06-22 15:28:48 -07:00
Liu-Chunmei
7906012ed9
Merge pull request #46613 from liu-chunmei/crimson-cmp-ext
crimson/osd: return error code to break next op in cmp_ext

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-06-22 15:26:53 -07:00
Neha Ojha
255b0204d2 doc: add more 17.2.1 notes
update release date

Signed-off-by: Neha Ojha <nojha@redhat.com>
2022-06-22 20:55:33 +00:00
Samuel Just
3fdbee5e70
Merge pull request #46795 from xxhdx1985126/wip-seastore-backref-trim-bug-fix
crimson/os/seastore/cache: trim backref cache before preparing record

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-06-22 11:32:44 -07:00
J. Eric Ivancich
61967a4d4a
Merge pull request #46788 from ivancich/wip-superfluous-struct
rgw: remove unnecessary "struct" from req_state declarations

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2022-06-22 12:56:52 -04:00
Casey Bodley
51100f91a8
Merge pull request #46707 from adamemerson/wip-timestamp-status
rgw: radosgw-admin includes current time in most status commands

Reviewed-by: Shilpa Jagannath <smanjara@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2022-06-22 12:51:28 -04:00
Samuel Just
5e223e8bf5
Merge pull request #46640 from xxhdx1985126/wip-seastore-count-tree-size
crimson/os/seastore: count tree sizes

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-06-22 09:20:43 -07:00
Casey Bodley
2d9c94d9fd
Merge pull request #46816 from cbodley/wip-54405-again
rgw: fix frontend's use of rgw_access log subsystem

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2022-06-22 11:27:38 -04:00
zdover23
945954681b
Merge pull request #46769 from zdover23/wip-doc-2022-06-21-dev-guide-config-local-env-add-context-note
doc/dev: add context note to dev guide config

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-06-23 00:03:14 +10:00
Adam King
3c7431f989
Merge pull request #46369 from rkachach/fix_issue_55357
doc/cephadm: document the new per-fsid cephadm conf location

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-06-22 09:46:25 -04:00
Casey Bodley
bd697e1769 rgw: fix frontend's use of rgw_access log subsystem
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2022-06-22 09:07:36 -04:00
Ilya Dryomov
d4d9594949
Merge pull request #46759 from idryomov/wip-rbd-mirror-remote-not-primary
rbd-mirror: generally skip replay/resync if remote image is not primary

Reviewed-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
2022-06-22 13:51:20 +02:00
Ernesto Puerta
873dd327fe
Merge pull request #46765 from rhcs-dashboard/login-banner-cli-bug
mgr/dashboard: dashboard help command showing wrong syntax for login-banner

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
2022-06-22 13:38:03 +02:00
Ernesto Puerta
3b9eaabc6c
Merge pull request #46733 from rhcs-dashboard/rbd-mirroring-snapshot-ui
mgr/dashboard: rbd mirroring promotion/demotion UI

Reviewed-by: Sarthak Gupta <sarthak.dev.0702@gmail.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2022-06-22 13:05:26 +02:00
chunmei-liu
a48a8fb81f crimson/osd: create and send error log when has error
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-06-21 23:43:04 -07:00
Redouane Kachach
443f93e95d
doc/cephadm: document the new per-fsid cephadm conf location
Fixes: https://tracker.ceph.com/issues/55357

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
2022-06-22 08:25:23 +02:00
Ronen Friedman
996d9064c6 scrub/osd: disable blocked-scrub warnings during some tests
As some Teuthology tests seem to block objects for long minutes,
we must not issue the "scrub is blocked for too long" warning
(that warning causes the tests to fail).

A new configuration parameter now controls the grace period before
the warning is issued. Some tests were modified to set this
configuration parameter to a large value.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
2022-06-22 05:24:37 +00:00
Liu-Chunmei
ec3c779b12
Merge pull request #46587 from liu-chunmei/crimson-check-truncate
crimson/osd: check truncate size in sparse_read

Reviewed-by: Samuel Just <sjust@redhat.com>
2022-06-21 22:07:46 -07:00
Xuehan Xu
78d018958c crimson/os/seastore/cache: count tree size during OSD startup
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-06-22 11:51:50 +08:00
Xuehan Xu
e760ca204b crimson/os/seastore/cache: trim backref cache before preparing record
Otherwise, the transaction record would contain backrefs that has been
merged into the backref tree

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-06-22 09:49:48 +08:00
chunmei-liu
5be9c3754d crimson/osd: check truncate size in sparse_read
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-06-21 17:39:52 -07:00
chunmei-liu
a0c9d06bda crimson/osd: return error code to break next op in cmp_ext
Signed-off-by: chunmei-liu <chunmei.liu@intel.com>
2022-06-21 17:14:20 -07:00
Samuel Just
3b983cccbb
Merge pull request #46616 from xxhdx1985126/wip-seastore-lba-wrong-lba-node-size
crimson/os/seastore/lba_manager: correct btree node sizes

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2022-06-21 16:18:27 -07:00
Samuel Just
ae33f9c272
Merge pull request #46614 from xxhdx1985126/wip-backref-bug-fixes
crimson/os/seastore: bug fixes

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
2022-06-21 16:17:21 -07:00
J. Eric Ivancich
c396bf1bd0 rgw: remove unnecessary "struct" from req_state declarations
The "struct" is superfluous and makes it harder for those looking for
the definition.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2022-06-21 19:11:24 -04:00
Laura Flores
8302ba9520
Merge pull request #46786 from ljflores/wip-doc-fix
doc/dev/developer_guide: fix small typo
2022-06-21 17:58:41 -05:00
Adam King
93a144b5fc
Merge pull request #46716 from rkachach/fix_issue_54474
doc/cephadm: Add post-upgrade section

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
2022-06-21 18:07:07 -04:00
Laura Flores
462bc054cb doc/dev/developer_guide: fix small typo
Introduced in 682b806efa.

Signed-off-by: Laura Flores <lflores@redhat.com>
2022-06-21 15:52:39 -05:00
David Galloway
2679a1e0f4
Merge pull request #46773 from tchaikov/wip-libpmem
install-deps.sh: do not install libpmem from chacra
2022-06-21 16:21:54 -04:00
Sarthak0702
826741f192 mgr/dashboard: dashboard help command showing wrong syntax for login-banner
Signed-off-by: Sarthak0702 <sarthak.dev.0702@gmail.com>
2022-06-22 00:02:51 +05:30
Kefu Chai
fbfb369722 install-deps.sh: do not install libpmem from chacra
this change reverts 17d2bc3707, before
we recreate a chacra repo hosting libpmem packages, we are not able
to query the repo from shaman or pull the dependencies from chacra.

in future, we should be able to get the libpmem dependencies from
offical ubuntu package repo and fedora, CentOS Stream and RHEL repos.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-06-21 23:28:25 +08:00
Pedro Gonzalez Gomez
0cce84b71d mgr/dashboard: rbd image primary ui
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@redhat.com>
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-06-21 17:15:22 +02:00
Ilya Dryomov
a5cb82d353
Merge pull request #46743 from idryomov/wip-rbd-mirror-schedule-watchless
mgr/rbd_support: always rescan image mirror snapshots on refresh

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Sunny Kumar <sunkumar@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2022-06-21 16:19:35 +02:00
Zac Dover
3e6bcd7f0b doc/dev: add context note to dev guide config
This PR adds a note directing first-time cloners of
their Ceph git forks to make sure to cd into the ceph/
directory before trying to run the "git config" commands.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-06-22 00:09:05 +10:00
Ilya Dryomov
7fb4fdbed0 mgr/rbd_support: always rescan image mirror snapshots on refresh
Establishing a watch on rbd_mirroring object and skipping rescanning
image mirror snapshots on periodic refresh unless rbd_mirroring object
gets notified in the interim is flawed.  rbd_mirroring object is
notified when mirroring is enabled or disabled on some image (including
when the image is removed), but it is not notified when images are
promoted or demoted.  However, load_pool_images() discards images that
are not primary at the time of the scan.  If the image is promoted
later, no snapshots are created even if the schedule is in place.  This
happens regardless of whether the schedule is added before or after the
promotion.

This effectively reverts commit 69259c8d37 ("mgr/rbd_support: make
mirror_snapshot_schedule rescan only updated pools").  An alternative
fix could be to stop discarding non-primary images (i.e. drop

    if not info['primary']:
        continue

check added in commit d39eb283c5 ("mgr/rbd_support: mirror snapshot
schedule should skip non-primary images")), but that would clutter the
queue and therefore "rbd mirror snapshot schedule status" output with
bogus entries.  Performing a rescan roughly every 60 seconds should be
manageable: currently it amounts to a single mirror_image_status_list
request, followed by mirror_image_get, get_snapcontext and snapshot_get
requests for each snapshot-based mirroring enabled image and concluded
by a single dir_list request.  Among these, per-image get_snapcontext
and snapshot_get requests are necessary for determining primaryness.

Fixes: https://tracker.ceph.com/issues/53914
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-06-21 12:46:49 +02:00
Ilya Dryomov
a6ca576617
Merge pull request #46734 from idryomov/wip-rbd-schedule-load-race
mgr/rbd_support: avoid losing a schedule on load vs add race

Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2022-06-21 12:43:53 +02:00
Ernesto Puerta
e580e3c681
Merge pull request #46527 from rhcs-dashboard/mirroring-workflow
mgr/dashboard: configure rbd mirroring

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-06-21 12:05:07 +02:00
Pere Diaz Bou
6585abe4e6 mgr/dashboard: fix linting issues
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2022-06-21 10:34:56 +02:00
Ilya Dryomov
3743de2378
Merge pull request #46760 from idryomov/wip-wnbd-main-branch
win32_deps_build.sh: master -> main for wnbd

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2022-06-21 09:57:37 +02:00
Ilya Dryomov
27048bf2b2 win32_deps_build.sh: master -> main for wnbd
wnbd is switching, see https://github.com/cloudbase/wnbd/pull/67.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-06-20 22:23:27 +02:00
Ilya Dryomov
2bd2050909 rbd-mirror: spell out "remote image is not primary" status correctly
There is a difference: non-primary means NON_PRIMARY promotion state,
while "not primary" can refer to any of NON_PRIMARY, ORPHAN or UNKNOWN
promotion states.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-06-20 19:47:18 +02:00
Ilya Dryomov
8ce97c8cb7 rbd-mirror: fix up "error preparing image for replay" messages
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-06-20 19:47:18 +02:00