Sage Weil [Tue, 18 Feb 2020 19:18:47 +0000 (13:18 -0600)]
mgr/cephadm: trigger device refresh after osd creation
Presumably the new OSD(s) consumed one or more devices.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Feb 2020 19:06:51 +0000 (13:06 -0600)]
mgr/orch,cephadm: implement 'device zap'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Feb 2020 18:40:20 +0000 (12:40 -0600)]
mgr/cephadm: remove inventory_cache
No longer used.
Clean up _get_hosts now that there is only one user.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Feb 2020 18:36:04 +0000 (12:36 -0600)]
mgr/cephadm: reimplement 'device ls' in terms of cache
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Feb 2020 19:07:13 +0000 (13:07 -0600)]
mgr/cephadm: fix invalidate helpers
These should wake up the serve() thread.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Feb 2020 15:46:48 +0000 (09:46 -0600)]
mgr/cephadm: scrape and cache devices, too
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Feb 2020 15:16:31 +0000 (09:16 -0600)]
mgr/cephadm: rename DaemonCache methods etc to generalize
The HostCache is going to store both daemon and device state.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 19 Feb 2020 20:50:40 +0000 (14:50 -0600)]
Merge PR #32677 into master
* refs/pull/32677/head:
build/ops: make/install osd_support package
mgr/osd_support: move docs to docs/mgr/osd_support.rst
mgr/osd_support: new module for osd utility calls
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Wed, 19 Feb 2020 20:50:20 +0000 (14:50 -0600)]
Merge PR #33123 into master
* refs/pull/33123/head:
qa/tasks/cephadm: deploy node-exporter
mgr/orch: deploy node-exporter
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Wed, 19 Feb 2020 18:58:51 +0000 (12:58 -0600)]
Merge PR #33359 into master
* refs/pull/33359/head:
mgr/dashboard/tests/test_orchestrator: disable service test
mgr/cephadm: fix race between check_hosts and host rm
mgr/volumes: fix remove_mds call
mgr/rook: hackly describe_service -> list_daemons
mgr/tests/test_orchestrator: fix ServiceDescription test
mgr/test_orchestrator: describe_service -> list_daemons
mgr/orch: resurrect ServiceDescription, 'orch ls'
qa/tasks/mgr/dashboard/test_orchestrator: disable services test
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Tue, 18 Feb 2020 22:31:36 +0000 (16:31 -0600)]
mgr/dashboard/tests/test_orchestrator: disable service test
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Feb 2020 22:28:22 +0000 (16:28 -0600)]
mgr/cephadm: fix race between check_hosts and host rm
Fixes: https://tracker.ceph.com/issues/44188
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Feb 2020 22:31:36 +0000 (16:31 -0600)]
mgr/volumes: fix remove_mds call
Fixes: https://tracker.ceph.com/issues/44176
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 17 Feb 2020 01:32:07 +0000 (19:32 -0600)]
mgr/rook: hackly describe_service -> list_daemons
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 17 Feb 2020 01:31:22 +0000 (19:31 -0600)]
mgr/tests/test_orchestrator: fix ServiceDescription test
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 17 Feb 2020 01:27:46 +0000 (19:27 -0600)]
mgr/test_orchestrator: describe_service -> list_daemons
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 16 Feb 2020 16:17:27 +0000 (10:17 -0600)]
mgr/orch: resurrect ServiceDescription, 'orch ls'
This is a meta-service description that maps to multiple daemons. Remove
the old useless properties, and add in size and running counts.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 16 Feb 2020 15:39:27 +0000 (09:39 -0600)]
qa/tasks/mgr/dashboard/test_orchestrator: disable services test
We need to either fill out the list_daemons APIs in the dashboard and test
that, or redesign and reimplement the services abstractions in the
orchestration layer. Until then, disable this test.
Signed-off-by: Sage Weil <sage@redhat.com>
Sebastian Wagner [Wed, 19 Feb 2020 15:49:17 +0000 (16:49 +0100)]
Merge pull request #33333 from sebastian-philipp/cephadm-mon-apply-host-no-network
mgr/cephadm: mon: Don't show traceback for user errors
Reviewed-by: Sage Weil <sage@redhat.com>
Sebastian Wagner [Wed, 19 Feb 2020 15:48:47 +0000 (16:48 +0100)]
Merge pull request #33310 from sebastian-philipp/cephadm-add-host-exception
mgr/cephadm: Convert HostNotFound to OrchestratorError
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 19 Feb 2020 14:54:29 +0000 (08:54 -0600)]
Merge PR #33387 into master
* refs/pull/33387/head:
spec: ceph-mgr: add missing python3-pyyaml
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Feb 2020 19:13:10 +0000 (13:13 -0600)]
qa/tasks/cephadm: deploy node-exporter
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Seidensal [Wed, 5 Feb 2020 15:17:52 +0000 (16:17 +0100)]
mgr/orch: deploy node-exporter
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
Laura Paduano [Wed, 19 Feb 2020 12:58:28 +0000 (13:58 +0100)]
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>
Sebastian Wagner [Wed, 19 Feb 2020 12:39:43 +0000 (13:39 +0100)]
Merge pull request #33410 from capri1989/docs-fix
doc/mgr/orchestrator.rst: updated current implementation status
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sage Weil [Wed, 19 Feb 2020 12:33:59 +0000 (06:33 -0600)]
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>
Kefu Chai [Wed, 19 Feb 2020 11:35:42 +0000 (19:35 +0800)]
Merge pull request #33408 from tchaikov/wip-crimson-editor-prop
crimson: add editor properties header
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kai Wagner [Wed, 19 Feb 2020 11:07:50 +0000 (12:07 +0100)]
doc/mgr/orchestrator.rst updated current implementation status
Signed-off-by: Kai Wagner <kwagner@suse.com>
Lenz Grimmer [Wed, 19 Feb 2020 09:51:10 +0000 (09:51 +0000)]
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>
Joshua Schmid [Wed, 19 Feb 2020 09:33:26 +0000 (10:33 +0100)]
build/ops: make/install osd_support package
Signed-off-by: Joshua Schmid <jschmid@suse.de>
Joshua Schmid [Thu, 30 Jan 2020 16:47:18 +0000 (17:47 +0100)]
mgr/osd_support: move docs to docs/mgr/osd_support.rst
Signed-off-by: Joshua Schmid <jschmid@suse.de>
Joshua Schmid [Tue, 14 Jan 2020 17:54:10 +0000 (18:54 +0100)]
mgr/osd_support: new module for osd utility calls
it lets you start/stop and monitor osd draining processes
Signed-off-by: Joshua Schmid <jschmid@suse.de>
Sage Weil [Wed, 19 Feb 2020 04:10:50 +0000 (22:10 -0600)]
Merge PR #33395 into master
* refs/pull/33395/head:
cephadm: error out on filestore OSDs
Reviewed-by: Michael Fritch <mfritch@suse.com>
Kefu Chai [Wed, 19 Feb 2020 03:08:16 +0000 (11:08 +0800)]
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>
Sage Weil [Wed, 19 Feb 2020 02:56:54 +0000 (20:56 -0600)]
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>
Sebastian Wagner [Tue, 18 Feb 2020 14:30:25 +0000 (15:30 +0100)]
spec: ceph-mgr: add missing python3-pyyaml
Remove stray req from the -k8events package, since the base ceph-mgr now
requires it.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sage Weil [Wed, 19 Feb 2020 01:44:01 +0000 (19:44 -0600)]
Merge PR #33370 into master
* refs/pull/33370/head:
mgr/orchestrator_cli: sort host list
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Sage Weil [Mon, 17 Feb 2020 13:54:06 +0000 (07:54 -0600)]
mgr/cephadm: move cutoff calc inside helper
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 17 Feb 2020 13:50:50 +0000 (07:50 -0600)]
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>
Sage Weil [Mon, 17 Feb 2020 13:37:58 +0000 (07:37 -0600)]
mgr/cephadm: move into DaemonCache class
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Feb 2020 18:50:32 +0000 (12:50 -0600)]
mgr/cephadm: fix tests
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Feb 2020 18:50:23 +0000 (12:50 -0600)]
mgr/cephadm: implete hacky 'refresh=True' path
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Feb 2020 18:20:27 +0000 (12:20 -0600)]
mgr/cephadm: raise health alert when scrape fails
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Feb 2020 18:07:13 +0000 (12:07 -0600)]
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>
Sage Weil [Fri, 14 Feb 2020 18:00:57 +0000 (12:00 -0600)]
mgr/orch: serialize DaemonDescription last_refresh
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Feb 2020 17:13:03 +0000 (11:13 -0600)]
mgr/cephadm: move _get_daemons() impl into list_daemons
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Feb 2020 17:08:18 +0000 (11:08 -0600)]
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>
Sage Weil [Wed, 12 Feb 2020 22:44:56 +0000 (16:44 -0600)]
mgr/cephadm: use daemon map for service|daemon removal
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 12 Feb 2020 22:39:53 +0000 (16:39 -0600)]
mgr/cephadm: avoid _get_daemons for service|daemon actions
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 14 Feb 2020 16:49:37 +0000 (10:49 -0600)]
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>
Sage Weil [Wed, 12 Feb 2020 22:30:41 +0000 (16:30 -0600)]
mgr/cephadm: move DaemonDescription construction into helper
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Tue, 18 Feb 2020 20:04:52 +0000 (12:04 -0800)]
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>
Sage Weil [Tue, 18 Feb 2020 19:54:28 +0000 (13:54 -0600)]
Merge PR #33336 into master
* refs/pull/33336/head:
osd: fix racy accesses to OSD::osdmap.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 18 Feb 2020 19:27:26 +0000 (13:27 -0600)]
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>
Sage Weil [Sat, 15 Feb 2020 14:55:16 +0000 (08:55 -0600)]
cephadm: error out on filestore OSDs
We do not currently support filestore OSDs.
Signed-off-by: Sage Weil <sage@redhat.com>
Volker Theile [Tue, 4 Feb 2020 14:04:08 +0000 (15:04 +0100)]
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>
Patrick Donnelly [Tue, 18 Feb 2020 15:48:01 +0000 (07:48 -0800)]
mds: remove dead get_commands code
Left over from #31255,
d8c0bde04b88cb3ad96855bd0948ae10072c9da7.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Tue, 18 Feb 2020 15:29:11 +0000 (09:29 -0600)]
Merge PR #33369 into master
* refs/pull/33369/head:
cephadm: check for both chrony service names
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sebastian Wagner [Tue, 18 Feb 2020 14:14:03 +0000 (15:14 +0100)]
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>
Sage Weil [Mon, 17 Feb 2020 14:59:38 +0000 (08:59 -0600)]
mgr/orchestrator_cli: sort host list
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Tue, 18 Feb 2020 13:46:37 +0000 (21:46 +0800)]
crimson: add editor properties header
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Fri, 14 Feb 2020 10:42:14 +0000 (11:42 +0100)]
mgr/cephadm: add_host: Convert HostNotFound to OrchestratorError
Don't bother users with Python Tracebacks.
Fixes: https://tracker.ceph.com/issues/44026
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 14 Feb 2020 14:37:50 +0000 (15:37 +0100)]
mgr/cephadm: mon: Don't show traceback for user errors
E.g. when complaining about a missing netowork.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 14 Feb 2020 14:35:39 +0000 (15:35 +0100)]
mgr/orchestrator: exception pickle: don't raise
Otherwiese the pickle exception hides the underlying root cause.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 14 Feb 2020 14:32:55 +0000 (15:32 +0100)]
mgr/cephadm: Fix logging of exceptions
`multiprocessing.pool.Pool#map_async` no longer has the exception
context, therefore calling `logging.exception` did not print the exception anymore.
Now, let's call `fail` while we have the exception context.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Tue, 18 Feb 2020 09:05:30 +0000 (10:05 +0100)]
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>
Kefu Chai [Tue, 18 Feb 2020 01:17:42 +0000 (09:17 +0800)]
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>
Patrick Donnelly [Tue, 18 Feb 2020 00:41:37 +0000 (16:41 -0800)]
Merge PR #33227 into master
* refs/pull/33227/head:
mds: remove unused CDir members
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 18 Feb 2020 00:41:05 +0000 (16:41 -0800)]
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>
Patrick Donnelly [Tue, 18 Feb 2020 00:40:20 +0000 (16:40 -0800)]
Merge PR #33180 into master
* refs/pull/33180/head:
mds: add scrub_info_t into mempool
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 18 Feb 2020 00:39:32 +0000 (16:39 -0800)]
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>
Patrick Donnelly [Tue, 18 Feb 2020 00:38:34 +0000 (16:38 -0800)]
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>
Patrick Donnelly [Tue, 18 Feb 2020 00:35:14 +0000 (16:35 -0800)]
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>
Kefu Chai [Tue, 18 Feb 2020 00:33:33 +0000 (08:33 +0800)]
Merge pull request #33344 from athanatos/sjust/wip-errorator-handlers
errorator: improve general error handlers
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Daniel Gryniewicz [Mon, 17 Feb 2020 18:11:25 +0000 (13:11 -0500)]
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
Sage Weil [Mon, 17 Feb 2020 03:26:03 +0000 (21:26 -0600)]
qa/suites/rados/cephadm/smoke: remove rgw
Fixes: https://tracker.ceph.com/issues/44168
Signed-off-by: Sage Weil <sage@redhat.com>
Lenz Grimmer [Mon, 17 Feb 2020 16:36:25 +0000 (16:36 +0000)]
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>
Kefu Chai [Mon, 17 Feb 2020 16:05:56 +0000 (00:05 +0800)]
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>
Lenz Grimmer [Mon, 17 Feb 2020 15:34:11 +0000 (15:34 +0000)]
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>
Lenz Grimmer [Mon, 17 Feb 2020 14:48:45 +0000 (14:48 +0000)]
Merge pull request #33107 from votdev/cleanup_code
mgr/dashboard: Cleanup code
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Sage Weil [Mon, 17 Feb 2020 14:36:33 +0000 (08:36 -0600)]
cephadm: check for both chrony service names
Signed-off-by: Sage Weil <sage@redhat.com>
Daniel Gryniewicz [Mon, 17 Feb 2020 14:16:06 +0000 (09:16 -0500)]
Merge pull request #31901 from matthewoliver/rgw-admin-user-add-modify
rgw: make radosgw-admin user create and modify distinct
Kefu Chai [Mon, 17 Feb 2020 09:31:25 +0000 (17:31 +0800)]
Merge pull request #32632 from cyx1231st/rfc-seastar-test-socket-nevermove
crimson/net: configure seastar to accept on a fixed core
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Wed, 12 Feb 2020 16:18:32 +0000 (17:18 +0100)]
mgr/dashboard: add pyyaml to requirements.txt
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 24 Jan 2020 12:00:47 +0000 (13:00 +0100)]
doc: rename orchestrator_cli -> orchestrator
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 24 Jan 2020 13:15:44 +0000 (14:15 +0100)]
doc: add prettytable to admin/doc-requirements.txt
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 24 Jan 2020 12:03:00 +0000 (13:03 +0100)]
mon: always_on_modules: Rename orchestrator_cli to orchestrator
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 24 Jan 2020 12:02:33 +0000 (13:02 +0100)]
debian,spec: Rename orchestrator_cli to orchestrator
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 24 Jan 2020 12:02:04 +0000 (13:02 +0100)]
.github: Rename orchestrator_cli to orchestrator
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 24 Jan 2020 13:10:24 +0000 (14:10 +0100)]
mgr/dashboard: add prettytable to requirmenets.txt
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 24 Jan 2020 12:01:21 +0000 (13:01 +0100)]
mgr/dashboard: Fix doc urls to orchestrator
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Wed, 12 Feb 2020 15:21:05 +0000 (16:21 +0100)]
mgr/orchestrator: Use CLICommand, except it's global variable
`CLICommand.COMMANDS` is a global varialbe that prevents
anyone from importing other modules, as the `COMMANS` are then
merged together. Let's use a meta class instead of a global variable.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 24 Jan 2020 11:59:11 +0000 (12:59 +0100)]
pybind/mgr: orchestrator_cli rename: fix imports
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 24 Jan 2020 11:58:21 +0000 (12:58 +0100)]
mgr/orchestsrator: make parse_host_specs a classmethod
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Sebastian Wagner [Fri, 24 Jan 2020 12:08:02 +0000 (13:08 +0100)]
mgr/orchestrator_cli: rename to mgr/orchestrator
* Move `mgr/orchestrator.py` to `orchestrator/_interface.py`
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Mon, 17 Feb 2020 09:15:35 +0000 (17:15 +0800)]
Merge pull request #33361 from bk201/wip-44164
ceph.spec.in: fix python coverage dependency for non-rhel distros
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yingxin Cheng [Mon, 10 Feb 2020 09:00:31 +0000 (17:00 +0800)]
crimson/net: remove duplicated error codes and conditions
The duplicated error codes and conditions were originally introduced to
match connection errors with both system category (thrown by seastar)
and generic category (thrown by standard library). Since error_code
with system category can be matched by error_condition with generic
category (see std::errc and
system_error_category::default_error_condition(int)), our duplicated
counterparts are not needed actually.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Kefu Chai [Mon, 17 Feb 2020 04:38:13 +0000 (12:38 +0800)]
Merge pull request #33358 from howard0su/nvme1
os/bluestore: allocate Task on stack
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kiefer Chang [Mon, 17 Feb 2020 04:09:46 +0000 (12:09 +0800)]
ceph.spec.in: fix python coverage dependency for non-rhel distros
The coverage package under openSUSE (and other distros) are named as
python{major_version}-coverage (without minor version).
Fixes: https://tracker.ceph.com/issues/44164
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Matthew Oliver [Fri, 10 Jan 2020 03:17:11 +0000 (03:17 +0000)]
rgw: make radosgw-admin user create and modify distinct
Currently if you run 'radosgw-admin user create ..' when the user
already exists and you happen to specify, at least, '--uid' and
'--display-name' that match the existing user, radowgw-admin will
actaully go modify the existing user.
This behaviour is a little confusing, hence the bug this patch is
fixing. This patch instead simplifies the tool to make
'create' create and 'modify' modify.
Meaning when you go 'create' a user that already exists, you'll get an
error, as expected. If you want to modify a user, you actually have to
use 'modify'.
For exapmle, now:
$ radosgw-admin user create --uid="test-user" --display-name="test user"
could not create user: unable to create user, user: test-user exists
Signed-off-by: Matthew Oliver <moliver@suse.com>
Fixes: https://tracker.ceph.com/issues/38619