Even though the selftest routine doesn't care about
the settings, we should set them to avoid emitting
nasty log/health messages when enabling the module.
Fixes: http://tracker.ceph.com/issues/22514
Signed-off-by: John Spray <john.spray@redhat.com>
get_mds_map() is an instance method, and not a global
function. Use it as such.
Fixes: http://tracker.ceph.com/issues/22524
Signed-off-by: Ramana Raja <rraja@redhat.com>
Currently, the prep_rebalancer requires the mds_load of itself
being greater than average level mds_bal_min_rebalance percent
to be counted as exporter, however, for the other mds, as long
as their mdsload is greater than average level, they could be
consider as exporter. This inconsistent standard would cause
gray area in the rebalance activity: one may expect the other
do some work, but it didn't. With the increasing amount of mds,
this inconsistent decision would get worse and affects the
optimization effect of rebalancer.
Signed-off-by: Jianyu Li <joannyli@tencent.com>
get_layout_size_increment() return layout.get_period(). A period
contain layout.stripe_count objects.
The config is for limiting number of objects need to probe when
recovering a file.
Fixes: http://tracker.ceph.com/issues/22492
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
* refs/pull/19424/head:
osdc/Journaler: introduce STATE_STOPPING state
osdc/Journaler: add 'stopping' check to various finish callbacks
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
CEPH_OSDMAP_FULL flag was obsoleted by
b4ca5ae462. So, check if the metadata pool is
full instead which is a decent proxy (as metadata operations can still
proceed). However, the data pool may still be full which would result in some
operations still not completing (like inode backtrace updates).
Fixes: http://tracker.ceph.com/issues/22483
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
rgw: add "Accept-Ranges" to response header of Swift API
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
* we cannot build on centos 6. and we are dropping the support for ubuntu
14.04 also.
* add ubuntu 17.04: this release is not a LTS release, and added merely for
demostration purpose.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 1acfa03ef9)
use the ubuntu_face.yaml facet for the distro used for testing. since we
are dropping the support for trusty.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit dbe33502cb)
instead of using ubuntu 14.04, since we want to drop the support of this
release.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 88311be439)
* instead of using ubuntu 14.04, use ubuntu_latest.since we want
to drop the support of this release.
* refactor this test to use the facet of ubuntu_latest.yaml.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit aa89bb2f93)
the buildpackages feature is not part of ceph. and its test was moved to
teuthology in 5a43f8d5. let's remove the leftovers from ceph/ceph. BTW,
we have not run this test suite since then. and its dependency cannot be
fulfilled.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 582f04508f)