]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agomon/OSDMonitor: invalidate max_failed_since on cancel_report 23949/head
xie xingguo [Thu, 6 Sep 2018 02:44:26 +0000 (10:44 +0800)]
mon/OSDMonitor: invalidate max_failed_since on cancel_report

max_failed_since might reference the very failure-report which is to be
cancelled. We can simply invalidate it here to make **get_failed_since()**
recalculate if necessary.

Fixes: http://tracker.ceph.com/issues/35860
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23926 from Gangbiao/lgb-devel
Xie Xingguo [Thu, 6 Sep 2018 01:30:25 +0000 (09:30 +0800)]
Merge pull request #23926 from Gangbiao/lgb-devel

doc: Document correction

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23850 from liewegas/wip-22544
Kefu Chai [Thu, 6 Sep 2018 00:33:31 +0000 (08:33 +0800)]
Merge pull request #23850 from liewegas/wip-22544

osdc/Objecter: fix split vs reconnect race

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge pull request #23557 from liewegas/wip-cmd-getval
Kefu Chai [Thu, 6 Sep 2018 00:31:55 +0000 (08:31 +0800)]
Merge pull request #23557 from liewegas/wip-cmd-getval

common/cmdparse: cmd_getval_throws -> cmd_getval

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #23851 into master
Patrick Donnelly [Wed, 5 Sep 2018 23:39:47 +0000 (16:39 -0700)]
Merge PR #23851 into master

* refs/pull/23851/head:
mds: print is_laggy message once

Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #23890 into master
Patrick Donnelly [Wed, 5 Sep 2018 23:39:41 +0000 (16:39 -0700)]
Merge PR #23890 into master

* refs/pull/23890/head:
msg: lower verbosity on normal event

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agomds: print is_laggy message once 23851/head
Patrick Donnelly [Sun, 2 Sep 2018 01:47:18 +0000 (18:47 -0700)]
mds: print is_laggy message once

Beacon::is_laggy gets called frequently which causes the debug log to get
spammed with messages.

Steps to reproduce:
- setup vstart cluster
- start IO from client (e.g. `cp -av /usr /mnt`)
- find connection to mon by the mds
  $ ss -tnp | grep ceph-mds
    ...
    ESTAB      0      0      127.0.0.1:58988              127.0.0.1:40928               users:(("ceph-mds",pid=13095,fd=37))
- block the connection using iptables on the MDS node:
  $ sudo iptables -I INPUT -p tcp --sport 58988 --dport 40928 -j DROP
- verify MDS log using:
  $ tail -f mds.a.log | grep beacon
    ...
    2018-09-05 19:21:05.672 7f2908a9d700  1 mds.beacon.a is_laggy 19.8876 > 15 since last acked beacon
    2018-09-05 19:21:05.672 7f2908a9d700  1 mds.beacon.a is_laggy 19.8876 > 15 since last acked beacon
    2018-09-05 19:21:05.672 7f2908a9d700  1 mds.beacon.a is_laggy 19.8876 > 15 since last acked beacon
    2018-09-05 19:21:05.672 7f2908a9d700  1 mds.beacon.a is_laggy 19.8876 > 15 since last acked beacon
    2018-09-05 19:21:05.784 7f2905a97700  5 mds.beacon.a Sending beacon up:active seq 114
    2018-09-05 19:21:05.784 7f2905a97700  1 -- 127.0.0.1:6813/2277776624 --> 127.0.0.1:40929/0 -- mdsbeacon(14162/a up:active seq 114 v7) v7 -- 0x7d1e7e2a80 con 0
    2018-09-05 19:21:05.784 7f2905a97700 20 mds.beacon.a sender thread waiting interval 4s

Fixes: http://tracker.ceph.com/issues/35250
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #23645 from jcsp/wip-mgr-unknown-error
Noah Watkins [Wed, 5 Sep 2018 23:02:34 +0000 (16:02 -0700)]
Merge pull request #23645 from jcsp/wip-mgr-unknown-error

mgr: replace "Unknown error" string on always_on

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
6 years agoMerge pull request #23942 from trociny/wip-rados-rmpool
Jason Dillaman [Wed, 5 Sep 2018 21:33:57 +0000 (17:33 -0400)]
Merge pull request #23942 from trociny/wip-rados-rmpool

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

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoqa/workunits/rbd: replace usage of 'rados rmpool' 23942/head
Mykola Golub [Wed, 5 Sep 2018 19:52:20 +0000 (22:52 +0300)]
qa/workunits/rbd: replace usage of 'rados rmpool'

This command was dropped.

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge PR #23907 into master
Patrick Donnelly [Wed, 5 Sep 2018 16:41:23 +0000 (09:41 -0700)]
Merge PR #23907 into master

* refs/pull/23907/head:
doc: Fix Spelling Error of Cephfs Shell

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge pull request #23930 from tchaikov/wip-include-cleanup
Kefu Chai [Wed, 5 Sep 2018 15:47:32 +0000 (23:47 +0800)]
Merge pull request #23930 from tchaikov/wip-include-cleanup

common,mon: add implicit `#include` headers

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #23909 from theanalyst/doc/releases/12.2.8
Sage Weil [Wed, 5 Sep 2018 15:43:26 +0000 (10:43 -0500)]
Merge pull request #23909 from theanalyst/doc/releases/12.2.8

doc: release notes for 12.2.8 luminous

6 years agodoc: release notes for 12.2.8 luminous 23909/head
Abhishek Lekshmanan [Tue, 4 Sep 2018 11:15:11 +0000 (13:15 +0200)]
doc: release notes for 12.2.8 luminous

- Add a special note for upgrades from earlier releases
- Add a notable section mentioning the scrub and rgw options

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agoMerge pull request #23852 from tchaikov/wip-cmake-cleanup
Kefu Chai [Wed, 5 Sep 2018 14:28:37 +0000 (22:28 +0800)]
Merge pull request #23852 from tchaikov/wip-cmake-cleanup

cmake: link compressor plugins against lib the modern way

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23925 from cfanz/wip-fix-data-sync-report
Casey Bodley [Wed, 5 Sep 2018 14:20:22 +0000 (10:20 -0400)]
Merge pull request #23925 from cfanz/wip-fix-data-sync-report

rgw-admin: fix data sync report for master zone

Reviewed-by: Casey Bodley <cbodley@redhat.com>
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 agomon/MonClient.h: include necessary header 23930/head
Kefu Chai [Mon, 3 Sep 2018 13:29:34 +0000 (21:29 +0800)]
mon/MonClient.h: include necessary header

MonClient references LockPolicy, so it should include
common/lock_policy.h .

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocommon/TrackedOp.h: include spinlock.h as this header uses it
Kefu Chai [Mon, 3 Sep 2018 09:12:56 +0000 (17:12 +0800)]
common/TrackedOp.h: include spinlock.h as this header uses it

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocommon,crush,mds,messages,osd: add missing #include
Kefu Chai [Fri, 31 Aug 2018 13:17:48 +0000 (21:17 +0800)]
common,crush,mds,messages,osd: add missing #include

they rely on dout.h to do this, but they should not.

Signed-off-by: Kefu Chai <kchai@redhat.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 agodoc: Document correction 23926/head
Gangbiao Liu [Wed, 5 Sep 2018 02:49:25 +0000 (10:49 +0800)]
doc: Document correction
    "doc/ceph-volume/lvm/prepare.rst":  Remove duplicated words
    "doc/radosgw/cloud-sync-module.rst": Remove duplicated words

Signed-off-by: Gangbiao Liu <liugangbiao@cmss.chinamobile.com>
6 years agorgw-admin: fix data sync report for master zone 23925/head
cfanz [Wed, 5 Sep 2018 02:57:35 +0000 (10:57 +0800)]
rgw-admin: fix data sync report for master zone

Signed-off-by: cfanz <songxinying@sensetime.com>
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 agomsg: lower verbosity on normal event 23890/head
Patrick Donnelly [Sun, 2 Sep 2018 19:51:46 +0000 (12:51 -0700)]
msg: lower verbosity on normal event

Fixes: http://tracker.ceph.com/issues/35251
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
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 agodoc: Fix Spelling Error of Cephfs Shell 23907/head
李丙洋 10208981 [Tue, 4 Sep 2018 09:22:10 +0000 (17:22 +0800)]
doc: Fix Spelling Error of Cephfs Shell

Signed-off-by: Li Bingyang <li.bingyang1@zte.com.cn>
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 agocmake: link compressor plugins against lib the modern way 23852/head
Kefu Chai [Sun, 2 Sep 2018 06:42:54 +0000 (14:42 +0800)]
cmake: link compressor plugins against lib the modern way

* always link against the target library not library paths
* import their include directories by linking against their target
  library, instead of doing so using target_include_directories()
  manually.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocommon/cmdparse: cmd_getval_throws -> cmd_getval 23557/head
Sage Weil [Mon, 13 Aug 2018 19:47:06 +0000 (14:47 -0500)]
common/cmdparse: cmd_getval_throws -> cmd_getval

Always throw.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon: fix try/catch whitespace
Sage Weil [Mon, 13 Aug 2018 19:43:05 +0000 (14:43 -0500)]
mon: fix try/catch whitespace

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd: catch cmd_bad_get from do_command
Sage Weil [Mon, 13 Aug 2018 18:59:10 +0000 (13:59 -0500)]
osd: catch cmd_bad_get from do_command

Refactor to limit impact of try block.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd: catch cmd_bad_get for asok hooks
Sage Weil [Mon, 13 Aug 2018 18:37:10 +0000 (13:37 -0500)]
osd: catch cmd_bad_get for asok hooks

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/DaemonServer: catch cmd_bad_get
Sage Weil [Mon, 13 Aug 2018 18:29:08 +0000 (13:29 -0500)]
mgr/DaemonServer: catch cmd_bad_get

Refactor handle_command slightly: establish the CommandContext, then call
_handle_command.  This keep the try block localized.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agocommon: catch cmd_bad_get
Sage Weil [Mon, 13 Aug 2018 18:28:40 +0000 (13:28 -0500)]
common: catch cmd_bad_get

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomds/MDSDaemon: catch cmd_bad_get
Sage Weil [Mon, 13 Aug 2018 18:28:28 +0000 (13:28 -0500)]
mds/MDSDaemon: catch cmd_bad_get

Signed-off-by: Sage Weil <sage@redhat.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 agoosdc/Objecter: fix split vs reconnect race 23850/head
Sage Weil [Sat, 1 Sep 2018 20:48:37 +0000 (15:48 -0500)]
osdc/Objecter: fix split vs reconnect race

If we are reconnecting to an OSD, we may not have a connection established
so this feature check is completely unreliable.  If there happens to be a
split, that could mean we don't resend an op that should have been resent.

Instead, we can infer the OSD has the new behavior if require_osd_release
is luminous or later.  If not, we can look at the per-osd features in the
OSDMap.

Fixes: http://tracker.ceph.com/issues/22544
Signed-off-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>