Avoid a lot of these
2020-03-13T14:58:38.785360-0500 mgr.x [INF] No data_devices, skipping DriveGroup: osd.all
every time we consider the OSD spec and find nothing to do. Instead, log
something like this each time we actually have work to do:
2020-03-13T15:04:22.803356-0500 mgr.x [INF] Applying osd.all on host gnit...
2020-03-13T15:04:33.723731-0500 mgr.x [INF] Deploying daemon osd.5 on gnit
Signed-off-by: Sage Weil <sage@redhat.com>
* refs/pull/33951/head:
mgr/orch: dump service spec by name
Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
If we experience a timeout, we don't bother shutting down rados, because
it can't currently handle one thread blocked (or running) library init
at the same time that another thread calls rados_shutdown(). This
behavior was recently introduced by c8f353c50b
However, sys.exit() runs all kinds of shutdown work that will also
interfere with the running librados threads.
Fix by using os._exit instead of sys.exit.
Fixes: https://tracker.ceph.com/issues/44566
Signed-off-by: Sage Weil <sage@redhat.com>
* refs/pull/33891/head:
mgr/cephadm: fix dump output by formatting to json first
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
* refs/pull/33905/head:
install-deps.sh: remove the workaround to bootstrap a new venv
install-deps.sh: install additional repo for RHEL8
install-deps.sh: install rhel-7-server-optional-rpms on el7 only
Reviewed-by: David Galloway <dgallowa@redhat.com>
by default, the user agent's css sets `margin-block-end` of "ul ul" to
"0", which renders the unordered lists in release notes cluttered. as we
are using nested unordered list to present the changes in different
components.
in this change a customized css is added to reset the begin and end
margin of ul to 1em, which is the default value of top level ul.
Signed-off-by: Kefu Chai <kchai@redhat.com>
* `host_pattern` is works as any other host spec.
* Improved type annotations
* Added tests
* `mgr/cephadm/test_scheduling`: Remove tests that don't have a valid spec.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
The refresh time of services/daemons is also increased to 1 minute since
they are not updated so frequently.
Fixes: https://tracker.ceph.com/issues/44558
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
* refs/pull/33868/head:
mgr/rook: implement remove_daemons()
mgr/rook: fix mds/fs create/apply/update
mgr/rook: use ceph_daemon_id label consistently
mgr/rook: show filesystems in 'orch ls'
mgr/orch: 'age' -> 'ago' in 'orch ls' output
mgr/rook: initial pass at 'orch ls'
mgr/rook: include timestamps in 'orch ps'
mgr/orch: shorten container_id (hash) in cephadm, not orch ps
mgr/rook: include container_image_name in 'orch ps'
mgr/rook: fix list_daemons host arg
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Before when you accessed any RBD component, you were loading all 4 components
at the same time and each was doing frequent requests to the server.
Now it only loads 1 at a time.
Fixes: https://tracker.ceph.com/issues/44278
Signed-off-by: Tiago Melo <tmelo@suse.com>
mgr/dashboard: Create bucket with x-amz-bucket-object-lock-enabled
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
If the user does 'orch pause', suspend all background work that makes
actual changes.
Continue to do read-only operations, like checking host connectivity
and scraping daemon and device status.
Signed-off-by: Sage Weil <sage@redhat.com>