Commit Graph

101484 Commits

Author SHA1 Message Date
Ricardo Dias
2b6f521d36
Merge pull request #30001 from votdev/issue_41573
mgr/dashboard: A block-manager can not access the pool page
2019-08-30 14:08:39 +01:00
Casey Bodley
f12108117d
Merge pull request #28885 from Kriechi/fix-bucket-policy-spelling
docs: rgw: fix bucket operation spelling: ListBucketMultipartUploads

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-08-30 09:06:38 -04:00
Ricardo Dias
a906ca0a43
Merge pull request #29794 from votdev/improve_error_msg
mgr/dashboard: Improve RestClient error logging

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2019-08-30 12:37:56 +01:00
Ricardo Dias
47edb9a7f9
Merge pull request #29353 from votdev/issue_40981
mgr/dashboard: CephFS class issues with strings
2019-08-30 11:18:58 +01:00
Volker Theile
2f67798363
Merge pull request #29848 from rhcs-dashboard/fix-41358-master
mgr/dashboard: fix SAML input argument handling

Reviewed-by: Lenz Grimmer <LGrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-08-30 12:09:26 +02:00
Volker Theile
5bd311c5c4
mgr/dashboard: fix tox missing bits and add lint-fixer (#29802)
mgr/dashboard: fix tox missing bits and add lint-fixer

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-08-30 12:09:00 +02:00
Laura Paduano
d6d8af2d1e
Merge pull request #29993 from votdev/fix_pool_e2e
mgr/dashboard: Fix pool deletion e2e

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-30 11:59:41 +02:00
Volker Theile
205d0a31df
mgr/dashboard: access_control: add grafana scope read access t… (#29989)
mgr/dashboard: access_control: add grafana scope read access to *-manager roles

Reviewed-by: Lenz Grimmer <LGrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-08-30 11:23:35 +02:00
Volker Theile
32a5073806 mgr/dashboard: CephFS class issues with strings
Fixes: https://tracker.ceph.com/issues/40981

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-08-30 10:52:00 +02: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
Volker Theile
a973cb3486 mgr/dashboard: Fix pool deletion e2e
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-08-29 16:25:51 +02:00
Volker Theile
75e9d9a0f0 mgr/dashboard: A block-manager can not access the pool page
Fixes: https://tracker.ceph.com/issues/41573

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-08-29 15:45:54 +02: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
Ricardo Dias
ea4236550e
mgr/dashboard: access_control: add grafana scope read access to *-manager roles
Fixes: https://tracker.ceph.com/issues/41572

Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-08-29 10:28:36 +01: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