Commit Graph

104467 Commits

Author SHA1 Message Date
Sage Weil
3edb0f8fa1 qa/tasks/ceph2: pull ceph-ci/ceph:$branch
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
f38ed110ca qa/tasks/ceph2: register_daemons after pods start
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
4ae777679f qa/tasks/ceph2: fix conf
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
5bc37a2205 qa/tasks/ceph2: add restart
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
cd94d53cbc qa/tasks/ceph2: pass ceph-daemon path to DaemonState
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
68b1c42b72 qa/tasks/ceph2: tolerate no mdss or 1 mgr
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
f2a1d0afe8 qa/tasks/ceph: replace wait_for_osds_up with manager.wait_for_all_osds_up
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
c97b92adab qa/tasks/ceph: wait-until-healthy
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
e2bc637ace qa/tasks/ceph2: set up managers
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
55d302ac8d qa/tasks/ceph2: use seed ceph.conf
Based on ceph.conf.template, but edited down a bit.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
7c0eacb780 qa/tasks/ceph: healthy: use manager helpers (instead of teuthology/misc ones)
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
53e2bdc156 qa/tasks/ceph2: name mds daemons
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
6e698e294d qa/tasks/ceph2: fix osd ordering
Sort by the numeric key

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
ebcaebcdd3 qa/tasks/ceph2: start up mdss
TODO: name them properly

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
6932daa52a qa/tasks/ceph2: set up daemon handles and use them to stop
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
2b4c81e62b qa/tasks/ceph2: make it multicluster-aware
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
5b5122ce54 qa/tasks/ceph2: can bring up mon, mgr, osds!
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Sage Weil
ea96d47b42 qa/tasks/ceph2: basic task to bring up cluster with ceph-daemon and ssh
This is pretty minimal at this point, but it works so far (or will, once a few open PRs merge).

Main problematic area right now is that the multi-cluster stuff isn't right.  We should fix that before continuing, since ceph-daemon for once can do multiple clusters well.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-21 10:46:54 -06:00
Lenz Grimmer
ad1804424a
mgr/dashboard: Cross sign button not working for some modals (#31783)
mgr/dashboard: Cross sign button not working for some modals

Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-21 15:50:46 +00:00
Lenz Grimmer
3de5c1c5bb
mgr/dashboard: sort monitors by open sessions correctly. (#31752)
mgr/dashboard: sort monitors by open sessions correctly.

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-11-21 15:48:53 +00:00
Lenz Grimmer
02d564e127
Merge pull request #31738 from ricardoasmarques/wip-41776
mgr/dashboard: Unable to set boolean values to false when default is true

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-11-21 15:46:23 +00:00
Ilya Dryomov
eee172cb1a
Merge pull request #31773 from idryomov/wip-krbd-snapshot-removal-test
qa: kernel.sh: update for read-only changes

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-11-21 16:44:21 +01:00
Lenz Grimmer
1844aa60aa
mgr/dashboard: Don't use any xlf file when building the defaul… (#31727)
mgr/dashboard: Don't use any xlf file when building the default language

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-11-21 15:40:18 +00:00
Sage Weil
a68536be04 Merge PR #31748 into master
* refs/pull/31748/head:
	qa/standalone/test_ceph_daemon.sh: remove old vg before creating
	qa/standalone/test_ceph_daemon.sh: sudo for untar
	qa/standalone/test_ceph_daemon.sh: sudo for losetup etc
	qa/standalone/test_ceph_daemon.sh: fix overwrites of temp files

Reviewed-by: Michael Fritch <mfritch@suse.com>
2019-11-21 09:04:23 -06:00
Lenz Grimmer
bb3a719a3e
mgr/dashboard: Update dev documentation URL (#31724)
mgr/dashboard: Update dev documentation URL

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-21 15:04:07 +00:00
Lenz Grimmer
95b9661e9d
mgr/dashboard: Use new ImageSpec class (#31622)
mgr/dashboard: Use new ImageSpec class

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-11-21 15:02:17 +00:00
Lenz Grimmer
d686901abd
mgr/dashboard: Dashboard can't handle self-signed cert on Graf… (#31129)
mgr/dashboard: Dashboard can't handle self-signed cert on Grafana API

Reviewed-by: Stephan Müller <smueller@suse.com>
2019-11-21 14:58:46 +00:00
Lenz Grimmer
3b0257f592
mgr/dashboard: open files with UTF-8 encoding in Grafana check… (#31750)
mgr/dashboard: open files with UTF-8 encoding in Grafana checking script

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-11-21 12:51:52 +00:00
Ricardo Marques
acfd7551fa mgr/dashboard: Cross sign button not working for some modals
Fixes: https://tracker.ceph.com/issues/42179

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-11-21 11:16:16 +00:00
Sage Weil
07193aec3a qa/standalone/test_ceph_daemon.sh: remove old vg before creating
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-20 18:27:31 -06:00
Sage Weil
fd6bfad498 qa/standalone/test_ceph_daemon.sh: sudo for untar
The deepsea.tgz tar contains actual device nodes for the OSD block devices
(not symlinks or files).  Must be root to untar.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-20 18:27:31 -06:00
Sage Weil
723fdb111a qa/standalone/test_ceph_daemon.sh: sudo for losetup etc
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-20 18:27:31 -06:00
Sage Weil
cb67545e99 qa/standalone/test_ceph_daemon.sh: fix overwrites of temp files
mktemp creates these files, so we have to pass --allow-overwrite (or
delete them after we get the unique name but before we write to them--this
is easier).

Broken by c7fe27a72a

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-20 18:27:31 -06:00
Patrick Donnelly
e4b3036422
Merge PR #31418 into master
* refs/pull/31418/head:
	test: use distinct subvolume/group/snapshot names

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2019-11-20 15:34:02 -08:00
Patrick Donnelly
5a0fa12513
Merge PR #30553 into master
* refs/pull/30553/head:
	qa/tasks: check if fs mounted in umount_wait

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-20 15:31:33 -08:00
Patrick Donnelly
23a15c9be4
Merge PR #31534 into master
* refs/pull/31534/head:
	mds: fix invalid access of mdr->dn[0].back()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-20 15:26:09 -08:00
Patrick Donnelly
e799c2533c
Merge PR #31548 into master
* refs/pull/31548/head:
	mds: properly evaluate unstable locks when evicting client

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-20 15:24:56 -08:00
Patrick Donnelly
6a55fd1106
Merge PR #31531 into master
* refs/pull/31531/head:
	cmake: link ceph-fuse against librt

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-20 14:55:42 -08:00
Ilya Dryomov
6fb544045e qa: kernel.sh: update for read-only changes
Snapshot existence validation code was removed from krbd.  It was racy
and relied on having watch established for snapshots.

Fixes: https://tracker.ceph.com/issues/42916
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-11-20 21:32:45 +01:00
Sage Weil
15b37e0f4e Merge PR #31745 into master
* refs/pull/31745/head:
	qa/suites/rados/thrash-old-clients: skip TestClsRbd.mirror

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-11-20 11:44:34 -06:00
Mykola Golub
840fc07b59
Merge pull request #31392 from dillaman/wip-42598
journal: fix flush by age and in-flight byte tracking

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-11-20 18:31:13 +02:00
Tiago Melo
a6e77b598a mgr/dashboard: Use new ImageSpec class
This class should be used when dealing with RBD image specs.
It allows the creation of an ImageSpec given the names of the pool, image and
namespace. Alternatively you can also create one with an already existing
image spec string.

With it you keep the access to each individual component and can also convert it
to a well formated string.

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

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-11-20 14:20:13 -01:00
Lenz Grimmer
6de9592862
mgr/dashboard: fix restored RBD image naming issue (#31590)
mgr/dashboard: fix restored RBD image naming issue

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-11-20 14:33:48 +00:00
Sebastian Wagner
754f53651a
Merge pull request #31758 from votdev/fix_typo
python-common: Fix typo in device type

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-20 15:27:52 +01:00
Sebastian Krah
5efe0a3ab2 mgr/dashboard: Don't use any xlf file when building the default language
The build-i18n script no longer uses a xlf file when building the default
language. This means that we don't need to keep the messages.en-US.xlf in the repository anymore.

Fixes: https://tracker.ceph.com/issues/42693
Signed-off-by: Sebastian Krah <skrah@suse.com>
2019-11-20 14:17:19 +01:00
Jan Fajerski
2da7330e7e
Merge pull request #31410 from jan--f/c-v-create-vgs-on-demand
ceph-volume: allow raw block devices everywhere
2019-11-20 13:45:41 +01:00
Lenz Grimmer
3b8f661389
mgr/dashboard: Fixes removal of custom tags during pool edit (#31373)
mgr/dashboard: Fixes removal of custom tags during pool edit

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-11-20 12:34:43 +00:00
Volker Theile
234171b882 python-common: Fix typo in device type
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-11-20 13:14:00 +01:00
Kefu Chai
17a2cd69a9
Merge pull request #31751 from tchaikov/wip-run-tox.sh-python3
script/run_tox.sh: do not use python2 if we have python3

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-11-20 19:47:22 +08:00
Lenz Grimmer
0e1f0e6b81
Merge pull request #31607 from tspmelo/wip-pool-pattern
mgr/dashboard: Add invalid pattern message for Pool name

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-11-20 11:22:11 +00:00