Commit Graph

101410 Commits

Author SHA1 Message Date
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
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
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
Kefu Chai
a9469f4b78
Merge pull request #29470 from liu-chunmei/ceph_seastar_cyan_store
crimson: futurized CyanStore's member functions and Collection

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-28 00:47:58 +08:00
Kefu Chai
e0d62124fb crimson/os/cyan_store: remove stale comment
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-28 00:03:53 +08:00
chunmei Liu
0fbedd538c crimson: add FuturizedCollection
we will need to talk to BlueStore, and currently `ceph::os::Collection`
only works with `CyanStore`, so a wrapper around `ceph::os::Collection`
is added. we can subclass it to adapt to CyanStore and to BlueStore.

the underlying concrete `FuturizedStore` classes are responsible to
cast `FuturizedCollection` to their own `Collection` type if they
want to access the interface not exposed by `FuturizedCollection`.

Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
2019-08-28 00:03:53 +08:00
Kefu Chai
6188e31791 crimson/os: s/try_emplace()/insert()/
avoid specifying the type of `map<>::value_type`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-28 00:03:53 +08:00
Kefu Chai
da7aa4c5e2 crimson: always use Collection::get_cid()
prepare for the futurized Collection, which will be an abstract
interface allowing us to talk to BlueStore with one of its concrete
subclass.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-28 00:03:53 +08:00
Kefu Chai
cb1c9b81f5 os/ObjectStore: fix typo in comments
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-27 22:55:59 +08:00
Kefu Chai
952b88b009 crimson/osd: lift continuation in PGMeta::load()
after making `open_collection()` return a future, we don't need to chain
the body of `PGMeta::load()` after `omap_get_values()`. instead we can
lift it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-27 22:55:59 +08:00
chunmei Liu
36ef2b4dec crimson: add futurized interfaces to CyanStore
Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
2019-08-27 22:55:57 +08:00
Mykola Golub
ad4782075b
Merge pull request #29853 from dillaman/wip-41411
test/cli-integration/rbd: fixed missing image and snap ids

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-08-27 16:27:20 +03:00
ypdai
3b8fe9aa96 doc: modify the wrong word "defails" to "details".
Signed-off-by: ypdai <self19900924@gmail.com>
(cherry picked from commit 8cefe3de78)
2019-08-27 15:22:21 +02:00
Yuval Lifshitz
9945a9c084
Merge pull request #29877 from yuvalif/pubsub_regression_issue2
rgw/pubsub: service reordering issue
2019-08-27 16:18:33 +03:00
Nathan Cutler
808d394beb
Merge pull request #29797 from smithfarm/wip-backport-resolve-issue
script: add backport-resolve-issue

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-08-27 15:14:01 +02:00
Nathan Cutler
91d62cf8fa
Merge pull request #29904 from smithfarm/wip-bci-resolve-parent
script/backport-create-issue: add --resolve-parent feature

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-08-27 15:07:51 +02:00
Kefu Chai
e0f1ed20b9
Merge pull request #29912 from tchaikov/wip-wheels-only-for-make-check
install-deps.sh: only prepare wheels for "make check"

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-08-27 20:49:01 +08:00
Nathan Cutler
70ebffca56 script: add backport-resolve-issue
This script processes GitHub backport PRs, checking for proper cross-linking
with a Redmine Backport tracker issue and, if a PR is merged and properly
cross-linked, it can optionally resolve the tracker issue and correctly
populate the "Target version" field.

The script takes a single positional argument, which is optional. If the
argument is an integer, it is assumed to be a GitHub backport PR ID (e.g. "28549").
In this mode ("single PR mode") the script processes a single GitHub backport
PR and terminates.

If the argument is not an integer, or is missing, it is assumed to be a
commit (SHA1 or tag) to start from. If no positional argument is given, it
defaults to the tag "BRI", which might have been added by the last run of the
script. This mode is called "scan merge commits mode".

In both modes, the script scans a local git repo, which is assumed to be
in the current working directory. In single PR mode, the script will work
only if the PR's merge commit is present in the current branch of the local
git repo. In scan merge commits mode, the script starts from the given SHA1
or tag, taking each merge commit in turn and attempting to obtain the GitHub
PR number for each.

For each GitHub PR, the script interactively displays all relevant information
(NOTE: this includes displaying the GitHub PR and Redmine backport issue in
web browser tabs!) and prompts the user for her preferred disposition.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-08-27 14:42:37 +02:00
Kefu Chai
b9bdd34d0a
Merge pull request #29790 from hjwsm1989/fix-unittest-osdmap
tests/osd: fix typo in unittest_osdmap

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-27 19:42:21 +08:00
Yuval Lifshitz
e91489f443 rgw/pubsub: service reordering issue
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2019-08-27 14:36:08 +03:00
Kefu Chai
ff631a19b4 install-deps.sh: only prepare wheels for "make check"
* move `for_make_check` to the beginning of script, as FreeBSD will also
  use this variable
* extract `preload_wheels_for_tox()` function out to improve readability
* call `preload_wheels_for_tox()` only if `for_make_check` is true

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-27 17:53:28 +08:00
Luca Castoro
046f5990c3 doc/man/8/monmaptool: document the --addv argument.
Fixes: http://tracker.ceph.com/issues/40568
Signed-off-by: Luca Castoro <luca.castoro@brightcomputing.com>
2019-08-27 17:47:13 +08:00
Kefu Chai
b0aec38341
Merge pull request #29090 from liewegas/wip-40792
mon/MonClient: ENXIO when sending command to down mon

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-27 17:34:13 +08:00
Kefu Chai
a08f4a30f9
Merge pull request #28177 from jecluis/wip-noreply-failures
mon: ensure prepare_failure() marks no_reply on op

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-08-27 17:32:54 +08:00
Nathan Cutler
e4d6312fa2 script/backport-create-issue: add --resolve-parent feature
When --resolve-parent is provided on the command line, the script
will check the status of backport issues for those parent issues
all of whose backport issues already exist. If all the backport
issues are in status "Resolved", the parent issue's status is set
to "Resolved" as well.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-08-27 11:22:46 +02:00
Kefu Chai
a342158bb7
Merge pull request #29862 from tchaikov/wip-41416
rgw,bluestore: fixes to address failures from check-generated.sh

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-08-27 17:16:41 +08:00