Commit Graph

369 Commits

Author SHA1 Message Date
Sebastian Wagner
bc162005a9 doc/mgr/orchestrator: use yaml syntax highlighting
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-01 11:34:18 +02:00
Sebastian Wagner
0c6759750a doc/mgr/orchestrator: Add "Service Specification"
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-01 11:34:18 +02:00
Sebastian Wagner
3543aeb84c mgr/orch: Add ceph orch ls --export
* defaults to `--format yaml`
* don't include `status`

```
$  ceph orch ls --export
placement:
  host_pattern: '*'
service_name: crash
service_type: crash
```

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-26 12:02:56 +01:00
Michael Fritch
530c62d76d
mgr/cephadm: update docs
Signed-off-by: Michael Fritch <mfritch@suse.com>
2020-03-25 16:26:13 -06:00
Sage Weil
49143d6578 python-common: 'all:true' -> '*'
'all:true' is no longer a valid PlacementSpec.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-14 09:52:08 -05:00
Sage Weil
b3f910da04 Merge PR #33924 into octopus
* refs/pull/33924/head:
	doc/mgr: Enhance placement specs
	doc/cephadm: Fix toc of Drive Groups

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-13 09:51:32 -05:00
Sebastian Wagner
e303fe7eaa doc/mgr: Enhance placement specs
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-13 13:40:15 +01:00
Lenz Grimmer
8571ce4fd2 doc: Improved Dashboard installation workflow
Moved the "Accessing the Dashboard" section in front of
the paragraphs that talk about enabling additional services.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2020-03-12 14:21:11 +01:00
Lenz Grimmer
4009e9db90 doc: Updated dashboard feature overview for Octopus
Added new Dashboard features added for the Octopus
release.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2020-03-12 14:19:52 +01:00
Lenz Grimmer
bd337d5186
Merge pull request #32419 from rhcs-dashboard/fix-43419-master
mgr/dashboard: add feature toggle for NFS and fix feature toggles regression

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-03-12 10:17:56 +01:00
Ernesto Puerta
fcb77ee9d6
mgr/dashboard: add feature toggle for NFS
- New NFS feature toggle added.
- Fixed regression which broke FeatureToggles in the main menu.
- Added extensive unit testing to NavigationComponent
- Added ng-mocks to improve test isolation and performance (~7x, 139s to
20s)
- Added ng-bullet package to improve unit testing performance (2x, 20s
to 9s)
- Added Rxjs Schedulers to implement NgZone.runOutsideAngular in a Rxjs
friendly way (based on
    https://stackoverflow.com/questions/43121400/run-ngrx-effect-outside-of-angulars-zone-to-prevent-timeout-in-protractor)

Minor issues found from exhaustive unit testing:
- Missing permissions in Cluster menu:
  - `permissions.log.read` and `permissions.prometheus.read`
- Missing classes:
  - Block -> Images: `tc_submenuitem_block_images`
  - Block -> iSCSI: `tc_submenuitem_block_iscsi`
- Typos:
  - class `tc_submenuitem_hosts` assigned to OSD menu (instead of
      `tc_submenuitem_osd`)
  - `tc_menuitem_cephs` -> `tc_menuitem_cephfs`

Minor changes:
- Previously, Cluster Map -> CRUSH Map required both OSD and Host
permissions. Now it only requires OSD permissions (there are no
references to hosts in CRUSH Map page). Nevertheless, all system roles
setting OSD permission also set Host's, so no impact expected.
- Previously, Cluster -> Monitoring menu was hidden when both Prometheus
or Alertmanager weren't configured. Now it's displayed and when clicked
on it shows the helper banner indicating that further configuration is
required. This change removes the dependency on the PrometheusService.

Fixes: https://tracker.ceph.com/issues/43419
Fixes: https://tracker.ceph.com/issues/43715
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-03-11 15:03:58 +01:00
Sebastian Wagner
2c0ff28d45 doc: Move Move ServiceSpec to python-common
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-10 13:28:23 +01:00
Sage Weil
a9bb16b40f Merge PR #33747 into master
* refs/pull/33747/head:
	doc/mgr/telemetry: add 'send' command
	mgr/telemetry: force --license when sending while opted-out

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-07 07:07:41 -06:00
Sage Weil
739c23da1b doc/cephadm/monitoring: document process to set up monitoring with cephadm
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-06 11:30:18 -06:00
Yaarit Hatuka
4308c5d56e doc/mgr/telemetry: add 'send' command
Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
2020-03-05 12:15:27 -05:00
bk203
52deebaa5c doc: update Zabbix template reference
The old link references a 2017 version of the template, I experienced problems using this version of the template with the latest version of Ceph. Ceph would report "Failed to send data to Zabbix", by importing the newer 2019 version of the template within Zabbix Ceph could again send data (due to changed Zabbix Trapper item keys). Propose to replace the link for a link referencing the master branch of the template so the newest version is always referenced in the docs.

Signed-off-by: Mathijs Smit <m.smit@goldenvalue.nl>
2020-03-03 10:32:57 +08:00
Sage Weil
4ad485d285 Merge PR #33575 into master
* refs/pull/33575/head:
	mgr/telemetry: fix and document proxy usage

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Yaarit Hatuka <yaarithatuka@gmail.com>
2020-03-01 19:53:25 -06:00
Sebastian Wagner
424e3b2773
Merge pull request #33044 from jschmid1/drive_group_docs
doc/drivegroups: add docs for DriveGroups with excessive examples

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
2020-02-27 19:57:37 +01:00
Sebastian Wagner
3d782a0e86 doc/mgr/orchestrator: Add CephFS
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-02-27 12:40:48 +01:00
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
Lars Marowsky-Bree
5d7c79b079 mgr/telemetry: fix and document proxy usage
This addresses https://tracker.ceph.com/issues/44320 - fix and document
use of proxies for mgr/telemetry.

Signed-off-by: Lars Marowsky-Bree <lmb@suse.com>
2020-02-27 11:11:01 +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
Joshua Schmid
044b400f23 doc/drivegroups: add initial write-up
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-02-26 22:53:15 +01: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