Commit Graph

6829 Commits

Author SHA1 Message Date
David Zafman
661996d434 mgr: Warn when too many reads are repaired on an OSD
Include test case
Configurable by setting mon_osd_warn_num_repaired (default 10)
Ignore new health warning with random eio injection test

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

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-06-16 17:45:27 -07:00
Sebastian Wagner
5a7d75290f
Merge pull request #35099 from sebastian-philipp/doc-orch-update-specs
doc/orch: How to update an existing specification

Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2020-06-09 22:03:51 +02:00
zdover23
e503942ffc
Merge pull request #35187 from CodingSpiderFox/patch-3
doc: Introduce the concept of a pool before talking about it.
2020-06-09 23:10:05 +10:00
Kefu Chai
e13193fcaa
Merge pull request #34667 from aclamk/wip-rocksdb-reshard
Resharding tool for sharded rocksdb

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-06-09 20:11:32 +08:00
Sebastian Wagner
3204457917 doc/orch: How to update an existing specification
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-06-09 10:57:30 +02:00
Sebastian Wagner
3a757a4d67
Merge pull request #34633 from sebastian-philipp/cephadm-total-scheduler
mgr/cephadm: make scheduling make sense

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-06-09 10:10:51 +02:00
J. Eric Ivancich
28956affe2
Merge pull request #32393 from clwluvw/opa-access-key
rgw: Add subuser to OPA request

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-06-06 15:10:55 -04:00
Pritha Srivastava
d228d613b0 rgw: modifying documentation to include explanation of
open id connect provider related REST APIs and removing
references to token introspection for validating incoming
web token.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2020-06-05 21:31:58 +05:30
Casey Bodley
74c52f1d51
Merge pull request #35413 from sebastian-philipp/upgrade-empty-realm
doc/cephadm: Adopt single-site RGW

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-06-05 11:00:19 -04:00
Sebastian Wagner
89056de529
Merge pull request #35365 from sebastian-philipp/doc-orch-unmanaged
doc/mgr: add docs for unmanaged=True

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-06-05 15:47:29 +02:00
Sebastian Wagner
10b4f7a6d8 doc/cephadm: Adopt single-site RGW
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-06-05 12:55:15 +02:00
Sebastian Wagner
a46d582422 doc/mgr: add docs for unmanaged=True
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-06-05 10:51:16 +02:00
Sebastian Wagner
502c04dc79
Merge pull request #35375 from sebastian-philipp/doc-cephadm-volker-error
doc/cephadm: Add alternative error for missing CIDR network

Reviewed-by: Volker Theile <vtheile@suse.com>
2020-06-05 09:46:35 +02:00
Casey Bodley
3f922a5a84
Merge pull request #33646 from ofriedma/wip-mkogan-ofriedma-add-cache-api
rgw: Adding data cache and CDN capabilities

Reviewed-by: Mark Kogan <mkogan@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-06-04 12:11:11 -04:00
Sebastian Wagner
bd43551304 doc/cephadm: Add alternative error for missing CIDR network
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-06-04 09:53:10 +02:00
Joshua Schmid
e9600666e0
doc/cephadm: align to all-available-devices flag
Signed-off-by: Joshua Schmid <jschmid@suse.de>
2020-06-03 16:01:11 +02:00
Sebastian Wagner
b30702136b doc/cephadm: add Cephadm scheduler section
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-06-03 14:21:51 +02:00
Kefu Chai
3038cd3529
Merge pull request #35257 from athanatos/sjust/wip-lba-tree
crimson: TransactionManager and BtreeLBAManager initial implementations

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-06-03 09:47:17 +08:00
Patrick Donnelly
cc36113ad4
Merge PR #34776 into master
* refs/pull/34776/head:
	mgr/volumes: Create subvolume with isolated rados namespace

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-06-02 17:44:21 -07:00
Samuel Just
6efed8f151 doc/dev/seastore.rst: add a bit of information about lba tree etc
Signed-off-by: Samuel Just <sjust@redhat.com>
2020-06-02 16:56:41 -07:00
Sebastian Wagner
fc4dffb97f
Merge pull request #34879 from Daniel-Pivonka/cephadm_bootstrap_apply_spec
mgr/cephadm: cephadm bootstrap add --apply-spec <cluster.yaml>

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-06-02 12:54:38 +02:00
Sebastian Wagner
cdec26d6af
Merge pull request #35124 from jmolmo/wip-doc-update-devices
doc: New section in device management

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-06-02 12:47:54 +02:00
Kefu Chai
4c12f7556e
Merge pull request #34714 from alfredosola/patch-1
doc/rados: fix a typo in troubleshooting-mon.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-06-02 12:54:14 +08:00
Kefu Chai
c231b93ca8
Merge pull request #35168 from CodingSpiderFox/master
doc: clarify WAL in bluestore-config-ref.rst

Reviewed-by: Samuel Just <sjust@redhat.com>
2020-06-02 12:44:43 +08:00
Patrick Donnelly
9442abd152
Merge PR #34672 into master
* refs/pull/34672/head:
	qa/tasks/cephfs: Enable multiple exports tests
	mgr/nfs: Instead of 'auth del' use 'auth rm'
	qa/tasks/cephfs: Don't enable cephadm in TestNFS
	qa/tasks/cephfs: Add tests for nfs exports
	mgr/volumes/nfs: Fix idempotency of cluster and export commands
	mgr/volumes/nfs: Fix incorrect read only access_type value
	mgr/fs/nfs: Use check_mon_command() instead of mon_command()
	qa/cephfs: Add tests for nfs
	mgr/volumes/nfs: Remove type option from export create interface
	vstart: Instead of CACHEINODE use MDCACHE
	mgr/volumes: Rearrange nfs export interface
	mgr/volumes/nfs: Delete common config object on cluster deletion
	mgr/volumes/nfs: Delete all exports on cluster deletion
	mgr/volumes: Make nfs create export interface idempotent
	vstart: Add watch url for conf-nfs object
	mgr/volumes/nfs: Delete user on removing export
	mgr/volumes: Create user for given path and fs
	vstart: Ensure cephadm and NFS does not conflict
	vstart: Update details about ganesha packages
	mgr/volumes/nfs: Add delete cephfs export command
	mgr/volumes/nfs: Add RADOS notify for common config object
	mgr/volumes/nfs: Pass cluster_id directly to NFSCluster {create, update, delete} methods
	mgr/volumes: Add nfs cluster delete interface
	mgr/volumes: Add nfs cluster update interface
	vstart: Enable test_orchestrator in start_ganesha()
	mgr/volumes: Add placement option to create nfs cluster interface
	mgr/volumes/nfs: Change common ganesha config object name to 'conf-nfs.ganesha-<cluster_id>'
	mgr/volumes/nfs: Call orch nfs apply

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-06-01 11:23:03 -07:00
ofriedma
d73b879ac1 rgw: fix nginx-rgw docs
Signed-off-by: Or Friedmann <ofriedma@redhat.com>

Signed-off-by: Mark Kogan <mkogan@redhat.com>
2020-06-01 12:24:19 +03:00
Jason Dillaman
7236845b0e
Merge pull request #35138 from maydaycc/wip-45313
librbd: support duration controllable continuous burst

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-05-29 16:32:05 -04:00
Wencong Wan
86b082bd94 librbd: support duration controllable continuous burst
Modify the design of token bucket to save more tokens than burst value,
so as to support continuous burst. The desired burst duration can be
controlled by rbd_qos_XYZ_burst_seconds.

Fixes: https://tracker.ceph.com/issues/45313
Signed-off-by: wencong wan <wanwc@chinatelecom.cn>
2020-05-29 15:44:33 -04:00
Jason Dillaman
1521908830
Merge pull request #35303 from hansbogert/patch-3
doc: rbd-mirroring: Explain snapshot mirroring

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-05-29 09:25:37 -04:00
Varsha Rao
9bcd7b673d mgr/volumes/nfs: Remove type option from export create interface
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-29 14:47:32 +05:30
Varsha Rao
8a84744a5a mgr/volumes: Rearrange nfs export interface
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-29 14:47:32 +05:30
Varsha Rao
5b45610549 mgr/volumes/nfs: Add delete cephfs export command
$ ceph nfs export delete <binding> <clusterid>

binding: It is the pseudo root name
clusterid: It is name of the cluster

Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-29 14:47:32 +05:30
Varsha Rao
db2734a50f mgr/volumes: Add nfs cluster delete interface
$ ceph nfs cluster delete <clusterid>

This deletes the deployed cluster.

Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-29 14:47:32 +05:30
Varsha Rao
9f97401f27 mgr/volumes: Add nfs cluster update interface
$ ceph nfs cluster update <clusterid> <placement>

This updates the existing deployed cluster according to placement value.

Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-29 14:47:32 +05:30
Varsha Rao
b16190bb5f mgr/volumes: Add placement option to create nfs cluster interface
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-05-29 14:47:32 +05:30
Zac Dover
f0fe087077 Add note warning against the :latest tag.
Signed-off-by: Zac Dover <zac.dover@gmail.com>

Incorporating mgfritch's improvements.

Signed-off-by: Zac Dover <zac.dover@gmail.com>

s/docker/podman/ -- as per mgfritch's suggestion

Signed-off-by: Zac Dover <zac.dover@gmail.com>

s/: latest/:latest/

Signed-off-by: Zac Dover <zac.dover@gmail.com>

s/image ids/image IDs/ -- as per Alex Settle's suggestion.

Signed-off-by: Zac Dover <zac.dover@gmail.com>

Add note warning against the :latest tag.

Signed-off-by: Zac Dover <zac.dover@gmail.com>

s/image ids/image IDs/ -- as per Alex Settle's suggestion.

Signed-off-by: Zac Dover <zac.dover@gmail.com>

Linked to container page from cephadm install page.

Signed-off-by: Zac Dover <zac.dover@gmail.com>

Clarified the note directing readers to the container documentation.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-05-29 14:54:21 +10:00
Hans Bogert
6cb0fe6d61 doc: rbd-mirroring: Explain snapshot mirroring
* Rectify that snapshot based mirroring is point-in-time consistent
* Reword slightly s.t. there is less repetition.

Based on the discussion in https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/G6ZW5OP4IXGUBAJTKZDPABK7HCKYISQH/

Signed-off-by: Hans van den Bogert <hansbogert@gmail.com>
2020-05-29 00:11:54 +02:00
Daniel-Pivonka
fed98dfab1 mgr/cephadm: cephadm bootstrap add --apply-spec <cluster.yaml>
Have a single command when setting up a cluster for Day 1

example spec

---
service_type: host
addr: jmo-node-00
hostname: jmo-node-00
labels:
- test
- test2
---
service_type: host
addr: jmo-node-01
hostname: jmo-node-01
labels:
- grafana
---
service_type: host
addr: jmo-node-02
hostname: jmo-node-02
---
service_type: grafana
placement:
  label: "grafana"
---
service_type: osd
placement:
  host_pattern: '*'
data_devices:
  all: true

Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
2020-05-28 12:26:48 -04:00
Kefu Chai
8f740b2b28
Merge pull request #34835 from jschmid1/osdspec_affinity
osd: add --osdspec-affinity flag

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-05-28 15:00:22 +08:00
Sebastian Wagner
61847ab200
Merge pull request #35106 from p-se/wip-pse-cephadm-custom-monitoring-images
mgr/cephadm: allow custom images for grafana, prometheus, alertmanager and node_exporter
2020-05-27 18:12:05 +02:00
Sebastian Wagner
571b868f1f
Merge pull request #35195 from ricardoasmarques/allow-specify-ssh
cephadm: Allow users to provide ssh keys during bootstrap

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-05-27 18:05:14 +02:00
Kefu Chai
857f55dee8
Merge pull request #35111 from agayev/hm-smr
os/bluestore: Enable writing data to HM-SMR hard drives.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-05-27 21:55:50 +08:00
Juan Miguel Olmo Martínez
e0257273dd
doc: New section in device management
A new section to describe the command used to blink lights in physical devices

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2020-05-27 15:42:19 +02:00
Ricardo Marques
84c390f07f cephadm: Alow users to provide ssh config during bootstrap
Custom ssh config can be provided by using the '--ssh-config' option

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2020-05-27 12:00:52 +01:00
Ricardo Marques
ad75937489 cephadm: Allow users to provide ssh keys during bootstrap
Fixes: https://tracker.ceph.com/issues/45629

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2020-05-27 11:57:54 +01:00
Sebastian Wagner
9e1e02508f
Merge pull request #34902 from p-se/wip-pse-doc-prom-security
mgr/dashboard: document Prometheus' security model

Reviewed-by: Alexandra Settle <asettle@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-05-27 12:22:44 +02:00
Sage Weil
e0298d5e56
Merge pull request #34973 from liewegas/doc-pingan
doc/foundation: PingAn canceled general membership
2020-05-26 09:17:50 -05:00
Patrick Seidensal
5d601bc781 mgr/cephadm: custom images for monitoring components
Namely,
- Grafana
- Prometheus
- Alertmanager and
- Node exporter.

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

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-05-26 12:49:34 +02:00
Kotresh HR
7396880d40 mgr/volumes: Create subvolume with isolated rados namespace
1. Add --namespace-isolated option to 'subvolume create' command
   to create subvolume in a separate RADOS namespace
2. Add "pool_namespace" field to 'subvolume info' command
   which displays the rados namespace if set else empty string

Fixes: https://tracker.ceph.com/issues/45289
Signed-off-by: Kotresh HR <khiremat@redhat.com>
2020-05-26 12:00:53 +05:30
Patrick Seidensal
34765e9215 mgr/dashboard: document Prometheus' security model
Fixes: https://tracker.ceph.com/issues/45377

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
2020-05-25 16:50:53 +02:00