| Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
|
|
7127 is already used by mon/misc.sh
Signed-off-by: Loic Dachary <loic@dachary.org>
|
|
DirectMessenger provides an efficient mechanism to support
in-process embedding of Ceph components (e.g., embedding of the
Ceph OSD in storage targets such as NFSv4 or iSCSI targets).
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
|
|
without this change, we always update the pgmap with the latest osdmap in
PGMonitor::check_osd_map(), but assign pending_inc.osdmap_epoch with the
epoch passed to PGMonitor::check_osd_map(), even if the osdmap could be
be much newer than "epoch". for example, we could end up with an
MOSDPGCreate with an ancient epoch, but carrying some creating pgs whose
pools do not exist in osdmap of that ancient epoch yet. this happens
when RetryCheckOSDMap is involved.
Fixes: http://tracker.ceph.com/issues/19398
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
Signed-off-by: Zheng Yin <zhengyin@chinac.com>
|
|
Signed-off-by: Pan Liu <liupan1111@gmail.com>
|
|
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
|
|
Signed-off-by: Dan Mick <dan.mick@redhat.com>
|
|
Failing to load ceph.conf now dumps more errors for the user
Signed-off-by: Dan Mick <dan.mick@redhat.com>
|
|
Missing ceph.conf now returns ENOENT rather than EINVAL
Signed-off-by: Dan Mick <dan.mick@redhat.com>
|
|
EINVAL for no conf file found changes to ENOENT
Signed-off-by: Dan Mick <dan.mick@redhat.com>
|
|
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
|
|
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
|
|
Previously all the error text was hidden; log it.
Note: ENOENT is noted as a 'parse error'
Signed-off-by: Dan Mick <dan.mick@redhat.com>
|
|
If the only error we get is ENOENT, pass that back instead of
EINVAL, as it more-accurately reflects the error(s)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
|
|
Signed-off-by: Dan Mick <dan.mick@redhat.com>
|
|
Consider ENOENT an error; it may or may not be reported, but
accumulate it as if it might be
Signed-off-by: Dan Mick <dan.mick@redhat.com>
|
|
Translate EINVAL to an exception type in rados.pyx
Print entire exception in ceph CLI
Signed-off-by: Dan Mick <dan.mick@redhat.com>
|
|
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
|
|
Also adding the commits after 12.0.1 tag merged back into the master
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Escape output; unescape input.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
I have been hating this assert for a long time.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
This is usually rocksdb on bluefs, but it should work with whatever kv
backend bluestore is configured to use.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
We reserve the first 8k for bluestore and bluefs superblocks even if
bluefs isn't enabled at mkfs time.
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
Previously were sometimes trying to maintain a mounted
client across a filesystem destroy/create.
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
This change happened a while back, but it got rolled back
when the generic objectstore/ dir had its filestore
entry split out into xfs and btrfs in 208675af.
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
The objectstore/ dir is now selecting the backing fs.
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
The "recovery" sub suite was originally tests for
client/mds recovery in certain failure cases, it has
since grown to include lots of unit testing of
various features using CephFSTestCase.
The "basic" suite is now specifically just running workloads
now that I've moved out the smaller functional tests.
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
Most of what's in basic/ is "workload" type testing
(i.e. a simple cluster cluster configuration and then
running a script inside the client), which gets
permuted in various ways. Move the simpler
functional tests out with the others like themselves.
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
These are unit tests for specific CephFS functionality,
it is gratuitous to repeat them with different underlying
RADOS object stores.
We retain coverage of XFS vs. bluestore in the workload tests.
Signed-off-by: John Spray <john.spray@redhat.com>
|
|
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
|
|
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
|
|
otherwise it will crash because of unaligned alloc size
Signed-off-by: Haomai Wang <haomai@xsky.com>
|
|
The following warning appears during make. Fixed the review comments too.
[ 28%] Building CXX object src/mds/CMakeFiles/mds.dir/__/osdc/Journaler.cc.o
./src/osdc/Journaler.cc: In member function ‘void Journaler::_do_flush(unsigned int)’:
./src/osdc/Journaler.cc:643:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (newlen < len) {
~~~~~~~^~~~~
Signed-off-by: Jos Collin <jcollin@redhat.com>
|
|
secondary zg
create bucket in secondary zonegroup will forward to master. The master may have different num_shards option.
So when create bucket in local, should use master's num_shards instead of local num_shards option.
Fixes: http://tracker.ceph.com/issues/19745
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
|
|
Due to handle_get_locker is executed in async context, shut_down could
start before handle_get_locker.
Fixes: http://tracker.ceph.com/issues/19405
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
|
|
commit d788bae60dac374dcf5c7a30fca04426cbee660a renamed config.rst to config-fcgi.rst
Reported-by: fusl in #ceph on irc.oftc.net
Signed-off-by: Peter Maloney <peter.maloney@brockmann-consult.de>
|
|
... it's the only client
Fixes: http://tracker.ceph.com/issues/17855
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
|
|
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
Signed-off-by: Haomai Wang <haomai@xsky.com>
|
|
there is chance that the acting set of a PG being created becomes empty,
and then OSDs joins the acting set. in that case, we need also update
the "create" epoch of the creating_pgs, so the new primary can be
updated with the MOSDPCreate message.
Fixes: http://tracker.ceph.com/issues/19744
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Signed-off-by: Loic Dachary <loic@dachary.org>
|
|
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Signed-off-by: Loic Dachary <loic@dachary.org>
|