rbd-nbd: display pool/image/snap information in list output
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
in 55edd81, test for `--export-format` was added to exercise this
option. but this option is only supported on luminous, so we need to
check if it's avaialble before using it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
no need to clone the whole history of rocksdb, we just need the HEAD of
master. so "--depth 1" is better and faster in this case.
Signed-off-by: Kefu Chai <kchai@redhat.com>
* add mgr.x to roles
* to setup mgr and set the require-osd-release bit in osdmap
* do not restart an osd for waiting for healthy: the cluster is not
healthy until the require-osd-release=luminous is set in osdmap, and a
mgr is up and running.
Fixes: http://tracker.ceph.com/issues/20342
Signed-off-by: Kefu Chai <kchai@redhat.com>
os/filestore: when print log, use __func__ instead of hard code function name
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Sometimes ERROR log entries do not have prior_version. Also,
they aren't actually updates and don't affect the object.
Fixes: http://tracker.ceph.com/issues/20274
Signed-off-by: Sage Weil <sage@redhat.com>
Centos btrfs hits ENOSPC all the time :(, and now xenial is doing
it too.
See http://tracker.ceph.com/issues/20169
Signed-off-by: Sage Weil <sage@redhat.com>
osd, messages/MOSDPing: bunch of fixes related to ping inflation
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
cmake: do not add dependencies to INTERFACE library on cmake < 3.3
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
This removes the default filename, by the way. We also work around a
problem with make_server where it sets up the socket to listen before
checking for the cert, thereby making it problematic to rebind to the
port shortly thereafter when we do have a socket. (SO_REUSEADDR would
be appropriate but there doesn't seem to be an easy way to make
make_server use it.)
Signed-off-by: Sage Weil <sage@redhat.com>
This implements a create-self-signed-cert command for the ceph-mgr
restful interface.
It is designed so that it will try to restart the module once the cert
is created.
Signed-off-by: Boris Ranto <branto@redhat.com>
Currently users can't use ceph admin command to get db stats when running
bluestore fio plugin. This patch is to print db stats when rocksdb_perf
is set in config file.
Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
Otherwise, path string like #10000000000/xxx may get saved into
inode_t::stray_prior_path.
Fixes: http://tracker.ceph.com/issues/20340
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Sending any SLO/DLO range requests will retrun InvalidRange error. SLO/DLO should call range_to_ofs after got object size instead of read_op.prepare() to deal with negative offsets.
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>