Commit Graph

105425 Commits

Author SHA1 Message Date
Sage Weil
2184641d7f qa: fix lingering ceph-mgr-ssh -> ceph-mgr-cephadm refs
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-13 12:48:06 -06:00
Neha Ojha
0852827258
Merge pull request #32226 from neha-ojha/wip-four-percent
doc/rados: Better block.db size recommendations for bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2019-12-13 10:23:34 -08:00
Neha
36cdafbcca doc/rados: Better block.db size recommendations for bluestore
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-12-13 17:24:58 +00:00
Nathan Cutler
5f8476fbe7
Merge pull request #32040 from smithfarm/wip-rn-13-2-8-mimic
doc/releases: add release notes for mimic v13.2.8

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-12-13 17:49:43 +01:00
Nathan Cutler
d64d92a168 doc/releases: add Mimic v13.2.8 to releases timeline
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-12-13 17:12:53 +01:00
Sage Weil
c36fa56dd5 Merge PR #32236 into master
* refs/pull/32236/head:
	pybind/mgr: add_tox_test: Add mypy to TOX_ENVS

Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-13 09:34:43 -06:00
Laura Paduano
59caff1de2
Merge pull request #32005 from s0nea/wip-dashboard-reactivate-suites
mgr/dashboard: reactivate dashboard test suites

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-12-13 15:40:31 +01:00
Sebastian Wagner
8fa350c527 pybind/mgr: add_tox_test: Add mypy to TOX_ENVS
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-12-13 15:34:38 +01:00
Laura Paduano
481e3208ef
Merge pull request #31851 from votdev/issue_42609_device_lights
mgr/dashboard: Add support for blinking enclosure LEDs

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-12-13 13:20:25 +01:00
Laura Paduano
3243a3475d
Merge pull request #32186 from rhcs-dashboard/43263-fix-rgw-subuser-key
mgr/dashboard: fix RGW subuser auto-generate key.

Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-12-13 12:59:58 +01:00
Nathan Cutler
1f28f262ce
Merge pull request #31753 from smithfarm/wip-bci-resolve-fix
backport-create-issue: resolve parent only if parent has backport issues

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-12-13 12:47:42 +01:00
Lenz Grimmer
955e67db8c
mgr/dashboard: Simplify PrometheusService::getRules implementa… (#32130)
mgr/dashboard: Simplify PrometheusService::getRules implementation

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-12-13 11:33:11 +00:00
Jan Fajerski
51668aa063
Merge pull request #32177 from Takios/ceph_volume_fix
ceph-volume: use correct extents if using db-devices and >1 osds_per_device
2019-12-13 10:09:03 +01:00
Tatjana Dehler
8d1869a2bd mgr/dashboard: reactivate dashboard test suites
Reactivate the dashboard test suites that were commented
out in https://github.com/ceph/ceph/pull/30864 because
https://tracker.ceph.com/issues/41538 has been resolved
in the meanwhile.

Fixes: https://tracker.ceph.com/issues/42652
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2019-12-13 09:11:33 +01:00
Laura Paduano
768db56542
Merge pull request #32224 from tspmelo/wip-e2e-insecure
mgr/dashboard: Fix e2e chromedriver problem

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-12-13 07:58:30 +01:00
Patrick Donnelly
d8c0bde04b
Merge PR #31255 into master
* refs/pull/31255/head:
	mds/MDSDaemon: make con disposable before passing message to asok
	mds/SessionMap: interpret bare id as a valid filter
	mds: get rid of unused send_command_reply helpers
	mds: remove old handle_command machinery
	mds/MDSRank: remove C_ExecAndReply helpers
	mds/MDSRank: too many words about op_tracker
	mds: convert 'cache drop'
	mds: convert 'damage ls' and 'damage rm'
	mds: convert '{session,client} config'
	mds: convert 'scrub {start,abort,pause,resume,status}'
	mds: convert 'session ls' and 'client ls'
	mds: convert 'session evict' and 'session kill'
	mds: convert 'heap' and 'cpu_profiler'
	mds: convert 'exit', 'respawn'
	mds/MDSDaemon: remove old duplicated tell commands
	mds: send tell commands to asok infrastructure
	common/admin_socket: switch tell queue to cref_t (from ref_t)
	mds: switch asok calls over to call_async interface

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-12 21:07:32 -08:00
Neha Ojha
707822abdd
Merge pull request #32230 from shellwedance/ceph-volume_typo_fix
doc: fix a typo in a command

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-12-12 20:31:24 -08:00
Kefu Chai
88e5ed1d26
Merge pull request #32170 from rosinL/wip-rss
msg/async/DPDK: refactor set_rss_table to support DPDK 19.05

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-13 12:25:36 +08:00
taeuk_kim
73bd6408db doc: fix a typo in a command
Co-authored-by: donggyu_park <donggyu_park@tmax.co.kr>
Signed-off-by: taeuk_kim <taeuk_kim@tmax.co.kr>
2019-12-13 11:43:08 +09:00
Sage Weil
5805d71f45 Merge PR #32179 into master
* refs/pull/32179/head:
	lvm: add deactivate subcommand
	util/system: add unmount_tmpfs helper
	api/lvm: add get_lv_by_osd_id method
	api/lvm: add deactivate method to Volume class

Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-12 20:00:23 -06:00
Sage Weil
14c1c6fc7b Merge PR #32225 into master
* refs/pull/32225/head:
	qa: add force-branch to suites running s3readwrite & s3roundtrip tasks

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-12-12 17:14:51 -06:00
Sage Weil
b640a76e58 Merge PR #32003 into master
* refs/pull/32003/head:
	mgr/ssh fix tests for update_mds/mgr/mds/rgw/rbd-mirror
	Allow List[HostSpec] in PlacementSpec
	mgr/rook: adapt to arg passing change in orchestrator_cli.py
	mgr/ssh: Add SimpleScheduler and streamline arg passing
	orch_cli: adapt to changes in PlacementSpec and ServiceSpec
	orch: extend PlacementSpec and add StatefulServiceSpec

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-12 17:05:11 -06:00
Sage Weil
40db88b70f Merge PR #32218 into master
* refs/pull/32218/head:
	cephadm: use raw string during `re.sub`
	cephadm: fix ConfigParser DeprecationWarning in py3

Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-12 17:04:02 -06:00
Sage Weil
e0202f7578 Merge PR #32187 into master
* refs/pull/32187/head:
	ceph.in: (py3) use binary stdout
	pybind/mgr: index=4, sort_keys=True for json.dumps throughput

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-12-12 16:07:16 -06:00
Mike Perez
77ef7e4081
Merge pull request #32013 from liewegas/doc-foundation
doc/foundation: add cloudbase and vexxhost
2019-12-12 14:04:35 -08:00
Neha Ojha
5aeee7b318
Merge pull request #32197 from neha-ojha/wip-report-doc-bug
doc/_templates/page.html: redirect to etherpad

Reviewed-by: Zac Dover zac.dover@gmail.com
Reviewed-by: Sage Weil sage@redhat.com
2019-12-12 13:38:46 -08:00
Ali Maredia
73d9131839 qa: add force-branch to suites running s3readwrite & s3roundtrip tasks
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2019-12-12 16:09:07 -05:00
Sage Weil
3d18771ebe Merge PR #32220 into master
* refs/pull/32220/head:
	qa/workunits/cephadm/test_cephadm.sh: need --fsid always

Reviewed-by: Michael Fritch <mfritch@suse.com>
2019-12-12 14:23:06 -06:00
Sage Weil
63f57ded6c mds/MDSDaemon: make con disposable before passing message to asok
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-12 13:31:26 -06:00
Sage Weil
b6634d4668 mds/SessionMap: interpret bare id as a valid filter
This works around the fact that the old asok 'session evict' took a bare
id and the tell version took a filter.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-12 13:31:26 -06:00
Sage Weil
1b606639e1 mds: get rid of unused send_command_reply helpers
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-12 13:31:26 -06:00
Sage Weil
ea65f08400 mds: remove old handle_command machinery
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-12 13:31:26 -06:00
Sage Weil
a544bef2b8 mds/MDSRank: remove C_ExecAndReply helpers
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-12 13:31:26 -06:00
Sage Weil
19d798ae9e mds/MDSRank: too many words about op_tracker
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-12 13:31:26 -06:00
Sage Weil
5ce4f32975 mds: convert 'cache drop'
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-12 13:31:26 -06:00
Sage Weil
5ae0effbe3 mds: convert 'damage ls' and 'damage rm'
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-12 13:31:26 -06:00
Patrick Donnelly
12f74805d4
Merge PR #31629 into master
* refs/pull/31629/head:
	cephfs-shell: rearrange code for convenience

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-12 10:30:55 -08:00
Tiago Melo
f0f718f177 mgr/dashboard: Fix e2e chromedriver problem
New version of Chrome/ChromeDriver seems to have a problem with insecure
certificates.

Since we use a vStart cluster with no real certificate,
we always face this problem when running e2e tests.

This will fix the current problem and hopefully any future problems related to
certificates.

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

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-12-12 17:09:08 -01:00
Sage Weil
feaa79f902 qa/workunits/cephadm/test_cephadm.sh: need --fsid always
Otherwise the test breaks if there are other cluster(s) on the host (like
there normally are in my dev environment).

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-12 10:46:15 -06:00
Nathan Cutler
a247904df5 backport-create-issue: resolve parent only if parent has backport issues
This fixes an edge case. If a parent issue is in "Pending Backport" status
but without any backport issues, the script (when running with --resolve-parent)
was wrongly changing the status to "Resolved".

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-12-12 17:42:51 +01:00
Sage Weil
cb5f387236 Merge PR #32129 into master
* refs/pull/32129/head:
	qa: Enable flake8 tox and fix failures
2019-12-12 10:26:17 -06:00
Sage Weil
9799e6c45d ceph.in: (py3) use binary stdout
This fixes an error like

$ ceph -s -o -
Traceback (most recent call last):
  File "bin/ceph", line 1267, in <module>
    retval = main()
  File "bin/ceph", line 1229, in main
    outf.write(outbuf)
TypeError: write() argument must be str, not bytes

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-12 10:21:45 -06:00
Sage Weil
0e9303d059 pybind/mgr: index=4, sort_keys=True for json.dumps throughput
- fixes balancer test on py3 by making the pool ls order deterministic
- makes everybody else behave consistently

I left internal json storage alone--no need to sort/normalize.  I also
left out some CLI commands returning non-indented json.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-12 10:21:36 -06:00
Casey Bodley
115479d8e1
Merge pull request #32094 from cbodley/wip-40585
test/rgw: raise timer durations for unittest_rgw_reshard_wait

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-12 11:20:16 -05:00
Nathan Cutler
031f91dc54
Merge pull request #32153 from smithfarm/wip-23981
install-deps.sh: install python2-{virtualenv,devel} on SUSE if needed

Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
2019-12-12 16:19:40 +01:00
Michael Fritch
b27bef96e3
cephadm: use raw string during re.sub
cephadm:198: DeprecationWarning: invalid escape sequence \s
  nice_conf = re.sub('\n(\s)+', '\n', raw_conf)

Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-12-12 08:10:44 -07:00
Michael Fritch
7ab50ef35a
cephadm: fix ConfigParser DeprecationWarning in py3
DeprecationWarning: This method will be removed in future versions.
Use 'parser.read_file()' instead.

Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-12-12 08:02:34 -07:00
Kefu Chai
729401fa51
Merge pull request #32151 from liewegas/fix-scipy
install-deps.sh: preload wheel for all mgr requirements.txt files

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-12 22:06:20 +08:00
Jan Fajerski
9797f6b83d lvm: add deactivate subcommand
This new subcommand unmounts and OSDs tmpfs mount and closes crypt
devices if there are any.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-12-12 14:55:10 +01:00
Jan Fajerski
705ed11101 util/system: add unmount_tmpfs helper
Thsi unmounts a path if and only if it's a tmpfs mount.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-12-12 14:55:04 +01:00