]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 years agomgr/prometheus: change pg_repaired_objects name to pool_repaired_objects 48415/head
Pere Diaz Bou [Mon, 10 Oct 2022 10:08:34 +0000 (12:08 +0200)]
mgr/prometheus: change pg_repaired_objects name to pool_repaired_objects

Fixes: https://tracker.ceph.com/issues/57806
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2 years agoMerge pull request #48331 from tchaikov/crimson-stop
Kefu Chai [Mon, 10 Oct 2022 04:51:33 +0000 (12:51 +0800)]
Merge pull request #48331 from tchaikov/crimson-stop

crimson/osd: shutdown on osdmaps' demand

Reviewed-by: Samuel Just <sjust@redhat.com>
2 years agoMerge pull request #48238 from sisco0/fix-rgw-amqp-switch-compiler-warning-2
Yuval Lifshitz [Sun, 9 Oct 2022 10:35:02 +0000 (13:35 +0300)]
Merge pull request #48238 from sisco0/fix-rgw-amqp-switch-compiler-warning-2

rgw: fix rabbitmq version checking for AMQP_STATUS_SSL_SET_ENGINE_FAILED

2 years agocrimson/osd/stop_signal: s/signaled/on_signal/ 48331/head
Kefu Chai [Sun, 2 Oct 2022 02:29:55 +0000 (10:29 +0800)]
crimson/osd/stop_signal: s/signaled/on_signal/

to better reflect that it is a callback gets called when receiving a
signal.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 years agocrimson/osd: signal should_stop in OSD::shutdown()
Kefu Chai [Sat, 1 Oct 2022 10:34:33 +0000 (18:34 +0800)]
crimson/osd: signal should_stop in OSD::shutdown()

so osd is able to shut itself down per monitor's request.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 years agocrimson/osd: drop redundant code
Kefu Chai [Sat, 1 Oct 2022 10:03:30 +0000 (18:03 +0800)]
crimson/osd: drop redundant code

this change is a cleanup.

we already update `superblock` with the latest `boost_epoch` and
osdmap's epoch in `OSD::handle_osd_map()`, and `committed_osd_maps()` is
called at end of this function. `shutdown()` is called when we marked
down and stop by the monitor in `committed_osd_maps()`. so these
assignment statements are noops. instead, we should stop the whole osd
service. let's leave it for another commit.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 years agocrimson/osd: use abort_source in stop_signal
Kefu Chai [Sat, 1 Oct 2022 09:43:00 +0000 (17:43 +0800)]
crimson/osd: use abort_source in stop_signal

before this change, `stop_signal::wait()` waits until it receives
`SIGTERM` or `SIGINT`, but we also need to stop the service per the
request of monitor or when a serious health condition is detected.

so, an `abort_source` should allow the server to request abort by
itself. also, as the single truth of stop, `stop_signal` will be
able to send the message to its subscribers to abort any "blocking"
calls which might prevent or delay the stop process.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 years agocrimson/osd: vendor stop_signal.h
Kefu Chai [Sat, 1 Oct 2022 08:30:43 +0000 (16:30 +0800)]
crimson/osd: vendor stop_signal.h

stop_signal.h is copied from seastar/apps/lib/stop_signal.hh. this
change copies it int our project so we can customize it in a following
commit. we will need to add an `abort_source` member to it.

the class `stop_signal` works great for us. but under some
circumstances, we also need to stop the crimson server programmatically
from the server itsef, for instance, per the request of monitor. in that
case, `stop_signal` cannot fulfill our needs, as the only thing which
can stop it is, SIGTERM or SIGTERM. we could send SIGINT to ourselves to
unblock `stop_signal::wait()`. but it would be better if we could leverage
`abort_source` for this purpose. for two reasons:

* `abort_source` allows use to cancel a "blocking" op.
  we have a couple background tasks in crimson, like `AdminSocket`'s
  accept and handle task, which could have been stopped by an
  `abort_source`. but now it checks for the `stop_gate` before accepting
  an incoming connection. this pattern cannot be always be repeated.
  because we cannot *abort* a "blocking" task. for instance, we use
  a homebrew `tri_mutex` to protect the read/write consistency of
  an obc, what if the server would need to stop when a request is
  still trying to acquire the lock? with the help of the `abort_source`,
  we should be able to either subscribe from the `abort_source`,
  and set an abort exception for each of the waiters. the same applies
  to other "blocking" calls like `shared_promise::get_shared_future()`,
  this allows us to abort the waiter before the promise is resolved.
  this could be handy if we need to abort potentially op which
  might take long and should be aborted when monitor wants to
  kill the osd instance.
* `abort_source` allows us to abort the services programmatically.
  this is the use case mentioned in the beginning of this commit
  message.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2 years agoMerge pull request #48322 from zdover23/wip-doc-2022-10-01-rados-ops-ec-front-matter...
zdover23 [Sat, 1 Oct 2022 04:32:10 +0000 (14:32 +1000)]
Merge pull request #48322 from zdover23/wip-doc-2022-10-01-rados-ops-ec-front-matter-rewrite

doc/rados: rewrite EC intro

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2 years agodoc/rados: rewrite EC intro 48322/head
Zac Dover [Thu, 1 Sep 2022 19:08:00 +0000 (05:08 +1000)]
doc/rados: rewrite EC intro

This PR rewrites the front matter in the "Erasure Code"
section of the RADOS documentation. Previously, the information
in this section was syntactically confused. I have also fleshed
out the distinction between erasure coding and replication.

Co-Author: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2 years agoMerge pull request #43567 from jdurgin/wip-gov
Josh Durgin [Sat, 1 Oct 2022 03:05:29 +0000 (20:05 -0700)]
Merge pull request #43567 from jdurgin/wip-gov

doc/governance: add proposed structure

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2 years agodoc: merge new and old governance description 43567/head
Josh Durgin [Fri, 30 Sep 2022 23:34:04 +0000 (19:34 -0400)]
doc: merge new and old governance description

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2 years agodoc/governance: updates based on review comments
Josh Durgin [Fri, 18 Mar 2022 23:20:43 +0000 (19:20 -0400)]
doc/governance: updates based on review comments

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2 years agoMerge pull request #48072 from ceph/wip-yuriw-release-17.2.4-main
Laura Flores [Fri, 30 Sep 2022 20:22:50 +0000 (15:22 -0500)]
Merge pull request #48072 from ceph/wip-yuriw-release-17.2.4-main

doc: 17.2.4 Release Notes

2 years agodoc: 17.2.4 Release Notes 48072/head
Yuri Weinstein [Tue, 13 Sep 2022 17:21:10 +0000 (10:21 -0700)]
doc: 17.2.4 Release Notes

Fixes: https://tracker.ceph.com/issues/57472
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Signed-off-by: Laura Flores <lflores@redhat.com>
2 years agoMerge pull request #48259 from ktdreyer/build-win-fixes
Ken Dreyer [Fri, 30 Sep 2022 19:36:29 +0000 (15:36 -0400)]
Merge pull request #48259 from ktdreyer/build-win-fixes

win32: support building windows client on RHEL

Reviewed-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Reviewed-by: Justin Caratzas <jcaratza@redhat.com>
2 years agodoc/governance: update based on review and CLT discussions
Josh Durgin [Fri, 11 Mar 2022 20:17:54 +0000 (15:17 -0500)]
doc/governance: update based on review and CLT discussions

Clarified some parts of council that were discussed previously,
specifying the number of members and a staggered term.

Added a bit more about the steering committee - thinking the meetings
could be split between tactical (3/4 weeks) and strategic (monthly),
and still open to anyone to join the discussion, but restricted to
only members voting.

Removed the meeting section since that belongs more in a separate
place, like the ceph.io website.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2 years agodoc/governance: add proposed structure
Josh Durgin [Fri, 15 Oct 2021 15:36:07 +0000 (11:36 -0400)]
doc/governance: add proposed structure

This is Sage's summary of the Ceph leadership team discussions around
this topic. Still many details to be worked out, this is just one
concrete proposal as a basis for further discussion.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2 years agoMerge pull request #47249 from nSedrickm/aria-labels-accessibility-update
Nizamudeen A [Fri, 30 Sep 2022 05:07:52 +0000 (10:37 +0530)]
Merge pull request #47249 from nSedrickm/aria-labels-accessibility-update

mgr/dashboard: Improve level A accessibility for missing aria labels in tabs and listitems

Reviewed-by: Pegonzal <NOT@FOUND>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>