Sage Weil
e8520eba52
qa/tasks/cephadm: deploy node-exporter
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-19 15:24:52 +01:00
Patrick Seidensal
97d73304ae
mgr/orch: deploy node-exporter
...
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-02-19 14:51:10 +01:00
Laura Paduano
1e7c6420c6
Merge pull request #32895 from tspmelo/wip-sidebar-notification-v2
...
mgr/dashboard: Improve Notification sidebar
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-02-19 13:58:28 +01:00
Sebastian Wagner
6f1a7c3459
Merge pull request #33410 from capri1989/docs-fix
...
doc/mgr/orchestrator.rst: updated current implementation status
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-19 13:39:43 +01:00
Sage Weil
651a4ee8e4
Merge PR #33249 into master
...
* refs/pull/33249/head:
mgr/cephadm: move cutoff calc inside helper
mgr/orch: clean up service_action, remove_service
mgr/cephadm: move into DaemonCache class
mgr/cephadm: fix tests
mgr/cephadm: implete hacky 'refresh=True' path
mgr/cephadm: raise health alert when scrape fails
mgr/cephadm: persist cached daemon state
mgr/orch: serialize DaemonDescription last_refresh
mgr/cephadm: move _get_daemons() impl into list_daemons
mgr/cephadm: replace remaining _get_daemons() with daemon cache
mgr/cephadm: use daemon map for service|daemon removal
mgr/cephadm: avoid _get_daemons for service|daemon actions
mgr/cephadm: replace daemon_cache with an explicit set of dicts
mgr/cephadm: move DaemonDescription construction into helper
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-02-19 06:33:59 -06:00
Kefu Chai
6045152e8d
Merge pull request #33408 from tchaikov/wip-crimson-editor-prop
...
crimson: add editor properties header
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-02-19 19:35:42 +08:00
Kai Wagner
1d003f61b6
doc/mgr/orchestrator.rst updated current implementation status
...
Signed-off-by: Kai Wagner <kwagner@suse.com>
2020-02-19 12:07:50 +01:00
Lenz Grimmer
b24230a74b
Merge pull request #33060 from votdev/issue_39252_rgw_beast
...
mgr/dashboard: RGW port autodetection does not support "Beast" RGW frontend
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-02-19 09:51:10 +00:00
Sage Weil
138f40754a
Merge PR #33395 into master
...
* refs/pull/33395/head:
cephadm: error out on filestore OSDs
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-02-18 22:10:50 -06:00
Kefu Chai
73b03097f2
Merge pull request #33396 from liewegas/fix-cephadm-upgrade-test
...
qa/suites/rados/cephadm/upgrade: fix initial version
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-19 11:08:16 +08:00
Sage Weil
99c0813a6c
Merge PR #32949 into master
...
* refs/pull/32949/head:
cephadm: separate out require files in config-json
cephadm: add alertmanager deployment feature
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
2020-02-18 20:56:54 -06:00
Sage Weil
34b78df480
Merge PR #33370 into master
...
* refs/pull/33370/head:
mgr/orchestrator_cli: sort host list
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
2020-02-18 19:44:01 -06:00
Sage Weil
c605c90700
mgr/cephadm: move cutoff calc inside helper
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:50:01 -06:00
Sage Weil
16011f5cbf
mgr/orch: clean up service_action, remove_service
...
Standardize on service_name argument that looks like 'mgr', 'mds.fsname',
'mds', or some other daemon name prefix. Avoid the ambiguously-named
service_type+service_name combinations.
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:50:01 -06:00
Sage Weil
390fd4098f
mgr/cephadm: move into DaemonCache class
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:50:01 -06:00
Sage Weil
a0c7decb03
mgr/cephadm: fix tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:50:01 -06:00
Sage Weil
031516fa72
mgr/cephadm: implete hacky 'refresh=True' path
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:50:00 -06:00
Sage Weil
a383992345
mgr/cephadm: raise health alert when scrape fails
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:50:00 -06:00
Sage Weil
e7037db99f
mgr/cephadm: persist cached daemon state
...
- load cached state on startup
- persist state after a scrape only
- scrape everything after startup
Note that we modify our in-memory cache when we add or remove a service
and then immediately trigger a scrape, but we do not invalidate the
persisted state, since it's simpler (and presumably a good idea) to
simply re-scrape everything after a mgr restart.
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:50:00 -06:00
Sage Weil
66775ece9a
mgr/orch: serialize DaemonDescription last_refresh
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:50:00 -06:00
Sage Weil
47b3a64ed4
mgr/cephadm: move _get_daemons() impl into list_daemons
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:50:00 -06:00
Sage Weil
a991745418
mgr/cephadm: replace remaining _get_daemons() with daemon cache
...
New function _get_daemons_by_type() returns immediately with a result
from the cache.
Remove the with_daemons decorator.
Push daemon list fetch into _add_new_daemon.
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:49:56 -06:00
Sage Weil
782a71e32c
mgr/cephadm: use daemon map for service|daemon removal
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:43:02 -06:00
Sage Weil
12d6b267bc
mgr/cephadm: avoid _get_daemons for service|daemon actions
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:43:02 -06:00
Sage Weil
328a1fd05b
mgr/cephadm: replace daemon_cache with an explicit set of dicts
...
- Cache DaemonDescription explicitly
- explicit timestamp for the host
- serve() scrapes inventory based on that timestamp
For the moment, persistence is broken, and --refresh is broken.
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:43:02 -06:00
Sage Weil
f6be018668
mgr/cephadm: move DaemonDescription construction into helper
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 15:43:02 -06:00
Patrick Donnelly
1f0373ddc4
Merge PR #33390 into master
...
* refs/pull/33390/head:
mds: remove dead get_commands code
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2020-02-18 12:04:52 -08:00
Sage Weil
958f11a7a7
Merge PR #33336 into master
...
* refs/pull/33336/head:
osd: fix racy accesses to OSD::osdmap.
Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-18 13:54:28 -06:00
Sage Weil
6fa842df98
qa/suites/ardos/cephadm/upgrade: fix initial version
...
Switch initial version to one with the renamed orchestrator module.
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 13:27:26 -06:00
Sage Weil
8eb8dca192
cephadm: error out on filestore OSDs
...
We do not currently support filestore OSDs.
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 12:50:49 -06:00
Volker Theile
d532d68878
mgr/dashboard: RGW port autodetection does not support "Beast" RGW frontend
...
* Improve regular expressions to support more configuration variations.
* Modify error message. It includes the config line to be parsed. This should help to debug errors much easier.
* If there are multiple (ssl_)ports/(ssl_)endpoints options, then the first found option will be returned.
Fixes: https://tracker.ceph.com/issues/39252
Signed-off-by: Volker Theile <vtheile@suse.com>
2020-02-18 17:06:02 +01:00
Patrick Donnelly
4712542df0
mds: remove dead get_commands code
...
Left over from #31255 , d8c0bde04b
.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-18 07:49:45 -08:00
Sage Weil
184441a6ab
Merge PR #33369 into master
...
* refs/pull/33369/head:
cephadm: check for both chrony service names
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-02-18 09:29:11 -06:00
Sebastian Wagner
b473a84989
Merge pull request #33360 from liewegas/fix-prom
...
qa/suites/rados/cephadm/smoke: disable rgw role for now
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-18 15:14:03 +01:00
Sage Weil
de1a7b93cd
mgr/orchestrator_cli: sort host list
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-18 08:01:30 -06:00
Kefu Chai
856aa1320d
crimson: add editor properties header
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-18 21:50:59 +08:00
Sebastian Wagner
ae5d2c6ab2
Merge pull request #32817 from sebastian-philipp/rename-orchestrator_cli-orchestrator
...
pybind/mgr: Rename orchestrator_cli to orchestrator
Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-18 10:05:30 +01:00
Kefu Chai
6cd47842bb
Merge pull request #33167 from tchaikov/wip-formatter-string_view
...
common,mgr,osd: pass string_view as "name"
Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
2020-02-18 09:17:42 +08:00
Patrick Donnelly
2d3bfd620f
Merge PR #33227 into master
...
* refs/pull/33227/head:
mds: remove unused CDir members
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-17 16:41:37 -08:00
Patrick Donnelly
7ae520414f
Merge PR #33197 into master
...
* refs/pull/33197/head:
mount.ceph: fix incorrect options parsing
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2020-02-17 16:41:05 -08:00
Patrick Donnelly
34e0f2ecb5
Merge PR #33180 into master
...
* refs/pull/33180/head:
mds: add scrub_info_t into mempool
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-17 16:40:20 -08:00
Patrick Donnelly
8cd1eca875
Merge PR #33104 into master
...
* refs/pull/33104/head:
client: Fixes for missing consts SEEK_DATA and SEEK_HOLE on alpine linux
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-17 16:39:32 -08:00
Patrick Donnelly
00c6963bc4
Merge PR #33005 into master
...
* refs/pull/33005/head:
mds: fix 'can wrlock' check in Locker::acquire_locks()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-17 16:38:34 -08:00
Patrick Donnelly
feaa3af62b
Merge PR #32435 into master
...
* refs/pull/32435/head:
mds: Reorganize structure and class members in mdstypes header
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-17 16:35:14 -08:00
Kefu Chai
cfe53f6e78
Merge pull request #33344 from athanatos/sjust/wip-errorator-handlers
...
errorator: improve general error handlers
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-02-18 08:33:33 +08:00
Daniel Gryniewicz
a09afd6fb6
Merge pull request #31001 from rosinL/wip-set-radosgw-cpu-affinity
...
rgw/rgw_main: auto set radosgw's cpu affinity according to numa_node configuration
2020-02-17 13:11:25 -05:00
Sage Weil
ec9fb1aab5
qa/suites/rados/cephadm/smoke: remove rgw
...
Fixes: https://tracker.ceph.com/issues/44168
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-17 11:25:47 -06:00
Lenz Grimmer
a16b16fb79
Merge pull request #33206 from rhcs-dashboard/44075-rgw-user-system-field
...
mgr/dashboard: show correct RGW user 'system' info
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-02-17 16:36:25 +00:00
Kefu Chai
07f9d827b3
Merge pull request #33125 from yaarith/telemetry-add-last-report-to-status
...
mgr/telemetry: add 'last_upload' to status
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-18 00:05:56 +08:00
Lenz Grimmer
9269f550b3
Merge pull request #33013 from s0nea/wip-dashboard-43912
...
mgr/dashboard: wait for PG unknown state to be cleared
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
2020-02-17 15:34:11 +00:00