]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Casey Bodley [Wed, 28 Nov 2018 18:45:54 +0000 (13:45 -0500)]
rgw: data sync accepts ERR_PRECONDITION_FAILED on remove_object()
sync of deletes uses an If-UnModified-Since precondition, but does not
handle the corresponding ERR_PRECONDITION_FAILED error. treating this as
a failure means that we'll keep retrying the delete which will never
succeed. break this loop by treating ERR_PRECONDITION_FAILED as a
success
Fixes: http://tracker.ceph.com/issues/37448
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Lenz Grimmer [Wed, 28 Nov 2018 11:17:39 +0000 (12:17 +0100)]
Merge pull request #25290 from noahdesu/dashboard-tox-workdir
mgr/dashboard: use dedicated tox working dir
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Lenz Grimmer [Wed, 28 Nov 2018 10:19:06 +0000 (11:19 +0100)]
Merge pull request #25179 from tspmelo/wip-check-i18n
mgr/dashboard: Add i18n validation script
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Lenz Grimmer [Wed, 28 Nov 2018 09:56:40 +0000 (10:56 +0100)]
Merge pull request #24900 from zmc/wip-minimal-health
mgr/dashboard: Replace dashboard service
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Wed, 28 Nov 2018 05:14:19 +0000 (13:14 +0800)]
Merge pull request #25280 from tchaikov/wip-ceph-py3
ceph.in: write bytes to stdout in raw_write()
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Kefu Chai [Wed, 28 Nov 2018 05:12:05 +0000 (13:12 +0800)]
Merge pull request #25261 from sebastian-philipp/mgr-handle-command-result
mgr: Add `HandleCommandResult` namedtuple
Kefu Chai [Wed, 28 Nov 2018 05:10:05 +0000 (13:10 +0800)]
Merge pull request #25255 from tchaikov/wip-ceph-dencoder-without-cephfs
tools/ceph-dencoder: conditionally link against mds
Kefu Chai [Wed, 28 Nov 2018 05:08:53 +0000 (13:08 +0800)]
Merge pull request #25244 from trociny/wip-crash-procname
mgr/crash: add process name to crash metadata
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 28 Nov 2018 05:07:59 +0000 (13:07 +0800)]
Merge pull request #24990 from dragonylffly/wip-fix-bench
tools/rados: always call rados.shutdown() before exit()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 28 Nov 2018 05:04:07 +0000 (13:04 +0800)]
Merge pull request #24939 from marcosps/simplify_examples
examples/librados: Remove not needed else clauses
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 28 Nov 2018 03:32:04 +0000 (21:32 -0600)]
Merge PR #24502 into master
* refs/pull/24502/head:
crushtool: implement --rebuild-class-roots command
crushtool: make --reweight re-sum choose_args weight-sets too
crushtool: --reweight should only reweight nonshadow roots
crush/CrushWrapper: reclassify: use default parent for created buckets
crush/CrushWrapper: reclassify: handle to-be-created buckets that we need twice
test/cli/crushtool/reclassify: add second gabe test case
crushtool: add --set-subtree-class; do not set class via --reclassify-root
test/cli/crushtool/reclassify: add reclassify test cases
doc/rados/operations/crush*: document reclassify
doc/rados/operations/crush: remove instructions for separate crush trees for ssd
crushtool: add --compare command
crushtool: implement --reclassify
crush/CrushCompiler: fix id scan to include class ids
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 26 Oct 2018 17:40:32 +0000 (12:40 -0500)]
crushtool: implement --rebuild-class-roots command
This simply rebuilds the class roots. Normally this should create no
change in the map since whatever was making changes to the map before
should have rebuild the shadow roots at that point.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 26 Oct 2018 14:32:27 +0000 (09:32 -0500)]
crushtool: make --reweight re-sum choose_args weight-sets too
This ensures that the weights add us for each weight-set (and each
position). Note that since we don't have anything that actually
creates positional weight-sets, the behavior here might not be what we
want in the end, but for the compat weight-sets (no position), we *do*
keep the weights as a properly summing tree.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 25 Oct 2018 20:16:34 +0000 (15:16 -0500)]
crushtool: --reweight should only reweight nonshadow roots
The shadow roots will be then be rebuilt accordingly.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 23 Oct 2018 19:16:17 +0000 (14:16 -0500)]
crush/CrushWrapper: reclassify: use default parent for created buckets
Note that these last 2 fixes also fix the 'h' test case. \o/
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 23 Oct 2018 19:15:25 +0000 (14:15 -0500)]
crush/CrushWrapper: reclassify: handle to-be-created buckets that we need twice
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 16 Oct 2018 13:45:35 +0000 (08:45 -0500)]
test/cli/crushtool/reclassify: add second gabe test case
New adjusted test map from Dan.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 14 Oct 2018 19:57:59 +0000 (14:57 -0500)]
crushtool: add --set-subtree-class; do not set class via --reclassify-root
Sometimes we don't want the --reclassify-root to set the class of every
device because a small number of them are (correctly) a different class.
Allow both behaviors by adding a new, separate command to set the class
of all devices beneath a point in the hierarchy and do not implicitly do
that relabeling as part of --reclassify-root.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 9 Oct 2018 17:54:34 +0000 (12:54 -0500)]
test/cli/crushtool/reclassify: add reclassify test cases
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 8 Oct 2018 21:51:11 +0000 (16:51 -0500)]
doc/rados/operations/crush*: document reclassify
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Mon, 29 Oct 2018 22:07:27 +0000 (16:07 -0600)]
mgr/dashboard: Replace dashboard service
This splits out the collection of health and log data from the
/api/dashboard/health controller into /api/health/{full,minimal} and
/api/logs/all.
/health/full contains all the data (minus logs) that /dashboard/health
did, whereas /health/minimal contains only what is needed for the health
component to function. /logs/all contains exactly what the logs portion
of /dashboard/health did.
By using /health/minimal, on a vstart cluster we pull ~1.4KB of data
every 5s, where we used to pull ~6KB; those numbers would get larger
with larger clusters. Once we split out log data, that will drop to
~0.4KB.
Fixes: http://tracker.ceph.com/issues/36675
Signed-off-by: Zack Cerza <zack@redhat.com>
Patrick Donnelly [Tue, 27 Nov 2018 22:47:03 +0000 (14:47 -0800)]
Merge PR #24923 into master
* refs/pull/24923/head:
mds: properly update freeze_tree_state when fragmenting dirfrags
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Noah Watkins [Tue, 27 Nov 2018 20:46:53 +0000 (12:46 -0800)]
mgr/dashboard: use dedicated tox working dir
Avoids conflicting with other test environments.
Fixes: https://tracker.ceph.com/issues/37405
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
Patrick Donnelly [Tue, 27 Nov 2018 22:23:20 +0000 (14:23 -0800)]
Merge PR #24849 into master
* refs/pull/24849/head:
client: remove redundant abort logic during dentry invalidation test
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Tue, 27 Nov 2018 21:58:26 +0000 (13:58 -0800)]
Merge PR #24886 into master
* refs/pull/24886/head:
qa: fix delay type config name
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Tue, 27 Nov 2018 21:53:50 +0000 (13:53 -0800)]
Merge PR #24839 into master
* refs/pull/24839/head:
ceph-volume-client: allow setting mode of CephFS volumes
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Zack Cerza [Thu, 8 Nov 2018 00:00:22 +0000 (17:00 -0700)]
Allow specifying a schema for unknown JObj keys
Signed-off-by: Zack Cerza <zack@redhat.com>
Patrick Donnelly [Tue, 27 Nov 2018 18:36:03 +0000 (10:36 -0800)]
Merge PR #25020 into master
* refs/pull/25020/head:
script/ceph-backport.sh: adjust to change in github API
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Lenz Grimmer [Tue, 27 Nov 2018 17:19:27 +0000 (18:19 +0100)]
Merge pull request #25235 from sebastian-philipp/dashboard-fix-type-annotation-error
qa/mgr/dashboard: Fix type annotation error.
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Sebastian Wagner [Mon, 26 Nov 2018 11:46:05 +0000 (12:46 +0100)]
mgr: Add `HandleCommandResult` namedtuple
Mostly a documentation improvement to make it obvious
what `handle_command` is supposed to return .
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Tue, 27 Nov 2018 15:22:51 +0000 (23:22 +0800)]
Merge pull request #25268 from smithfarm/wip-37392
qa/workunits/rados/test_librados_build.sh: grab files from explicit git branch
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 27 Nov 2018 15:18:48 +0000 (23:18 +0800)]
Merge pull request #25129 from rzarzynski/wip-common-annotate
common: avoid the overhead of ANNOTATE_HAPPENS_* in NDEBUG builds.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Alfredo Deza [Tue, 27 Nov 2018 15:05:31 +0000 (10:05 -0500)]
Merge pull request #25224 from sebastian-philipp/ceph-volume-fix-json
ceph-volume: fix JSON output in `inventory`
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Kefu Chai [Tue, 27 Nov 2018 14:32:53 +0000 (22:32 +0800)]
Merge pull request #25256 from tchaikov/wip-kv-bench-cleanup
ceph_kvstorebench: include <errno.h> not asm-generic/errno.h
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Casey Bodley [Tue, 27 Nov 2018 14:08:01 +0000 (09:08 -0500)]
Merge pull request #25073 from oshynsong/master
rgw: add list user admin OP API
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Abhishek L [Tue, 27 Nov 2018 12:46:58 +0000 (13:46 +0100)]
Merge pull request #25034 from smithfarm/wip-luminous-notes-12.2.10
doc: Luminous v12.2.10 release notes
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Yuri Weinstein <yweinstein@redhat.com>
Kefu Chai [Tue, 27 Nov 2018 11:00:15 +0000 (19:00 +0800)]
ceph.in: write bytes to stdout in raw_write()
in python3, sys.stdout.buffer is an io.BufferedWriter, while in python2
`sys.__stdout__` is a plain file. the former only accepts "bytes". so if
we send it a "str", it complains:
TypeError: a bytes-like object is required, not 'str'
it happens when quitting from the interactive mode of ceph CLI. in that
case, `new_style_command()` returns a tuple of `0, '\n', ''`, where the
second element is a str.
in this change, we always send `bytes` to raw_stdout.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Lenz Grimmer [Tue, 27 Nov 2018 11:03:43 +0000 (12:03 +0100)]
Merge pull request #25107 from familyuu/pool
mgr/dashboard: Allow renaming an existing Pool
Reviewed-by: Volker Theile <vtheile@suse.com>
Sebastian Wagner [Fri, 23 Nov 2018 13:45:34 +0000 (14:45 +0100)]
qa/mgr/dashboard: Fix type annotation error.
Also removed unused import
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
guodan1 [Wed, 14 Nov 2018 12:34:03 +0000 (20:34 +0800)]
mgr/dashboard: Allow renaming an existing Pool
fixes: http://tracker.ceph.com/issues/36560
Signed-off-by: guodan1 <guodan1@lenovo.com>
Mykola Golub [Sun, 25 Nov 2018 10:38:48 +0000 (12:38 +0200)]
mgr/crash: group by process name in 'ceph crash json_report'
It is almost the same for daemons like osd or mon, but much better
for 'client' daemons like rgw or rbd-mirror.
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Sun, 25 Nov 2018 10:35:15 +0000 (12:35 +0200)]
mgr/crash: add process name to 'ceph crash ls' output
Signed-off-by: Mykola Golub <mgolub@suse.com>
Mykola Golub [Sun, 25 Nov 2018 10:33:15 +0000 (12:33 +0200)]
global: add process_name to crash meta
Signed-off-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Tue, 27 Nov 2018 06:30:45 +0000 (14:30 +0800)]
Merge pull request #25251 from tchaikov/wip-bionic-dockerfile
tests: add ubuntu 18.04 dockerfile
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Kefu Chai [Tue, 27 Nov 2018 06:07:42 +0000 (14:07 +0800)]
Merge pull request #25245 from wjwithagen/wjw-fix-install-flake8
install-deps.sh: Update python requirements for FreeBSD
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 27 Nov 2018 06:01:12 +0000 (14:01 +0800)]
Merge pull request #25146 from noahdesu/separate-tox-workdir
mgr/insights: use dedicated tox working dir
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 27 Nov 2018 05:09:22 +0000 (13:09 +0800)]
Merge pull request #25177 from iotcg/master
make-debs.sh: clean dir to allow building deb packages multiple times
Reviewed-by: Kefu Chai <kchai@redhat.com>
Li Wang [Tue, 27 Nov 2018 03:35:53 +0000 (03:35 +0000)]
tools/rados: always call rados.shutdown() before exit()
When connected to ceph cluster, if call exit(1) directly, will cause the finisher
thread segmentation fault as follows,
Caught signal (Segmentation fault) **in thread
7f45377fe700 thread_name:fn_anonymous
run 'rados mapext' without other arguments could easily get it. This patch fixes it
by calling rados.shutdown() before exit()
Fixes: http://tracker.ceph.com/issues/36732
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
Li Wang [Tue, 27 Nov 2018 03:15:26 +0000 (03:15 +0000)]
tools/rados: use unique_ptr for better memory management
Signed-off-by: Li Wang <laurence.liwang@gmail.com>
Willem Jan Withagen [Sun, 25 Nov 2018 14:06:07 +0000 (15:06 +0100)]
install-deps.sh: Update python requirements for FreeBSD
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Nathan Cutler [Mon, 26 Nov 2018 23:53:30 +0000 (00:53 +0100)]
Merge pull request #25223 from smithfarm/wip-rhel-8-py3
build/ops: rpm: RHEL 8 needs Python 3 build
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Nathan Cutler [Mon, 26 Nov 2018 23:33:36 +0000 (00:33 +0100)]
qa/workunits/rados/test_librados_build.sh: grab files from explicit git branch
Fixes: https://tracker.ceph.com/issues/37392
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Gregory Farnum [Mon, 26 Nov 2018 17:50:39 +0000 (09:50 -0800)]
Merge pull request #25215 from majianpeng/test_shared_cache_memory_leak
test_shared_cache: fix memory leak.
Tiago Melo [Fri, 23 Nov 2018 11:32:38 +0000 (11:32 +0000)]
mgr/dashboard: Add i18n validation script
This will check if there are new strings, validate them and ask the developer
to commit and fix those.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Sage Weil [Mon, 26 Nov 2018 17:25:19 +0000 (11:25 -0600)]
Merge PR #24798 into master
* refs/pull/24798/head:
fix python collections module warning for v3.7 and above
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 26 Nov 2018 17:24:58 +0000 (11:24 -0600)]
Merge PR #25054 into master
* refs/pull/25054/head:
test/objectstore: enable fsck when needed.
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 26 Nov 2018 16:33:52 +0000 (00:33 +0800)]
Merge pull request #25247 from wjwithagen/wjw-fix-linker
do_freebsd.sh: FreeBSD building needs the llvm linker
Reviewed-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Mon, 26 Nov 2018 16:27:37 +0000 (18:27 +0200)]
Merge pull request #25194 from dillaman/wip-36650
librbd: extend API to include parent/child namespaces and image ids
Reviewed-by: Mykola Golub <mgolub@suse.com>
Lenz Grimmer [Mon, 26 Nov 2018 15:31:37 +0000 (16:31 +0100)]
Merge pull request #24831 from p-na/wip-pna-cleanup-fe
mgr/dashboard: Cleanup
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Sage Weil [Mon, 26 Nov 2018 15:21:22 +0000 (09:21 -0600)]
Merge PR #24732 into master
* refs/pull/24732/head:
os/bluestore: fix missing assert->ceph_assert replacement.
os/bluestore: add bluefs perf counters to track DB/WAL/Slow volume
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 26 Nov 2018 15:20:39 +0000 (09:20 -0600)]
Merge PR #24499 into master
* refs/pull/24499/head:
common: reorder bl::iter to reduce its size from 40 to 32 on x86_64.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Mon, 26 Nov 2018 15:20:21 +0000 (09:20 -0600)]
Merge PR #25248 into master
* refs/pull/25248/head:
mgr: fix Clang warning on superfluous brackets
Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 26 Nov 2018 14:33:52 +0000 (08:33 -0600)]
Merge PR #24949 into master
* refs/pull/24949/head:
include/ceph_features: note kernel versions some features appear
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sebastian Wagner [Thu, 22 Nov 2018 17:01:50 +0000 (18:01 +0100)]
ceph-volume: fix JSON output in `inventory`
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Mon, 26 Nov 2018 12:31:32 +0000 (20:31 +0800)]
Merge pull request #25225 from Aran85/sangfor-aff
mailmap,organization: Update sangfor affiliation
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 26 Nov 2018 10:52:21 +0000 (18:52 +0800)]
Merge pull request #25150 from majianpeng/shared_cache_race_bug
common/shared_cache: fix racing issues
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 26 Nov 2018 10:51:29 +0000 (18:51 +0800)]
Merge pull request #25165 from hsiang41/mgr/diskprediction_cloud_global_config
mgr: Diskprediction cloud activate when config changes
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 26 Nov 2018 10:49:12 +0000 (18:49 +0800)]
Merge pull request #25105 from tchaikov/wip-ceph-mutex-common
common: Mutex -> ceph::mutex
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Mon, 26 Nov 2018 07:49:51 +0000 (15:49 +0800)]
tools/ceph-dencoder: conditionally link against mds
ceph-dencoder should not link against libmds if WITH_CEPHFS is OFF.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Zengran Zhang [Fri, 23 Nov 2018 02:06:33 +0000 (10:06 +0800)]
mailmap,orgnization: Update sangfor affiliation
Signed-off-by: Zengran Zhang <zhangzengran@sangfor.com.cn>
Lenz Grimmer [Mon, 26 Nov 2018 08:11:15 +0000 (09:11 +0100)]
Merge pull request #23834 from DikshaGodbole/wip-feature-24571
mgr/dashboard: Move Cluster/Audit logs from front page to dedicated Logs page
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Mon, 26 Nov 2018 08:08:09 +0000 (16:08 +0800)]
ceph_kvstorebench: include <errno.h> not asm-generic/errno.h
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yehuda Sadeh [Mon, 26 Nov 2018 06:28:10 +0000 (08:28 +0200)]
Merge pull request #25239 from cbodley/wip-rgw-rados-aio-cleanup
rgw: remove unused aio helper functions
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Mon, 26 Nov 2018 03:21:02 +0000 (21:21 -0600)]
Merge PR #17526 into master
* refs/pull/17526/head:
qa/tasks/ceph_manager: avoid test_map_discontinuity stall with too few up osds
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Sage Weil [Mon, 26 Nov 2018 03:20:44 +0000 (21:20 -0600)]
Merge PR #21444 into master
* refs/pull/21444/head:
qa: Replace 'ceph' with cluster name in restart()
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Mon, 26 Nov 2018 03:20:18 +0000 (21:20 -0600)]
Merge PR #25185 into master
* refs/pull/25185/head:
auth/AuthSessionHandler: no handler if no session key
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Kefu Chai [Mon, 26 Nov 2018 03:18:13 +0000 (11:18 +0800)]
tests: add ubuntu 18.04 dockerfile
ubuntu bionic is an LTS release. while 17.04 is not. so move 17.04 to
18.04
Signed-off-by: Kefu Chai <kchai@redhat.com>
Willem Jan Withagen [Sun, 25 Nov 2018 14:44:06 +0000 (15:44 +0100)]
mgr: fix Clang warning on superfluous brackets
```
/home/jenkins/workspace/ceph-master/src/mgr/OSDPerfMetricTypes.h:105:19: warning: braces around scalar initializer [-Wbraced-scalar-init]
d.regex = {d.regex_str.c_str()};
^~~~~~~~~~~~~~~~~~~~~
1 warning generated.
```
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Willem Jan Withagen [Sun, 25 Nov 2018 14:38:54 +0000 (15:38 +0100)]
build: FreeBSD building needs the llvm linker
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Jason Dillaman [Thu, 22 Nov 2018 14:37:45 +0000 (09:37 -0500)]
rbd: avoid usage of newly deprecated API methods
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 21 Nov 2018 03:54:08 +0000 (22:54 -0500)]
rbd: expose optional namespace in parent/child image output
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 21 Nov 2018 00:06:23 +0000 (19:06 -0500)]
librbd: expand API to include namespaces and image ids
The get parent and list children methods now return a common
struct that includes the full pool details (including the
optional namespace). Additionally, a new image list method has
been added which includes both the name and id (of v2 images).
Fixes: http://tracker.ceph.com/issues/36650
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Sun, 25 Nov 2018 08:56:21 +0000 (10:56 +0200)]
Merge pull request #25206 from dillaman/wip-36622
pybind/rbd: add namespace helper API methods
Reviewed-by: Mykola Golub <mgolub@suse.com>
Changcheng Liu [Wed, 21 Nov 2018 12:14:16 +0000 (20:14 +0800)]
make-debs.sh: clean dir to avoid build deb packages error
Without this patch, it'll hit build error in the 2nd time.
Example:
make-deb.sh #no error: first time
make-deb.sh #hit error: second time
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Diksha Godbole [Wed, 29 Aug 2018 06:56:59 +0000 (12:26 +0530)]
mgr/dashboard: Added new logs component
Added new Logs component and created a cluster->logs menu item. Moved the logs from the dashboard home page to the dedicated logs page.Additional comments resolved.Dropped Logs from health component.
Fixes: https://tracker.ceph.com/issues/24571
Signed-off-by: Diksha Godbole <diksha.godbole@gmail.com>
Lenz Grimmer [Fri, 23 Nov 2018 12:03:45 +0000 (13:03 +0100)]
Merge pull request #25221 from tspmelo/wip-37354
mgr/dashboard: Fix test_remove_not_expired_trash qa test
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Lenz Grimmer [Fri, 23 Nov 2018 11:36:26 +0000 (12:36 +0100)]
Merge pull request #24757 from votdev/issue_36480
mgr/dashboard: Can't handle user editing when tenants are specified
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
hsiang41 [Tue, 20 Nov 2018 02:39:21 +0000 (10:39 +0800)]
mgr: Diskprediction_cloud action when config changes
Trigger diskprediction cloud action when receive notify configuration changed.
Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
Kefu Chai [Fri, 23 Nov 2018 01:30:28 +0000 (09:30 +0800)]
Merge pull request #25186 from tchaikov/wip-vive-le-make-install
cmake: do not pass unnecessary param to setup.py
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Jason Dillaman [Thu, 22 Nov 2018 15:51:45 +0000 (10:51 -0500)]
Merge pull request #25197 from iridescent-rsy/fix-typo
rbd-mirror,common: fix typos in logging messages and comments
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 22 Nov 2018 15:50:54 +0000 (10:50 -0500)]
Merge pull request #25202 from trociny/wip-doc-rbd-qos
doc: describe RBD QoS settings
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Jason Dillaman [Wed, 21 Nov 2018 03:53:30 +0000 (22:53 -0500)]
pybind/rbd: fix python3 runtime compatibility issues
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Thu, 22 Nov 2018 13:31:54 +0000 (14:31 +0100)]
build/ops: rpm: RHEL 8 needs Python 3 build
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Jan Fajerski [Thu, 22 Nov 2018 13:29:43 +0000 (14:29 +0100)]
Merge pull request #25182 from jan--f/mgr-prometheus-doc-mention-instance-label
doc/mgr/prometheus: readd section about custom instance labels
Sebastian Wagner [Thu, 22 Nov 2018 12:59:34 +0000 (13:59 +0100)]
Merge pull request #25119 from sebastian-philipp/doc-orchestrator-cli-spec
doc/orchestrator: Integrate CLI specification into the documentation
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Tiago Melo [Thu, 22 Nov 2018 11:33:35 +0000 (11:33 +0000)]
mgr/dashboard: Fix test_remove_not_expired_trash qa test
Fixes: http://tracker.ceph.com/issues/37354
Signed-off-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Thu, 22 Nov 2018 09:54:02 +0000 (10:54 +0100)]
Merge pull request #25144 from rhcs-dashboard/wip-37295-master
mgr/dashboard: Show pool dropdown for block-mgr
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Lenz Grimmer [Thu, 22 Nov 2018 09:53:22 +0000 (10:53 +0100)]
Merge pull request #25159 from tspmelo/wip-i18n-doc
mgr/dashboard: Update I18N documentation
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Nathan Cutler [Thu, 22 Nov 2018 09:12:09 +0000 (10:12 +0100)]
Merge pull request #25181 from smithfarm/wip-37301
build/ops: rpm: stop install-deps.sh clobbering spec file Python build setting
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Kefu Chai [Thu, 22 Nov 2018 08:53:13 +0000 (16:53 +0800)]
Merge pull request #25205 from smithfarm/wip-37330
build/ops: do_cmake.sh: automate py3 build options for certain distros
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>