Commit Graph

84399 Commits

Author SHA1 Message Date
Neha Ojha
c5484e098e qa/suites: add minimal performance suite
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-03-28 17:36:55 -07:00
Casey Bodley
6b59fbfcc6
Merge pull request #21027 from cbodley/wip-qa-swift-force-branch
qa/tasks/swift: add support for the "force-branch" configurable.

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2018-03-26 14:27:46 -04:00
Nathan Cutler
b71eb01705
Merge pull request #19439 from chardan/jfw-wip-14363-normalize-rm
rgw, mon: normalize delete/remove in admin console (cleanup 22444)

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2018-03-26 15:35:40 +02:00
Lenz Grimmer
765b346aee
Merge pull request #21011 from tspmelo/wip-submit-btn
mgr/dashboard: Add submit button component

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-26 14:54:51 +02:00
Jos Collin
bf82cb2075
Merge pull request #21032 from simransinghal/fixtypo
rgw: Fix typo in comment

Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-03-26 17:22:38 +05:30
Kefu Chai
0754b797e1
Merge pull request #21020 from trociny/wip-vstart-no-mon-config
stop.sh: use --no-mon-config when trying to unmap rbd devices

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-26 19:33:56 +08:00
Xie Xingguo
4198558162
Merge pull request #21036 from xiexingguo/wip-wrong-tip
os/bluestore: s/bluefs_total/bluefs_free/

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2018-03-26 18:13:51 +08:00
Ricardo Dias
a392e612cc
Merge pull request #21007 from rjfd/wip-dashboard-fix-py3
mgr/dashboard: fix dashboard python 3 support

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-26 10:59:17 +01:00
Ricardo Dias
5867292162
Merge pull request #21006 from rjfd/wip-dashboard-fix-auth-py3
mgr/dashboard: fixed password generation in Auth controller

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-26 10:58:27 +01:00
Ricardo Dias
d5763de318
Merge pull request #20865 from sebastian-philipp/dashboard_v2_pool-create
mgr/dashboard: Add Pool-create to the backend

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-26 10:07:15 +01:00
xie xingguo
81c094b4a1 os/bluestore: s/bluefs_total/bluefs_free/
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-03-26 10:33:24 +08:00
simransinghal
f3b3bcfbc9 src: Fix typo
Replace "dont" with "don't". "Dont" is not same as "Do not" or "Don't".

Signed-off-by: Simran Singhal <singhalsimran0@gmail.com>
2018-03-25 18:50:23 +05:30
Nathan Cutler
235f211901
Merge pull request #21002 from smithfarm/wip-23437
build/ops: setup-virtualenv.sh: do not hardcode python binary

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-03-23 23:29:11 +01:00
Tiago Melo
03fa8585ef mgr/dashboard: Add submit button component
This component is to be used inside a form.

It will render a submit button with the given label.
The button will disabled itself and show a loading icon when the user clicks it,
usually initiating a request to the server, and it will stay in that state
until the request is finished.

To indicate that the request failed, returning the button to the enable state,
you need to insert an error in the form with the 'cdSubmitButton' key.

It will also check if the form is valid, when clicking the button, and will
focus on the first invalid input.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-03-23 16:40:29 +00:00
Radoslaw Zarzynski
c5859f25e6 qa/tasks/swift: add support for the "force-branch" configurable.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-03-23 12:40:05 -04:00
Nathan Cutler
f1936a2702
Merge pull request #21013 from dzafman/wip-remove-bc
test: Replace bc command with printf command

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-03-23 17:28:02 +01:00
Sebastian Wagner
cbee371958 mgr/dashboard: Add Teuthology test for /api/pool/_info
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 16:40:18 +01:00
Sebastian Wagner
dd18675e4f mgr/dashboard: Minor tweak to DashboardTestCase._request
Don't fall through silently.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 16:40:18 +01:00
Sebastian Wagner
623bc8b05f mgr/dashboard: Change crush_rule serialization of Pools from id to name
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 16:40:18 +01:00
Sebastian Wagner
f3300eed97 mgr/dashboard: Add pool/_info api endpoint to fill the create-pool dialog
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 16:40:18 +01:00
Sebastian Wagner
e6c1056ad5 mgr/dashboard: Add create() to Pool controller
Also:

* Added tests.
* Renamed `DashboardTest` to `PoolTest`.
* Added `delete()`.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 16:40:18 +01:00
Sebastian Wagner
4ea23726ef mgr/dashboard: Changed @RESTController.args_from_json
It now allows any keyword arguments. This is needed for ECP
and Pool creation.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 16:40:18 +01:00
Sebastian Wagner
a9767a2aa9 mgr/dashboard: Refactor send_command into CephService
* `CephService.send_command` is much easier to use.
* Refactored `CephFSClients.get` and `Dashboard.load_bufer`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 16:40:17 +01:00
Ricardo Dias
3c5f24a626
Merge pull request #21008 from trociny/wip-23430
vstart: set osd_pool_default_erasure_code_profile in initial ceph.conf

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-03-23 14:59:58 +00:00
Yuri Weinstein
6a5bab7dd4
Merge pull request #20981 from cbodley/wip-qa-fix-ssl
qa: fix overrides for openssl_keys task

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2018-03-23 06:55:10 -07:00
Casey Bodley
2a0bb28e20
Merge pull request #20841 from oritwas/wip-rgw-metadata
rgw: trim all spaces inside a metadata value

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2018-03-23 09:53:28 -04:00
Casey Bodley
6329d44301
Merge pull request #20842 from mkogan1/wip-rgw-23147
rgw: enable 'qlen' & 'qactive' performance counters

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-03-23 09:53:03 -04:00
Casey Bodley
f97159c31d
Merge pull request #20846 from theanalyst/rgw/fix-empty-stats
rgw: radosgw-admin abort early for user stats for empty uids

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-03-23 09:52:38 -04:00
Ricardo Dias
f21ed94d90
Merge pull request #21021 from sebastian-philipp/dashboard-auth-qa-fix
qa/tasks/mgr/dashboard: Fix login expires too soon

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-23 13:48:03 +00:00
Ricardo Dias
9a031bad0f
Merge pull request #20972 from ricardoasmarques/wip-dimless-binary-directive
mgr/dashboard: Add DimlessBinaryDirective

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-23 12:38:53 +00:00
Ricardo Dias
7a490ac6b4
Merge pull request #20971 from ricardoasmarques/wip-helper-component
mgr/dashboard: Add helper component

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-03-23 12:38:31 +00:00
Ricardo Marques
94c5a5e537 mgr/dashboard: Add helper component
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-03-23 11:13:44 +00:00
Nathan Cutler
de2f71ada5 tools: setup-virtualenv.sh: improve error message
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-23 11:34:53 +01:00
Nathan Cutler
2a93474f76 tools: setup-virtualenv.sh: add usage function and --help option
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-23 11:34:04 +01:00
Ricardo Dias
d101b33bc7 qa/tasks/mgr/dashboard: Fix login expires too soon
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-03-23 11:30:16 +01:00
Nathan Cutler
08099019e5 tools: setup-virtualenv.sh: check for mandatory argument
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-23 11:21:23 +01:00
Nathan Cutler
9f970f9cde build/ops: declare python version when calling setup-virtualenv.sh
This just makes the current Python 2.7 dependency explicit. Making
these statements optionally use Python 3 is left for later.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-23 11:21:23 +01:00
Nathan Cutler
a4fd5c42a9 tools: setup-virtualenv.sh: do not hardcode python binary
. . . instead, take a command-line option that defaults to
"python2.7"

Fixes: http://tracker.ceph.com/issues/23437
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-03-23 11:21:20 +01:00
Ricardo Marques
134fab7070 mgr/dashboard: Add DimlessBinaryDirective
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-03-23 09:41:40 +00:00
Mykola Golub
6c722cd5f3 stop.sh: use --no-mon-config when trying to unmap rbd devices
Otherwise if stop.sh is run for already stopped cluster it will get
stuck trying to get mon config.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-23 11:10:14 +02:00
Mykola Golub
f0b780f616
Merge pull request #21019 from majianpeng/fix-vstart
vstart: fix initial start when there is no ceph.conf

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-03-23 11:08:47 +02:00
Jianpeng Ma
5de320b890 vstart.sh: Avoiding ceph-conf error when create a new cluster.
This partly revert commit:f437598cfcabbd66c372bc8.
Before firstly creating a ceph cluster, there is no ceph.conf.
If specify a non-exist ceph.conf, ceph-conf will meet error.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-03-23 23:30:44 +08:00
David Zafman
293ac9895f test: Replace bc command with printf command
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-03-22 17:19:56 -07:00
Mykola Golub
82dee01371 vstart: set osd_pool_default_erasure_code_profile in initial ceph.conf
Setting it via `ceph config`, when the cluster is already built and
started is too late, because it is used when building the initial osd
map.

Fixes: https://tracker.ceph.com/issues/23430
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-03-22 20:04:30 +02:00
Ricardo Dias
44f16c903a
Merge pull request #20986 from jecluis/wip-vstart
vstart: fix option (due to quotes) and allow disabling dashboard

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-03-22 16:26:23 +00:00
Ricardo Dias
25c75a952d
mgr/dashboard: fix dashboard python 3 support
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-22 15:56:20 +00:00
David Zafman
79ee94969e
Merge pull request #20933 from dzafman/wip-22902
src/osd/PG.cc: 6455: FAILED assert(0 == "we got a bad state machine event")

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-03-22 08:44:26 -07:00
Casey Bodley
cfe4ba6342 qa: fix overrides for openssl_keys task
teuthology looks for overrides by the class name, so overrides weren't
working after the task was renamed

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-03-22 10:31:08 -04:00
Ricardo Dias
6e75756d37
mgr/dashboard: fixed password generation in Auth controller
Fixes: http://tracker.ceph.com/issues/23404

Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-03-22 12:18:56 +00:00
Ricardo Dias
ebd78796e7
Merge pull request #20989 from ricardoasmarques/wip-npm-start
mgr/dashboard: Improve `npm start` script

Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-03-22 11:27:29 +00:00