Ignore errors that are to be expected when replaying
a maintenance op two or more times.
Fixes: #14822
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Adding info about `rgw keystone verify ssl` to configuration reference,
also adding a note in rgw keystone to explain the usage.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
msg: async: start over after failing to bind a port in specified range
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kefu@redhat.com>
The original report associated with this fix can be found at
http://tracker.ceph.com/issues/13002. I reopen one in case it
needs to be backported or something alike.
Fixes: #14928
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This test is intended to check machine-readable output and usage, not
human-readable output.
Fixes: #14931
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
pybind/rados: fix object lifetime issues and other bugs in aio
Reviewed-by: Mehdi Abaakouk <sileht@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
If bucket has requester-payer property set, aggregate the usage data
on it by the user that did the operation.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
This is awkward, if there are later users other than this test
and JournalingObjectStore, it'll be worth making it a bit less
clunky and error prone.
Signed-off-by: Samuel Just <sjust@redhat.com>
The rbd cli will warn about the deprecation when attempting to create
image format 1 images. librbd will log an error message when opening
a format 1 RBD image.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
As of a recent commit, we had /var/lib/ceph/{mds,mon,osd} directories
packaged twice, once with %attr and once without. Drop the latter.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Drop duplicate rados-classes libraries from ceph-osd and align the RPM
packaging with Debian by using a wildcard to package everything that
autotools puts in the rados-classes directory.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
When using setuid/setgid, main thread don't have access to
/proc/self/task/[tid]/comm, which is owned by newly created
thread (root).
To fix this, pthread_setname_np() was moved to newly created
thread, and now it changes name for itself.
Signed-off-by: Igor Podoski <igor.podoski@ts.fujitsu.com>
No need to explicitly touch the (no-longer-existing)
load_libcephfs method during module load, as with
the cython version we already get an ImportError
if the C library is unavailable.
Signed-off-by: John Spray <john.spray@redhat.com>
The ctypes bindings returned empty string
instead of raising exception. This was a bug,
because it made it impossible to detect the
difference between missing xattr and empty
xattr.
Signed-off-by: John Spray <john.spray@redhat.com>
ceph-disk uses sgdisk, which resides in the gdisk and gptfdisk packages on
RHEL and SUSE derivatives, respectively.
ceph-disk is included in the ceph-osd package, so the sgdisk dependency
belongs there.
Signed-off-by: Nathan Cutler <ncutler@suse.com>