Commit Graph

101469 Commits

Author SHA1 Message Date
Kefu Chai
a3d8833093 rgw/rgw_user: add [[maybe_unused]] for silencing -Wunused-variable warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-30 18:04:32 +08:00
Xie Xingguo
973e1312ea
Merge pull request #30022 from Yan-waller/wip-yanj-miscleanup
osd: misc cleanups

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-08-30 16:12:07 +08:00
Yan Jun
ce49112bbd osd: drop useless get_possibly_deleted_pool_pg_num
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2019-08-30 13:55:16 +08:00
Yan Jun
db681a7ef2 osd: no need to dump empty waiting_for_split
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2019-08-30 13:51:16 +08:00
Kefu Chai
f154153c5d
Merge pull request #29982 from falcon78921/wip-doc-41516
doc: updated ceph monitor config options

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-30 12:22:50 +08:00
James McClune
8d8cbabff4 doc: updated ceph monitor config options
Executed ceph-conf --dump-all on a freshly installed v14.2.2 (nautilus)
cluster. Compared the global defaults to the keys/values specified in
mon-config-ref.rst. Checked options.cc to make sure the obsolete keys
are no longer used.

Fixes: https://tracker.ceph.com/issues/41516
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-08-29 23:54:10 -04:00
Neha Ojha
1d5a1e0eb9
Merge pull request #29939 from majianpeng/bluestore-print-correctly-info
os/bluestore: print correctly info.

Reviewed By: Xie Xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-08-29 07:36:02 -07:00
Kefu Chai
26eb51fbbc
Merge pull request #30005 from wjwithagen/wjw-fix-vstart-mkdir
vstart.sh: Make sure mkdir succeeds

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-29 22:35:22 +08:00
Willem Jan Withagen
4f1c7815af vstart.sh: Make sure mkdir succeeds
Even in the case the full path was not created, make sure mkdir
does create the full path.

And while there replaced some `test ....` with `[ ... ]`
like in the remainder of the file.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2019-08-29 15:20:46 +02:00
Kefu Chai
48d6afb9e8
Merge pull request #29917 from tchaikov/wip-mon-always-on-modules
mgr/MgrMonitor: print pending.always_on_modules before updating it

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-08-29 17:31:54 +08:00
Kefu Chai
94b883911e
Merge pull request #29857 from dzafman/wip-41255
backfill_toofull seen on cluster where the most full OSD is at 1%

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-08-29 17:30:58 +08:00
Kefu Chai
5a5d417620
Merge pull request #29604 from votdev/python_cleanup
mgr/dashboard: Cleanup Python code

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-08-29 17:29:40 +08:00
Volker Theile
7d490c05d3
mgr/dashboard: Extract E2E wait calls into PageHelper (#29789)
mgr/dashboard: Extract E2E wait calls into PageHelper

Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-08-29 11:02:42 +02:00
Kefu Chai
fa4d8022bc
Merge pull request #29881 from tchaikov/wip-test-bufferlist
test/bufferlist.cc: encode/decode int64_t instead of long

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-08-29 09:24:56 +08:00
Brad Hubbard
bedd022fe2
Merge pull request #29916 from badone/wip-tracker-41518-grafana-server
qa/ceph-ansible: Disable dashboard

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-08-29 09:52:33 +10:00
Tiago Melo
89e1cba2a2 mgr/dashboard: Extract E2E wait calls into PageHelper
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-08-28 23:03:05 +00:00
Patrick Donnelly
229e3d5223
Merge PR #20160 into master
* refs/pull/20160/head:
	cephfs: Make mds-mds per message versioned

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-08-28 15:02:35 -07:00
Patrick Donnelly
cb51f3d817
Merge PR #29911 into master
* refs/pull/29911/head:
	qa: ignore RECENT_CRASH for multimds snapshot testing

Tested-by: Patrick Donnelly <pdonnell@redhat.com>
2019-08-28 13:44:33 -07:00
Ilya Dryomov
918fd28f88
Merge pull request #29966 from idryomov/wip-krbd-zero-after-overlap
qa: krbd_parent_overlap.t: fix read test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-08-28 20:34:04 +02:00
Abhishek L
6171399fde
Merge pull request #29967 from theanalyst/rgw/beast-endpoint-fix
rgw: asio: check the remote endpoint before processing requests

Reviewed-By: Casey Bodley <cbodley@redhat.com>
2019-08-28 17:33:24 +02:00
Ilya Dryomov
f47e953420 qa: krbd_parent_overlap.t: fix read test
It turns out this test has not been triggering the right code path for
a while now (krbd_parent_overlap.t was added just over a year ago, but
the original test goes back a few years).

To do its job it needs an empty clone with the overlap set to somewhere
in the middle of an object.  The test relied on shrinking for this, but
shrinking no longer fits the bill because a copyup is now performed for
the object with the overlap -- we never go to the parent after that.

Let's size the parent so that it ends in the middle of an object and
then grow an empty clone instead.  Also, while reading from page cache
does seem to trigger a read that straddles the overlap, it's not very
reliable, so supplement it with a direct read.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-08-28 17:07:07 +02:00
Nathan Cutler
9ec83c094c
Merge pull request #29948 from smithfarm/wip-ceph-backport-sh-doc
doc: script/ceph-backport.sh: add "Troubleshooting notes"

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2019-08-28 16:34:11 +02:00
Nathan Cutler
5fa672d878
Merge pull request #29950 from smithfarm/wip-bri-deep-scan-of-pr-desc
script/backport-resolve-issue: handle tracker URLs better

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-08-28 16:33:37 +02:00
Abhishek Lekshmanan
caa6531968
rgw: asio: check the remote endpoint before processing requests
`socket.remote_endpoint()` can throw exceptions corresponding to errors in the
`getpeername` syscall, make sure these are handled.

Fixes: CVE-2019-10222, https://tracker.ceph.com/issues/40018
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-08-28 15:56:12 +02:00
Casey Bodley
9a0740b0d1
Merge pull request #29815 from smanjara/wip-fix-bucket-link
rgw: fix missing tenant prefix in bucket name during bucket link

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2019-08-28 08:10:11 -04:00
Nathan Cutler
2c8e3a3688 script/backport-resolve-issue: handle tracker URLs better
Before this commit, backport-resolve-issue would blindly grab the first tracker
URL it saw in the GitHub PR description. With this commit, it examines all the
tracker URLs it sees in the PR description and uses the first one that
corresponds to an issue in the Redmine Backport tracker.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-08-28 13:41:01 +02:00
Volker Theile
7eac5cb3ac
mgr/dashboard: migrate e2e tests to async await (#29758)
mgr/dashboard: migrate e2e tests to async await

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-08-28 12:26:17 +02:00
Kefu Chai
218fa12f0e
Merge pull request #29942 from tchaikov/wip-bump-seastar
seastar: pick up latest changes and cleanups

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
2019-08-28 17:18:16 +08:00
Nathan Cutler
655d42bcc3 doc: script/ceph-backport.sh: add "Troubleshooting notes"
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-08-28 10:42:17 +02:00
Patrick Seidensal
70144d2119 mgr/dashboard: fix protractor.conf.js
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:40:41 +02:00
Patrick Seidensal
fc6605107e mgr/dashboard: set sensible implicitWaitTimeout
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:40:24 +02:00
Patrick Seidensal
982da4cff9 mgr/dashboard: fix issue in dashbboard test
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:49 +02:00
Patrick Seidensal
0a70094535 mgr/dashboard: prepend await before expect statements are used
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:49 +02:00
Patrick Seidensal
9c8fab6608 mgr/dashboard: fix issue E2E image with unclickable element
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:49 +02:00
Patrick Seidensal
54442c317a mgr/dashboard: refactoring E2E mirroring test
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:49 +02:00
Patrick Seidensal
a0abe1d51e mgr/dashboard: refatoring E2E page helper test
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:49 +02:00
Patrick Seidensal
3d27b645e7 mgr/dashboard: refactoring E2E iscsi test
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:49 +02:00
Patrick Seidensal
ac901bf4cf mgr/dashboard: refactoring Helper class to remove PageHelper instances
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
74cc1f8155 mgr/dashboard: refactoring E2E dashboard test
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
c498179a22 mgr/dashboard: reformat of protractor.conf.js
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
5581f8b252 mgr/dashboard: refactoring of references of classes to point to classes directly
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
fcdd09a135 mgr/dashboard: fix UnhandledPromiseRejectionWarning in RGW users
Fixes: https://tracker.ceph.com/issues/40693

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
b872719d76 mgr/dashboard: migrate E2E dashboards to async/await
Fixes: https://tracker.ceph.com/issues/40693

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
836da9beae mgr/dashboard: improve overall E2E stability of navigation
The `navigateTo` method will check if a table exists on the table it has
been used to navigate to and if so, wait for the data of the table to
be loaded.

Fixes: https://tracker.ceph.com/issues/41349

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
dc9084136f mgr/dashboard: migrate E2E user management tests
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
090c3222a5 mgr/dashboard: migrate E2E images to async/await
Fixes: https://tracker.ceph.com/issues/40693

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
50c40ea8f1 mgr/dashboard: migrate E2E iscsi to async/await
Fixes: https://tracker.ceph.com/issues/40693

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
cee3c694e8 mgr/dashboard: migrate E2E mirroring to async/await
Fixes: https://tracker.ceph.com/issues/40693

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
a348f88f49 mgr/dashboard: migrate E2E alerts to async/await
Fixes: https://tracker.ceph.com/issues/40693

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
d47160be15 mgr/dashboard: migrate E2E configuration to async/await
Fixes: https://tracker.ceph.com/issues/40693

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00