Commit Graph

426 Commits

Author SHA1 Message Date
Wido den Hollander
93e4c56ecc osd: Add config option to compact OSD's object store on start
By setting this configuration option an OSD will compact it's
store's OMAP on start.

This way admin's can trigger an offline compaction by setting this
configuration value to 'true' and then restarting the OSD.

This is easier than using tools like 'ceph-kvstore-tool' with requires
more manual work on the CLI and might be more difficult for users.

Signed-off-by: Wido den Hollander <wido@42on.com>
2020-07-16 17:55:36 +08:00
Patrick Donnelly
4ec68680bd
Merge PR #33827 into master
* refs/pull/33827/head:
	mon: add 'ceph fs required_client_feature <fs_name> add/rm' command

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-08 17:06:16 -07:00
Yan, Zheng
c4a335d7c6 mon: add 'ceph fs required_client_feature <fs_name> add/rm' command
Fixes: https://tracker.ceph.com/issues/43817
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2020-07-07 09:05:56 +08:00
Josh Durgin
124ffa4663
Merge pull request #35751 from smithfarm/wip-radosgw-admin-orphans
doc: PendingReleaseNotes: fix deprecated radosgw-admin commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2020-07-01 07:59:34 -07:00
Patrick Donnelly
6cd10c591a
doc: add documentation for new ephemeral pinning feature
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-06-24 15:43:32 -07:00
Nathan Cutler
5b59c7f55b doc: PendingReleaseNotes: fix deprecated radosgw-admin commands
Instead of repeating the same command thrice, three different commands
were intended.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-06-24 21:01:00 +02:00
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
Nathan Cutler
473a185ef9
Merge pull request #35129 from smithfarm/wip-fix-PendingReleaseNotes-headings
doc/releases/octopus.rst: move still-pending release notes to official v15.2.0 release notes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-05-25 10:41:30 +02:00
Jason Dillaman
9ec1e4ec50 librbd: moved parent image cache to its own plugin
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-05-21 14:50:33 -04:00
Nathan Cutler
838c3ce5bf PendingReleaseNotes: drop mention of CVE fix
CVEs fixed before the first stable Pacific release need not be mentioned
explicitly in the release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-21 13:57:56 +02:00
Nathan Cutler
06db0a7d34 PendingReleaseNotes: add missing ">= 16.0.0" heading
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-19 16:06:03 +02:00
Nathan Cutler
5dfb1c2439 doc/releases/octopus: add "default bucket index shards" release note
The RGW "default number of bucket index shards for new buckets was raised from
1 to 11" release note was added to PendingReleaseNotes by
1ec77ec7ba but it did not find its way into the
official v15.2.0 release notes until now.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-19 16:02:31 +02:00
Nathan Cutler
c66ae41ec5 doc/releases/octopus: add "BlockPublicAccess" release note
The RGW BlockPublicAccess release note was added to PendingReleaseNotes
by df384ea95f but it did not find its way
into the official v15.2.0 release notes until now.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-19 15:59:42 +02:00
Nathan Cutler
af06190066 doc/releases/octopus: add "rgw bucket granularity" release note
The RGW bucket granularity release note was added to PendingReleaseNotes
by 50f13fd54b but it never found its way
into the official v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-19 15:58:32 +02:00
Nathan Cutler
b580142213 doc/releases/octopus: enforce mds_join_fs cluster affinity
The "enforce mds_join_fs cluster affinity" release note was
added to PendingReleaseNotes by 3fac3b1236
but it never made its way into the official v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-19 15:50:53 +02:00
Nathan Cutler
ba3c1b3d6b doc/releases/octopus: osd_calc_pg_upmaps_max_stddev removal
The release note about osd_calc_pg_upmaps_max_stddev removal
was added to PendingReleaseNotes by
65d03bae8b but never found its
way into the official v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-19 15:48:51 +02:00
Nathan Cutler
1d13cfe721 doc/releases/octopus: add bucket notification JSON array
The release note about bucket notifications being encapsulated in a JSON
array was added to PendingReleaseNotes by
19832a0dae but it never found its way into
the actual v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-19 15:45:39 +02:00
Nathan Cutler
50e27bbc71 doc/releases/octopus.rst: add nvme self-classify release note
The release note about OSDs self-classifying themselves as "nvme" in
certain rare cases was added to PendingReleaseNotes by
1d0fd5603e but it never found its way into
the official v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-19 15:43:35 +02:00
Nathan Cutler
568b8a11ed doc/releases/octopus.rst: add "-o" behavior release note
The release note about restoring the original behavior of the rados
tool's "-o" option was added to PendingReleaseNotes by
d2b806070d but it never found its way into
the official v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-19 15:41:37 +02:00
Nathan Cutler
69fbfbc9ac doc/releases/octopus.rst: include MDS cache memory limit note
This note was added to PendingReleaseNotes by
0efa73f029 but never found its way into
the official v15.2.0 release notes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-05-19 15:38:46 +02:00
Mykola Golub
5b6849e08e mgr/rbd_support: rename "rbd_trash_trash_purge_schedule" oid
to "rbd_trash_purge_schedule"

Fixes: https://tracker.ceph.com/issues/45589
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-05-18 20:59:31 +03:00
Josh Durgin
06f239fc35 PendingReleaseNotes: note about security fix
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2020-05-13 21:35:15 -07:00
J. Eric Ivancich
a813e08a3a PendingReleaseNotes: add missing quote character
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2020-05-11 15:18:08 -04:00
J. Eric Ivancich
fe253c9d5f PendingReleaseNotes: rgw-orphan-list and deprecated radosgw-admin orphans
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2020-05-11 15:16:36 -04:00
Sebastian Wagner
a057467ede PendingReleaseNotes: Add Cephadm for >15.2.1
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-04-29 11:04:59 +02:00
Neha Ojha
8f90e41d34 PendingReleaseNotes: add note about balancer being on by default
Signed-off-by: Neha Ojha <nojha@redhat.com>
2020-04-15 00:53:01 +00:00
zhengyin
e03a749b8f doc: add a note that states the behavior change for the clone operation
in the PendingReleaseNotes.

     Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
2020-03-31 20:57:44 +08:00
Deepika Upadhyay
21508bd9dd mon/OSDMonitor: add flag --yes-i-really-mean-it for setting pool size 1
Adds option `mon_allow_pool_size_one` which will be disabled by default
to ensure pools are not configured without replicas.
If the user still wants to use pool size 1, they will have to change the
value of `mon_allow_pool_size_one` to true and then have to pass flag
`--yes-i-really-mean-it` to cli command:

Example:
`ceph osd pool test set size 1 --yes-i-really-mean-it`

Fixes: https://tracker.ceph.com/issues/44025
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
2020-03-09 23:27:36 +05:30
Deepika Upadhyay
677b50ec74 doc: change case from apis to APIs
use APIs instead of apis to be consistent throughout.

fixes: https://tracker.ceph.com/issues/44374
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
2020-03-03 14:52:45 +05:30
Casey Bodley
1ec77ec7ba PendingReleaseNotes: default bucket index shard count raised to 11
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2020-02-27 15:12:43 -05:00
Patrick Donnelly
3fac3b1236
mon/MDSMonitor: enforce mds_join_fs cluster affinity
Before this, "mds_join_fs" config enforced a preference for the standby
the monitors would select. Now the monitors actively enforce this
by purposefully removing an MDS wither lower "affinity". An MDS standby
has highest affinity if its mds_join_fs is the file system in question
or a vanilla standby (no mds_join_fs).

Fixes: https://tracker.ceph.com/issues/43392
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-13 07:51:10 -08:00
Josh Durgin
9118065c4c PendingReleaseNotes: mention target_size_ratio change
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2020-02-10 10:08:36 +08:00
Abhishek Lekshmanan
df384ea95f doc: add Pending Release Notes entry on public access config
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-02-04 17:28:46 +01:00
Yehuda Sadeh
50f13fd54b PendingReleaseNotes: rgw, bucket granularity
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2020-01-28 10:20:40 -08:00
Sage Weil
9aa25d7df8 doc/cephfs/standby: document mds_join_fs
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-18 14:00:42 -06:00
Patrick Donnelly
0efa73f029
mds: update default MDS cache size memory limit
1GB is too low as a default and usually results in cache size warnings
at that size; the MDS will struggle to maintain such a small cache size
for most workloads.

Fixes: https://tracker.ceph.com/issues/43182
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-11 15:28:57 -08:00
Patrick Donnelly
2216c63ed5
Merge PR #31729 into master
* refs/pull/31729/head:
	qa: reduce cache size further
	mds: obsoleting 'mds_cache_size'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-11 09:44:27 -08:00
Sage Weil
e5e41c443d Merge PR #32160 into master
* refs/pull/32160/head:
	doc/releases/nautilus,PendingReleaseNotes: consolidate telemetry note

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-12-11 08:06:40 -06:00
Sage Weil
c50c17e755 doc/releases/nautilus,PendingReleaseNotes: consolidate telemetry note
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-10 14:36:06 -06:00
Sage Weil
aa760fa501 Merge PR #32148 into master
* refs/pull/32148/head:
	doc/releases/nautilus: fix release notes (crash->device)

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2019-12-10 14:33:02 -06:00
David Zafman
47b5fd9383
Merge pull request #32041 from dzafman/wip-balancer3-pending
release note: Add pending release notes for already merged code

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-12-10 10:56:04 -08:00
Sage Weil
c221b06bbf doc/releases/nautilus: fix release notes (crash->device)
Fix pending note for octopus too

Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-10 08:32:02 -06:00
Nathan Cutler
e524bb8880 doc/releases: add release notes for nautilus v14.2.5
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-12-09 23:27:54 +01:00
David Zafman
65d03bae8b release note: Add pending release notes for already merged code
Follow on to https://github.com/ceph/ceph/pull/31774

Signed-off-by: David Zafman <dzafman@redhat.com>
2019-12-09 11:51:32 -08:00
Casey Bodley
f6bda33bc9
Merge pull request #31926 from yuvalif/wip-yuval-fix-pubsub-record-format
rgw/pubsub: fix records/event json format to match documentation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-12-05 13:55:31 -05:00
Yuval Lifshitz
19832a0dae rgw/pubsub: support eventId in push mode
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
2019-12-03 20:42:20 +02:00
Ramana Raja
aeaef1b4c5 mds: obsoleting 'mds_cache_size'
Remove last bits of support for 'mds_cache_size'.
'mds_cache_memory_limit' is preferred.

Fixes: https://tracker.ceph.com/issues/41951
Signed-off-by: Ramana Raja <rraja@redhat.com>
2019-12-02 14:51:25 +05:30
Sage Weil
9206b90294 PendingReleaseNotes: fix typo
Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-25 08:13:52 -06:00
Sage Weil
1d0fd5603e PendingReleaseNotes: note about the removal of 'nvme' class
There isn't much to say here since this really shouldn't be happening in
the wild.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-11-22 15:33: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