]>
git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
Boris Ranto [Sat, 17 Feb 2018 03:45:01 +0000 (04:45 +0100)]
mgr/prometheus: Expose OSD Flags
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Fri, 16 Feb 2018 17:45:58 +0000 (18:45 +0100)]
mgr/prometheus: Fix pg_* counts
Currently, the pg_* counts are not computed properly. We split the
current state by '+' sign but do not add the pg count to the already
found pg count. Instead, we overwrite any existing pg count with the new
count. This patch fixes it by adding all the pg counts together for all
the states.
It also introduces a new pg_total metric for pg_total that shows the
total count of PGs.
Signed-off-by: Boris Ranto <branto@redhat.com>
Boris Ranto [Fri, 16 Feb 2018 03:53:39 +0000 (04:53 +0100)]
mgr/prometheus: Skip bogus entries
The osd data can contain bogus '-' entries, skip these when populating
osd metadata and disk occupation.
Signed-off-by: Boris Ranto <branto@redhat.com>
Andrew Schoen [Thu, 15 Feb 2018 20:08:38 +0000 (21:08 +0100)]
Merge pull request #20408 from ceph/wip-rm22785
ceph-volume consume mount/format options from ceph.conf
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Orit Wasserman [Thu, 15 Feb 2018 19:28:32 +0000 (21:28 +0200)]
Merge pull request #20158 from liaoxin01/fix-list-multi-upload
rgw: fix the max-uploads parameter not work
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Kefu Chai [Thu, 15 Feb 2018 18:32:04 +0000 (02:32 +0800)]
Merge pull request #20362 from tchaikov/wip-mgr-py3
mgr: fix py3 support
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Kefu Chai [Thu, 15 Feb 2018 18:26:09 +0000 (02:26 +0800)]
Merge pull request #20430 from tchaikov/wip-bluefs-demotion
os/bluestore: fix the demotion in StupidAllocator::init_rm_free
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
David Zafman [Thu, 15 Feb 2018 18:25:44 +0000 (10:25 -0800)]
Merge pull request #20410 from dzafman/wip-21218
osd: Fix assert when checking missing version
Reviewed-by: Sage Weil <sage@redhat.com>
Yuri Weinstein [Thu, 15 Feb 2018 17:26:06 +0000 (09:26 -0800)]
Merge pull request #19322 from theanalyst/usage-trim-2
rgw: add an option to clear all usage entries
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Thu, 15 Feb 2018 17:25:36 +0000 (09:25 -0800)]
Merge pull request #19573 from Leeshine/wip-rgw-sync-status
rgw: improve sync status
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Thu, 15 Feb 2018 17:25:05 +0000 (09:25 -0800)]
Merge pull request #19606 from cfanz/wip-rgw-fix-collect-return
rgw: fix collect()'s return in coroutine
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yuri Weinstein [Thu, 15 Feb 2018 17:24:35 +0000 (09:24 -0800)]
Merge pull request #19815 from qrGitHub/wip-rgw-memory-optimize2
rgw: drop unused vector elements
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Thu, 15 Feb 2018 17:07:57 +0000 (09:07 -0800)]
Merge pull request #19921 from fangyuxiangGL/lc-ret
rgw: lifecycle omap entry was removed in abnormal situation
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Yuri Weinstein [Thu, 15 Feb 2018 17:07:00 +0000 (09:07 -0800)]
Merge pull request #20006 from jcsp/wip-rgw-perfcounters
rgw: set priority on perf counters
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Yuri Weinstein [Thu, 15 Feb 2018 17:05:10 +0000 (09:05 -0800)]
Merge pull request #20021 from tianshan/fix_bilog_list
cls/rgw: fix bi_log_iterate_entries return wrong truncated
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Thu, 15 Feb 2018 17:04:48 +0000 (09:04 -0800)]
Merge pull request #20023 from badone/wip-rgw-better-ERANGE-error
rgw: Better ERANGE error message
Reviewed-by: <mkogan@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Yuri Weinstein [Thu, 15 Feb 2018 17:04:19 +0000 (09:04 -0800)]
Merge pull request #20024 from luomuyao/dev
rgw: fix a typo in rgw_perms[]
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Thu, 15 Feb 2018 17:02:19 +0000 (09:02 -0800)]
Merge pull request #20191 from yehudasa/wip-22833
rgw: sync tracing fixes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: <mkogan@redhat.com>
Yuri Weinstein [Thu, 15 Feb 2018 16:59:00 +0000 (08:59 -0800)]
Merge pull request #20063 from cethikdata/rgw_quota
rgw: upldate the max-buckets when the quota is uploaded
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Thu, 15 Feb 2018 16:58:39 +0000 (08:58 -0800)]
Merge pull request #20095 from tianshan/fix_reload
rgw: fix RGWCompletionManager get_next stuck after going down
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Alfredo Deza [Mon, 12 Feb 2018 21:47:36 +0000 (16:47 -0500)]
ceph-volume util.prepare extend flags when found
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 12 Feb 2018 21:47:17 +0000 (16:47 -0500)]
ceph-volume util.constants update mount flags to include rw, normalize on list
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 12 Feb 2018 21:46:47 +0000 (16:46 -0500)]
ceph-volume configuration normalize underscore vs. whitespace named options
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 12 Feb 2018 21:46:06 +0000 (16:46 -0500)]
ceph-volume tests check for mount/format usage from ceph.conf
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 12 Feb 2018 21:44:45 +0000 (16:44 -0500)]
ceph-volume tests add ceph.conf stub for custom conf files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Mykola Golub [Thu, 15 Feb 2018 12:13:45 +0000 (14:13 +0200)]
Merge pull request #20423 from dillaman/wip-22945
librbd: new tag should use on-disk committed position
Reviewed-by: Mykola Golub <mgolub@suse.com>
John Wilkins [Wed, 14 Feb 2018 23:15:27 +0000 (15:15 -0800)]
Merge pull request #20442 from JordanHus/master
doc: Fixes a spelling error and a broken hyperlink.
Reviewed-by: John Wilkins
Jordan Hus [Wed, 14 Feb 2018 19:23:59 +0000 (14:23 -0500)]
doc: Fixes a spelling error and a broken hyperlink.
Signed-off-by: Jordan Hus <jordan.hus@dicecorp.com>
Jason Dillaman [Tue, 13 Feb 2018 15:05:01 +0000 (10:05 -0500)]
journal: flush commit positions should wait for refresh
Fixes: http://tracker.ceph.com/issues/22945
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 13 Feb 2018 15:18:25 +0000 (10:18 -0500)]
journal: support concurrent refresh requests
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Wed, 14 Feb 2018 16:13:37 +0000 (00:13 +0800)]
Merge pull request #19859 from yaozongyou/rgw-remove-register-warning
rgw: silence not allow register storage class specifier warning
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
John Spray [Wed, 14 Feb 2018 15:18:31 +0000 (15:18 +0000)]
Merge pull request #20187 from wido/influxdb-connection-error
mgr/influx: Various fixes and improvements
Reviewed-by: John Spray <john.spray@redhat.com>
Alfredo Deza [Wed, 14 Feb 2018 12:07:16 +0000 (07:07 -0500)]
Merge pull request #20265 from ceph/wip-rm22876
ceph-volume: lvm zap will unmount osd paths used by zapped devices
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Mykola Golub [Wed, 14 Feb 2018 07:36:02 +0000 (09:36 +0200)]
Merge pull request #20406 from dillaman/wip-22979
librbd: fix issues discovered in clone v2 during upgrade tests
Reviewed-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Wed, 14 Feb 2018 04:17:06 +0000 (12:17 +0800)]
os/bluestore: fix the demotion in StupidAllocator::init_rm_free
* we should update the _size field when demotion kicks in, otherwise the
interval_set::m and interval_set::_size won't be consistent.
* also rename post_process to claim, as it "steals" the leftover(s) of
chopped segment.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Andrew Schoen [Mon, 12 Feb 2018 21:23:08 +0000 (15:23 -0600)]
ceph-volume: use terminal.MultiLogger in `lvm zap`
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 7 Feb 2018 15:06:45 +0000 (09:06 -0600)]
ceph-volume: use api helper methods for pvs and lvs in lvm zap
This is just a cleaner way of doing this instead of using PVolumes
and Volumes directly.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Wed, 7 Feb 2018 14:35:47 +0000 (08:35 -0600)]
ceph-volume: fix documentation typos for lvm zap
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 1 Feb 2018 20:52:46 +0000 (14:52 -0600)]
ceph-volume: when zapping unmount osd directories
If you zap an lv, device or partition and it's currently mounted as a
ceph osd directory then it will be unmounted so the zap can complete.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Thu, 1 Feb 2018 20:29:30 +0000 (14:29 -0600)]
ceph-volume: adds a util.system.unmount function
This function will unmount the given path
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Andrew Schoen [Tue, 13 Feb 2018 22:57:04 +0000 (23:57 +0100)]
Merge pull request #20427 from ceph/wip-rm22988
ceph-volume use realpath when checking mounts
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Patrick Donnelly [Tue, 13 Feb 2018 22:43:32 +0000 (14:43 -0800)]
Merge PR #19263 into master
* refs/pull/19263/head:
qa: ignore bad backtrace cluster wrn
qa/cephfs: Add tests to validate scrub functionality
cephfs: Add option to load invalid metadata from disk
cephfs: Reset scrub data when inodes move
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 13 Feb 2018 22:12:53 +0000 (14:12 -0800)]
qa: ignore bad backtrace cluster wrn
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Alfredo Deza [Tue, 13 Feb 2018 18:22:41 +0000 (13:22 -0500)]
ceph-volume tests verify realpath usage in mounts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 13 Feb 2018 17:59:48 +0000 (12:59 -0500)]
ceph-volume util.system optionally use realpath on devices
To check a mounted device it is needed to verify on a combination of
realpath and plain devices against realpath and plain paths. In LVM, two
different paths might refer to the same devices
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Patrick Donnelly [Tue, 13 Feb 2018 19:36:18 +0000 (11:36 -0800)]
Merge PR #19957 into master
* refs/pull/19957/head:
client: fixup parallel calls to ceph_ll_lookup_inode() in NFS FASL
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Tue, 13 Feb 2018 19:36:11 +0000 (11:36 -0800)]
Merge PR #20336 into master
* refs/pull/20336/head:
client: re-use free snap tag
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 13 Feb 2018 19:36:04 +0000 (11:36 -0800)]
Merge PR #20373 into master
* refs/pull/20373/head:
client: clamp I/O sizes to INT_MAX when we can't return larger values
test: new testcase for ceph_ll_readv and ceph_ll_writev
client: hook up ceph_ll_readv and ceph_ll_writev
client: type safety cleanup for _read and _write codepaths
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Patrick Donnelly [Tue, 13 Feb 2018 19:35:57 +0000 (11:35 -0800)]
Merge PR #20386 into master
* refs/pull/20386/head:
mds: optimize getattr file size
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Douglas Fuller [Wed, 24 Jan 2018 16:11:40 +0000 (11:11 -0500)]
qa/cephfs: Add tests to validate scrub functionality
Add tests to ensure the scrub operation is not adversly affected
by certain metadata pathologies.
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
Gregory Farnum [Tue, 13 Feb 2018 17:07:24 +0000 (09:07 -0800)]
Merge pull request #20147 from smithfarm/wip-15904
tools: rados: make -f be --format for consistency with ceph tool
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Kefu Chai [Tue, 13 Feb 2018 16:35:14 +0000 (00:35 +0800)]
Merge pull request #20422 from cbodley/wip-check-cls-rgw
cmake: 'make check' builds radosgw and its cls dependencies
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 13 Feb 2018 15:32:11 +0000 (10:32 -0500)]
cmake: 'make check' builds radosgw and its cls dependencies
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Mon, 12 Feb 2018 22:50:01 +0000 (17:50 -0500)]
librbd: flush journal commit position after stopping replay
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 12 Feb 2018 20:02:42 +0000 (15:02 -0500)]
test/librbd: disable clone v2 for negative test cases
Fixes: http://tracker.ceph.com/issues/22979
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 12 Feb 2018 20:01:28 +0000 (15:01 -0500)]
cls/rbd: don't clear CLONE_CHILD op feature if still a child
After removing the last snapshot linked to a parent image,
don't clear the CLONE_CHILD op feature bit if the image HEAD
is still linked to the parent.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
David Zafman [Tue, 13 Feb 2018 00:57:02 +0000 (16:57 -0800)]
osd: Fix assert when checking missing version
Fixes: http://tracker.ceph.com/issues/21218
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Mon, 12 Feb 2018 17:17:14 +0000 (11:17 -0600)]
Merge pull request #19939 from liewegas/wip-osd-new-class
mon,osd: do not use crush_device_class file to initalize class for new osds
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Gregory Farnum [Mon, 12 Feb 2018 16:56:56 +0000 (08:56 -0800)]
Merge pull request #20363 from dongbula/e-rados-get-put-command
make rados get/put/append command help txt clear
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jeff Layton [Fri, 9 Feb 2018 12:39:56 +0000 (07:39 -0500)]
client: clamp I/O sizes to INT_MAX when we can't return larger values
We have several API functions that allow the caller to request I/Os
larger than INT_MAX bytes, but that return an int. Ensure that we don't
try to do more I/O than we can represent in the return value.
Tracker: http://tracker.ceph.com/issues/22948
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeff Layton [Wed, 7 Feb 2018 20:59:47 +0000 (15:59 -0500)]
test: new testcase for ceph_ll_readv and ceph_ll_writev
Just copy the PreadvPwritev test and alter accordingly.
Tracker: http://tracker.ceph.com/issues/22948
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeff Layton [Wed, 7 Feb 2018 14:57:47 +0000 (09:57 -0500)]
client: hook up ceph_ll_readv and ceph_ll_writev
Break the core of _preadv_pwritev out into a function that takes a Fh.
Make _preadv_pwritev into a wrapper around that.
Then add in plumbing for ceph_ll_readv and ceph_ll_writev.
Tracker: http://tracker.ceph.com/issues/22948
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeff Layton [Mon, 12 Feb 2018 12:17:51 +0000 (07:17 -0500)]
client: type safety cleanup for _read and _write codepaths
In the read codepath, bl->length() returns an unsigned value, and that
could end up looking negative when cast to int. On the write side,
totalwritten is a uint64_t, which could look negative when cast to int.
Have the underlying layers pass back an int64_t and convert them to
int at a higher level. This prepares the underlying infrastructure for
ceph_ll_readv and ceph_ll_writev support.
Tracker: http://tracker.ceph.com/issues/22948
Signed-off-by: Jeff Layton <jlayton@redhat.com>
lvshuhua [Thu, 8 Feb 2018 11:39:18 +0000 (19:39 +0800)]
tools/rados: make rados get/put/append command help txt clearer
Fixes: http://tracker.ceph.com/issues/22958
Signed-off-by: lvshuhua <lvshuhua@cmss.chinamobile.com>
Kefu Chai [Mon, 12 Feb 2018 03:19:39 +0000 (11:19 +0800)]
Merge pull request #20392 from adamemerson/wip-clangtastic-voyage
cmake, test/fs, client: fix build with clang
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 12 Feb 2018 03:17:22 +0000 (11:17 +0800)]
Merge pull request #20379 from tchaikov/wip-test-fix-freebsd
test/librados: s/invoke_result_t/result_of_t/
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Mon, 12 Feb 2018 03:16:44 +0000 (11:16 +0800)]
Merge pull request #20360 from ifed01/wip-ifed-extents-cleanup
os/bluestore: cleanup around ExtentList, AllocExtent and bluestore_extent_t classes
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 12 Feb 2018 03:15:37 +0000 (11:15 +0800)]
Merge pull request #20320 from rzarzynski/wip-common-md_config_cacher_t
common: introduce md_config_cacher_t
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 12 Feb 2018 03:14:41 +0000 (11:14 +0800)]
Merge pull request #20198 from wido/zabbix-health-checks
mgr/zabbix: Implement health checks
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 11 Feb 2018 05:52:53 +0000 (13:52 +0800)]
qa/tasks/mgr: correct the log message
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 11 Feb 2018 03:46:38 +0000 (11:46 +0800)]
pybind/mgr/dashboard: various py3 fixes
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 11 Feb 2018 03:46:25 +0000 (11:46 +0800)]
vstart.sh: add comma in DASH_URLS and RESTFUL_URLS
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 9 Feb 2018 10:10:19 +0000 (18:10 +0800)]
mgr: import absolute_import to enforce absolute_import
to make sure new "import" statements in future in these files do not
assume relative import.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 9 Feb 2018 14:59:21 +0000 (22:59 +0800)]
pybind/mgr/restful: move global variable into context.py
otherwise we need to tackle with the circular import. it's not fatal, if
we can "import foo" in py2 and "from . import foo" in py3, respectively.
but we cannot unify them using "from . import foo", because the circular
reference issue. and conditionalize the import statement is ugly. so, i
think we'd better break the loop. so i am moving the "instance" variable
into its own file.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Feb 2018 16:10:53 +0000 (00:10 +0800)]
restful: various py3 fixes
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Feb 2018 15:26:22 +0000 (23:26 +0800)]
cmake: depend on the right version of python bindings
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Feb 2018 11:06:39 +0000 (19:06 +0800)]
vstart.sh: set PYTHONPATH correctly
it varies depending on the major version of the python we are using.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Feb 2018 04:04:08 +0000 (12:04 +0800)]
vstart.sh: introduce get_cmake_variable()
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Feb 2018 11:04:42 +0000 (19:04 +0800)]
init-ceph: s/lib.2/lib.$MGR_PYTHON_VERSION_MAJOR/
we should not hardwire cython_modules's path to lib.2, it should be
cython_modules/lib.3 if ceph-mgr requires python3.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Feb 2018 11:01:19 +0000 (19:01 +0800)]
mgr: load ceph_{logger,module} globally
no need to add them for each sub-interpreter. extensions are shared
among them.
Fixes: http://tracker.ceph.com/issues/22880
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Feb 2018 10:55:37 +0000 (18:55 +0800)]
pybind/mgr: use relative import
* in python3, we cannot assume default relative import. instead, we should
be explicit. also, only import the `Module` and `StandbyModule` classes
from plugins, as they are what we are interested.
* and import urllib.parse in python3.
Fixes: http://tracker.ceph.com/issues/22880
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 8 Feb 2018 10:52:51 +0000 (18:52 +0800)]
pybind/mgr: fix the TabError error
018-02-08 18:50:10.790
7fcfbb679700 -1 mgr[py] Module not found:
'dashboard'
2018-02-08 18:50:10.790
7fcfbb679700 -1 mgr[py] Traceback (most recent
call last):
File "/var/ceph/ceph/src/pybind/mgr/dashboard/__init__.py", line 2, in
<module>
from . module import Module # NOQA
File "/var/ceph/ceph/src/pybind/mgr/dashboard/module.py", line 1189
template = env.get_template("rgw_detail.html")
^
TabError: inconsistent use of tabs and spaces in indentation
Fixes: http://tracker.ceph.com/issues/22880
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 11 Feb 2018 01:53:40 +0000 (09:53 +0800)]
Merge pull request #20378 from tchaikov/wip-os-perf-stat-in-ns
osd: check feature bits when encoding objectstore_perf_stat_t
Reviewed-by: John Spray <john.spray@redhat.com>
Kefu Chai [Sun, 11 Feb 2018 01:52:10 +0000 (09:52 +0800)]
Merge pull request #20275 from badone/wip-osdmonitor-unused-function
mon/OSDMonitor: Comment out unused function
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 11 Feb 2018 01:51:04 +0000 (09:51 +0800)]
Merge pull request #20371 from tchaikov/wip-admin_socket_output
test/admin_socket_output: add --vstart=path/to/asok option
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Sat, 10 Feb 2018 17:24:31 +0000 (01:24 +0800)]
Merge pull request #20227 from rzarzynski/wip-bs-final-aiocontexts
os/bluestore: mark derivatives of AioContext as final.
Reviewed-by: Sage Weil <sage@redhat.com>
Mykola Golub [Sat, 10 Feb 2018 06:53:35 +0000 (08:53 +0200)]
Merge pull request #20376 from dillaman/wip-22873
librbd: auto-remove trash snapshots when image is deleted
Reviewed-by: Mykola Golub <mgolub@suse.com>
Adam C. Emerson [Fri, 9 Feb 2018 21:16:43 +0000 (16:16 -0500)]
build: Use the right experimental library
Test whether we're building with libstdc++ or libc++.
Use stdc++filesystem if the former and c++experimental if the later.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 9 Feb 2018 17:51:31 +0000 (12:51 -0500)]
{client,test}: Explicitly initialize empty inode_t
Using an explicit {} initializer. This unbreaks Clang.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Jason Dillaman [Thu, 8 Feb 2018 22:12:00 +0000 (17:12 -0500)]
librbd: auto-remove trash snapshots when image is deleted
Fixes: http://tracker.ceph.com/issues/22873
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Fri, 9 Feb 2018 16:06:20 +0000 (00:06 +0800)]
test/librados: s/invoke_result_t/result_of_t/
to workaround buggy libc++ implementation. see
https://cplusplus.github.io/LWG/issue2807 . we should switch to
invoke_result_t once issue2807 is fixed in the latest release of
libc++.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Igor Fedotov [Wed, 7 Feb 2018 18:43:48 +0000 (21:43 +0300)]
os/bluestore: cleanup around ExtentList class.
Also move it out of bluestore_types.h.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Wed, 7 Feb 2018 18:18:34 +0000 (21:18 +0300)]
os/bluestore: kill AllocExtent[Vector] to simplify code a bit
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Fri, 9 Feb 2018 15:35:25 +0000 (18:35 +0300)]
Merge pull request #20387 from ifed01/wip-ifed-fio-build-fix
test/fio: fix build failure caused by sequencer replacement.
John Spray [Fri, 9 Feb 2018 15:22:51 +0000 (15:22 +0000)]
Merge pull request #20043 from Rubab-Syed/configuration_setting_browser
mgr/dashboard: add configuration setting browser
Reviewed-by: John Spray <john.spray@redhat.com>
Jason Dillaman [Fri, 9 Feb 2018 14:21:57 +0000 (09:21 -0500)]
Merge pull request #20389 from trociny/wip-cli_generic
qa/workunits/rbd: fix cli_generic test_purge for rbd default format 1
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Fri, 9 Feb 2018 10:53:31 +0000 (12:53 +0200)]
qa/workunits/rbd/cli_generic: fix test_purge for rbd default format 1
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Fri, 9 Feb 2018 12:42:27 +0000 (14:42 +0200)]
Merge pull request #20364 from Songweibin/wip-fix-test-rbd
test/rbd: cli_generic fails if v1 image format or deep-flatten disabled
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Igor Fedotov [Fri, 9 Feb 2018 12:00:07 +0000 (15:00 +0300)]
tools/ceph-objectstore-tool: do not fail on lack of OI_ATTR for an
object.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Igor Fedotov [Fri, 9 Feb 2018 11:58:15 +0000 (14:58 +0300)]
test/fio: create superblock on mkfs to provide proper tools functioning
E.g. ceph-objectstore-tool requires that
Signed-off-by: Igor Fedotov <ifedotov@suse.com>