doc/monitoring: add min vers of apps in mon stack
Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
This was accidentally changed to "nfs"--which breaks various
ceph orchestration assumptions.
Found by Ernesto Puerta <epuertat@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
mgr/dashboard: fix snapshot creation with duplicate name
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
When generating tags the order of endpoints wasn't taken into account.
Two endpoints with the same url prefix, for example `/api/cluster/` and
`/api/cluster/user`, have different docs and the tags is generated from
a doc of one of these two, and since the order of these endpoints might
vary it is imperative to sort them to have a deterministic output.
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
AppMain::shutdown() had borrowed the unregister_async_signal_handler()
text from librgw, but of course, that's wrong.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Don't rely on the conf-default value of rgw_nfs_frontends to
provide "rgw-nfs," as that's not optional when running under
librgw.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Reorganize some dependencies shared by the librgw.so and radosgw
main units. The librgw.so build no longer builds a main(...)
unit.
Build time should be slightly reduced, as several shared dependencies
have been moved into rgw_a.
There are some other cleanups, e.g., rgw_signal.{h,cc}.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
s/rgw::InitHelper/rgw::AppMain/;
Move program state from RGWLib into AppMain, preparing it to
manage program state for all RGW instances (e.g., main()).
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
test/{librbd, rgw}: increase delay between and number of bind attempts
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Laura Flores <lflores@redhat.com>
Some of the existing admin APIs are rados-specific, and other stores
will want to add specific APIs. Allow this by having a function to add
store-specific APIs.
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
Commit aa7885f7cc ("test/{librbd, rgw}: retry when bind fail with
port 0") reduced the frequency of sporadic unit test failures caused
by EADDRINUSE a lot, but not entirely.
Currently, it yields a cumulative sleep of ~9 seconds. Let's increase
that to 1 minute.
Fixes: https://tracker.ceph.com/issues/57116
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
When run on focal and bionic, install-deps ends early
due to this extra debug message that was added to the
end of `ensure_decent_gcc_on_ubuntu`. The debug message
prints when the script is run in a jenkins environment.
When the script is not run in a jenkins environment, the
value returned there is "false" or "0", which acts as
an early return. This stops the script from completing.
We can remove this line, as `ensure_decent_gcc_on_ubuntu`
is only called for focal and bionic, and most of the jenkins
nodes are running jammy. Also, there is a debug message at the
beginning of the function that should suffice.
Fixes: https://tracker.ceph.com/issues/57466
Signed-off-by: Laura Flores <lflores@redhat.com>