* refs/pull/31595/head:
mds: optimize function, fragset_t::simplify, to improve the efficiency of merging fragment
Reviewed-by: Zheng Yan <zyan@redhat.com>
* refs/pull/32212/head:
rpm/cephadm: start description and summary with capital letter
rpm/cephadm: move HOMEDIR to /var/lib and make scriptlets idempotent on SUSE
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
We cannot do a traditional upgrade (install old package, start cluster,
install new package, ...) because nautilus is el7-only and octopus is
el8-only.
So, do these tests on ubuntu.
Signed-off-by: Sage Weil <sage@redhat.com>
* refs/pull/32198/head:
cephadm: Fix Python2.7 isssue
cephadm: fix how uid/gid is determined
cephadm: add sample configuration for prometheus
cephadm: support deployment of prometheus
Reviewed-by: Sebastian Wagner <swagner@suse.com>
This commit fixes RPMLINT issue:
cephadm.x86_64: E: summary-not-capitalized (Badness: 20) C cephadm utility to bootstrap Ceph clusters
Summary doesn't begin with a capital letter.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Also introduce a cephadm group. Since the cephadm package does not
require ceph-common, the ceph group is not available to be used.
Drop the -r option to useradd, because cephadm does not qualify as a system
user.
Finally, fix the SUSE RPM build. SUSE RPM builds using "osc" implement a check
that compares the cephadm package's "before" and "after" file lists, to enforce
idempotency of the scriptlets. The "userdel cephadm" in the %postun breaks this
check, so omit it from the SUSE RPM builds.
Fixes: https://tracker.ceph.com/issues/43285
Signed-off-by: Nathan Cutler <ncutler@suse.com>
The mock tests will require method calls in a known order. Previously
different environments could evaluate the parameters in different
orders resulting in out-of-order method calls.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
mgr/dashboard: run-frontend-e2e-tests.sh: allow user defined BASE_URL…
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
mgr/dashboard: iSCSI targets not available if any gateway is down
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
mgr/dashboard: Display OSD device class in OSD list
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
- don't use journaling feature to chose the mode;
- provide new API function mirror_image_enable2;
- return back the old behavior to automatically enable/disable
journaling feature on enabling/disabling image mirroring.
Signed-off-by: Mykola Golub <mgolub@suse.com>
Remove all the original journal replaying code embedded in the image
replayer and instead rely on the new journal replayer class.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
The current implementation is tied to journal-based replaying so
move it down into the journal sub-namespace.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
The current implementation is tied to journal-based replaying so
move it down into a new journal sub-namespace.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This is going to cause conflicts w/ the '::journal' namespace and
future 'rbd:🪞:image_replayer::journal' namespace.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
The uid/gid is determined by looking at file ownership. It
was looking at /etc/ceph, but on current builds this is owned by root so switched to using /var/lib/ceph which
is the homedir of the ceph account.
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
Initial support to enable cephadm to deploy
monitoring containers like prometheus. This
patch adds support for prometheus. It is the callers
responsibility to provide a valid prometheus.yml
file passed within the --config-json parameter.
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
* refs/pull/32158/head:
cephadm: fix exception when no time sync is running
cephadm: properly extract osd fsid during adoption
cephadm: do ceph-volume activate+deactivate as part of systemd unit
ceph-daemon: behave with no /etc/ceph/ceph.conf
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
This needs to be passed to the deploy_daemon_units method so that we can
set up the pre and post c-v calls properly.
Signed-off-by: Sage Weil <sage@redhat.com>
1- Do the activate as part of the unit on start, since it may include
setup that disappears on a reboot, like starting up the dmcrypted volume.
2- Do the matching deactivate step when the container stops, like shutting
down the dmcrypt volume.
Right now the OSD is the only thing that needs this special behavior.
Signed-off-by: Sage Weil <sage@redhat.com>