]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoMerge pull request #14901 from liewegas/wip-19552
Sage Weil [Tue, 2 May 2017 01:23:52 +0000 (20:23 -0500)]
Merge pull request #14901 from liewegas/wip-19552

osdc/Objecter: fix pool dne corner case

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #14881 from tchaikov/wip-crosscompiling-armhf
Kefu Chai [Tue, 2 May 2017 01:19:51 +0000 (09:19 +0800)]
Merge pull request #14881 from tchaikov/wip-crosscompiling-armhf

cmake: enable cross-compilation of boost

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14788 from liewegas/wip-jewel-x-rgw
Sage Weil [Mon, 1 May 2017 22:12:39 +0000 (17:12 -0500)]
Merge pull request #14788 from liewegas/wip-jewel-x-rgw

qa/suites/jewel-x/point-to-point: don't scane for keys on second s3tests either

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoosdc/Objecter: fix pool dne corner case 14901/head
Sage Weil [Mon, 1 May 2017 20:10:44 +0000 (15:10 -0500)]
osdc/Objecter: fix pool dne corner case

We have a request that is queued before a pool exists, there is one
epoch where it exists, and then the pool disappears again.  The two maps
are processed at the same time.  For the first we set needs_resend, map to
an osd, and remove from the homeless sessin.  For the second, the pool
dne, we set osd back to -1, and send a map check request.  Finally,
handle_osd_maps scans need_resend, sees the pool dne, and removes from
need_resend.  The difference from the "usual" case is that we are neither
on the need_resend list nor on the homeless session.

Fix this by concluding immediately that the pool existed (briefly) and
then no longer exists.

Fixes: http://tracker.ceph.com/issues/19552
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14775 from Jing-Scott/wip-con-obj-bulkupload
Radoslaw Zarzynski [Mon, 1 May 2017 15:44:36 +0000 (17:44 +0200)]
Merge pull request #14775 from Jing-Scott/wip-con-obj-bulkupload

rgw: add support container and object levels of swift bulkupload

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #14892 from tchaikov/wip-kill-warnings
Kefu Chai [Mon, 1 May 2017 15:43:51 +0000 (23:43 +0800)]
Merge pull request #14892 from tchaikov/wip-kill-warnings

test: kill warnings

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #14750 from theanalyst/rgw/fix/frontend_array
Radoslaw Zarzynski [Mon, 1 May 2017 15:17:45 +0000 (17:17 +0200)]
Merge pull request #14750 from theanalyst/rgw/fix/frontend_array

rgw: civetweb don't go past the array index while calling mg_start

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #14359 from Jing-Scott/remove-zg-dup-post
Casey Bodley [Mon, 1 May 2017 14:54:41 +0000 (10:54 -0400)]
Merge pull request #14359 from Jing-Scott/remove-zg-dup-post

rgw multisite: remove the redundant post in OPT_ZONEGROUP_MODIFY

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14390 from shashalu/drop-unused-param
Casey Bodley [Mon, 1 May 2017 14:54:01 +0000 (10:54 -0400)]
Merge pull request #14390 from shashalu/drop-unused-param

rgw: drop unused param "bucket" from select_bucket_placement

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14839 from chardan/jfw-wip-halflife_atomic_t-ebirah
Casey Bodley [Mon, 1 May 2017 14:53:00 +0000 (10:53 -0400)]
Merge pull request #14839 from chardan/jfw-wip-halflife_atomic_t-ebirah

rgw: migrate atomic_t to std::atomic<> (ebirah)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14845 from cbodley/wip-rgw-qa-s3tests
Casey Bodley [Mon, 1 May 2017 14:49:12 +0000 (10:49 -0400)]
Merge pull request #14845 from cbodley/wip-rgw-qa-s3tests

qa/rgw: add cluster name to path when s3tests scans rgw log

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
8 years agotest/librados: silence -Woverloaded-virtual warning 14892/head
Kefu Chai [Mon, 1 May 2017 04:44:19 +0000 (12:44 +0800)]
test/librados: silence -Woverloaded-virtual warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agotest/librbd: silence warning from -Wsign-compare
Kefu Chai [Mon, 1 May 2017 04:28:31 +0000 (12:28 +0800)]
test/librbd: silence warning from -Wsign-compare

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14770 from rzarzynski/wip-rgw-19754
Matt Benjamin [Mon, 1 May 2017 14:09:10 +0000 (10:09 -0400)]
Merge pull request #14770 from rzarzynski/wip-rgw-19754

rgw: fix RadosGW hang during multi-chunk upload of AWSv4.

8 years agoMerge pull request #14887 from liewegas/wip-kraken-x
Sage Weil [Mon, 1 May 2017 11:55:30 +0000 (06:55 -0500)]
Merge pull request #14887 from liewegas/wip-kraken-x

qa/suites/upgrade/kraken-x: misc fixes

8 years agoMerge pull request #14890 from xiexingguo/wip-fix-bluestore-typo
Sage Weil [Mon, 1 May 2017 11:43:53 +0000 (06:43 -0500)]
Merge pull request #14890 from xiexingguo/wip-fix-bluestore-typo

os/bluestore: fix typo(s/trasnaction/transaction/)

8 years agocmake: pass compiler and linker down to zstd 14881/head
Kefu Chai [Sat, 29 Apr 2017 18:03:31 +0000 (02:03 +0800)]
cmake: pass compiler and linker down to zstd

so it can respect the setting specfied by user.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agotest/librbd: print uint64_t in a platform neutral way
Kefu Chai [Mon, 1 May 2017 04:27:44 +0000 (12:27 +0800)]
test/librbd: print uint64_t in a platform neutral way

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocrush: pass by const reference to kill compiling error
Kefu Chai [Sat, 29 Apr 2017 18:04:51 +0000 (02:04 +0800)]
crush: pass by const reference to kill compiling error

i have following error when compiling with gcc-6 on armhf

ceph/src/crush/CrushCompiler.cc: In member function 'int
CrushCompiler::decompile(std::ostream&)':
ceph/src/crush/CrushCompiler.cc:462:45: error: invalid initialization of
non-const reference of type 'std::pair<const long unsigned int,
crush_choo
se_arg_map>&' from an rvalue of type 'std::pair<const long unsigned int,
crush_choose_arg_map>'
       int ret = decompile_choose_args(i, out);

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocls/rbd: print uint64_t in a platform neutral way
Kefu Chai [Sat, 29 Apr 2017 18:02:55 +0000 (02:02 +0800)]
cls/rbd: print uint64_t in a platform neutral way

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: fix typo(s/trasnaction/transaction/) 14890/head
xie xingguo [Mon, 1 May 2017 07:32:59 +0000 (15:32 +0800)]
os/bluestore: fix typo(s/trasnaction/transaction/)

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #14883 from tchaikov/wip-mgr-misc
Kefu Chai [Mon, 1 May 2017 01:15:18 +0000 (09:15 +0800)]
Merge pull request #14883 from tchaikov/wip-mgr-misc

mgr: Misc. bug fixes

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14878 from tchaikov/wip-19801
Kefu Chai [Sun, 30 Apr 2017 16:37:41 +0000 (00:37 +0800)]
Merge pull request #14878 from tchaikov/wip-19801

msg/simple: use my addr when setting sock priority

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #14884 from tchaikov/wip-singleton-bluestore-tests
Kefu Chai [Sun, 30 Apr 2017 16:13:38 +0000 (00:13 +0800)]
Merge pull request #14884 from tchaikov/wip-singleton-bluestore-tests

qa/suites/rados/singleton-bluestore: concat settings

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoqa/suites/rados/singleton-bluestore: concat settings 14884/head
Kefu Chai [Sun, 30 Apr 2017 15:19:05 +0000 (23:19 +0800)]
qa/suites/rados/singleton-bluestore: concat settings

otherwise the bluestore tests will fail with failures like

qa/workunits/cephtool/test.sh:1343: test_mon_osd_pool:  ceph osd pool set ec_test allow_ec_overwrites true
Error EINVAL: pool must only be stored on bluestore for scrubbing to work: osd.1 uses filestore
qa/workunits/cephtool/test.sh:1343: test_mon_osd_pool:  return 1

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14876 from liewegas/wip-bluestore-alloc
Sage Weil [Sun, 30 Apr 2017 15:02:44 +0000 (10:02 -0500)]
Merge pull request #14876 from liewegas/wip-bluestore-alloc

os/bluestore: roundoff bluefs allocs to bluefs_alloc_size

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14846 from dillaman/wip-rbd-cli
Mykola Golub [Sun, 30 Apr 2017 06:59:52 +0000 (09:59 +0300)]
Merge pull request #14846 from dillaman/wip-rbd-cli

qa/workunits/rbd: increased trash deferment period

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agomon: tweak mgr status text 14883/head
John Spray [Thu, 20 Apr 2017 21:31:10 +0000 (17:31 -0400)]
mon: tweak mgr status text

Previously at startup we saw contradictory status
that had a "no active mgr" health message and then
a line that said "active: x".

Mitigate that a bit by indicating that a !available
active daemon is starting up.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr: fix message refcounting
John Spray [Thu, 20 Apr 2017 21:15:51 +0000 (17:15 -0400)]
mgr: fix message refcounting

Let's be consistent and push the m->put down into
the handle_(M<class>* m) functions the way
we do in the rest of the codebase.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr: fix deadlock in dispatch
John Spray [Mon, 3 Apr 2017 18:27:02 +0000 (14:27 -0400)]
mgr: fix deadlock in dispatch

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr: get fresh maps on second load of Mgr
John Spray [Wed, 5 Apr 2017 23:58:36 +0000 (19:58 -0400)]
mgr: get fresh maps on second load of Mgr

I think we got away with this when Client::init was
re-initialising the MonClient, but now that (bogus)
stuff isn't happening any more as Client doesn't
init/teardown monc/objecter itself.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agovstart: fix mgr caps for MDS daemons
John Spray [Wed, 5 Apr 2017 23:58:02 +0000 (19:58 -0400)]
vstart: fix mgr caps for MDS daemons

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr: improve handle_command
John Spray [Sun, 5 Mar 2017 15:38:36 +0000 (10:38 -0500)]
mgr: improve handle_command

Run the python module calls in a finisher so that
they don't block the daemonserver lock and so that
they can call back into mgr stuff if they need to.

Fix passing through commands to python modules, this
was giving EINVAL because only things with a MgrCommand
were getting let in.

Also fix get_command_descriptions, which was not
including the output of the formatter in the response.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomon: don't enqueue periodic digest if one is already waiting
John Spray [Sun, 5 Mar 2017 15:38:36 +0000 (10:38 -0500)]
mon: don't enqueue periodic digest if one is already waiting

This was causing mons to send far more digest messages than
should have been sent.  Could have been responsible for
reports of very high CPU consumption on the mgr daemon.

Fixes: http://tracker.ceph.com/issues/18994
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agocommon/finisher: use distinct lock names
John Spray [Sun, 5 Mar 2017 15:27:46 +0000 (10:27 -0500)]
common/finisher: use distinct lock names

Two Finishers should not be considered equivalent
for lockdep purposes: for example in mgr we have
our in-mgr Finisher, and then any finishers that
might be in libraries called by modules.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agocmake: enable crosscompile of boost
Kefu Chai [Sat, 29 Apr 2017 18:01:33 +0000 (02:01 +0800)]
cmake: enable crosscompile of boost

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14837 from wjwithagen/wip-wjw-freebsd-ceph-disk-mpath
Kefu Chai [Sat, 29 Apr 2017 12:28:23 +0000 (20:28 +0800)]
Merge pull request #14837 from wjwithagen/wip-wjw-freebsd-ceph-disk-mpath

ceph-disk: ceph-disk on FreeBSD should not use mpath-code

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoceph-disk: ceph-disk on FreeBSD should not use mpath-code 14837/head
Willem Jan Withagen [Thu, 27 Apr 2017 14:36:21 +0000 (16:36 +0200)]
ceph-disk: ceph-disk on FreeBSD should not use mpath-code

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agomsg/async: refactor NetHandler::set_priority() to sync with msg/simple 14878/head
Kefu Chai [Sat, 29 Apr 2017 05:26:36 +0000 (13:26 +0800)]
msg/async: refactor NetHandler::set_priority() to sync with msg/simple

so it's sync'ed with Pipe::set_socket_options()

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomsg/simple: use my addr when setting sock priority
Kefu Chai [Sat, 29 Apr 2017 05:27:49 +0000 (13:27 +0800)]
msg/simple: use my addr when setting sock priority

actually we always fails to set ToS of listening
socket. 6f1037e22c2a304795895498cdc955e0ef80f8e3 reveals this issue.

Fixes: http://tracker.ceph.com/issues/19801
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14872 from tchaikov/wip-19770
Kefu Chai [Sat, 29 Apr 2017 04:39:24 +0000 (12:39 +0800)]
Merge pull request #14872 from tchaikov/wip-19770

qa/erasure-code: override min_size to 2

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoqa/erasure-code: override min_size to 2 14872/head
Kefu Chai [Fri, 28 Apr 2017 14:20:14 +0000 (22:20 +0800)]
qa/erasure-code: override min_size to 2

so isa(k=2,m=1) can survive with 1 down OSD.

Fixes: http://tracker.ceph.com/issues/19770
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/tasks/rados: add optional setting of "min_size"
Kefu Chai [Fri, 28 Apr 2017 14:18:26 +0000 (22:18 +0800)]
qa/tasks/rados: add optional setting of "min_size"

this setting only affects the newly created pool

Fixes: http://tracker.ceph.com/issues/19770
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14758 from xiexingguo/fix-can_mark_out-output
Sage Weil [Sat, 29 Apr 2017 00:40:44 +0000 (19:40 -0500)]
Merge pull request #14758 from xiexingguo/fix-can_mark_out-output

mon/OSDMonitor: fix output func name in can_mark_out

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14847 from smithfarm/wip-19797
Sage Weil [Sat, 29 Apr 2017 00:39:12 +0000 (19:39 -0500)]
Merge pull request #14847 from smithfarm/wip-19797

tests: rados: move cephtool.yaml to new singleton/bluestore subsuite

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14849 from tchaikov/wip-19787
Sage Weil [Sat, 29 Apr 2017 00:38:30 +0000 (19:38 -0500)]
Merge pull request #14849 from tchaikov/wip-19787

mon/OSDMonitor: do not alter the "created" epoch of a pg

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/upgrade/kraken-x: limit fs matrix 14887/head
Sage Weil [Fri, 28 Apr 2017 21:51:33 +0000 (17:51 -0400)]
qa/suites/upgrade/kraken-x: limit fs matrix

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14161 from jcsp/wip-mgr-legacy-mds
Sage Weil [Fri, 28 Apr 2017 21:43:41 +0000 (16:43 -0500)]
Merge pull request #14161 from jcsp/wip-mgr-legacy-mds

mgr: fix metadata handling from old MDS daemons

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14706 from SUSE/wip-fix-19629
Sage Weil [Fri, 28 Apr 2017 21:41:27 +0000 (16:41 -0500)]
Merge pull request #14706 from SUSE/wip-fix-19629

mgr: fix crash on set_config from python module with insufficient caps

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14855 from tchaikov/wip-increase-lec
Sage Weil [Fri, 28 Apr 2017 21:40:30 +0000 (16:40 -0500)]
Merge pull request #14855 from tchaikov/wip-increase-lec

mon/OSDMonitor: increase last_epoch_clean's lower bound if possible

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14859 from liewegas/wip-nonnull
Sage Weil [Fri, 28 Apr 2017 21:40:02 +0000 (16:40 -0500)]
Merge pull request #14859 from liewegas/wip-nonnull

librados: fix rados_pool_list when buf is null

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #14860 from liupan1111/wip-fix-journal-sleep-performance
Sage Weil [Fri, 28 Apr 2017 21:39:09 +0000 (16:39 -0500)]
Merge pull request #14860 from liupan1111/wip-fix-journal-sleep-performance

os/filestore: use new sleep strategy when io_submit gets EAGAIN.

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14862 from tchaikov/wip-templatize-intarith
Sage Weil [Fri, 28 Apr 2017 21:38:51 +0000 (16:38 -0500)]
Merge pull request #14862 from tchaikov/wip-templatize-intarith

include/intarith: templatize ctz/clz/cbits helpers

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14863 from tchaikov/wip-kill-clang-warnings
Sage Weil [Fri, 28 Apr 2017 21:38:33 +0000 (16:38 -0500)]
Merge pull request #14863 from tchaikov/wip-kill-clang-warnings

osd/OSDMap: should update input param if osd dne

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #14864 from renhwztetecs/renhw-wip-mgr-key
Sage Weil [Fri, 28 Apr 2017 21:38:06 +0000 (16:38 -0500)]
Merge pull request #14864 from renhwztetecs/renhw-wip-mgr-key

mgr: add mgr allow * to client.admin

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoos/bluestore: roundoff bluefs allocs to bluefs_alloc_size 14876/head
Ramesh Chander [Tue, 7 Feb 2017 03:27:31 +0000 (19:27 -0800)]
os/bluestore: roundoff bluefs allocs to bluefs_alloc_size

Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
8 years agoMerge pull request #14832 from dillaman/wip-rbd-mirror-deletion
Mykola Golub [Fri, 28 Apr 2017 18:01:17 +0000 (21:01 +0300)]
Merge pull request #14832 from dillaman/wip-rbd-mirror-deletion

rbd-mirror: image deletions should be handled by assigned instance

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #14842 from cbodley/wip-rgw-admin-suite
Yehuda Sadeh [Fri, 28 Apr 2017 16:39:59 +0000 (09:39 -0700)]
Merge pull request #14842 from cbodley/wip-rgw-admin-suite

qa/rgw: fix assertions in radosgw_admin task

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #14826 from tchaikov/wip-prime-pg-temp
Sage Weil [Fri, 28 Apr 2017 16:27:22 +0000 (11:27 -0500)]
Merge pull request #14826 from tchaikov/wip-prime-pg-temp

mon/OSDMonitor: skip prime_pg_temp if mapping is prior to osdmap

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #14818 from tchaikov/wip-rocksdb
Sage Weil [Fri, 28 Apr 2017 16:26:54 +0000 (11:26 -0500)]
Merge pull request #14818 from tchaikov/wip-rocksdb

rocksdb: sync with upstream

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #14817 from TsaiJin/wip-set-boolean-variable-with-boolean-value
Yuri Weinstein [Fri, 28 Apr 2017 15:38:06 +0000 (08:38 -0700)]
Merge pull request #14817 from TsaiJin/wip-set-boolean-variable-with-boolean-value

osd: ReplicatedBackend::prep_push() remove redundant variable assignments

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14835 from tchaikov/wip-19743
Yuri Weinstein [Fri, 28 Apr 2017 15:34:19 +0000 (08:34 -0700)]
Merge pull request #14835 from tchaikov/wip-19743

mgr: do shutdown using finisher so we can do it in the right order

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14838 from liewegas/wip-mgr-dirs
Yuri Weinstein [Fri, 28 Apr 2017 15:32:52 +0000 (08:32 -0700)]
Merge pull request #14838 from liewegas/wip-mgr-dirs

debian/ceph-base.dirs: create bootstrap-mgr dirs

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
8 years agoMerge pull request #14384 from hrchu/radosgw-admin-key
Kefu Chai [Fri, 28 Apr 2017 15:32:16 +0000 (23:32 +0800)]
Merge pull request #14384 from hrchu/radosgw-admin-key

doc: rgw: Rewrite the key management

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoqa/suites/upgrade/kraken-x/stress-split-erasure-code: fix
Sage Weil [Fri, 28 Apr 2017 15:14:45 +0000 (11:14 -0400)]
qa/suites/upgrade/kraken-x/stress-split-erasure-code: fix

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/upgrade/kraken-x/parallel: fix
Sage Weil [Fri, 28 Apr 2017 15:13:50 +0000 (11:13 -0400)]
qa/suites/upgrade/kraken-x/parallel: fix

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/upgrade/jewel-x/parallel: remove stray kraken.yaml
Sage Weil [Fri, 28 Apr 2017 15:13:22 +0000 (11:13 -0400)]
qa/suites/upgrade/jewel-x/parallel: remove stray kraken.yaml

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14848 from dillaman/wip-19798
Mykola Golub [Fri, 28 Apr 2017 14:26:39 +0000 (17:26 +0300)]
Merge pull request #14848 from dillaman/wip-19798

test: remove hard-coded image name from RBD metadata test

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #13315 from dang/wip-build-no-nss
Sage Weil [Fri, 28 Apr 2017 13:47:46 +0000 (08:47 -0500)]
Merge pull request #13315 from dang/wip-build-no-nss

cmake: Allow tests to build without NSS

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14367 from mslovy/wip-fix-infinitloops
Sage Weil [Fri, 28 Apr 2017 13:47:05 +0000 (08:47 -0500)]
Merge pull request #14367 from mslovy/wip-fix-infinitloops

os/filestore: fix infinit loops in fiemap()

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14391 from LiumxNL/wip-170407
Sage Weil [Fri, 28 Apr 2017 13:46:47 +0000 (08:46 -0500)]
Merge pull request #14391 from LiumxNL/wip-170407

mon/PGMonitor: fix wrongly report "pg stuck in inactive"

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14675 from ifed01/wip-bluestore-nolock
Sage Weil [Fri, 28 Apr 2017 13:46:23 +0000 (08:46 -0500)]
Merge pull request #14675 from ifed01/wip-bluestore-nolock

os/bluestore: eliminate some excessive stuff

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agotests: rados: move cephtool.yaml to new singleton/bluestore subsuite 14847/head
Nathan Cutler [Thu, 27 Apr 2017 19:52:51 +0000 (21:52 +0200)]
tests: rados: move cephtool.yaml to new singleton/bluestore subsuite

cephtool.yaml is bluestore-only, yet it was in singleton/ which runs against a
generalized objectstore matrix.

Fixes: http://tracker.ceph.com/issues/19797
Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #14475 from liewegas/wip-message-compat-cruft
Sage Weil [Fri, 28 Apr 2017 13:30:19 +0000 (08:30 -0500)]
Merge pull request #14475 from liewegas/wip-message-compat-cruft

messages: remove compat cruft

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: move TransContext finalization out of osr_lock to avoid potential conte... 14675/head
Igor Fedotov [Fri, 21 Apr 2017 17:07:32 +0000 (10:07 -0700)]
os/bluestore: move TransContext finalization out of osr_lock to avoid potential contention.

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: get rid off Onode::flush_txn set.
Igor Fedotov [Thu, 20 Apr 2017 14:46:21 +0000 (07:46 -0700)]
os/bluestore: get rid off Onode::flush_txn set.
It looks like flushing_count counter is enough.

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agomgr: add mgr allow * to client.admin 14864/head
huanwen ren [Fri, 28 Apr 2017 07:40:33 +0000 (15:40 +0800)]
mgr: add mgr allow * to client.admin

Signed-off-by: huanwen ren ren.huanwen@zte.com.cn
8 years agorgw: migrate atomic_t to std::atomic<> 14839/head
Jesse Williamson [Wed, 26 Apr 2017 12:26:38 +0000 (05:26 -0700)]
rgw: migrate atomic_t to std::atomic<>

Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
8 years agocommon/hobject: use string::append() to avoid temp object 14863/head
Kefu Chai [Fri, 28 Apr 2017 06:13:53 +0000 (14:13 +0800)]
common/hobject: use string::append() to avoid temp object

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoosd/OSDMap: should update input param if osd dne
Kefu Chai [Fri, 28 Apr 2017 06:08:19 +0000 (14:08 +0800)]
osd/OSDMap: should update input param if osd dne

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocommon/obj_bencher: silence divide by zero warning
Kefu Chai [Fri, 28 Apr 2017 06:02:52 +0000 (14:02 +0800)]
common/obj_bencher: silence divide by zero warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agotest/test_async_driver: silence clang static analyzer warning
Kefu Chai [Fri, 28 Apr 2017 06:01:50 +0000 (14:01 +0800)]
test/test_async_driver: silence clang static analyzer warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agobluestore: use std::atomic<uint8_t> for min_alloc_size_order 14862/head
Kefu Chai [Fri, 28 Apr 2017 06:15:54 +0000 (14:15 +0800)]
bluestore: use std::atomic<uint8_t> for min_alloc_size_order

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoinclude/intarith: templatize ctz/clz/cbits helpers
Kefu Chai [Fri, 28 Apr 2017 06:15:31 +0000 (14:15 +0800)]
include/intarith: templatize ctz/clz/cbits helpers

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoos/filestore: use new sleep strategy when io_submit gets EAGAIN. 14860/head
Pan Liu [Fri, 28 Apr 2017 03:36:46 +0000 (11:36 +0800)]
os/filestore: use new sleep strategy when io_submit gets EAGAIN.

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
8 years agolibcephfs: handle path==null to ceph_get_osd_crush_location 14859/head
Sage Weil [Fri, 28 Apr 2017 03:06:45 +0000 (23:06 -0400)]
libcephfs: handle path==null to ceph_get_osd_crush_location

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agolibrados: fix rados_pool_list when buf is null
Sage Weil [Fri, 28 Apr 2017 03:02:25 +0000 (23:02 -0400)]
librados: fix rados_pool_list when buf is null

This was the original intent, but buf==NULL wasn't documented
and only half-way implemented.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14840 from drunkard/master
Kefu Chai [Fri, 28 Apr 2017 02:57:53 +0000 (10:57 +0800)]
Merge pull request #14840 from drunkard/master

doc: style fix for doc/cephfs/client-config-ref.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodoc: typo fixes in doc/cephfs/client-config-ref.rst 14840/head
Drunkard Zhang [Fri, 28 Apr 2017 01:53:17 +0000 (09:53 +0800)]
doc: typo fixes in doc/cephfs/client-config-ref.rst

fixed:
  Reference symbol, i.e. s/`/``/
  Hyperlink typo at ``client_trace``

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
8 years agoMerge pull request #14302 from liewegas/wip-19452
Sage Weil [Fri, 28 Apr 2017 01:02:38 +0000 (20:02 -0500)]
Merge pull request #14302 from liewegas/wip-19452

osdc/Objecter: handle command target that goes down

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #14850 from tchaikov/wip-cmake
Kefu Chai [Fri, 28 Apr 2017 00:57:58 +0000 (08:57 +0800)]
Merge pull request #14850 from tchaikov/wip-cmake

cmake: add "container" to required boost components

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agomon/OSDMonitor: increase last_epoch_clean's lower bound if possible 14855/head
Kefu Chai [Fri, 28 Apr 2017 00:44:46 +0000 (08:44 +0800)]
mon/OSDMonitor: increase last_epoch_clean's lower bound if possible

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agorgw: drop unused param "bucket" from select_bucket_placement 14390/head
lu.shasha [Fri, 7 Apr 2017 08:54:38 +0000 (16:54 +0800)]
rgw: drop unused param "bucket" from select_bucket_placement

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
8 years agoMerge pull request #14794 from joscollin/wip-warning-simplespin
Brad Hubbard [Fri, 28 Apr 2017 00:22:39 +0000 (10:22 +1000)]
Merge pull request #14794 from joscollin/wip-warning-simplespin

test: fixing assert that creates warning: comparison between signed and unsigned integer expressions

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoqa/rgw: fix assertions in radosgw_admin task 14842/head
Casey Bodley [Thu, 27 Apr 2017 18:29:08 +0000 (14:29 -0400)]
qa/rgw: fix assertions in radosgw_admin task

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agomon/OSDMonitor: use emplace() to avoid creating temporary elements 14849/head
Kefu Chai [Thu, 27 Apr 2017 22:25:40 +0000 (06:25 +0800)]
mon/OSDMonitor: use emplace() to avoid creating temporary elements

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomon/OSDMonitor: do not alter the "created" epoch of a pg
Kefu Chai [Thu, 27 Apr 2017 20:47:18 +0000 (04:47 +0800)]
mon/OSDMonitor: do not alter the "created" epoch of a pg

Fixes: http://tracker.ceph.com/issues/19787
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocmake: add "container" to required boost components 14850/head
Kefu Chai [Thu, 27 Apr 2017 21:07:00 +0000 (05:07 +0800)]
cmake: add "container" to required boost components

it is used by our denc

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14843 from wjwithagen/wip-wjw-fix-pipe
Sage Weil [Thu, 27 Apr 2017 20:51:25 +0000 (15:51 -0500)]
Merge pull request #14843 from wjwithagen/wip-wjw-fix-pipe

src/msg/simple/Pipe.cc: Fix the inclusion of '}'

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agotest: remove hard-coded image name from RBD metadata test 14848/head
Jason Dillaman [Thu, 27 Apr 2017 20:21:33 +0000 (16:21 -0400)]
test: remove hard-coded image name from RBD metadata test

Fixes: http://tracker.ceph.com/issues/19798
Signed-off-by: Jason Dillaman <dillaman@redhat.com>