]> git.proxmox.com Git - ceph.git/blame - ceph/PendingReleaseNotes
import Ceph Pacific 16.2.4
[ceph.git] / ceph / PendingReleaseNotes
CommitLineData
f67539c2
TL
1>=17.0.0
2
3* A new library is available, libcephsqlite. It provides a SQLite Virtual File
4 System (VFS) on top of RADOS. The database and journals are striped over
5 RADOS across multiple objects for virtually unlimited scaling and throughput
6 only limited by the SQLite client. Applications using SQLite may change to
7 the Ceph VFS with minimal changes, usually just by specifying the alternate
8 VFS. We expect the library to be most impactful and useful for applications
9 that were storing state in RADOS omap, especially without striping which
10 limits scalability.
11
12>=16.0.0
13--------
14* CephFS: Disabling allow_standby_replay on a file system will also stop all
15 standby-replay daemons for that file system.
adb31ebb 16
cd265ab1
TL
17* New bluestore_rocksdb_options_annex config parameter. Complements
18 bluestore_rocksdb_options and allows setting rocksdb options without repeating
19 the existing defaults.
f67539c2
TL
20* The cephfs addes two new CDentry tags, 'I' --> 'i' and 'L' --> 'l', and
21 on-RADOS metadata is no longer backwards compatible after upgraded to Pacific
22 or a later release.
cd265ab1 23
adb31ebb
TL
24* $pid expansion in config paths like `admin_socket` will now properly expand
25 to the daemon pid for commands like `ceph-mds` or `ceph-osd`. Previously only
26 `ceph-fuse`/`rbd-nbd` expanded `$pid` with the actual daemon pid.
eafe8130 27
f67539c2
TL
28* The allowable options for some "radosgw-admin" commands have been changed.
29
30 * "mdlog-list", "datalog-list", "sync-error-list" no longer accepts
31 start and end dates, but does accept a single optional start marker.
32 * "mdlog-trim", "datalog-trim", "sync-error-trim" only accept a
33 single marker giving the end of the trimmed range.
34 * Similarly the date ranges and marker ranges have been removed on
35 the RESTful DATALog and MDLog list and trim operations.
36
f91f0fd5
TL
37* ceph-volume: The ``lvm batch` subcommand received a major rewrite. This closed
38 a number of bugs and improves usability in terms of size specification and
39 calculation, as well as idempotency behaviour and disk replacement process.
40 Please refer to https://docs.ceph.com/en/latest/ceph-volume/lvm/batch/ for
41 more detailed information.
e306af50 42
f67539c2
TL
43* Configuration variables for permitted scrub times have changed. The legal
44 values for ``osd_scrub_begin_hour`` and ``osd_scrub_end_hour`` are 0 - 23.
45 The use of 24 is now illegal. Specifying ``0`` for both values causes every
46 hour to be allowed. The legal vaues for ``osd_scrub_begin_week_day`` and
47 ``osd_scrub_end_week_day`` are 0 - 6. The use of 7 is now illegal.
48 Specifying ``0`` for both values causes every day of the week to be allowed.
49
50* Multiple file systems in a single Ceph cluster is now stable. New Ceph clusters
51 enable support for multiple file systems by default. Existing clusters
52 must still set the "enable_multiple" flag on the fs. Please see the CephFS
53 documentation for more information.
54
55* volume/nfs: Recently "ganesha-" prefix from cluster id and nfs-ganesha common
56 config object was removed, to ensure consistent namespace across different
57 orchestrator backends. Please delete any existing nfs-ganesha clusters prior
58 to upgrading and redeploy new clusters after upgrading to Pacific.
59
60* A new health check, DAEMON_OLD_VERSION, will warn if different versions of Ceph are running
61 on daemons. It will generate a health error if multiple versions are detected.
62 This condition must exist for over mon_warn_older_version_delay (set to 1 week by default) in order for the
63 health condition to be triggered. This allows most upgrades to proceed
64 without falsely seeing the warning. If upgrade is paused for an extended
65 time period, health mute can be used like this
66 "ceph health mute DAEMON_OLD_VERSION --sticky". In this case after
67 upgrade has finished use "ceph health unmute DAEMON_OLD_VERSION".
68
69* MGR: progress module can now be turned on/off, using the commands:
70 ``ceph progress on`` and ``ceph progress off``.
71* An AWS-compliant API: "GetTopicAttributes" was added to replace the existing "GetTopic" API. The new API
72 should be used to fetch information about topics used for bucket notifications.
73
74* librbd: The shared, read-only parent cache's config option ``immutable_object_cache_watermark`` now has been updated
75 to property reflect the upper cache utilization before space is reclaimed. The default ``immutable_object_cache_watermark``
76 now is ``0.9``. If the capacity reaches 90% the daemon will delete cold cache.
77* The ceph_volume_client.py library used for manipulating legacy "volumes" in
78 CephFS is removed. All remaining users should use the "fs volume" interface
79 exposed by the ceph-mgr:
80 https://docs.ceph.com/en/latest/cephfs/fs-volumes/
81
82* An AWS-compliant API: "GetTopicAttributes" was added to replace the existing
83 "GetTopic" API. The new API should be used to fetch information about topics
84 used for bucket notifications.
85
86* librbd: The shared, read-only parent cache's config option
87 ``immutable_object_cache_watermark`` has now been updated to properly reflect
88 the upper cache utilization before space is reclaimed. The default
89 ``immutable_object_cache_watermark`` is now ``0.9``. If the capacity reaches
90 90% the daemon will delete cold cache.
91
92* OSD: the option ``osd_fast_shutdown_notify_mon`` has been introduced to allow
93 the OSD to notify the monitor it is shutting down even if ``osd_fast_shutdown``
94 is enabled. This helps with the monitor logs on larger clusters, that may get
95 many 'osd.X reported immediately failed by osd.Y' messages, and confuse tools.
96* rgw/kms/vault: the transit logic has been revamped to better use
97 the transit engine in vault. To take advantage of this new
98 functionality configuration changes are required. See the current
99 documentation (radosgw/vault) for more details.
100
101* Scubs are more aggressive in trying to find more simultaneous possible PGs within osd_max_scrubs limitation.
102 It is possible that increasing osd_scrub_sleep may be necessary to maintain client responsiveness.
103* OSD: the option ``osd_fast_shutdown_notify_mon`` has been introduced to allow
104 the OSD to notify the monitor it is shutting down even if ``osd_fast_shutdown``
105 is enabled. This helps with the monitor logs on larger clusters, that may get
106 many 'osd.X reported immediately failed by osd.Y' messages, and confuse tools.
107
108* The mclock scheduler has been refined. A set of built-in profiles are now available that
109 provide QoS between the internal and external clients of Ceph. To enable the mclock
110 scheduler, set the config option "osd_op_queue" to "mclock_scheduler". The
111 "high_client_ops" profile is enabled by default, and allocates more OSD bandwidth to
112 external client operations than to internal client operations (such as background recovery
113 and scrubs). Other built-in profiles include "high_recovery_ops" and "balanced". These
114 built-in profiles optimize the QoS provided to clients of mclock scheduler.
115
116* Version 2 of the cephx authentication protocol (``CEPHX_V2`` feature bit) is
117 now required by default. It was introduced in 2018, adding replay attack
118 protection for authorizers and making msgr v1 message signatures stronger
119 (CVE-2018-1128 and CVE-2018-1129). Support is present in Jewel 10.2.11,
120 Luminous 12.2.6, Mimic 13.2.1, Nautilus 14.2.0 and later; upstream kernels
121 4.9.150, 4.14.86, 4.19 and later; various distribution kernels, in particular
122 CentOS 7.6 and later. To enable older clients, set ``cephx_require_version``
123 and ``cephx_service_require_version`` config options to 1.
124
125>=15.0.0
126--------
127
f91f0fd5
TL
128* MON: The cluster log now logs health detail every ``mon_health_to_clog_interval``,
129 which has been changed from 1hr to 10min. Logging of health detail will be
130 skipped if there is no change in health summary since last known.
e306af50 131
f91f0fd5
TL
132* The ``ceph df`` command now lists the number of pgs in each pool.
133
f67539c2
TL
134* Monitors now have config option ``mon_allow_pool_size_one``, which is disabled
135 by default. However, if enabled, user now have to pass the
136 ``--yes-i-really-mean-it`` flag to ``osd pool set size 1``, if they are really
137 sure of configuring pool size 1.
138
139* librbd now inherits the stripe unit and count from its parent image upon creation.
140 This can be overridden by specifying different stripe settings during clone creation.
141
142* The balancer is now on by default in upmap mode. Since upmap mode requires
143 ``require_min_compat_client`` luminous, new clusters will only support luminous
144 and newer clients by default. Existing clusters can enable upmap support by running
145 ``ceph osd set-require-min-compat-client luminous``. It is still possible to turn
146 the balancer off using the ``ceph balancer off`` command. In earlier versions,
147 the balancer was included in the ``always_on_modules`` list, but needed to be
148 turned on explicitly using the ``ceph balancer on`` command.
149
150* MGR: the "cloud" mode of the diskprediction module is not supported anymore
151 and the ``ceph-mgr-diskprediction-cloud`` manager module has been removed. This
152 is because the external cloud service run by ProphetStor is no longer accessible
153 and there is no immediate replacement for it at this time. The "local" prediction
154 mode will continue to be supported.
155
156* Cephadm: There were a lot of small usability improvements and bug fixes:
157
158 * Grafana when deployed by Cephadm now binds to all network interfaces.
159 * ``cephadm check-host`` now prints all detected problems at once.
160 * Cephadm now calls ``ceph dashboard set-grafana-api-ssl-verify false``
161 when generating an SSL certificate for Grafana.
162 * The Alertmanager is now correctly pointed to the Ceph Dashboard
163 * ``cephadm adopt`` now supports adopting an Alertmanager
164 * ``ceph orch ps`` now supports filtering by service name
165 * ``ceph orch host ls`` now marks hosts as offline, if they are not
166 accessible.
167
168* Cephadm can now deploy NFS Ganesha services. For example, to deploy NFS with
169 a service id of mynfs, that will use the RADOS pool nfs-ganesha and namespace
170 nfs-ns::
171
172 ceph orch apply nfs mynfs nfs-ganesha nfs-ns
173
174* Cephadm: ``ceph orch ls --export`` now returns all service specifications in
175 yaml representation that is consumable by ``ceph orch apply``. In addition,
176 the commands ``orch ps`` and ``orch ls`` now support ``--format yaml`` and
177 ``--format json-pretty``.
178
179* CephFS: Automatic static subtree partitioning policies may now be configured
180 using the new distributed and random ephemeral pinning extended attributes on
181 directories. See the documentation for more information:
182 https://docs.ceph.com/docs/master/cephfs/multimds/
183
184* Cephadm: ``ceph orch apply osd`` supports a ``--preview`` flag that prints a preview of
185 the OSD specification before deploying OSDs. This makes it possible to
186 verify that the specification is correct, before applying it.
187
188* RGW: The ``radosgw-admin`` sub-commands dealing with orphans --
189 ``radosgw-admin orphans find``, ``radosgw-admin orphans finish``, and
190 ``radosgw-admin orphans list-jobs`` -- have been deprecated. They have
191 not been actively maintained and they store intermediate results on
192 the cluster, which could fill a nearly-full cluster. They have been
193 replaced by a tool, currently considered experimental,
194 ``rgw-orphan-list``.
195
196* RBD: The name of the rbd pool object that is used to store
197 rbd trash purge schedule is changed from "rbd_trash_trash_purge_schedule"
198 to "rbd_trash_purge_schedule". Users that have already started using
199 ``rbd trash purge schedule`` functionality and have per pool or namespace
200 schedules configured should copy "rbd_trash_trash_purge_schedule"
201 object to "rbd_trash_purge_schedule" before the upgrade and remove
202 "rbd_trash_purge_schedule" using the following commands in every RBD
203 pool and namespace where a trash purge schedule was previously
204 configured::
205
206 rados -p <pool-name> [-N namespace] cp rbd_trash_trash_purge_schedule rbd_trash_purge_schedule
207 rados -p <pool-name> [-N namespace] rm rbd_trash_trash_purge_schedule
208
209 or use any other convenient way to restore the schedule after the
210 upgrade.
211
212* librbd: The shared, read-only parent cache has been moved to a separate librbd
213 plugin. If the parent cache was previously in-use, you must also instruct
214 librbd to load the plugin by adding the following to your configuration::
215
216 rbd_plugins = parent_cache
217
218* Monitors now have a config option ``mon_osd_warn_num_repaired``, 10 by default.
219 If any OSD has repaired more than this many I/O errors in stored data a
220 ``OSD_TOO_MANY_REPAIRS`` health warning is generated.
221
222* Introduce commands that manipulate required client features of a file system::
223
224 ceph fs required_client_features <fs name> add <feature>
225 ceph fs required_client_features <fs name> rm <feature>
226 ceph fs feature ls
227
228* OSD: A new configuration option ``osd_compact_on_start`` has been added which triggers
229 an OSD compaction on start. Setting this option to ``true`` and restarting an OSD
230 will result in an offline compaction of the OSD prior to booting.
231
232* OSD: the option named ``bdev_nvme_retry_count`` has been removed. Because
233 in SPDK v20.07, there is no easy access to bdev_nvme options, and this
234 option is hardly used, so it was removed.
235
236* Now when noscrub and/or nodeep-scrub flags are set globally or per pool,
237 scheduled scrubs of the type disabled will be aborted. All user initiated
238 scrubs are NOT interrupted.
239
240* Alpine build related script, documentation and test have been removed since
241 the most updated APKBUILD script of Ceph is already included by Alpine Linux's
242 aports repository.
243
244* fs: Names of new FSs, volumes, subvolumes and subvolume groups can only
245 contain alphanumeric and ``-``, ``_`` and ``.`` characters. Some commands
246 or CephX credentials may not work with old FSs with non-conformant names.
f91f0fd5
TL
247
248* It is now possible to specify the initial monitor to contact for Ceph tools
249 and daemons using the ``mon_host_override`` config option or
250 ``--mon-host-override <ip>`` command-line switch. This generally should only
251 be used for debugging and only affects initial communication with Ceph's
252 monitor cluster.
f67539c2
TL
253
254* `blacklist` has been replaced with `blocklist` throughout. The following commands have changed:
255
256 - ``ceph osd blacklist ...`` are now ``ceph osd blocklist ...``
257 - ``ceph <tell|daemon> osd.<NNN> dump_blacklist`` is now ``ceph <tell|daemon> osd.<NNN> dump_blocklist``
258
259* The following config options have changed:
260
261 - ``mon osd blacklist default expire`` is now ``mon osd blocklist default expire``
262 - ``mon mds blacklist interval`` is now ``mon mds blocklist interval``
263 - ``mon mgr blacklist interval`` is now ''mon mgr blocklist interval``
264 - ``rbd blacklist on break lock`` is now ``rbd blocklist on break lock``
265 - ``rbd blacklist expire seconds`` is now ``rbd blocklist expire seconds``
266 - ``mds session blacklist on timeout`` is now ``mds session blocklist on timeout``
267 - ``mds session blacklist on evict`` is now ``mds session blocklist on evict``
268
269* CephFS: Compatibility code for old on-disk format of snapshot has been removed.
270 Current on-disk format of snapshot was introduced by Mimic release. If there
271 are any snapshots created by Ceph release older than Mimic. Before upgrading,
272 either delete them all or scrub the whole filesystem:
273
274 ceph daemon <mds of rank 0> scrub_path / force recursive repair
275 ceph daemon <mds of rank 0> scrub_path '~mdsdir' force recursive repair
276
277* CephFS: Scrub is supported in multiple active mds setup. MDS rank 0 handles
278 scrub commands, and forward scrub to other mds if necessary.
279
280* The following librados API calls have changed:
281
282 - ``rados_blacklist_add`` is now ``rados_blocklist_add``; the former will issue a deprecation warning and be removed in a future release.
283 - ``rados.blacklist_add`` is now ``rados.blocklist_add`` in the C++ API.
284
285* The JSON output for the following commands now shows ``blocklist`` instead of ``blacklist``:
286
287 - ``ceph osd dump``
288 - ``ceph <tell|daemon> osd.<N> dump_blocklist``
289
290* caps: MON and MDS caps can now be used to restrict client's ability to view
291 and operate on specific Ceph file systems. The FS can be specificed using
292 ``fsname`` in caps. This also affects subcommand ``fs authorize``, the caps
293 produce by it will be specific to the FS name passed in its arguments.
294
295* fs: root_squash flag can be set in MDS caps. It disallows file system
296 operations that need write access for clients with uid=0 or gid=0. This
297 feature should prevent accidents such as an inadvertent `sudo rm -rf /<path>`.
298
299* fs: "fs authorize" now sets MON cap to "allow <perm> fsname=<fsname>"
300 instead of setting it to "allow r" all the time.
301
302* ``ceph pg #.# list_unfound`` output has been enhanced to provide
303 might_have_unfound information which indicates which OSDs may
304 contain the unfound objects.
305
306* The ``ceph orch apply rgw`` syntax and behavior have changed. RGW
307 services can now be arbitrarily named (it is no longer forced to be
308 `realm.zone`). The ``--rgw-realm=...`` and ``--rgw-zone=...``
309 arguments are now optional, which means that if they are omitted, a
310 vanilla single-cluster RGW will be deployed. When the realm and
311 zone are provided, the user is now responsible for setting up the
312 multisite configuration beforehand--cephadm no longer attempts to
313 create missing realms or zones.