Commit Graph

102189 Commits

Author SHA1 Message Date
Patrick Seidensal
44068fc941 osd: add common smartctl output to JSON output
Enables consumers like the dashboard to provide the regular smartctl
output to users.

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-09-18 14:34:06 +02:00
Kefu Chai
14e73478b0
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>
2019-09-18 20:11:23 +08:00
Kefu Chai
374425dbbb
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>
2019-09-18 19:42:23 +08:00
Laura Paduano
b36d721c8a
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>
2019-09-18 11:40:45 +02:00
Kefu Chai
b694cf201f
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>
2019-09-18 17:08:12 +08:00
Yingxin Cheng
08681e1cea crimson/net: log out_q size when execute_ready()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
76b902b3ff 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>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
33e4ad49f3 test/crimson: add timeout feature for blockers to fail
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
e9fc2207ee test/crimson: improve loggings for test operations
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
7324f9bd6e crimson/net: chain non-discardable futures
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
5d0eff7818 crimson/net: discard and add note to discardable futures
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
ac48476fd1 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>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
16f2d75582 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>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
212120f244 test/crimson: test connection stall cases for v2
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
2d2ee4e5db test/crimson: implement STALL action for breakpoint
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
e3d4a67410 test/crimson: test connect-reconnect racing cases for v2
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
c0ed141d4d 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>
2019-09-18 12:32:31 +08:00
Yingxin Cheng
8463fbbdf2 test/crimson: test connect racing cases for v2
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:32:28 +08:00
Yingxin Cheng
00cc47817a test/crimson: fix tests with the new ESTABLISHING state
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:30:36 +08:00
Yingxin Cheng
4660615235 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>
2019-09-18 12:30:36 +08:00
Yingxin Cheng
3677af941a test/crimson: test reconnect racing cases for v2
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:30:14 +08:00
Yingxin Cheng
2145132040 test/crimson: implement BLOCK action for breakpoint
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:24:05 +08:00
Yingxin Cheng
2b83e18592 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>
2019-09-18 12:24:05 +08:00
Yingxin Cheng
2e052cf973 test/crimson: log intercepted breakpoint with counter
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:24:05 +08:00
Yingxin Cheng
c19890e159 crimson/net: improve loggings related to state change
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:24:05 +08:00
Yingxin Cheng
f059e2e603 crimson/net: always validate state when switch to another
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:24:05 +08:00
Yingxin Cheng
a79d09a377 test/crimson: use bp_type_t for breakpoint type
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:24:05 +08:00
Yingxin Cheng
75f35a5f50 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>
2019-09-18 12:24:05 +08:00
Yingxin Cheng
9ce9fb77e8 crimson/net: add SocketConnection::peer_wins()
Also expose Connection::peer_wins() to unit tests.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-09-18 12:22:09 +08:00
Casey Bodley
06cc5f4d3a
Merge pull request #29839 from hualongfeng/master
doc/radosgw/admin:fix how to modify subuser info

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 13:49:20 -04:00
Casey Bodley
35b0f5b715
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>
2019-09-17 12:37:37 -04:00
Casey Bodley
4bee76ba9c
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>
2019-09-17 12:33:49 -04:00
Venky Shankar
382b089dde
Merge pull request #30381 from ajarr/fix-40689
doc: add ceph fs volumes and subvolumes documentation
2019-09-17 21:53:49 +05:30
Jason Dillaman
f2bacb2791
Merge pull request #30053 from mxdInspur/fix_20190901
librbd: adjust the else-if conditions in validate_striping()
2019-09-17 11:17:23 -04:00
Jason Dillaman
9e773faa1c
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>
2019-09-17 11:16:50 -04:00
Alfredo Deza
712393daf3
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>
2019-09-17 10:05:08 -04:00
Nathan Cutler
aea2a97200 doc/releases: Ceph Nautilus v14.2.4 Release Notes
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-09-17 15:10:01 +02:00
Casey Bodley
a216ce69b3
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>
2019-09-17 08:50:49 -04:00
Venky Shankar
ecb2ab2f7e
Merge pull request #30389 from batrick/i41835
mds: drive cap recall while dropping cache
2019-09-17 18:01:22 +05:30
Casey Bodley
97f1be5d3a qa/rgw: rgw/website suite uses subdomain calling format
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:24:52 -04:00
Casey Bodley
bb56ac01c2 qa/rgw: add new rgw/website suite for static website tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:24:51 -04:00
Casey Bodley
71312246ad qa/rgw: s3test tasks sets s3website_domain to match dns-s3website-name
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:24:51 -04:00
Casey Bodley
7a84a00b6b qa/s3tests: use correct endpoint from rgw_server
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:22:21 -04:00
Casey Bodley
c9aac91b18 qa/ragweed: use correct endpoint from rgw_server
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:19:28 -04:00
Casey Bodley
1feca42f4c qa/rgw: fix for extra_args in s3tests task
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-09-17 08:19:28 -04:00
Casey Bodley
8c801f073d
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>
2019-09-17 08:17:30 -04:00
Ramana Raja
aebf75c9df doc: add ceph fs volumes and subvolumes documentation
Fixes: https://tracker.ceph.com/issues/40689
Signed-off-by: Ramana Raja <rraja@redhat.com>
2019-09-17 15:56:47 +05:30
Lenz Grimmer
526ff7165e
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>
2019-09-17 08:48:34 +00:00
Lenz Grimmer
32a6a4362c
mgr/dashboard: Firefox ngx-datatable performance issue (#30316)
mgr/dashboard: Firefox ngx-datatable performance issue

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-09-17 08:40:35 +00:00
Mykola Golub
261fab6465
Merge pull request #30351 from dillaman/wip-41780
rbd-mirror: cannot restore deferred deletion mirrored images

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-09-17 10:18:06 +03:00