Commit Graph

6523 Commits

Author SHA1 Message Date
Yehuda Sadeh
1833797488 doc/orchestrator: update rgw creation
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2020-03-19 08:11:50 -07:00
Mykola Golub
e2a3842a6d
Merge pull request #34032 from dillaman/wip-rbd-octopus-docs
doc/releases/octopus: add additional RBD improvements

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-03-18 18:45:43 +02:00
Jason Dillaman
965c300434 doc/releases/octopus: add additional RBD improvements
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-03-18 12:16:28 -04:00
Sage Weil
9ea587142a Merge PR #33981 into octopus
* refs/pull/33981/head:
	doc/install: edits
	doc/cephadm: more edits
	doc/cephadm/install: edits
	doc/cephadm/adoption: improvements
	doc/cephadm/install: a few edits
	doc/cephadm/install: do not install ceph-common on host (by default)
	doc/cephadm: drop os recs link
	doc/cephadm/upgrade: improvements
	doc/cephadm/upgrade: document upgrade
	doc/cephadm/install: revamp install docs
	doc: reorganize cephadm docs
	doc/cephadm/administration: update docs on customizing SSH config
	doc/cephadm/administration: add a note about the 'removed' dir

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-03-18 09:45:16 -05:00
Venky Shankar
60105f6101 doc: document clone cancel command
Fixes: http://tracker.ceph.com/issues/44208
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-03-18 11:03:21 +05:30
Sage Weil
2fafbffdc9 doc/install: edits
Based on review by Alexandra Settle <asettle@suse.com>

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
3830b632e6 doc/cephadm: more edits
Based on review by Alexandra Settle <asettle@suse.com>

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
63401694dd doc/cephadm/install: edits
Based on review from Alexandra Settle <asettle@suse.com>

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
ae944d6b5a doc/cephadm/adoption: improvements
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
cfe8eb7f5c doc/cephadm/install: a few edits
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
123eeaae07 doc/cephadm/install: do not install ceph-common on host (by default)
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
19d04cb7b9 doc/cephadm: drop os recs link
This mostly doesn't quite apply to cephadm because we use containers.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
d3075903cd doc/cephadm/upgrade: improvements
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
20cac050f1 doc/cephadm/upgrade: document upgrade
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
26f3624498 doc/cephadm/install: revamp install docs
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:53:07 -05:00
Sage Weil
ce2066e623 doc: reorganize cephadm docs
- reorganized cephadm into a top-level item with a series of sub-items.
- condensed the 'install' page so that it doesn't create a zillion items
in the toctree on the left
- started updating the cephadm/install sequence (incomplete)

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:52:43 -05:00
Sage Weil
dd8a735f59 doc/cephadm/administration: update docs on customizing SSH config
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:50:29 -05:00
Sage Weil
a5e26ac6e8 doc/cephadm/administration: add a note about the 'removed' dir
(and other paths)

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-17 17:50:29 -05:00
Sage Weil
a9b15c7e1a update default container images
- For tests, use bleeding-edge octopus branch
- For production defaults, use ceph/ceph:v15.2 tag
- For bootstrap, grab cephadm script from latest octopus branch

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-16 20:53:57 -05:00
Sage Weil
7957655227 cephadm: bootstrap: deploy monitoring stack by default
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-16 12:39:44 -05:00
Kefu Chai
1b17f742c9 doc/releases/octopus.rst: use note directive for notes
so the note stands out in the text

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-16 20:12:53 +08:00
Kefu Chai
fbd4b59742 doc/releases/octopus.rst: add '$' as prompt
to help the BashSession lexer to render the text starting with "#" as comments

see https://pygments.org/docs/lexers/#lexers-for-various-shells

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-16 20:12:53 +08:00
Kefu Chai
2a2ce99dc5 doc/releases/octopus: decrease the indent level
for less and better horizontal spacing

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-16 20:12:53 +08:00
Kefu Chai
c555a4e10d doc/_static/css: fine tune the spacing
* `ul.simple > li` is also used in front page, where the items are too
  sparse now. so we need to restore the default spacing.
* `ul.simple > li > ul > li:last-child` is used to control the spacing
  between nested unordered list. we need have more spacing there.
* `div.section > ul > li > p` is added to decrease the spacing of nested
  list items.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-16 20:12:38 +08:00
Kefu Chai
a9a93ad7e5
Merge pull request #33971 from tchaikov/octopus-doc-release
doc/releases/octopus.rst: format tweaks

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-16 11:11:15 +08:00
Sage Weil
9194a33adb Merge PR #33970 into octopus
* refs/pull/33970/head:
	python-common: 'all:true' -> '*'

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-03-15 21:01:50 -05:00
Kefu Chai
5d6a1998c7 doc/releases/octopus.rst: reindent top-level items
reduce the indent level, so these items are better formated

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-16 02:00:46 +08:00
Kefu Chai
0299336c69 doc/releases/octopus.rst: formatting tweaks
* use console lexer for highlighting command lines
  otherwise they will be rendered as python code
* use bold font instead italic in subsection headers,
  they look more formal this way
* fix a typo: delineated

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-16 02:00:46 +08:00
Kefu Chai
611eb5b6d8 doc/releases: fix hyper link
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-16 02:00:46 +08:00
Kefu Chai
cdc169feaa doc/release: fix "CephFS" subsection heading
it's a regression introduced by 26db06cf21

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-16 02:00:46 +08:00
Sage Weil
a5bd70d8b7 doc/cephadm: use ssh-copy-id
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-14 09:59:40 -05: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
b64db21225 Merge PR #33953 into octopus
* refs/pull/33953/head:
	doc: Move ceph-deploy docs to doc/install/ceph-deploy

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-13 10:25:40 -05:00
Sebastian Wagner
d231eb90ce doc: Move ceph-deploy docs to doc/install/ceph-deploy
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-13 15:52:41 +01: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
Kefu Chai
13b74bfccd
Merge pull request #33940 from tchaikov/octopus-release-notes-header
doc: use subsection for representing components in release notes

Reviewed-by: Sage Weil <sage@redhat.com>
2020-03-13 21:02:58 +08: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
Kefu Chai
26db06cf21 doc/releases: use h3 for rendering subsections in release notes
to highlight the components with subsection header, and allow readers to
navigate through them with TOC.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-13 20:16:18 +08:00
Kefu Chai
e2e9de8b4d doc: overide the default margin for "ul.simple > li"
by default, the user agent's css sets `margin-block-end` of "ul ul" to
"0", which renders the unordered lists in release notes cluttered. as we
are using nested unordered list to present the changes in different
components.

in this change a customized css is added to reset the begin and end
margin of ul to 1em, which is the default value of top level ul.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-03-13 20:16:18 +08:00
Sage Weil
0c62be9275 mgr/cephadm: implement pause/resume to suspect non-monitoring background work
If the user does 'orch pause', suspend all background work that makes
actual changes.

Continue to do read-only operations, like checking host connectivity
and scraping daemon and device status.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-12 13:13:11 -05:00
Lenz Grimmer
1857746562
Merge pull request #33919 from LenzGr/octopus-documentation
documentation: Updated Dashboard Features, improved flow

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-03-12 17:28:34 +01:00
Sage Weil
8251598d81 Merge PR #33890 into octopus
* refs/pull/33890/head:
	doc/install: rethink docs install page (similar to PR#33613)
	doc/install: Rethink doc/install

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2020-03-12 10:40:43 -05:00
Sebastian Wagner
daf726347b doc/cephadm: Fix toc of Drive Groups
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-03-12 16:36:09 +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
Mykola Golub
e8e0382f39
Merge pull request #33831 from dillaman/wip-44396
rbd-mirror: prevent I/O modifications against a non-primary image

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-03-12 11:53:04 +02: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
Zac Dover
e3cf60d135 doc/install: rethink docs install page (similar to PR#33613)
This rearranges the list of installation methods, in accordance with Sage's and Sebastian W's wishes.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-03-12 01:28:28 +10: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
Jason Dillaman
eff1380b15 librbd: new RBD_FEATURE_NON_PRIMARY to prevent R/W IO
When a snapshot-based image is non-primary, we will need to use
this implicit feature to ensure that writes and maintenance
operations cannot be performed against the image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-03-10 19:23:02 -04:00