Commit Graph

101435 Commits

Author SHA1 Message Date
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
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
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
Patrick Seidensal
6566a2c4c5 mgr/dashboard: migrate E2E crushmap to async/await
Needed to adapt the backend to return the type of the tree nodes as the
previous selector did not work reliably.

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
bdaf0a89f2 mgr/dashboard: migrate E2E hosts 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
fa959e1dd8 mgr/dashboard: migrate E2E logs 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
5de247e6a5 mgr/dashboard: migrate E2E mgr modules 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
7ec75da350 mgr/dashboard: migrate E2E monitors 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
8c306b0507 mgr/dashboard: migrate E2E osds 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
3bc726f0c3 mgr/dashboard: migrate E2E filesystems 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
3fab3e80a2 mgr/dashboard: migrate E2E nfs 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
c97d960ba9 mgr/dashboard: migrate E2E daemons 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
ec2d74132a mgr/dashboard: migrate E2E rgw-users 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
4511bf17c9 mgr/dashboard: migrate E2E buckets 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
f1955d6d55 mgr/dashboard: migrate E2E Helper 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
d0ad4df3df mgr/dashboard: run feature toggle service outside of Angular zone
to prevent Proctator from hanging indefinitely when testing pages where
the feature toggles are retrieved.

Fixes: mgr/dashboard: Switch to async/await for E2E tests

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-08-28 09:38:48 +02:00
Patrick Seidensal
be3d0c0fa3 mgr/dashboard: replace E2E test moveClick with clickCheckbox
Ceph Dashboard replaces the original checkbox with a fancy replacement
using the pseudo selector "::before" inside the <label> tag. When the
fancy replacement checkbox is clicked, it actually triggers a click on
the label of the checkbox. `clickCheckbox` does the same.

Removed `moveClick` as it was used to perform an action that the user
would not be able to perform, namely clicking on the checkbox instead of
the checkboxes' label. It was also used for cases where it was not
necessary to be used for, hence the replacement `clickCheckbox` has been
introduced. It checks if the argument passed to it is of type `checkbox`
or `label`. If it is of type `label`, the label will be clicked. If it
is of type `checkbox`, the corresponding `label` is determined and
clicked. This replaces the old implementation with a solution that has
an easy to understand purpose. It also prevents every false application.

This method is designed to be used on all checkboxes of Ceph Dashboard.

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
a69a804e59 mgr/dashboard: migrate E2E pools 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
35b038b7f9 mgr/dashboard: prepare PageHelper to migrate pools
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
6e5398f9ef mgr/dashboard: disable selenium promise manager
and migrate `protractor.conf.js` to use 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
Nathan Cutler
cde6489691
Merge pull request #29889 from smithfarm/wip-clay-typo-fwdport
doc/rados: Correcting some typos in the clay code documentation

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-08-28 09:32:15 +02:00
Kefu Chai
2f522b22de crimson/net/Socket: adapt to seastar v2 api
variadic futures is deprecated in seastar api v2, so let's use the new
variant.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-28 14:46:43 +08:00
Kefu Chai
9d0ff5b3b9 crimson/net/ProtocolV2: include fmt/chrono.h if fmt version >= 6.0
* check libfmt version instead of the exisistence of chrono.h, as
  libfmt merged fmt/time.h into fmt/chrono.h since v 6.0, while in
  libfmt v5.3, fmt/chrono.h did not provide all the necessary bits
  for fmt::to_format(..., const tm&). see also
  a939c75956
  and https://github.com/fmtlib/fmt/blob/master/ChangeLog.rst
* use fmt API instead of libc API for getting `localtime()`, it's
  more C++ friendly than plain `localtime_r()`

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-28 14:46:43 +08:00
Mykola Golub
a7d88133d5
Merge pull request #29858 from dillaman/wip-41409
test/librbd: set nbd timeout due to newer kernels defaulting it on

Reviewed-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-08-28 08:19:25 +03:00
Gregory Farnum
e81ef76cae
Merge pull request #29932 from smithfarm/wip-doc-layout-fwdport
doc: fix typo in doc/radosgw/layout.rst

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-08-27 20:18:44 -07:00
Kefu Chai
101cc1fb51 seastar: pick up latest changes
* v2 api: remove variadic futures. let's be in sync with upstream.
* warn if the returned future is ignored. this helps us to catch
  bugs and to improve the readability of the code -- we need to
  explicitly ignore a future if we want to. and ideally, we should
  document the reason why a future is ignored.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-28 11:08:33 +08:00
Patrick Donnelly
18a41277fb
Merge PR #28819 into master
* refs/pull/28819/head:
	doc/man/8/monmaptool: document the `--addv` argument.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-08-27 15:57:44 -07:00