]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoMerge pull request #23626 from Liuchang0812/rgw-put-cors-compatible
Casey Bodley [Wed, 5 Sep 2018 13:20:18 +0000 (09:20 -0400)]
Merge pull request #23626 from Liuchang0812/rgw-put-cors-compatible

rgw: return err_malformed_xml when MaxAgeSeconds is an invalid integer

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23835 from Songweibin/wip-import-34536
Jason Dillaman [Wed, 5 Sep 2018 13:15:34 +0000 (09:15 -0400)]
Merge pull request #23835 from Songweibin/wip-import-34536

rbd: fix error import when the input is a pipe

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23815 from shun-s/fix-acquire-lock-latency
Jason Dillaman [Wed, 5 Sep 2018 13:14:59 +0000 (09:14 -0400)]
Merge pull request #23815 from shun-s/fix-acquire-lock-latency

librbd: fix possible unnecessary latency when requeue request

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23935 from LenzGr/bug-35686-missing-tooltip
Ricardo Marques [Wed, 5 Sep 2018 12:59:53 +0000 (13:59 +0100)]
Merge pull request #23935 from LenzGr/bug-35686-missing-tooltip

mgr/dashboard: Added missing tooltip to settings icon

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23409 from ricardoasmarques/wip-role-management
Lenz Grimmer [Wed, 5 Sep 2018 12:57:17 +0000 (14:57 +0200)]
Merge pull request #23409 from ricardoasmarques/wip-role-management

mgr/dashboard: Role management from the UI

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23938 from dillaman/wip-qa-rbd-mkpool
Mykola Golub [Wed, 5 Sep 2018 12:42:38 +0000 (15:42 +0300)]
Merge pull request #23938 from dillaman/wip-qa-rbd-mkpool

qa/workunits/rbd: replace usage of 'rados mkpool'

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoqa/workunits/rbd: replace usage of 'rados mkpool' 23938/head
Jason Dillaman [Wed, 5 Sep 2018 12:17:39 +0000 (08:17 -0400)]
qa/workunits/rbd: replace usage of 'rados mkpool'

This command was dropped under commit 2c26fb0fe1, so use
'ceph osd pool create' instead.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
6 years agomgr/dashboard: Role management from the UI 23409/head
Ricardo Marques [Mon, 30 Jul 2018 13:27:31 +0000 (14:27 +0100)]
mgr/dashboard: Role management from the UI

Fixes: https://tracker.ceph.com/issues/24447
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #23937 from tchaikov/wip-crimson-test-denc
Kefu Chai [Wed, 5 Sep 2018 12:11:02 +0000 (20:11 +0800)]
Merge pull request #23937 from tchaikov/wip-crimson-test-denc

test/crimson: do not use unit.cc as the driver of unittest_seastar_denc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agotest/crimson: do not use unit.cc as the driver of unittest_seastar_denc 23937/head
Kefu Chai [Wed, 5 Sep 2018 11:06:40 +0000 (19:06 +0800)]
test/crimson: do not use unit.cc as the driver of unittest_seastar_denc

as unit.cc initializes the CephContext and all of Ceph's infratructure,
which is not necessary for the denc test. also, seastar's builtin allocator
only pre-allocates 32 << 20 bytes. it's enough for the denc test, but
not necessarily enough for create CephContext and its friends. an option is
to use seastar's app template to initialize the memory allocator properly.
another option is to avoid initializing CephContext in this test.

the latter is simpler.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Added missing tooltip to settings icon 23935/head
Lenz Grimmer [Wed, 5 Sep 2018 10:12:53 +0000 (12:12 +0200)]
mgr/dashboard: Added missing tooltip to settings icon

Fixes: https://tracker.ceph.com/issues/35686
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agoMerge pull request #23797 from votdev/fix_user_notifications
Lenz Grimmer [Wed, 5 Sep 2018 08:46:18 +0000 (10:46 +0200)]
Merge pull request #23797 from votdev/fix_user_notifications

mgr/dashboard: Fix notifications in user list and form

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #23816 from cyx1231st/wip-seastar-msgr-fix
Kefu Chai [Wed, 5 Sep 2018 07:45:28 +0000 (15:45 +0800)]
Merge pull request #23816 from cyx1231st/wip-seastar-msgr-fix

crimson/net: miscellaneous fixes to seastar-msgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agomgr/dashboard: Fix notifications in user list 23797/head
Volker Theile [Thu, 30 Aug 2018 13:27:14 +0000 (15:27 +0200)]
mgr/dashboard: Fix notifications in user list

The notification message title and text were inverted.

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23912 from tchaikov/wip-install-deps-openldap
Kefu Chai [Wed, 5 Sep 2018 06:03:14 +0000 (14:03 +0800)]
Merge pull request #23912 from tchaikov/wip-install-deps-openldap

install-deps: s/openldap-client/openldap24-client/

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agoMerge pull request #23918 from dzafman/wip-fix-assert
Xie Xingguo [Wed, 5 Sep 2018 00:51:06 +0000 (08:51 +0800)]
Merge pull request #23918 from dzafman/wip-fix-assert

osd: Change assert() to ceph_assert() missed in the transition

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23759 from cbodley/wip-rgw-curl-timeout
Casey Bodley [Tue, 4 Sep 2018 21:53:45 +0000 (17:53 -0400)]
Merge pull request #23759 from cbodley/wip-rgw-curl-timeout

rgw: raise default rgw_curl_low_speed_time to 300 seconds

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23751 from joke-lee/wip-copy-response
Casey Bodley [Tue, 4 Sep 2018 21:53:31 +0000 (17:53 -0400)]
Merge pull request #23751 from joke-lee/wip-copy-response

rgw: etag in rgw copy result response body rather in header

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23749 from joke-lee/wip-etag-copy-part
Casey Bodley [Tue, 4 Sep 2018 21:53:17 +0000 (17:53 -0400)]
Merge pull request #23749 from joke-lee/wip-etag-copy-part

rgw: fix Etag error in multipart copy response

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23646 from ashitakasam/get_cors_err_code
Casey Bodley [Tue, 4 Sep 2018 21:53:01 +0000 (17:53 -0400)]
Merge pull request #23646 from ashitakasam/get_cors_err_code

rgw: the error code returned by rgw is different from amz s3 when getting cors

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23590 from yaozongyou/fix-rgw-deadlock
Casey Bodley [Tue, 4 Sep 2018 21:52:20 +0000 (17:52 -0400)]
Merge pull request #23590 from yaozongyou/fix-rgw-deadlock

rgw: fix deadlock on RGWIndexCompletionManager::stop

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoosd: Change assert() to ceph_assert() missed in the transition 23918/head
David Zafman [Tue, 4 Sep 2018 18:43:35 +0000 (11:43 -0700)]
osd: Change assert() to ceph_assert() missed in the transition

Caused by: c789fd1899f697a994a28e45a6f9262c6721d77d

Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoMerge pull request #23917 from Gangbiao/master
Sage Weil [Tue, 4 Sep 2018 21:38:26 +0000 (16:38 -0500)]
Merge pull request #23917 from Gangbiao/master

doc: Fix Spelling Error In File "ceph.rst"

6 years agoMerge pull request #23827 from trociny/wip-mock-valgrind
Jason Dillaman [Tue, 4 Sep 2018 19:04:56 +0000 (15:04 -0400)]
Merge pull request #23827 from trociny/wip-mock-valgrind

 test/librbd: fix valgrind warnings

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agodoc: Fix Spelling Error In File "ceph.rst" and "rbd.rst" 23917/head
Gangbiao Liu [Tue, 4 Sep 2018 17:26:53 +0000 (01:26 +0800)]
doc: Fix Spelling Error In File "ceph.rst" and "rbd.rst"

Signed-off-by: Gangbiao Liu <liugangbiao@cmss.chinamobile.com>
6 years agoMerge pull request #23898 from tchaikov/wip-crimson-net-cleanup
Kefu Chai [Tue, 4 Sep 2018 17:43:29 +0000 (01:43 +0800)]
Merge pull request #23898 from tchaikov/wip-crimson-net-cleanup

crimson/net: s/repeat/keep_doing/

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agocrimson/net: s/repeat/keep_doing/ 23898/head
Kefu Chai [Mon, 3 Sep 2018 16:14:23 +0000 (00:14 +0800)]
crimson/net: s/repeat/keep_doing/

repeat ~= while() {}
keep_doing ~= for (;;) {}

so it's simpler this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoinstall-deps: s/openldap-client/openldap24-client/ 23912/head
Kefu Chai [Tue, 4 Sep 2018 15:39:59 +0000 (23:39 +0800)]
install-deps: s/openldap-client/openldap24-client/

please refer:

https://svnweb.freebsd.org/ports/head/net/openldap24-client/
https://svnweb.freebsd.org/ports/head/net/openldap-client/

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23842 from votdev/issue_34315
Lenz Grimmer [Tue, 4 Sep 2018 14:52:58 +0000 (16:52 +0200)]
Merge pull request #23842 from votdev/issue_34315

mgr/dashboard: Display RGW user/bucket quota max size in human readable form

Reviewed-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #23905 from idryomov/wip-cram-suite-repo
Ilya Dryomov [Tue, 4 Sep 2018 12:27:28 +0000 (14:27 +0200)]
Merge pull request #23905 from idryomov/wip-cram-suite-repo

qa/tasks/cram: use suite_repo repository for all cram jobs

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agocrimson/net: only do zero-copy writes to out_stream 23816/head
Yingxin [Thu, 30 Aug 2018 10:22:49 +0000 (18:22 +0800)]
crimson/net: only do zero-copy writes to out_stream

seastar doesn't support mixed buffered writes and zero-copy writes.

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
6 years agocrimson/net: init h.global_seq during handshake
Yingxin [Thu, 30 Aug 2018 10:10:07 +0000 (18:10 +0800)]
crimson/net: init h.global_seq during handshake

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
6 years agocrimson/net: remove unused and dup global_seq
Yingxin [Tue, 4 Sep 2018 10:33:25 +0000 (18:33 +0800)]
crimson/net: remove unused and dup global_seq

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
6 years agocrimson/net: use parameter tag in handle_connect_reply()
Yingxin [Thu, 30 Aug 2018 10:04:51 +0000 (18:04 +0800)]
crimson/net: use parameter tag in handle_connect_reply()

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
6 years agocrimson/net: support multiple call to conn.close()
Yingxin [Thu, 30 Aug 2018 09:56:24 +0000 (17:56 +0800)]
crimson/net: support multiple call to conn.close()

It is possible while closing a connectin during a msgr shutdown,
a second close() can be called in `read_tags_until_next_message()`

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
6 years agoMerge pull request #23491 from p-na/per-osd-settings
Lenz Grimmer [Tue, 4 Sep 2018 10:01:19 +0000 (12:01 +0200)]
Merge pull request #23491 from p-na/per-osd-settings

mgr/dashboard: Add support for managing individual OSD settings in the backend

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23735 from votdev/suggest_snapshot_name
Lenz Grimmer [Tue, 4 Sep 2018 09:18:44 +0000 (11:18 +0200)]
Merge pull request #23735 from votdev/suggest_snapshot_name

mgr/dashboard: Auto-create a name for RBD image snapshots

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #23627 from Devp00l/wip-hints-for-jest-failures
Lenz Grimmer [Tue, 4 Sep 2018 08:51:06 +0000 (10:51 +0200)]
Merge pull request #23627 from Devp00l/wip-hints-for-jest-failures

mgr/dashboard: Add hints to resolve unit test failures

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23903 from libingyang-zte/master
Xie Xingguo [Tue, 4 Sep 2018 07:42:08 +0000 (15:42 +0800)]
Merge pull request #23903 from libingyang-zte/master

doc: Fix Spelling Error of Rados Operations

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agodoc: Fix Spelling Error of Rados Operations 23903/head
李丙洋 10208981 [Tue, 4 Sep 2018 06:01:46 +0000 (14:01 +0800)]
doc: Fix Spelling Error of Rados Operations

Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
6 years agoMerge pull request #23900 from libingyang-zte/master
Xie Xingguo [Tue, 4 Sep 2018 02:24:49 +0000 (10:24 +0800)]
Merge pull request #23900 from libingyang-zte/master

doc: Fix Spelling Error of Rados Operations

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23899 from luomuyao/cleanup
Xie Xingguo [Tue, 4 Sep 2018 02:24:14 +0000 (10:24 +0800)]
Merge pull request #23899 from luomuyao/cleanup

rgw: drop unused tmp in main()

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agodoc: Fix Spelling Error of Rados Operations 23900/head
李丙洋 10208981 [Tue, 4 Sep 2018 01:17:18 +0000 (09:17 +0800)]
doc: Fix Spelling Error of Rados Operations

Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
6 years agorgw: drop unused tmp in main() 23899/head
luomuyao [Tue, 4 Sep 2018 01:09:44 +0000 (09:09 +0800)]
rgw: drop unused tmp in main()

Signed-off-by: luomuyao <luo.muyao@zte.com.cn>
6 years agoqa/tasks/cram: use suite_repo repository for all cram jobs 23905/head
Ilya Dryomov [Mon, 3 Sep 2018 15:40:08 +0000 (17:40 +0200)]
qa/tasks/cram: use suite_repo repository for all cram jobs

Currently git.ceph.com is hardcoded for all cram jobs.  Testing
modifications is a pain: one needs to push to either ceph/ceph.git or
ceph/ceph-ci.git (depending on where the ceph branch is at, triggering
unnecessary builds in the latter case) and wait for the mirror to sync.
Runs scheduled against branches in developer's forks fail.

Move away from git.ceph.com to allow mixing branches and repositories,
similar to workunits.

Fixes: https://tracker.ceph.com/issues/27211
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 years agoMerge pull request #23798 from liewegas/wip-pod-hostname
Kefu Chai [Mon, 3 Sep 2018 16:16:10 +0000 (00:16 +0800)]
Merge pull request #23798 from liewegas/wip-pod-hostname

common/util: pass real hostname when running in kubernetes/rook container

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23322 from ricardoasmarques/wip-role-management-api
Lenz Grimmer [Mon, 3 Sep 2018 13:43:02 +0000 (15:43 +0200)]
Merge pull request #23322 from ricardoasmarques/wip-role-management-api

mgr/dashboard: Add REST API for role management

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Add REST API for role management 23322/head
Ricardo Marques [Mon, 30 Jul 2018 13:26:00 +0000 (14:26 +0100)]
mgr/dashboard: Add REST API for role management

Fixes: https://tracker.ceph.com/issues/25138
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Add support for managing individual OSD settings (backend) 23491/head
Patrick Nawracay [Thu, 2 Aug 2018 14:51:36 +0000 (16:51 +0200)]
mgr/dashboard: Add support for managing individual OSD settings (backend)

Add options to mark OSDs in/out/down/reweight/lost/remove/destroy/create

Fixes: http://tracker.ceph.com/issues/24270
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agoAuto-create a name for RBD image snapshots. 23735/head
Volker Theile [Fri, 24 Aug 2018 14:54:34 +0000 (16:54 +0200)]
Auto-create a name for RBD image snapshots.

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agocrimson/net: fix peer_addr sync in during handshake
Yingxin [Thu, 30 Aug 2018 09:45:46 +0000 (17:45 +0800)]
crimson/net: fix peer_addr sync in during handshake

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
6 years agocrimson/net: fix error category equivalence checks
Casey Bodley [Fri, 31 Aug 2018 18:04:41 +0000 (14:04 -0400)]
crimson/net: fix error category equivalence checks

consult base class for equivalence (which will match errors within
this category) before applying the extra error code mappings

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agocrimson/net: add error::success = 0
Casey Bodley [Fri, 31 Aug 2018 18:04:04 +0000 (14:04 -0400)]
crimson/net: add error::success = 0

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23891 from libingyang-zte/master
Xie Xingguo [Mon, 3 Sep 2018 08:14:14 +0000 (16:14 +0800)]
Merge pull request #23891 from libingyang-zte/master

doc: Fix Spelling Error of Rados Operations

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agomgr/dashboard: Display RGW user/bucket quota max size in human readable form 23842/head
Volker Theile [Fri, 31 Aug 2018 16:49:45 +0000 (18:49 +0200)]
mgr/dashboard: Display RGW user/bucket quota max size in human readable form

Fixes: https://tracker.ceph.com/issues/34315
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agodoc: Fix Spelling Error of Rados Operations 23891/head
李丙洋 10208981 [Mon, 3 Sep 2018 01:51:05 +0000 (09:51 +0800)]
doc: Fix Spelling Error of Rados Operations

Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
6 years agoMerge pull request #23879 from dwahler/master
Alfredo Deza [Sun, 2 Sep 2018 16:38:45 +0000 (09:38 -0700)]
Merge pull request #23879 from dwahler/master

doc: add note about LVM volumes to ceph-deploy quick start

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agodoc: add note about LVM volumes to ceph-deploy quick start 23879/head
David Wahler [Sun, 2 Sep 2018 15:27:15 +0000 (10:27 -0500)]
doc: add note about LVM volumes to ceph-deploy quick start

This commit also fixes some incorrect indentation that was causing
previous steps in the same section to be incorrectly numbered.

Signed-off-by: David Wahler <dwahler@gmail.com>
6 years agounittest_config: $host expands to ceph_get_short_hostname(), not hostname -s 23798/head
Sage Weil [Sat, 1 Sep 2018 20:56:05 +0000 (15:56 -0500)]
unittest_config: $host expands to ceph_get_short_hostname(), not hostname -s

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #23540 into master
Sage Weil [Sat, 1 Sep 2018 20:53:31 +0000 (15:53 -0500)]
Merge PR #23540 into master

* refs/pull/23540/head:
include/ceph_fs: rename old auid field
PendingReleaseNotes: note about auid support removal
radosgw-admin: remove -a --auth-uid arg
rgw: remove auid member from RGWUserInfo
auth: remove auid member from EntityAuth
osd: remove auid session member
mon: remove auid session member
doc/dev/cephx_protocol: drop auid reference
auth: remove auid args from handle_request and verify_authorizer
mon/OSDMonitor: remove 'osd pool {get,set} <name> auid ...'
mon/OSDMonitor: remove auid arg for 'osd lspools' and deprecate
osd/OSDCap: remove auid from grammar
osd/OSDCap: remove auid from is_capable() etc args
auth: clean up cap parse error messages
mon/AuthMonitor: raise health warning on invalid caps
mon/AuthMonitor: drop ancient auth inc encoding compat
messages/MPoolOp: drop auid member
osdc/Objecter: drop change_pool_auid
pybind/rados: drop auid arg to pool_create
pybind/rados: drop change_auid
rados: drop mkpool, rmpool commands
rados: remove 'chown' command
librados: deprecate calls that take auid
librados: mark all auid calls deprecated
mon/OSDMonitor: drop variable pool auid for prepare_new_pool
mon/OSDMonitor: remove pool auid change support
osdc/Objecter: do not pass auid to create_pool
ceph-authtool: remove auid options
qa/workunits/cephtool: remove auid tests

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
6 years agoMerge PR #23739 into master
Sage Weil [Sat, 1 Sep 2018 20:53:26 +0000 (15:53 -0500)]
Merge PR #23739 into master

* refs/pull/23739/head:
mgr/telemetry: add crashdump info to report

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #23766 into master
Sage Weil [Sat, 1 Sep 2018 20:53:21 +0000 (15:53 -0500)]
Merge PR #23766 into master

* refs/pull/23766/head:
BlueStore: Fix concurrency conflicts

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23841 from idryomov/wip-krbd-namespaces
Ilya Dryomov [Sat, 1 Sep 2018 09:39:40 +0000 (11:39 +0200)]
Merge pull request #23841 from idryomov/wip-krbd-namespaces

krbd: support for images within namespaces

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23663 from xiexingguo/wip-incompat-async-fixes
Xie Xingguo [Sat, 1 Sep 2018 06:27:27 +0000 (14:27 +0800)]
Merge pull request #23663 from xiexingguo/wip-incompat-async-fixes

osd: some recovery improvements and cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23837 from rjfd/wip-update-dmclock
Kefu Chai [Sat, 1 Sep 2018 06:01:14 +0000 (14:01 +0800)]
Merge pull request #23837 from rjfd/wip-update-dmclock

dmclock: update dmclock submodule sha1 to tip of ceph/dmclock.git master

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoinclude/ceph_fs: rename old auid field 23540/head
Sage Weil [Thu, 16 Aug 2018 15:28:27 +0000 (10:28 -0500)]
include/ceph_fs: rename old auid field

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoPendingReleaseNotes: note about auid support removal
Sage Weil [Sun, 12 Aug 2018 20:34:20 +0000 (15:34 -0500)]
PendingReleaseNotes: note about auid support removal

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoradosgw-admin: remove -a --auth-uid arg
Sage Weil [Sun, 12 Aug 2018 20:28:36 +0000 (15:28 -0500)]
radosgw-admin: remove -a --auth-uid arg

It was already a no-op.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorgw: remove auid member from RGWUserInfo
Sage Weil [Sun, 12 Aug 2018 20:26:41 +0000 (15:26 -0500)]
rgw: remove auid member from RGWUserInfo

Unused.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoauth: remove auid member from EntityAuth
Sage Weil [Sun, 12 Aug 2018 20:10:39 +0000 (15:10 -0500)]
auth: remove auid member from EntityAuth

Note that for the keyring we still accept (but ignore) auid lines so that
we can parse old keyrings that have them.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd: remove auid session member
Sage Weil [Sun, 12 Aug 2018 20:04:00 +0000 (15:04 -0500)]
osd: remove auid session member

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon: remove auid session member
Sage Weil [Sun, 12 Aug 2018 20:03:23 +0000 (15:03 -0500)]
mon: remove auid session member

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agodoc/dev/cephx_protocol: drop auid reference
Sage Weil [Sun, 12 Aug 2018 20:02:38 +0000 (15:02 -0500)]
doc/dev/cephx_protocol: drop auid reference

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoauth: remove auid args from handle_request and verify_authorizer
Sage Weil [Sun, 12 Aug 2018 20:00:44 +0000 (15:00 -0500)]
auth: remove auid args from handle_request and verify_authorizer

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/OSDMonitor: remove 'osd pool {get,set} <name> auid ...'
Sage Weil [Sun, 12 Aug 2018 18:36:08 +0000 (13:36 -0500)]
mon/OSDMonitor: remove 'osd pool {get,set} <name> auid ...'

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/OSDMonitor: remove auid arg for 'osd lspools' and deprecate
Sage Weil [Sun, 12 Aug 2018 18:34:50 +0000 (13:34 -0500)]
mon/OSDMonitor: remove auid arg for 'osd lspools' and deprecate

Use 'osd pool ls' instead.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/OSDCap: remove auid from grammar
Sage Weil [Sun, 12 Aug 2018 18:29:00 +0000 (13:29 -0500)]
osd/OSDCap: remove auid from grammar

This is an incompatible change: old caps that include auid will no longer
parse.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/OSDCap: remove auid from is_capable() etc args
Sage Weil [Sun, 12 Aug 2018 17:39:33 +0000 (12:39 -0500)]
osd/OSDCap: remove auid from is_capable() etc args

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoauth: clean up cap parse error messages
Sage Weil [Sun, 12 Aug 2018 18:20:13 +0000 (13:20 -0500)]
auth: clean up cap parse error messages

Consistent formatted.  Drop newline.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/AuthMonitor: raise health warning on invalid caps
Sage Weil [Sun, 12 Aug 2018 18:18:09 +0000 (13:18 -0500)]
mon/AuthMonitor: raise health warning on invalid caps

Raise a health warning if we have invalid (unparsable) caps in the auth
database.  Include a simple test.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23840 from idryomov/wip-krbd-untar-build-packages
Jason Dillaman [Fri, 31 Aug 2018 17:53:39 +0000 (13:53 -0400)]
Merge pull request #23840 from idryomov/wip-krbd-untar-build-packages

qa: rbd_workunit_kernel_untar_build: install build dependencies

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #22983 from trociny/wip-journal-limit-inflight-appends
Jason Dillaman [Fri, 31 Aug 2018 17:32:34 +0000 (13:32 -0400)]
Merge pull request #22983 from trociny/wip-journal-limit-inflight-appends

librbd: optionally limit journal in-flight appends

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #23770 from Songweibin/wip-rbd-namespace
Jason Dillaman [Fri, 31 Aug 2018 17:32:15 +0000 (13:32 -0400)]
Merge pull request #23770 from Songweibin/wip-rbd-namespace

rbd: correct parameter of namespace and verify it before set_namespace

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agokrbd: support for images within namespaces 23841/head
Ilya Dryomov [Thu, 16 Aug 2018 16:53:36 +0000 (18:53 +0200)]
krbd: support for images within namespaces

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 years agokrbd: create udev_enumerate in enumerate_devices()
Ilya Dryomov [Thu, 16 Aug 2018 16:49:33 +0000 (18:49 +0200)]
krbd: create udev_enumerate in enumerate_devices()

Make it easier to run more than one scan in a row.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 years agokrbd: introduce krbd_spec
Ilya Dryomov [Wed, 15 Aug 2018 14:00:12 +0000 (16:00 +0200)]
krbd: introduce krbd_spec

Don't substitute "@-" for HEAD when printing the spec.  Instead, omit
the snapshot part.  The same would be done for the namespace part.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 years agokrbd: change krbd_unmap_by_spec() to take "" instead of NULL
Ilya Dryomov [Wed, 15 Aug 2018 13:53:09 +0000 (15:53 +0200)]
krbd: change krbd_unmap_by_spec() to take "" instead of NULL

krbd_map() and krbd_is_mapped() take "", krbd_unmap_by_spec() is the
odd one out.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 years agokrbd: remove unused include
Ilya Dryomov [Wed, 15 Aug 2018 13:42:45 +0000 (15:42 +0200)]
krbd: remove unused include

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
6 years agomon/AuthMonitor: drop ancient auth inc encoding compat
Sage Weil [Sun, 12 Aug 2018 17:43:26 +0000 (12:43 -0500)]
mon/AuthMonitor: drop ancient auth inc encoding compat

This is for *ancient* mons (I'm guessing bobtail?).

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomessages/MPoolOp: drop auid member
Sage Weil [Sat, 11 Aug 2018 18:56:51 +0000 (13:56 -0500)]
messages/MPoolOp: drop auid member

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosdc/Objecter: drop change_pool_auid
Sage Weil [Sat, 11 Aug 2018 18:55:30 +0000 (13:55 -0500)]
osdc/Objecter: drop change_pool_auid

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agopybind/rados: drop auid arg to pool_create
Sage Weil [Sat, 11 Aug 2018 19:00:58 +0000 (14:00 -0500)]
pybind/rados: drop auid arg to pool_create

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agopybind/rados: drop change_auid
Sage Weil [Sat, 11 Aug 2018 19:00:31 +0000 (14:00 -0500)]
pybind/rados: drop change_auid

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorados: drop mkpool, rmpool commands
Sage Weil [Sat, 11 Aug 2018 19:14:05 +0000 (14:14 -0500)]
rados: drop mkpool, rmpool commands

- mkpool and rmpool users should use the normal cli/mon commands

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agorados: remove 'chown' command
Sage Weil [Sat, 11 Aug 2018 18:34:08 +0000 (13:34 -0500)]
rados: remove 'chown' command

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agolibrados: deprecate calls that take auid
Sage Weil [Sat, 11 Aug 2018 18:55:03 +0000 (13:55 -0500)]
librados: deprecate calls that take auid

Return EOPNOTSUPP for auid-specific calls, or EINVAL for ones that get a non-default
auid value.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agolibrados: mark all auid calls deprecated
Sage Weil [Sat, 11 Aug 2018 17:26:22 +0000 (12:26 -0500)]
librados: mark all auid calls deprecated

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/OSDMonitor: drop variable pool auid for prepare_new_pool
Sage Weil [Sat, 11 Aug 2018 19:22:03 +0000 (14:22 -0500)]
mon/OSDMonitor: drop variable pool auid for prepare_new_pool

Always set to 0 for now.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/OSDMonitor: remove pool auid change support
Sage Weil [Sat, 11 Aug 2018 19:31:07 +0000 (14:31 -0500)]
mon/OSDMonitor: remove pool auid change support

EOPNOTSUPP

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosdc/Objecter: do not pass auid to create_pool
Sage Weil [Sat, 11 Aug 2018 16:52:25 +0000 (11:52 -0500)]
osdc/Objecter: do not pass auid to create_pool

Signed-off-by: Sage Weil <sage@redhat.com>