Create and delete exports for nfs ganesha with mgr volume
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Old modules may be in the mgrmap (and always_on) but no longer exist. Do
not try to load those or raise errors about them.
Signed-off-by: Sage Weil <sage@redhat.com>
RTD does not support installing system packages, the only ways to install
dependencies are setuptools and pip. while ditaa is a tool written in
Java. so we need to find a native python tool allowing us to render ditaa
images. plantweb is able to the web service for rendering the ditaa
diagram. so let's use it as a fallback if "ditaa" is not around.
also start a new line after the directive, otherwise planweb server will
return 500 at seeing the diagram.
Signed-off-by: Kefu Chai <kchai@redhat.com>
ganesha-rados-grace needs a rados userid to add/remove from the grace db
Mar 27 10:05:25 host1 bash[11684]: rados_connect: -13
Mar 27 10:05:25 host1 bash[11684]: Can't connect to cluster: -13
Signed-off-by: Michael Fritch <mfritch@suse.com>
because it'd difficult to prepare (dummy) librados,libcephfs and librbd for
their python bindings in the building environment offered by Read the Docs.
Signed-off-by: Kefu Chai <kchai@redhat.com>
mgr/cephadm: disable dashboard's grafana cert ssl_verify if we generate it
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
cephadm: show error when no command is specified
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
If a previous remote snapshot was synced but the unlink failed,
ensure we retry the unlink so that the remote can cleanup the unused
snapshot.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Once a non-primary snapshot is no longer required for syncing, delete it
from the image.
Fixes: https://tracker.ceph.com/issues/44105
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Previously only newly created user snapshots were included in the
non-primary snapshot snap-seq mapping table. However, we need to
retain a full history of the mapping table if we want to be able to
prune non-primary snapshots.
Failovers are a special case since we won't have a valid snap seq mapping
so it will need to be rebuilt. Luckily, both sides should be read-only
in the previous state so we can use the snapshot names to find matches.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
snapshot-based mirroring needs to be able to potentially delete a
demotion snapshot during the unlink process. Previously, these
snapshots have been left while the read-only error was ignored.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
A pending refresh could occur after setting the non-primary feature flag but
before the creation of the demotion snapshot. This would prevent the snapshot
from being created and would leave the image in a half-primary state.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This will allow a remote rbd-mirror process to have a snapshot to use for
delta sync operations during failover.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Also prevents updating target auth, when this was not modified.
Fixes: https://tracker.ceph.com/issues/44659
Signed-off-by: Tiago Melo <tmelo@suse.com>
Introduced in 4d42b4c5a0 ("common/TextTable: default to 2 spaces
separating columns") and 41f003518a ("common/TextTable: only pad
between columns").
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
mgr/dashboard: use FQDN for failover redirection
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Fixes:
```
root@buster:/cephadm# ./cephadm add-repo
Unable to locate any of ['podman', 'docker']
```
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>