Commit Graph

6122 Commits

Author SHA1 Message Date
Neha Ojha
0cd95b9f0f
Merge pull request #31588 from usefulalgorithm/patch-1
doc/rados/operations: OSD_OUT_OF_ORDER_FULL fullness order is wrong

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-27 17:33:38 -08: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
Patrick Donnelly
f1e3fec83d
Merge PR #27467 into master
* refs/pull/27467/head:
	cephfs-shell: add snapshot management

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-26 09:47:40 -08:00
Nathan Cutler
ba3f31612e
Merge pull request #31871 from smithfarm/wip-43021
doc: mention --namespace option in rados manpage

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
2019-11-26 18:42:58 +01:00
Nathan Cutler
4353b5548e doc: mention --namespace option in rados manpage
Fixes: https://tracker.ceph.com/issues/43021
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-11-26 15:39:42 +01:00
Jan Fajerski
d591cbea57
Merge pull request #31252 from wjwithagen/wjw-doc-ceph_volume_zfs_inventory
doc/ceph-volume: initial docs for zfs/inventory and zfs/api
2019-11-26 08:58:31 +01:00
Sage Weil
ba01e1e951 Merge PR #31636 into master
* refs/pull/31636/head:
	mgr/pg_autoscaler: default to pg_num[_min] = 16

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-23 08:48:47 -06:00
Nathan Cutler
77226cd201
Merge pull request #31777 from smithfarm/wip-mimic-v13.2.7-release-notes
doc/releases: add release notes for mimic v13.2.7

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-22 09:13:20 +01:00
Sage Weil
a15af0a053 Merge PR #31465 into master
* refs/pull/31465/head:
	doc/install/containers: add summary of containers and branches

Reviewed-by: Dan Mick <dmick@redhat.com>
2019-11-21 16:26:04 -06:00
Nathan Cutler
96bea8a174 doc/releases: add release notes for mimic v13.2.7
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-11-21 22:07:02 +01:00
Casey Bodley
8aa638b0fa
Merge pull request #30960 from yuvalif/wip-yuval-add-kafka-notif-endpoint
rgw/pubsub: add kafka notification endpoint

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-11-21 14:42:23 -05:00
Lenz Grimmer
d686901abd
mgr/dashboard: Dashboard can't handle self-signed cert on Graf… (#31129)
mgr/dashboard: Dashboard can't handle self-signed cert on Grafana API

Reviewed-by: Stephan Müller <smueller@suse.com>
2019-11-21 14:58:46 +00:00
Jan Fajerski
2da7330e7e
Merge pull request #31410 from jan--f/c-v-create-vgs-on-demand
ceph-volume: allow raw block devices everywhere
2019-11-20 13:45:41 +01:00
Jan Fajerski
f2018d76eb doc: update ceph-volume lvm prepare
Add option to pass raw physical devices everywhere, restructure a little
(bluestore section before filestore) and reword a few things.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-11-20 11:54:07 +01:00
Ramana Raja
caba9474a3
Merge pull request #30336 from joscollin/wip-F40959-subvolume-uid-gid
mgr/volumes: uid, gid for subvolume create and subvolumegroup create commands
2019-11-19 14:16:46 +05:30
Kefu Chai
e4daf56bbd
Merge pull request #31515 from drunkard/master
doc: typo fix in doc/dev/dev_cluster_deployement.rst: s/hostanme/hostname/

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-19 09:25:23 +08:00
Kefu Chai
1d0579566e
Merge pull request #31541 from BlackLotus/master
added a remark to always use powers of two for pg_num

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-11-19 09:24:08 +08:00
Sage Weil
d2caaca81f Merge pull request #31695 from liewegas/wip-cd-simpler-bootstrap
ceph-daemon: bootstrap: make --output-* args optional
2019-11-18 16:09:13 -06: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
Kefu Chai
8e93d26c0e doc/man/ceph: "heap" is now an asok command
after the big asok/tell cleanup, "heap" is now an asok command, so
update the manpage accordingly

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-11-18 13:51:19 +08:00
Sage Weil
c7fe27a72a ceph-daemon: default output file names
- These are reasonable names that a user would probably want
- If they run bootstrap in /etc/ceph then they are already installed in
  the right location
- This means that the bootstrap command has only 1 (!) required argument
  (--mon-ip or equivalent)

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-17 17:50:13 -06:00
Kefu Chai
dc1d34ba42
Merge pull request #31310 from badone/wip-tracker-42477-reinstate-o-outfile
tools/rados: Unmask '-o' to restore original behaviour

Reviewed-by: Sage Weil <sage@redhat.com>
2019-11-17 01:12:12 +08:00
Casey Bodley
2e0a2c924e
Merge pull request #31025 from scarvalhojr/ssevault2
rgw: improvements to SSE-KMS with Vault

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-11-15 13:53:32 -05:00
Sage Weil
cf97ec9227 doc/install/containers: add summary of containers and branches
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-15 07:33:15 -06:00
hrchu
aa01cd50f7 doc: Update mailing lists
Signed-off-by: hrchu <petertc.chu@gmail.com>
2019-11-15 15:26:56 +08:00
Sage Weil
78bf924480 mgr/pg_autoscaler: default to pg_num[_min] = 16
4 or 8 PGs doesn't provide much parallelism at baseline.  Start with 16
and set the floor there; that's a more reasonable number of OSDs that
will be put to work on a single pool.

Note that there is no magic number here.  At some point someone has to
tell Ceph if an empty pool should get lots of PGs across lots of devices
to get the full throughput of the cluster.  But this will be a bit less
painful/surprising for users.

Fixes: https://tracker.ceph.com/issues/42509
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-14 13:37:44 -06:00
Patrick Donnelly
1715c644c3
Merge PR #30754 into master
* refs/pull/30754/head:
	doc/cephfs: merge fstab doc with respective mount docs
	doc: add systemd unit part for FUSE mounts in fstab doc
	doc: update and improve "mount using kernel driver" doc
	doc: update and improve "mount using FUSE" doc

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-14 06:14:44 -08:00
Jos Collin
596c1fef6b
doc: uid, gid for subvolume create and subvolumegroup create commands
Fixes: https://tracker.ceph.com/issues/40959
Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-11-14 14:37:49 +05:30
Rishabh Dave
ab9185187d doc/cephfs: merge fstab doc with respective mount docs
Fixes: https://tracker.ceph.com/issues/42601
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-11-14 10:02:01 +05:30
Tsung-Ju Lii
253cb9903e doc/rados/operations: fix OSD_OUT_OF_ORDER_FULL fullness ordering
Signed-off-by: Tsung-Ju Lii <usefulalgorithm@gmail.com>
2019-11-13 17:43:48 +08:00
Sebastian Wagner
62ce7af4b1
Merge pull request #30662 from sebastian-philipp/orchestrator-c-v-inventory
python-common, mgr/orchestrator, mgr/dashboard: Use common "Devices"

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
2019-11-13 10:03:57 +01:00
Rishabh Dave
6e3a070d45 doc: add systemd unit part for FUSE mounts in fstab doc
To make FUSE-mounted CephFS persist across reboots, user also needs to
start and enable the systemd units. Add that part to the document for
fstab, instead of mentioning it in "Mount CephFS using FUSE" doc. Also,
wrap few lines and rename mountpoint to /mnt/mycephfs in examples to
keep them same across docs.

Fixes: https://tracker.ceph.com/issues/42298
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-11-13 11:10:47 +05:30
Rishabh Dave
03d8fdbb49 doc: update and improve "mount using kernel driver" doc
Move the examples of mount command for Ceph cluster with CephX enabled
to the top of page, since it is enabled by default, improve explanation
around Ceph with multiple FSs, get rid of hash symbols before every
command (without them it's clear that the text is command and with them
the reader cannot use the commands directly), link fstab page, add how
mount in general looks, add prerequisites required for kernel mounts and
expand explanation wherever possible.

Fixes: https://tracker.ceph.com/issues/42220
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-11-13 11:10:47 +05:30
Rishabh Dave
cd34b96e4d doc: update and improve "mount using FUSE" doc
Recommend keyring permission to be 600 instead of 644, show examples
for `-k`, `-r`, `-m` and `--client_mds_namespace` options, move
references to the bottom of the page,  show how to unmount FUSE-mounted
CephFS, copy the tip about unmounting from "mount using kernel" page to
"mount using FUSE" page, correct commands for automating FUSE mounts,
add sub-headings to the document and add how ceph-fuse command looks in
general.

Fixes: https://tracker.ceph.com/issues/42205
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-11-13 11:10:41 +05:30
Patrick Donnelly
a6b7ca3800
Merge PR #31157 into master
* refs/pull/31157/head:
	doc: update inf/infinite option for subvolume resize
	qa/tasks: fs subvolume resize inf command
	mgr/volumes: fs subvolume resize inf/infinite command

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-12 09:25:26 -08:00
Sergio de Carvalho
2650ebe8af rgw: improvements to SSE-KMS with Vault
* add 'rgw crypt vault prefix' config setting to allow restricting
  secret space in Vault where RGW can retrieve keys from
* refuse Vault token file if permissions are too open
* improve concatenation of URL paths to avoid constructing an invalid
  URL (missing or double '/')
* doc: clarify SSE-KMS keys must be 256-bit long and base64 encoded,
  document Vault policies and tokens, plus other minor doc improvements
* qa: check SHA256 signature of Vault zip download
* qa: fix teuthology tests broken by previous PR which made SSE-KMS
  backend default to Barbican

Signed-off-by: Andrea Baglioni <andrea.baglioni@workday.com>
Signed-off-by: Sergio de Carvalho <sergio.carvalho@workday.com>
2019-11-12 13:51:25 +00:00
Lenz Grimmer
a7cdc0f9bd
mgr: Run python unit tests with tox in the mgr (#30364)
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-11-12 08:34:02 +00:00
Sridhar Seshasayee
8819c3c37a
Merge pull request #31416 from sseshasa/wip-41666-replicaSizeWarn
osd/OSDMap: Show health warning if a pool is configured with size 1

Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-11-12 12:06:46 +05:30
Brad Hubbard
8b8ffedb9d
Merge pull request #31475 from zdover23/wip-doc-community-calendar
doc: Added a link to Ceph Community Calendar.

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2019-11-12 14:46:15 +10:00
Zac Dover
cfaf5a4efa doc: Added a link to Ceph Community Calendar.
Co-Authored by: Neha Ojha <nojha@redhat.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2019-11-12 11:51:44 +10:00
Patrick Donnelly
cadc79ba7e
Merge PR #30914 into master
* refs/pull/30914/head:
	ceph: Add doc for deploying cephfs-nfs cluster using rook

Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-11-11 15:21:30 -08:00
Brad Hubbard
d2b806070d tools/rados: Unmask '-o' to restore original behaviour
0b369e1aff masked the original behaviour of '-o' which was to indicate
'outfile' as documented in the man page. Changing object-size to capital
o will restore the original behaviour.

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

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-11-12 09:20:03 +10:00
Thomas Schneider
f84ea48b80 doc/rados, sample.ceph.conf: pg_num should always be a power of two
Signed-off-by: Thomas Schneider <thomas@brainfuck.space>
2019-11-11 22:56:35 +01:00
Patrick Donnelly
8971dd7cdc
Merge PR #31024 into master
* refs/pull/31024/head:
	doc: improve in mount.ceph man page
	doc: describe mds_namespace option in mount.ceph man page

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-11 12:21:34 -08:00
Patrick Donnelly
452a5136c7
Merge PR #30911 into master
* refs/pull/30911/head:
	doc/ceph-fuse: describe -n option

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2019-11-11 12:03:21 -08:00
Patrick Donnelly
aab5c7a2ad
Merge PR #31452 into master
* refs/pull/31452/head:
	Add chown ceph:ceph for /tmp/ceph.mon.keyring

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-11-11 10:41:24 -08:00
Sebastian Wagner
f320f02923 mgr/orchestrator: move InventoryDevice to python-common
Adapted:
* `mgr/dashboard`
* `mgr/ansible`
* `mgr/rook`
* `mgr/ssh`
* `mgr/orchestrator_cli`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Co-authored--by: Kiefer Chang <kiefer.chang@suse.com>
2019-11-11 10:57:05 +01:00
Sridhar Seshasayee
33c647e811 osd/OSDMap: Show health warning if a pool is configured with size 1
Introduce a config option called 'mon_warn_on_pool_no_redundancy' that is
used to show a health warning if any pool in the ceph cluster is
configured with a size of 1. The user can mute/unmute the warning using
'ceph health mute/unmute POOL_NO_REDUNDANCY'.

Add standalone test to verify warning on setting pool size=1. Set the
associated warning to 'false' in ceph.conf.template under qa/tasks so
that existing tests do not break.

Fixes: https://tracker.ceph.com/issues/41666
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
2019-11-11 10:36:35 +05:30
oneoneonepig
ef0f78971d Add chown ceph:ceph for /tmp/ceph.mon.keyring
The keyring will be 600 by default with the owner of the current user who issues the command, which will make command "sudo -u ceph ceph-mon --mkfs" fail since the user "ceph" don't have access to the keyring file.
Because of that, the mon data directory won't have keyring and when "sudo systemctl start ceph-mon" it will show error "unable to read magic from mon data"

Signed-off-by: Jeffrey Chu <peihuachu1112@gmail.com>
2019-11-11 04:50:49 +00:00
Drunkard Zhang
e55ddf0573 doc: typo fix in doc/dev/dev_cluster_deployement.rst: s/hostanme/hostname/
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2019-11-11 11:28:13 +08:00