]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoceph-volume: systemd fix typo in log message 30497/head
Manu Zurmühl [Fri, 20 Sep 2019 14:47:22 +0000 (16:47 +0200)]
ceph-volume: systemd fix typo in log message

Fixes: https://tracker.ceph.com/issues/41942
Signed-off-by: Manu Zurmühl <m.zurmuehl@heinlein-support.de>
5 years agoMerge pull request #30484 from trociny/wip-handle_start_replay_interrupted
Jason Dillaman [Fri, 20 Sep 2019 11:55:00 +0000 (07:55 -0400)]
Merge pull request #30484 from trociny/wip-handle_start_replay_interrupted

rbd-mirror: potential nullptr dereference in ImageReplayer::handle_start_replay

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agomgr/dashboard Adds multiple selection in osd table (#29662)
Lenz Grimmer [Fri, 20 Sep 2019 09:21:28 +0000 (09:21 +0000)]
mgr/dashboard Adds multiple selection in osd table (#29662)

mgr/dashboard Adds multiple selection in osd table

Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #30438 from dillaman/wip-41833
Mykola Golub [Fri, 20 Sep 2019 08:59:27 +0000 (11:59 +0300)]
Merge pull request #30438 from dillaman/wip-41833

cls/rbd: sanitize entity instance messenger version type

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agorbd-mirror: potential nullptr dereference in ImageReplayer::handle_start_replay 30484/head
Mykola Golub [Fri, 20 Sep 2019 08:25:01 +0000 (09:25 +0100)]
rbd-mirror: potential nullptr dereference in ImageReplayer::handle_start_replay

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #30474 from tchaikov/wip-discard-future
Kefu Chai [Fri, 20 Sep 2019 02:51:54 +0000 (10:51 +0800)]
Merge pull request #30474 from tchaikov/wip-discard-future

crimson: run in foreground if possible, silence warnings

Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agoMerge pull request #28971 from yuvalif/wip-yuval-pubsub-api2
Yuval Lifshitz [Thu, 19 Sep 2019 22:35:02 +0000 (01:35 +0300)]
Merge pull request #28971 from yuvalif/wip-yuval-pubsub-api2

rgw/pubsub: add S3 compliant API to master zone

5 years agoMerge pull request #30101 from rishabh-d-dave/cv-minor
Alfredo Deza [Thu, 19 Sep 2019 19:10:49 +0000 (15:10 -0400)]
Merge pull request #30101 from rishabh-d-dave/cv-minor

ceph-volume: api/lvm: check if list of LVs is empty

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge pull request #19020 from zhangsw/feature-rgw-bucketsync-api
Casey Bodley [Thu, 19 Sep 2019 18:33:47 +0000 (14:33 -0400)]
Merge pull request #19020 from zhangsw/feature-rgw-bucketsync-api

rgw: add admin rest api for bucket sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29637 from liuchang0812/rgw-es7
Casey Bodley [Thu, 19 Sep 2019 18:24:47 +0000 (14:24 -0400)]
Merge pull request #29637 from liuchang0812/rgw-es7

rgw: sync with elastic search v7

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #29897 from tianshan/fix_list_start_with_null_marker
Casey Bodley [Thu, 19 Sep 2019 18:23:31 +0000 (14:23 -0400)]
Merge pull request #29897 from tianshan/fix_list_start_with_null_marker

rgw: fix list versions starts with version_id=null

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29909 from cbodley/wip-40935
Casey Bodley [Thu, 19 Sep 2019 18:22:18 +0000 (14:22 -0400)]
Merge pull request #29909 from cbodley/wip-40935

rgw: fix default storage class for get_compression_type

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #30127 from zhangsw/rgw-fix-adminuser
Casey Bodley [Thu, 19 Sep 2019 18:21:37 +0000 (14:21 -0400)]
Merge pull request #30127 from zhangsw/rgw-fix-adminuser

rgw: add missing admin property when sync user info.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30163 from zhangsw/feature-rgw-opslog-transid
Casey Bodley [Thu, 19 Sep 2019 18:20:50 +0000 (14:20 -0400)]
Merge pull request #30163 from zhangsw/feature-rgw-opslog-transid

rgw: add transaction id to ops log.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30175 from tianshan/improve-data-sync-retry
Casey Bodley [Thu, 19 Sep 2019 18:18:59 +0000 (14:18 -0400)]
Merge pull request #30175 from tianshan/improve-data-sync-retry

rgw: improve data sync restart after failure

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30189 from linuxbox2/wip-rgw-ss3lite
Casey Bodley [Thu, 19 Sep 2019 18:18:14 +0000 (14:18 -0400)]
Merge pull request #30189 from linuxbox2/wip-rgw-ss3lite

rgw: crypt: permit RGW-AUTO/default with SSE-S3 headers

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30194 from vumrao/wip-vumrao-41589
Casey Bodley [Thu, 19 Sep 2019 18:17:35 +0000 (14:17 -0400)]
Merge pull request #30194 from vumrao/wip-vumrao-41589

radosgw-admin: add --uid check in bucket list command

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoMerge pull request #30332 from linuxbox2/wip-ldap-denied
Casey Bodley [Thu, 19 Sep 2019 18:16:29 +0000 (14:16 -0400)]
Merge pull request #30332 from linuxbox2/wip-ldap-denied

rgw: ldap auth: S3 auth failure should return InvalidAccessKeyId

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #30384 from ZVampirEM77/bucket-create-time
Casey Bodley [Thu, 19 Sep 2019 18:15:33 +0000 (14:15 -0400)]
Merge pull request #30384 from ZVampirEM77/bucket-create-time

rgw: add creation time information into bucket stats

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29680 from liuchang0812/s3-lock-bugfix
Abhishek L [Thu, 19 Sep 2019 17:41:00 +0000 (19:41 +0200)]
Merge pull request #29680 from liuchang0812/s3-lock-bugfix

rgw: DefaultRetention requires either Days or Years

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #30451 from ajarr/fix-41903
Venky Shankar [Thu, 19 Sep 2019 13:28:32 +0000 (18:58 +0530)]
Merge pull request #30451 from ajarr/fix-41903

mgr/volumes: return string type to ceph-manager

5 years agomgr/dashboard: Add smartctl data as an details tab of an OSD (#30324)
Lenz Grimmer [Thu, 19 Sep 2019 12:48:51 +0000 (12:48 +0000)]
mgr/dashboard: Add smartctl data as an details tab of an OSD (#30324)

mgr/dashboard: Add smartctl data as an details tab of an OSD

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agocrimson/osd: suppress warnings about unused future<> return values 30474/head
Samuel Just [Wed, 18 Sep 2019 19:17:56 +0000 (12:17 -0700)]
crimson/osd: suppress warnings about unused future<> return values

These are dropped on purpose, suppress warnings.

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agocrimson/osd: ShardServices::send_pg_temp() returns future
Kefu Chai [Thu, 19 Sep 2019 10:11:31 +0000 (18:11 +0800)]
crimson/osd: ShardServices::send_pg_temp() returns future

it should not run in background unless necessary.

please note, we don't have a caller of this method yet.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: evict object state in foreground
Kefu Chai [Thu, 19 Sep 2019 09:52:35 +0000 (17:52 +0800)]
crimson/osd: evict object state in foreground

when doing error handling, we need to make sure the stale object state
is evicted before we return.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: add_peer() in parallel
Kefu Chai [Thu, 19 Sep 2019 09:31:22 +0000 (17:31 +0800)]
crimson/osd: add_peer() in parallel

we should not add peers in background, and we can do this in parallel!

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: Heartbeat::add_reporter_peers() returns future
Kefu Chai [Thu, 19 Sep 2019 08:51:19 +0000 (16:51 +0800)]
crimson/osd: Heartbeat::add_reporter_peers() returns future

the sole caller `Heartbeat::update_peers()` also returns future, so
there is no reason that `add_reporter_peers()` runs in background.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: fix the order in OSD::update_heartbeat_peers()
Kefu Chai [Thu, 19 Sep 2019 08:10:54 +0000 (16:10 +0800)]
crimson/osd: fix the order in OSD::update_heartbeat_peers()

before this chance, we do following things in background and in
parallel:

* add peers from pg map
* and peers from whole osdmap
* remove dead peers

but we should prioritize the peer candidates, apparently, the ones from
pgmap should have higher priority. as they are more likely to be used in
cluser and they are more important to current OSD, as they serve the
same set of PGs.

so we need to do these things in a proper order:

1. add peers from pg map
2. and peers from whole osdmap
3. remove dead peers

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd/heartbeat: avoid racing when connecting to peer
Kefu Chai [Thu, 19 Sep 2019 08:06:05 +0000 (16:06 +0800)]
crimson/osd/heartbeat: avoid racing when connecting to peer

before this change, we could initialize connections to newly added peers
in parallel repeatly, if an OSD is listed in up/acting of multiple PGs
served by current OSD.

after this change, we try to add the peer to `Heartbeat.peers` first,
and then try to connect to it with the hb front/back addresses, to avoid
potential repeatly connecting to peer.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30270 from ricardoasmarques/wip-41727
Ricardo Dias [Thu, 19 Sep 2019 10:08:48 +0000 (11:08 +0100)]
Merge pull request #30270 from ricardoasmarques/wip-41727

mgr/dashboard: Check if `num_sessions` is available

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agomgr/volumes: return string type to ceph-manager 30451/head
Venky Shankar [Tue, 17 Sep 2019 19:01:59 +0000 (15:01 -0400)]
mgr/volumes: return string type to ceph-manager

The 'volumes' ceph-mgr module returns a byte type instead of a string
type as the stdout result of commands, `fs subvolume getpath` and
`fs subvolumegroup getpath` to the ceph-mgr. This causes the commands
to hang and the ceph-mgr to utilize 100% CPU. Fix the 'volumes'
ceph-mgr module to return string type to ceph-mgr as the stdout
result of the commands.

Introduced-by: 3d63cd947f55a8508f972ee249ea6a04836429ae
Fixes: https://tracker.ceph.com/issues/41903
Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agocrimson/osd: do not cluster_msgr.set_myaddrs() in background
Kefu Chai [Thu, 19 Sep 2019 08:26:56 +0000 (16:26 +0800)]
crimson/osd: do not cluster_msgr.set_myaddrs() in background

we should do the initialization in foreground

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/net: avoid warning about signed comparison with enum classes
Samuel Just [Wed, 18 Sep 2019 19:17:25 +0000 (12:17 -0700)]
crimson/net: avoid warning about signed comparison with enum classes

Signed-off-by: Samuel Just <sjust@redhat.com>
5 years agoMerge pull request #30410 from tchaikov/wip-debian-g++
Kefu Chai [Thu, 19 Sep 2019 02:02:02 +0000 (10:02 +0800)]
Merge pull request #30410 from tchaikov/wip-debian-g++

debian/control: Build-Depends on g++

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
5 years agoMerge pull request #30405 from p-se/wip-pna-ubuntu-disco-deps
Kefu Chai [Thu, 19 Sep 2019 02:01:07 +0000 (10:01 +0800)]
Merge pull request #30405 from p-se/wip-pna-ubuntu-disco-deps

install-deps.sh: add support for Ubuntu Disco Dingo

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30453 from tchaikov/wip-doc-crimson
Kefu Chai [Thu, 19 Sep 2019 01:22:19 +0000 (09:22 +0800)]
Merge pull request #30453 from tchaikov/wip-doc-crimson

doc/dev/crimson: transpose options of compare.py

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agoMerge pull request #30440 from dzafman/wip-41900
David Zafman [Wed, 18 Sep 2019 16:18:46 +0000 (09:18 -0700)]
Merge pull request #30440 from dzafman/wip-41900

Revert "common: default pg_autoscale_mode=on for new pools"

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30458 from tchaikov/wip-crimson-cbt-test
Kefu Chai [Wed, 18 Sep 2019 15:47:59 +0000 (23:47 +0800)]
Merge pull request #30458 from tchaikov/wip-crimson-cbt-test

test/crimson: lower the bar for cbt test

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agomgr/dashboard Adds multiple selection to osd table 29662/head
Pooja [Fri, 30 Aug 2019 14:13:20 +0000 (16:13 +0200)]
mgr/dashboard Adds multiple selection to osd table

Fixes: https://tracker.ceph.com/issues/38091
Signed-off-by: Pooja <pooja.gautam@ts.fujitsu.com>
5 years agoMerge pull request #30433 from tchaikov/wip-crimson-pgls
Kefu Chai [Wed, 18 Sep 2019 15:38:03 +0000 (23:38 +0800)]
Merge pull request #30433 from tchaikov/wip-crimson-pgls

crimson/osd: add pgls support

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocrimson/osd: add pgls_filter support 30433/head
Kefu Chai [Tue, 17 Sep 2019 16:13:27 +0000 (00:13 +0800)]
crimson/osd: add pgls_filter support

it's modeled after pgnls_filter. and use seastar::map_reduce() for
filtering the objects into the response.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: return hobject_t from pgls_filter()
Kefu Chai [Tue, 17 Sep 2019 16:10:19 +0000 (00:10 +0800)]
crimson/osd: return hobject_t from pgls_filter()

so we can use it as the mapper function in seastar::map_reduce().

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: add pgls support
Kefu Chai [Wed, 18 Sep 2019 14:57:07 +0000 (22:57 +0800)]
crimson/osd: add pgls support

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: handle pg ops with do_pg_ops()
Kefu Chai [Wed, 18 Sep 2019 14:54:37 +0000 (22:54 +0800)]
crimson/osd: handle pg ops with do_pg_ops()

currently, OpsExecuter tries to load the object info for all ops to be
executed, but the PG ops do not require the existence of object
specified by op. so we need to specialize for them.

in this change,

* `OpsExecuter::execute_pg_op()` is added to handle pg ops without
  loading object info first.
* `pgnls` and `pgnls_filter` are handled by
  `OpsExecuter::execute_pg_op()`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd/OpsExecuter: pass nspace in msg to do_pg_op()
Kefu Chai [Tue, 17 Sep 2019 14:25:46 +0000 (22:25 +0800)]
crimson/osd/OpsExecuter: pass nspace in msg to do_pg_op()

as pg ops should not require the object info, as there is chance that
the object specified in pg ops does not exist at all.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd/OpsExecuter: s/do_osd_op/execute_osd_op/
Kefu Chai [Tue, 17 Sep 2019 14:22:02 +0000 (22:22 +0800)]
crimson/osd/OpsExecuter: s/do_osd_op/execute_osd_op/

will add execute_pg_op() for performing pg specific ops, which do not
need the object state.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agotest/crimson: lower the bar for cbt test 30458/head
Kefu Chai [Wed, 18 Sep 2019 14:26:47 +0000 (22:26 +0800)]
test/crimson: lower the bar for cbt test

sometimes we have

13:27:59 - WARNING  - cbt      -prefill/incerta08.front.sepia.ceph.com/0: iops_stddev: (or (less) (near 0.05)):: 13.0/9.53939  => rejected

i think it's acceptable

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agogithub: add "jenkins test crimson perf" to triggers doc
Kefu Chai [Wed, 18 Sep 2019 14:24:04 +0000 (22:24 +0800)]
github: add "jenkins test crimson perf" to triggers doc

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocls/rbd: sanitize entity instance messenger version type 30438/head
Jason Dillaman [Tue, 17 Sep 2019 19:49:48 +0000 (15:49 -0400)]
cls/rbd: sanitize entity instance messenger version type

The entity_addr_t::type field does not uniquely identify the connection
and might switch back and forth between LEGACY, V2, and ALL depending on
the client, the OSD, and the OSD map feature bits. Therefore, always
fix the entity address type to ANY prior to any comparisons.

Fixes: https://tracker.ceph.com/issues/41833
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #30452 from idryomov/wip-krbd-discard-direct
Ilya Dryomov [Wed, 18 Sep 2019 12:53:43 +0000 (14:53 +0200)]
Merge pull request #30452 from idryomov/wip-krbd-discard-direct

qa: avoid page cache for krbd discard round off tests

Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #30386 from tchaikov/wip-run_tox.sh-cleanup
Kefu Chai [Wed, 18 Sep 2019 12:11:23 +0000 (20:11 +0800)]
Merge pull request #30386 from tchaikov/wip-run_tox.sh-cleanup

script/run_tox.sh: remove unused code

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #29734 from hselin/rados_bench_rand_read
Kefu Chai [Wed, 18 Sep 2019 11:42:23 +0000 (19:42 +0800)]
Merge pull request #29734 from hselin/rados_bench_rand_read

tools/rados: use num ops instead of num objs for tracking outstanding IO

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #29767 from votdev/issue_41314
Laura Paduano [Wed, 18 Sep 2019 09:40:45 +0000 (11:40 +0200)]
Merge pull request #29767 from votdev/issue_41314

mgr/dashboard: Editing RGW bucket fails because of name is already in use

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agodoc/dev/crimson: transpose options of compare.py 30453/head
Kefu Chai [Wed, 18 Sep 2019 09:15:24 +0000 (17:15 +0800)]
doc/dev/crimson: transpose options of compare.py

they were `-a baseline -b test` before this change, and they should be
`-a test -b baseline`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30313 from cyx1231st/wip-seastar-msgr-test-racing-crimson
Kefu Chai [Wed, 18 Sep 2019 09:08:12 +0000 (17:08 +0800)]
Merge pull request #30313 from cyx1231st/wip-seastar-msgr-test-racing-crimson

crimson/net: v2 racing tests, stall tests and bug fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/net: log out_q size when execute_ready() 30313/head
Yingxin Cheng [Mon, 16 Sep 2019 06:17:30 +0000 (14:17 +0800)]
crimson/net: log out_q size when execute_ready()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/net: set exit_open atomically with write_dispatching
Yingxin Cheng [Mon, 16 Sep 2019 03:54:39 +0000 (11:54 +0800)]
crimson/net: set exit_open atomically with write_dispatching

exit_open should be set atomically with state checks and
write_dispatching changes, or there would be chances to be blocked
forever by exit_open.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: add timeout feature for blockers to fail
Yingxin Cheng [Thu, 12 Sep 2019 07:17:21 +0000 (15:17 +0800)]
test/crimson: add timeout feature for blockers to fail

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: improve loggings for test operations
Yingxin Cheng [Thu, 12 Sep 2019 02:08:19 +0000 (10:08 +0800)]
test/crimson: improve loggings for test operations

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/net: chain non-discardable futures
Yingxin Cheng [Wed, 11 Sep 2019 06:27:53 +0000 (14:27 +0800)]
crimson/net: chain non-discardable futures

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/net: discard and add note to discardable futures
Yingxin Cheng [Wed, 11 Sep 2019 06:24:48 +0000 (14:24 +0800)]
crimson/net: discard and add note to discardable futures

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/net: discard future returned by close()
Yingxin Cheng [Wed, 11 Sep 2019 06:09:45 +0000 (14:09 +0800)]
crimson/net: discard future returned by close()

It's OK to discard the returned future of Connection::close() because
Messenger::shutdown() will wait for all connections closed.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/net: explicitly discard future from with_gate()
Yingxin Cheng [Wed, 11 Sep 2019 05:51:24 +0000 (13:51 +0800)]
crimson/net: explicitly discard future from with_gate()

We are using with_gate() to wrap a slow operation when we want to start
it but don't want/need to wait it to be finished in the same function.
In this case, the future returned from with_gate() is discarded, and we
need to make sure there is another continuation responsible to waiting
for the gate closed.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: test connection stall cases for v2
Yingxin Cheng [Wed, 11 Sep 2019 01:44:43 +0000 (09:44 +0800)]
test/crimson: test connection stall cases for v2

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: implement STALL action for breakpoint
Yingxin Cheng [Wed, 11 Sep 2019 01:39:27 +0000 (09:39 +0800)]
test/crimson: implement STALL action for breakpoint

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: test connect-reconnect racing cases for v2
Yingxin Cheng [Wed, 11 Sep 2019 01:46:22 +0000 (09:46 +0800)]
test/crimson: test connect-reconnect racing cases for v2

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/net: always dispatch accept when replaced/accepted
Yingxin Cheng [Fri, 6 Sep 2019 04:47:32 +0000 (12:47 +0800)]
crimson/net: always dispatch accept when replaced/accepted

Fix issues of missing dispatches of accept event during connection
racing.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: test connect racing cases for v2
Yingxin Cheng [Fri, 6 Sep 2019 03:44:45 +0000 (11:44 +0800)]
test/crimson: test connect racing cases for v2

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: fix tests with the new ESTABLISHING state
Yingxin Cheng [Fri, 6 Sep 2019 03:42:48 +0000 (11:42 +0800)]
test/crimson: fix tests with the new ESTABLISHING state

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/net: add ESTABLISHING state
Yingxin Cheng [Fri, 6 Sep 2019 03:31:06 +0000 (11:31 +0800)]
crimson/net: add ESTABLISHING state

With the new ESTABLISHING state, connection lookup and acceptance can be
atomic, solving the issues related to racing connect.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: test reconnect racing cases for v2
Yingxin Cheng [Fri, 6 Sep 2019 03:01:16 +0000 (11:01 +0800)]
test/crimson: test reconnect racing cases for v2

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: implement BLOCK action for breakpoint
Yingxin Cheng [Fri, 6 Sep 2019 02:56:41 +0000 (10:56 +0800)]
test/crimson: implement BLOCK action for breakpoint

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: implement different ways to wait in tests
Yingxin Cheng [Fri, 6 Sep 2019 02:46:47 +0000 (10:46 +0800)]
test/crimson: implement different ways to wait in tests

wait_replaced(count): wait for connection replaced;
wait_established(): wait for all pending messages sent and received;

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: log intercepted breakpoint with counter
Yingxin Cheng [Fri, 6 Sep 2019 02:32:24 +0000 (10:32 +0800)]
test/crimson: log intercepted breakpoint with counter

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/net: improve loggings related to state change
Yingxin Cheng [Fri, 6 Sep 2019 02:23:34 +0000 (10:23 +0800)]
crimson/net: improve loggings related to state change

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/net: always validate state when switch to another
Yingxin Cheng [Fri, 6 Sep 2019 01:58:01 +0000 (09:58 +0800)]
crimson/net: always validate state when switch to another

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: use bp_type_t for breakpoint type
Yingxin Cheng [Fri, 6 Sep 2019 01:41:59 +0000 (09:41 +0800)]
test/crimson: use bp_type_t for breakpoint type

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agotest/crimson: don't send msg from lossy server
Yingxin Cheng [Wed, 11 Sep 2019 07:00:21 +0000 (15:00 +0800)]
test/crimson: don't send msg from lossy server

It is possible to lose message at server side due to lossy policy,
causing unit test blocked and waiting for lost replies.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agocrimson/net: add SocketConnection::peer_wins()
Yingxin Cheng [Thu, 5 Sep 2019 08:36:32 +0000 (16:36 +0800)]
crimson/net: add SocketConnection::peer_wins()

Also expose Connection::peer_wins() to unit tests.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
5 years agoRevert "common: default pg_autoscale_mode=on for new pools" 30440/head
David Zafman [Tue, 17 Sep 2019 21:40:57 +0000 (14:40 -0700)]
Revert "common: default pg_autoscale_mode=on for new pools"

This reverts commit 91e4fc24e785a25884125df6762ab2304bf8908b.

Fixes: https://tracker.ceph.com/issues/41900
Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agoqa: avoid page cache for krbd discard round off tests 30452/head
Ilya Dryomov [Tue, 17 Sep 2019 16:55:18 +0000 (18:55 +0200)]
qa: avoid page cache for krbd discard round off tests

rbd rounds off and ignores discards that are smaller than alloc_size,
but the page cache is invalidated according to the original offset and
length, before calling into the driver.  For a 512~4193792 discard, all
pages except for the first will be invalidated, but the first page may
remain cached after being partially zeroed out.  This results in an
inconsistency when alloc_size != 512.  E.g. for 64k:

                0       512     4k      64k             4M
                |       |       |       |               |
  page cache:   xxxxxxxx00000000xxxxxxxx0000000000000000
       RADOS:   xxxxxxxxxxxxxxxxxxxxxxxx0000000000000000

Given that these tests asserts on-disk state, we need to read directly
from disk.  krbd_discard_512b.t and krbd_zeroout.t are fine -- there is
no rounding there.

Fixes: https://tracker.ceph.com/issues/41753
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
5 years agoMerge pull request #29839 from hualongfeng/master
Casey Bodley [Tue, 17 Sep 2019 17:49:20 +0000 (13:49 -0400)]
Merge pull request #29839 from hualongfeng/master

doc/radosgw/admin:fix how to modify subuser info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30392 from zhangsw/rgw-cleanup-trimusage
Casey Bodley [Tue, 17 Sep 2019 16:37:37 +0000 (12:37 -0400)]
Merge pull request #30392 from zhangsw/rgw-cleanup-trimusage

rgw: change MAX_USAGE_TRIM_ENTRIES value from 128 to 1000.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30393 from tianshan/fix_data_sync_noent
Casey Bodley [Tue, 17 Sep 2019 16:33:49 +0000 (12:33 -0400)]
Merge pull request #30393 from tianshan/fix_data_sync_noent

rgw: fix data sync start delay if remote haven't init data_log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30381 from ajarr/fix-40689
Venky Shankar [Tue, 17 Sep 2019 16:23:49 +0000 (21:53 +0530)]
Merge pull request #30381 from ajarr/fix-40689

doc: add ceph fs volumes and subvolumes documentation

5 years agoMerge pull request #30053 from mxdInspur/fix_20190901
Jason Dillaman [Tue, 17 Sep 2019 15:17:23 +0000 (11:17 -0400)]
Merge pull request #30053 from mxdInspur/fix_20190901

librbd: adjust the else-if conditions in validate_striping()

5 years agoMerge pull request #30314 from Songweibin/wip-rbd-pybind
Jason Dillaman [Tue, 17 Sep 2019 15:16:50 +0000 (11:16 -0400)]
Merge pull request #30314 from Songweibin/wip-rbd-pybind

rbd/pybind: fix unsupported format character of %lx

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
5 years agoMerge pull request #30429 from smithfarm/wip-rn-14.2.4
Alfredo Deza [Tue, 17 Sep 2019 14:05:08 +0000 (10:05 -0400)]
Merge pull request #30429 from smithfarm/wip-rn-14.2.4

doc/releases: Ceph Nautilus v14.2.4 Release Notes

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agodoc/releases: Ceph Nautilus v14.2.4 Release Notes 30429/head
Nathan Cutler [Tue, 17 Sep 2019 13:00:05 +0000 (15:00 +0200)]
doc/releases: Ceph Nautilus v14.2.4 Release Notes

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #30193 from cbodley/wip-qa-s3test-website
Casey Bodley [Tue, 17 Sep 2019 12:50:49 +0000 (08:50 -0400)]
Merge pull request #30193 from cbodley/wip-qa-s3test-website

qa/rgw: add new rgw/website suite for static website tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30389 from batrick/i41835
Venky Shankar [Tue, 17 Sep 2019 12:31:22 +0000 (18:01 +0530)]
Merge pull request #30389 from batrick/i41835

mds: drive cap recall while dropping cache

5 years agoqa/rgw: rgw/website suite uses subdomain calling format 30193/head
Casey Bodley [Fri, 6 Sep 2019 19:08:29 +0000 (15:08 -0400)]
qa/rgw: rgw/website suite uses subdomain calling format

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agoqa/rgw: add new rgw/website suite for static website tests
Casey Bodley [Thu, 5 Sep 2019 19:54:10 +0000 (15:54 -0400)]
qa/rgw: add new rgw/website suite for static website tests

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agoqa/rgw: s3test tasks sets s3website_domain to match dns-s3website-name
Casey Bodley [Thu, 5 Sep 2019 19:52:15 +0000 (15:52 -0400)]
qa/rgw: s3test tasks sets s3website_domain to match dns-s3website-name

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agoqa/s3tests: use correct endpoint from rgw_server
Casey Bodley [Thu, 5 Sep 2019 19:51:16 +0000 (15:51 -0400)]
qa/s3tests: use correct endpoint from rgw_server

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agoqa/ragweed: use correct endpoint from rgw_server
Casey Bodley [Thu, 5 Sep 2019 19:50:26 +0000 (15:50 -0400)]
qa/ragweed: use correct endpoint from rgw_server

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agoqa/rgw: fix for extra_args in s3tests task
Casey Bodley [Thu, 5 Sep 2019 19:48:43 +0000 (15:48 -0400)]
qa/rgw: fix for extra_args in s3tests task

Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30218 from cbodley/wip-qa-rgw-barbican
Casey Bodley [Tue, 17 Sep 2019 12:17:30 +0000 (08:17 -0400)]
Merge pull request #30218 from cbodley/wip-qa-rgw-barbican

qa/rgw: add integration test for sse-kms with barbican

Reviewed-by: Ali Maredia <amaredia@redhat.com>
5 years agodoc: add ceph fs volumes and subvolumes documentation 30381/head
Ramana Raja [Fri, 13 Sep 2019 11:08:41 +0000 (16:38 +0530)]
doc: add ceph fs volumes and subvolumes documentation

Fixes: https://tracker.ceph.com/issues/40689
Signed-off-by: Ramana Raja <rraja@redhat.com>
5 years agomgr/dashboard: Improve workaround to redraw datatables (#30335)
Lenz Grimmer [Tue, 17 Sep 2019 08:48:34 +0000 (08:48 +0000)]
mgr/dashboard: Improve workaround to redraw datatables (#30335)

mgr/dashboard: Improve workaround to redraw datatables

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>