]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agorgw: beast frontend closes connections on stop 21271/head
Casey Bodley [Sat, 31 Mar 2018 03:31:49 +0000 (23:31 -0400)]
rgw: beast frontend closes connections on stop

the strategy for stop relies on the fact that process_request() is
completely synchronous, so that io_context.stop() would still complete
each request and clean up properly

to tolerate an asynchronous process_request(), we instead need to drain
all outstanding work on the io_context so that io_context.run() can
return control natually to all of the worker threads. that would allow
us to suspend our coroutine in the middle of process_request(), and
still guarantee that process_request() will resume and run to completion
before the worker threads exit

each connected socket also counts as outstanding work, and needs to be
closed in order to drain the io_context. each connection now adds itself
to a connection list so that stop() can close its socket

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: beast frontend uses async SharedMutex for pause
Casey Bodley [Mon, 19 Mar 2018 20:49:38 +0000 (16:49 -0400)]
rgw: beast frontend uses async SharedMutex for pause

the strategy for pause relied on stopping the io_context and waiting for
io_context.run() to return control to all of the worker threads. this
relies on the fact that process_request() is completely synchronous (so
considered a single unit of work in the io_context) - otherwise, pause
could complete in the middle of a call to process_request(), and destroy
the RGWRados instance while it's still in use

calling io_context.stop() to pause the worker threads also assumes that
no other work will be scheduled on these threads

to decouple pause from worker threads, handle_connection() now uses an
async shared mutex to synchronize with pause/unpause

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23634 from cbodley/wip-21154
Casey Bodley [Fri, 7 Sep 2018 15:05:20 +0000 (11:05 -0400)]
Merge pull request #23634 from cbodley/wip-21154

rgw: RGWRadosGetOmapKeysCR takes result by shared_ptr

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: RGWRadosGetOmapKeysCR takes result by shared_ptr 23634/head
Casey Bodley [Fri, 17 Aug 2018 17:15:49 +0000 (13:15 -0400)]
rgw: RGWRadosGetOmapKeysCR takes result by shared_ptr

Fixes: http://tracker.ceph.com/issues/21154
Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #23920 from cbodley/wip-rgw-cr-rados-fixes
Casey Bodley [Fri, 7 Sep 2018 13:30:29 +0000 (09:30 -0400)]
Merge pull request #23920 from cbodley/wip-rgw-cr-rados-fixes

rgw multisite: async rados requests don't access coroutine memory

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoMerge pull request #23959 from rubenk/doc-remove-unknown-option-from-manpage
Kefu Chai [Fri, 7 Sep 2018 11:12:12 +0000 (19:12 +0800)]
Merge pull request #23959 from rubenk/doc-remove-unknown-option-from-manpage

doc: remove deprecated 'scrubq' from ceph(8)

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23931 from cyx1231st/wip-msgr-test
Kefu Chai [Fri, 7 Sep 2018 06:43:47 +0000 (14:43 +0800)]
Merge pull request #23931 from cyx1231st/wip-msgr-test

tests: fix to check server_conn in MessengerTest.NameAddrTest

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agotests: fix to check server_conn in MessengerTest.NameAddrTest 23931/head
Yingxin [Wed, 5 Sep 2018 15:14:09 +0000 (23:14 +0800)]
tests: fix to check server_conn in MessengerTest.NameAddrTest

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
6 years agoMerge pull request #23944 from ceph/wip-s3a-update-mirror
vasukulkarni [Thu, 6 Sep 2018 21:44:29 +0000 (14:44 -0700)]
Merge pull request #23944 from ceph/wip-s3a-update-mirror

qa/tasks: update mirror link for maven

6 years agoMerge pull request #23963 from alfredodeza/wip-rm35535
Andrew Schoen [Thu, 6 Sep 2018 20:29:33 +0000 (15:29 -0500)]
Merge pull request #23963 from alfredodeza/wip-rm35535

ceph-volume:  batch tests for mixed-type of devices

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume lvm.batch use 'ceph' as the cluster name with filestore 23963/head
Alfredo Deza [Thu, 6 Sep 2018 19:19:01 +0000 (15:19 -0400)]
ceph-volume lvm.batch use 'ceph' as the cluster name with filestore

Custom cluster names are currently broken on ceph-volume, should get
addressed with http://tracker.ceph.com/issues/27210 which is out of
scope for these changes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional update filestore xenial test vars
Alfredo Deza [Thu, 6 Sep 2018 15:23:30 +0000 (11:23 -0400)]
ceph-volume tests/functional update filestore xenial test vars

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional update bluestore xenial test vars
Alfredo Deza [Thu, 6 Sep 2018 15:23:20 +0000 (11:23 -0400)]
ceph-volume tests/functional update bluestore xenial test vars

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional update filestore centos7 test vars
Alfredo Deza [Thu, 6 Sep 2018 15:18:20 +0000 (11:18 -0400)]
ceph-volume tests/functional update filestore centos7 test vars

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional update bluestore centos7 test vars
Alfredo Deza [Thu, 6 Sep 2018 15:18:05 +0000 (11:18 -0400)]
ceph-volume tests/functional update bluestore centos7 test vars

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume lvm.api use double -f flags when calling pvremove
Alfredo Deza [Thu, 6 Sep 2018 14:55:31 +0000 (10:55 -0400)]
ceph-volume lvm.api use double -f flags when calling pvremove

Fairly destructive, just like everything else when zapping a device.
This is required in the case of double UUIDs detected, something that
surfaced when testing with a loop device to create an nvme (the loop
device ends up with the same UUID as the nvme).

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional remove duplicate test playbooks
Alfredo Deza [Thu, 6 Sep 2018 14:26:05 +0000 (10:26 -0400)]
ceph-volume tests/functional remove duplicate test playbooks

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional setup playbook for nvme devices
Alfredo Deza [Thu, 6 Sep 2018 13:38:00 +0000 (09:38 -0400)]
ceph-volume tests/functional setup playbook for nvme devices

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional single (test) playbook to zap and redeploy batch operations
Alfredo Deza [Thu, 6 Sep 2018 13:34:11 +0000 (09:34 -0400)]
ceph-volume tests/functional single (test) playbook to zap and redeploy batch operations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional create a noop playbook to allow symlinking always to...
Alfredo Deza [Thu, 6 Sep 2018 13:33:21 +0000 (09:33 -0400)]
ceph-volume tests/functional create a noop playbook to allow symlinking always to setup.yml

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional add mixed-type scenarios to tox.ini
Alfredo Deza [Thu, 6 Sep 2018 13:32:00 +0000 (09:32 -0400)]
ceph-volume tests/functional add mixed-type scenarios to tox.ini

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge PR #23673 into master
Patrick Donnelly [Thu, 6 Sep 2018 17:57:32 +0000 (10:57 -0700)]
Merge PR #23673 into master

* refs/pull/23673/head:
qa: automate distro/kernel matrix for kclient

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Tested-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoceph-volume tests/functional add CentOS7 bluestore mixed-type scenarios
Alfredo Deza [Wed, 5 Sep 2018 12:17:54 +0000 (08:17 -0400)]
ceph-volume tests/functional add CentOS7 bluestore mixed-type scenarios

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume tests/functional add CentOS7 filestore mixed-type scenarios
Alfredo Deza [Wed, 5 Sep 2018 12:17:38 +0000 (08:17 -0400)]
ceph-volume tests/functional add CentOS7 filestore mixed-type scenarios

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoqa: automate distro/kernel matrix for kclient 23673/head
Patrick Donnelly [Tue, 21 Aug 2018 04:07:33 +0000 (21:07 -0700)]
qa: automate distro/kernel matrix for kclient

It's no longer necessary to pass `-k testing` to teuthology-suite. We're also
now regularly testing RHEL 7.5 kernel in upstream testing.

This work is prep for eventually integrating kclient into fs.

Fixes: http://tracker.ceph.com/issues/26995
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agodoc: remove deprecated 'scrubq' from ceph(8) 23959/head
Ruben Kerkhof [Thu, 6 Sep 2018 12:17:23 +0000 (14:17 +0200)]
doc: remove deprecated 'scrubq' from ceph(8)

The option was removed in a30cbe9adea34782be8699c010d4281d245feb6b

Fixes: http://tracker.ceph.com/issues/35813
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
6 years agoMerge pull request #23846 from liewegas/wip-mgr-config-fixes
Kefu Chai [Thu, 6 Sep 2018 13:58:52 +0000 (21:58 +0800)]
Merge pull request #23846 from liewegas/wip-mgr-config-fixes

mon: fix mgr module config option handling

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23836 from sepia-liu/wip-cephfuse-doc
huanwen ren [Thu, 6 Sep 2018 10:50:57 +0000 (18:50 +0800)]
Merge pull request #23836 from sepia-liu/wip-cephfuse-doc

doc/cephfs: fixup add/remove mds docs

6 years agoMerge pull request #23911 from votdev/cleanup
Lenz Grimmer [Thu, 6 Sep 2018 09:04:22 +0000 (11:04 +0200)]
Merge pull request #23911 from votdev/cleanup

mgr/dashboard: Remove useless code

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #23948 from libingyang-zte/master
Xie Xingguo [Thu, 6 Sep 2018 04:10:20 +0000 (12:10 +0800)]
Merge pull request #23948 from libingyang-zte/master

doc: Fix Spelling Error of Radosgw

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #23947 from tchaikov/wip-test-msgr-include
Kefu Chai [Thu, 6 Sep 2018 02:00:47 +0000 (10:00 +0800)]
Merge pull request #23947 from tchaikov/wip-test-msgr-include

test/msgr: add missing #include

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
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 agodoc: Fix Spelling Error of Radosgw 23948/head
李丙洋 10208981 [Thu, 6 Sep 2018 00:43:06 +0000 (08:43 +0800)]
doc: Fix Spelling Error of Radosgw

Signed-off-by: Li Bingyang <li.bingyang1@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 agotest/msgr: add missing #include 23947/head
Kefu Chai [Thu, 6 Sep 2018 00:23:08 +0000 (08:23 +0800)]
test/msgr: add missing #include

it's a regression introduced by #23930

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoqa/tasks: update mirror link for maven, the original mirror no longer exists 23944/head
Vasu Kulkarni [Thu, 6 Sep 2018 00:08:24 +0000 (17:08 -0700)]
qa/tasks: update mirror link for maven, the original mirror no longer exists

Signed-off-by: Vasu Kulkarni <vasu@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 agorgw: RGWAsyncPutSystemObjAttrs does not access coroutine memory 23920/head
Casey Bodley [Tue, 4 Sep 2018 20:50:22 +0000 (16:50 -0400)]
rgw: RGWAsyncPutSystemObjAttrs does not access coroutine memory

also exposes optional objv_tracker to RGWSimpleRadosWriteAttrsCR

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: RGWAsyncPutSystemObj does not access coroutine memory
Casey Bodley [Tue, 4 Sep 2018 20:33:48 +0000 (16:33 -0400)]
rgw: RGWAsyncPutSystemObj does not access coroutine memory

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: RGWAsyncGetSystemObj does not access coroutine memory
Casey Bodley [Tue, 4 Sep 2018 20:14:18 +0000 (16:14 -0400)]
rgw: RGWAsyncGetSystemObj does not access coroutine memory

now reads the buffer/attrs into local memory, and calling coroutines
copy out the result during request_complete()

Fixes: http://tracker.ceph.com/issues/35543
Signed-off-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 agomgr/dashboard: Remove useless code 23911/head
Volker Theile [Tue, 4 Sep 2018 14:22:26 +0000 (16:22 +0200)]
mgr/dashboard: Remove useless code

Signed-off-by: Volker Theile <vtheile@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>