Commit Graph

348 Commits

Author SHA1 Message Date
Sebastian Wagner
4e15f03a63 doc/mgr/orchestrator: Add documentation for plcement specs
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-27 12:40:48 +01:00
Sebastian Wagner
e59eae1c96 doc/mgr: Reordering
* Moved *Configuring the Orchestrator CLI*
* Updated the definitions

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-27 12:40:48 +01:00
Sage Weil
f83f38a26e Merge PR #33552 into master
* refs/pull/33552/head:
	mgr/dashboard: Enhance user create CLI command to force password change

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-02-26 17:13:02 -06:00
Volker Theile
f1f7df3d33 mgr/dashboard: Enhance user create CLI command to force password change
Fixes: https://tracker.ceph.com/issues/44301

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-02-26 15:50:53 +01:00
Sebastian Wagner
4dbe64c658 doc: move cephadm mgr doc to /doc/cephadm
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-26 12:29:37 +01:00
Sebastian Wagner
071e76de4f
Merge pull request #33459 from liewegas/doc-adopt
doc/mgr/cephadm: document adoption process

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-02-26 10:48:49 +01:00
Sage Weil
16a11f795a Merge PR #33113 into master
* refs/pull/33113/head:
	doc/mgr/telemetry: added device channel details

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-24 15:58:57 -06:00
Sage Weil
ba3daedecf doc/mgr/cephadm: document adoption process
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-24 13:47:40 -06:00
Sage Weil
3d01f1b6d0 doc/mgr/cephadm: fix headings, requirements
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-24 13:32:10 -06:00
Sebastian Wagner
163be4e0af doc/orchestrator: Substitute host for node
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-23 12:07:24 -06:00
Lenz Grimmer
54d32ce144
Merge pull request #32680 from votdev/wip-force-pwd
mgr/dashboard: Enforce password change upon first login

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-02-21 15:45:35 +00:00
Yaarit Hatuka
66c41f3d0e doc/mgr/telemetry: added device channel details
Plus details about license agreement.

Fixes: https://tracker.ceph.com/issues/43648
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
2020-02-20 10:27:21 -05:00
Kefu Chai
27550242d4 doc/mgr/dashboard.rst: s/plugin/module/
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-20 22:15:54 +08:00
Sage Weil
151f88d7f9 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>
2020-02-19 14:50:40 -06:00
Volker Theile
b37079a6fc mgr/dashboard: Enforce password change upon first login - Part 2
Introduce the following:
- A new layout component for the login pages.
- A new route called /login-change-password.
- A guard that checks if a user must change the password (ChangePasswordGuardService). If this is true, redirect to /login-change-password.
- Added LoginPasswordFormComponent (extends UserPasswordFormComponent) for the password form but (looks similar the login page).

Fixes: tracker.ceph.com/issues/24655

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-02-19 15:54:42 +01: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
Joshua Schmid
c9b9e57967 mgr/osd_support: move docs to docs/mgr/osd_support.rst
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-02-19 08:58:19 +01:00
Sebastian Wagner
59d54f3df1 doc: rename orchestrator_cli -> orchestrator
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-17 10:24:01 +01:00
Sage Weil
8456ab721e doc/mgr/orchestrator_modules: update docs
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:43:38 -06:00
Sage Weil
67d72bca89 mgr/orch: move to service_apply; remove update_foo()
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 09:00:58 -06:00
Sage Weil
07a74f5705 mgr/orch: remove old remove_{osds,rgw,mds,nfs,...} methods
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-13 07:13:03 -06:00
Sage Weil
aacc9a650f mgr/orch: service ls -> ps, add DaemonDescription
- We keep ServiceDescription around unmodified (although it will need some
  cleanup later)
- We add DaemonDescription, and clean out the service-related ambiguities
- Add a new list_daemons() method for Orchestrator
- Add a new 'ceph orch ps' command
- In cephadm, drop get_services(), and implement list_daemons()
  - a million changes to make this work
- Adjust health alert and option names

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-12 11:14:17 -06:00
Sage Weil
95ecaad0d5 mgr/orch: split out daemon_action from service_action
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-12 11:14:17 -06:00
Sage Weil
02aeeb0dac Merge PR #33175 into master
* refs/pull/33175/head:
	mgr/cephadm: Add some more type annotations
	mgr/orchestrator: unify StatelessServiceSpec and StatefulServiceSpec

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-11 10:42:58 -06:00
Sage Weil
34fae12918 Merge PR #33043 into master
* refs/pull/33043/head:
	doc/releases: octopus draft notes

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-02-10 14:49:35 -06:00
Sage Weil
a216baa83e doc/releases: octopus draft notes
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-10 12:56:13 -06:00
Sebastian Wagner
80a2a70893 mgr/orchestrator: unify StatelessServiceSpec and StatefulServiceSpec
Both classes are essentially equal. Keeping both just makes thigs
more compicated.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-10 12:11:52 +01:00
Sage Weil
20205e70c4 mgr/orch: 'ceph orchestrator ...' -> 'ceph orch ...'
Less typing for all!

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-09 15:39:57 -06:00
Sage Weil
b5a01b7a3b doc/mgr/orchestrator_cli: update support table
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-09 09:47:40 -06:00
Sage Weil
2e3ed251a6 mgr/deepsea: remove
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-09 09:45:36 -06:00
Sage Weil
01c36d9db7 mgr/ansible: remove
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-07 09:45:12 -06:00
Tatjana Dehler
4515ab32fa
Merge pull request #32546 from votdev/issue_43089_passwd_cmplx_config
mgr/dashboard: Make password policy check configurable

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-02-06 09:44:48 +01:00
Volker Theile
3684d24a43 mgr/dashboard: Make password policy check configurable
Fixes: https://tracker.ceph.com/issues/43089

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-01-31 11:28:17 +01:00
Sage Weil
16db65fee2 mgr/cephadm: periodically check hosts, and warn if the host check fails
If we manually run the check, wake up the serve thread to recheck things.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-30 07:13:05 -06:00
Lenz Grimmer
4f4448aa06
mgr/dashboard: extend doc by Grafana setting (#32460)
mgr/dashboard: extend doc by Grafana setting

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
2020-01-28 10:06:24 +00:00
Patrick Seidensal
4483ad4317 mgr/dashboard: unify indentation in dashboard.rst
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-01-27 15:56:25 +01:00
Sage Weil
2ff06d75f8 mgr/cephadm: health alert for stray hosts and/or services
Fixes: https://tracker.ceph.com/issues/43714
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 11:13:40 -06:00
Sage Weil
21f2bcf061 mgr/orchestrator_cli: upgrade {start,pause,resume,stop}
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-17 12:22:02 -06:00
Patrick Seidensal
c552e1fbf6 mgr/dashboard: extend doc by Grafana setting
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-01-02 13:21:53 +01:00
Tatjana Dehler
0221241909 mgr/dashboard: add password expiration date
Add a 'pwd_expiration_date' field to the User object to be able
to set password expiration date per user.

There are two options to set a password expiration date for a
user:

1. Set the 'USER_PWD_EXPIRATION_SPAN' setting. If defined
   the expiration date of the password will be calculated
   automatically based on the given value. It will also be
   updated automatically when the user changes the password.
2. Set an expiration date by setting the 'pwdExpirationDate'
   field when creating a user.

Add two more settings in addition: USER_PWD_EXPIRATION_WARNING_1
and USER_PWD_EXPIRATION_WARNING_2. These two settings are
defining the amount of days to notify the user that his password
will expiration soon.

It's not possible to set the 'pwd_expiration_date' field to a
date in the past.

If the password of a user is already expired he is no longer
allowed to log into the dashboard.

Fixes: https://tracker.ceph.com/issues/40329
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2019-12-13 08:53:05 +01:00
Lenz Grimmer
6bab7c8002
Merge pull request #31920 from ricardoasmarques/fix-sso-certs
mgr/dashboard: Invalid SSO configuration when certificate path does not exist

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-12-12 09:47:12 +00:00
Sage Weil
cd1c05acbb mgr/ssh -> mgr/cephadm
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-11 19:14:24 -06:00
Lenz Grimmer
26f9952671
mgr/dashboard: list configured prometheus alerts (#31937)
mgr/dashboard: list configured prometheus alerts

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-12-05 12:25:33 +00:00
Lenz Grimmer
3bdbf94e44
mgr/dashboard: Check password complexity in Dashboard CLI comm… (#31916)
mgr/dashboard: Check password complexity in Dashboard CLI commands

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-12-05 09:46:14 +00:00
Patrick Seidensal
36421284c3 mgr/dashboard: extend dashboard documentation
by adding the previously added monitoring related features as well as
the newest feature addition. Extends the documentation where necessary
to describe the Prometheus' alert configuration.

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

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2019-12-04 12:27:37 +01:00
Laura Paduano
4ad8591fe4
Merge pull request #30961 from rjfd/wip-mgr-module-logging
mgr: module logging infrastructure

Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-12-03 10:29:42 +01:00
Ricardo Marques
cec98a8f90 mgr/dashboard: Invalid SSO configuration when certificate path does not exist
Fixes: https://tracker.ceph.com/issues/43060

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-11-29 15:05:57 +00:00
Volker Theile
6f0b3179b9 mgr/dashboard: Check password complexity in Dashboard CLI commands
- Refactor parts of the existing password complexity code.
- Check password complexity when setting password via Dashboard CLI commands.
- Add ability to force setting a password via CLI. This is useful in vstart environments or wherever it is necessary to disable the password complexity check.

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-11-29 11:12:55 +01:00
Sebastian Wagner
a74d57bcb2 doc/orchestrator: Adapted to new Completions
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-11-27 13:38:20 +01:00
Volker Theile
e047ffd20d mgr/dashboard: Dashboard can't handle self-signed cert on Grafana API
To configure SSL certificate verification use the following command:
$ ceph dashboard set-grafana-api-ssl-verify true|false

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

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-11-18 09:48:11 +01:00