Sage Weil
3cbca1dce8
cephadm: fix exception when no time sync is running
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-14 18:12:49 -06:00
Sage Weil
3e4222cec0
cephadm: properly extract osd fsid during adoption
...
This needs to be passed to the deploy_daemon_units method so that we can
set up the pre and post c-v calls properly.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-14 18:12:49 -06:00
Sage Weil
b800c9a921
cephadm: do ceph-volume activate+deactivate as part of systemd unit
...
1- Do the activate as part of the unit on start, since it may include
setup that disappears on a reboot, like starting up the dmcrypted volume.
2- Do the matching deactivate step when the container stops, like shutting
down the dmcrypt volume.
Right now the OSD is the only thing that needs this special behavior.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-14 09:22:12 -06:00
Sage Weil
bf0e51a5b7
ceph-daemon: behave with no /etc/ceph/ceph.conf
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-14 09:22:12 -06:00
Sage Weil
2d915c8d0e
Merge PR #32244 into master
...
* refs/pull/32244/head:
qa/workunits/cephadm/test_cephadm.sh: re-enable `adopt` tests
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-13 22:03:45 -06:00
Sage Weil
a35e66c8db
Merge PR #32253 into master
...
* refs/pull/32253/head:
mgr/orchestrator: make hosts and label args consistent
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-13 20:13:55 -06:00
Sage Weil
a577292103
Merge PR #32209 into master
...
* refs/pull/32209/head:
mgr/cephadm: Add unittest for service_action
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-13 20:12:53 -06:00
Sage Weil
901ce4914d
mgr/orchestrator: make hosts and label args consistent
...
- hosts is always n=N; labels is not
- hosts always before labels
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-13 16:50:26 -06:00
Sage Weil
257a539b25
Merge PR #32192 into master
...
* refs/pull/32192/head:
common: handle return value from read(2)
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-13 14:41:14 -06:00
Sage Weil
d8162e1f53
Merge PR #32195 into master
...
* refs/pull/32195/head:
osd/PeeringState.cc: skip peer_purged when discovering all missing
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2019-12-13 14:40:13 -06:00
Sage Weil
124f1e3926
Merge PR #32203 into master
...
* refs/pull/32203/head:
Revert "mgr/DaemonServer: safe-to-destroy - do not consider irrelevant pgs"
Reviewed-by: Sage Weil <sage@redhat.com>
2019-12-13 14:39:40 -06:00
Sage Weil
1430c0ff54
Merge PR #32219 into master
...
* refs/pull/32219/head:
common: move xattr -> os/filestore/os_xattr
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-12-13 14:39:20 -06:00
Sage Weil
dc7d0c2122
Merge PR #32250 into master
...
* refs/pull/32250/head:
mgr/cephadm: fix temp file prefixes
qa: fix lingering ceph-mgr-ssh -> ceph-mgr-cephadm refs
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-12-13 13:50:42 -06:00
Patrick Donnelly
cbc20ab664
Merge PR #32144 into master
...
* refs/pull/32144/head:
doc: mention multimds suite in dev guide
doc: clarify difference between fs and kcephfs suite
Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-13 11:29:04 -08:00
Patrick Donnelly
2e505307c3
Merge PR #32024 into master
...
* refs/pull/32024/head:
stop: Unmount cephFS volumes
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-13 11:07:21 -08:00
Sage Weil
77bfea8863
mgr/cephadm: fix temp file prefixes
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-13 12:48:44 -06:00
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
Michael Fritch
34a2bb4495
qa/workunits/cephadm/test_cephadm.sh: re-enable adopt
tests
...
Signed-off-by: Michael Fritch <mfritch@suse.com>
2019-12-13 07:44:34 -07: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
Kotresh HR
2da9e1f473
stop: Unmount cephFS volumes
...
When stop.sh is run while the cephFS is mounted,
mount processes are retained and can't be killed.
And also the mount and df commands hang after this.
This patch unmounts the mounted volumes cleanly.
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2019-12-13 17:39:44 +05:30
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
Sebastian Wagner
17e1e7cea8
mgr/cephadm: Add unittest for service_action
...
(That was missing previously)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-12-13 11:37:03 +01: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