Commit Graph

226 Commits

Author SHA1 Message Date
Nathan Cutler
5ec2364421 doc: PendingReleaseNotes: python-ceph-compat deprecate/drop
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-26 07:42:18 +01:00
Kefu Chai
f5e7a8da11
Merge pull request #19899 from smithfarm/wip-rip-rcceph
build/ops: rpm: rip out rcceph script

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-22 16:36:23 +08:00
Nathan Cutler
2049155ea5 doc: mention rcceph drop in PendingReleaseNotes
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-15 11:24:05 +01:00
Mykola Golub
de97a3be48 rbd: adjusted "showmapped" JSON and XML formatted output
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-01-12 21:36:00 +02:00
Jason Dillaman
619b0c0244 rbd: adjusted "lock list" JSON and XML formatted output
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-12 11:31:07 -05:00
Sage Weil
fb3220ff3e ceph-crush-location: remove
This script is pointless.  It is equivalent to the built-in default
behavior, which makes it only useful as a sample for what a location
hook's output should be.  The documentation has been updated to provide
that.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-09 16:38:12 -06:00
Patrick Donnelly
f6e1a797d4
Revert "Merge PR #19369 into master"
This reverts commit 3189ba19a7, reversing
changes made to b7620de020.

Despite the change in json format being positive, the unfortunate side-effect
is that it broke upgrade testing (because the QA framework must handle the
transition of mdsmap["info"] to a list from object) and the ceph-mgr.

Fixes: http://tracker.ceph.com/issues/22527
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-04 09:42:37 -08:00
Patrick Donnelly
3189ba19a7
Merge PR #19369 into master
* refs/pull/19369/head:
	qa: update handling of fs status format
	PendingReleaseNotes: add note for format change
	mds/MDSMap : use arrary_section for mds stat

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
2017-12-21 20:21:18 -08:00
Patrick Donnelly
25d9473ebc
PendingReleaseNotes: add note for format change
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-20 20:32:10 -08:00
Patrick Donnelly
ee9d5f9a45
Merge PR #19440 into master
* refs/pull/19440/head:
	mds: update mds option descriptions
	mds: obsolete MDSMap option configs
	mds: organize Filesystem class def

Reviewed-by: John Spray <john.spray@redhat.com>
2017-12-15 11:07:58 -08:00
Patrick Donnelly
67ca6cd229
mds: obsolete MDSMap option configs
These configs were used for initialization but it is more appropriate to
require setting these file system attributes via `ceph fs set`. This is similar
to what was already done with max_mds. There are new variables added for `fs
set` where missing.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-13 18:30:52 -08:00
Sage Weil
4389b55435 Merge remote-tracking branch 'gh/mimic-dev1' 2017-12-11 22:27:35 -06:00
Patrick Donnelly
5b2b1d1446
client: quit on failed remount during dentry invalidate test
Fixes: http://tracker.ceph.com/issues/22269

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-12-04 16:10:27 -08:00
Sage Weil
c30faff877 PendingReleaseNotes: dummy commit
Just need a new to trigger a build on this branch.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-12-04 08:59:35 -06:00
Abhishek Lekshmanan
0c2bb1f041 doc: cleanup PendingReleaseNotes
drop sections already in previous releases, keeping only Mimic sections
and a new section header for items going post 12.2.2

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-11-30 19:27:45 +01:00
Jason Dillaman
3effd324db librbd: prevent overflow of discard API result code
Prevent discard/writesame lengths larger than 2GB.

Fixes: http://tracker.ceph.com/issues/21966
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-11-15 09:20:26 -05:00
Patrick Donnelly
cad798d132
PendingReleaseNotes: add obsoleted mds commands
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-01 17:32:12 -07:00
Sage Weil
dda1726bcb PendingReleaseNotes: note about upmap mapping change in luminous release notes
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-25 17:36:14 -04:00
Sage Weil
6767f841e5 Merge pull request #17427 from liewegas/wip-pg-num-limits
mon/OSDMonitor: implement cluster pg limit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-09-19 12:57:10 -05:00
Abhishek Lekshmanan
aeddbc5201 doc: rgw: add a note for resharding in 12.2.1 docs
Since we're now enabling dynamic resharding, mention  this in release
notes

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-09-15 23:20:27 +02:00
Sage Weil
986b86fbeb mon: rename mon_pg_warn_max_per_osd -> mon_max_pg_per_osd
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-14 16:00:31 -04:00
Sage Weil
3ea2e518d2 mon/OSDMonitor: prevent pg_num from exceeding mon_pg_warn_max_per_osd
Check total pg count for the cluster vs osd count and max pgs per osd
before allowing pool creation, pg_num change, or pool size change.

"in" OSDs are the ones we distribute data too, so this should be the right
count to use.  (Whether they happen to be up or down at the moment is
incidental.)

If the user really wants to create the pool, they can change the
configurable limit.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-14 12:10:13 -04:00
Patrick Donnelly
06c94de584
mds: support limiting cache by memory
This introduces two config parameters:

    mds_cache_memory_limit: Sets the soft maximum of the cache to the given
    byte count. (Like mds_cache_size, this doesn't actually limit the maximum
    size of the cache. It just dictates the steady-state size.)

    mds_cache_reservation: This replaces mds_health_cache_threshold everywhere
    except the Beacon heartbeat sent to the mons. The idea here is to specify a
    reservation of memory (5% by default) for operations and the MDS tries to
    always maintain that reservation. So, the MDS will recall caps from clients
    when it begins dipping into its reservation of memory.

mds_cache_size still limits the cache by Inode count but is now by-default 0
(i.e. unlimited). The new preferred way of specifying cache limits is by memory
size. The default is 1GB.

Fixes: http://tracker.ceph.com/issues/20594
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1464976

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-12 20:02:41 -07:00
Abhishek Lekshmanan
74801fda1c doc: 12.2.0 major release announcements
Reordered the RC releases sections back to their respective components,
added a ceph-mon section, added links to documentation wherever
possible, and a few forgotten RGW announcements. Also cleared up the
PendingReleaseNotes upto this point

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-29 14:45:01 +02:00
Abhishek L
5a00b3905d Merge pull request #16782 from wjwithagen/wip-wjw-FreeBSD-Release
PendingReleaseNotes:Announce FreeBSD availability

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Jason Dillaman <jdillaman@redhat.com>
2017-08-08 18:46:16 +02:00
Patrick Donnelly
41849fdcd1
doc: remove accidental additions to release notes
Presumably this was caused by a bad rebase.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-08 09:28:57 -07:00
Willem Jan Withagen
fcc2e134b9 PendingReleaseNotes:Announce FreeBSD availability
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-08-08 16:26:21 +02:00
Douglas Fuller
8f33e3bc2b PendingReleaseNotes: add note about df filtering
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-08-03 14:11:46 -04:00
Piotr Dałek
b57fb1eef1 PendingReleaseNotes: mention forced recovery
Mention forced recovery in release notes.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
2017-08-03 09:45:28 +02:00
Abhishek Lekshmanan
a80b99fd41 doc: 12.1.1 release notes add major changes
Also cleanup PendingReleasenotes to an empty file so that only newer
changes are tracked, adding the relevant section back to
RC1 where relevant. Moving all the RC1 announcements back to RC2, when
we go to 12.2.0 we'll collapse all of these back to the release
announcments

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
2017-08-02 17:41:13 +02:00
Sage Weil
e0bd667320 PendingReleaseNotes: note about put -> set
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-26 14:13:22 -04:00
Jason Dillaman
6b44cb6034 PendingReleaseNotes: added blurb for new RBD cap profiles
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-21 14:30:38 -04:00
Sage Weil
7832c53375 mon/PGMap: remove skewed utilizatoin warning
This has a few problems:

1- It does not do it's analysis over CRUSH rule roots/classes, which
means that an innocent user of classes will see skewed usage (bc hdds are
more full than ssds, say)

2- It does not take degraded clusters into account, which means the warning
will appear when a fresh OSD is added.

See http://tracker.ceph.com/issues/20730

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-21 11:58:08 -04:00
Wido den Hollander
dacd41e043
release notes: Add Zabbix ceph-mgr module to PendingReleaseNotes
Signed-off-by: Wido den Hollander <wido@42on.com>
2017-07-20 14:08:45 +02:00
Jason Dillaman
e5b9fd8142 PendingReleaseNotes: included details for the pool tags
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-19 13:13:17 -04:00
Yuri Weinstein
c95ab13384 Merge pull request #16368 from theanalyst/fix/rgw-reshard-pool-ns
rgw: use a namespace for rgw reshard pool for upgrades as well

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-07-19 08:42:36 -07:00
Nathan Cutler
060084f708 doc: PendingReleaseNotes: "ceph -w" behavior has changed drastically
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-07-19 16:13:17 +02:00
Abhishek Lekshmanan
5c8622499c PendingReleaseNotes: add a note on RGW's pool change for resharding
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-07-17 15:52:48 +02:00
Sage Weil
dd61a7f737 Merge pull request #16189 from bassam/pr-msgr-bind-addr
mon: add support public_bind_addr option

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-16 21:26:23 -05:00
Bassam Tabbara
c0dc20533b docs: add docs for public_bind_addr
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
2017-07-14 10:41:49 -07:00
John Spray
1486397f31 ceph.in: filter out audit from ceph -w
...and add an optional --watch-channel argument.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-07-14 11:35:18 -04:00
Sage Weil
e170405fd8 mon: remove Formatter arg to QuorumService::get_health()
This is used to dump extra weirdness to the health detail structured
output, but we are about to remove all of that in luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-12 12:51:30 -04:00
Sage Weil
6068e1856d mon/Monitor: move time sync status from 'ceph health' to 'time-sync-status' command
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-12 12:51:30 -04:00
Ilya Dryomov
891798d6e1 PendingReleaseNotes: add a note on choose_args encoding
It's unlikely that it's been used yet, but worth a note.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-06-30 14:39:57 +02:00
John Spray
ec09fc2f52 common: enable status module by default
It's still sort of awkward to prefix these commands
with "mgr tell" but this makes them at least
somewhat accessible to the average user.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-27 06:53:33 -04:00
Sage Weil
1e7cd3550c Merge pull request #13683 from liewegas/wip-crush-rulesets
crush: detect and (usually) fix ruleset != rule id

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-06-21 08:45:42 -05:00
Sage Weil
80e3b73803 crush: simplify osd_pool_default_crush_rule config
Make an incompat change here with a release note since
this only affects pool creation, a rare event, and folks
who have customized their configs (also rare).

Keep it simple: a config sets the default rule, or else we pick
the first TYPE_REPLICATED pool in the crush map.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
Sage Weil
96afb19378 mon: remove 'crush_ruleset' property
The 'crush_rule' name has been present since before hammer; users should
use that instead

Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-19 19:09:06 -04:00
John Spray
62a466dc50 tools/cephfs: remove apply mode of cephfs-journal-tool
This is undocumented and untested -- it was something
written before and superceded by the "recover_dentries"
subcommand.  While we're at it, also
s/scavenge_dentries/recover_dentries/
internally.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-06-15 18:06:17 -04:00
Sage Weil
e9973adf1f PendingReleaseNotes: notes on whiteouts vs pgnls
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-08 09:41:25 -04:00