mirror of
https://github.com/ceph/ceph
synced 2024-12-27 22:13:28 +00:00
f8d4e5b5e9
This is too complete a rewrite to reasonably break down into small steps, and even if I could, it would be harder to review that way than to simply review the new implementation. The semantics of the old one were so weird that it's harder to reason about the change in behavior than to simply review the new behavior. That's my story, at least, and I'm sticking to it! So, here are the highlights: - $foo meta expansions are evaluated at get_val() time. This means the weird bool arguments to set_val specifying whether things were expanded are removed (they didn't make any sense unless you were thinking about the old implementation). - for every option, we track values from any inputs (config, mon, override). At get_val() time, we pick the highest priority one. - diff() is rewritten to be simple and to show you all of the above. - internal interfaces are simplified, and in terms of Option::value_t whenever possible. - unit tests simplified somewhat based on the above. Known issues: - legacy values get pushed out in select cases. Notably if foo=$bar and bar is updated, we do not update $foo (there is no dependency tracking to do this efficiently). Signed-off-by: Sage Weil <sage@redhat.com>
89 lines
3.4 KiB
Plaintext
89 lines
3.4 KiB
Plaintext
13.0.1
|
|
------
|
|
|
|
* *CephFS*:
|
|
|
|
* Several "ceph mds" commands have been obsoleted and replaced
|
|
by equivalent "ceph fs" commands:
|
|
- mds dump -> fs dump
|
|
- mds getmap -> fs dump
|
|
- mds stop -> mds deactivate
|
|
- mds set_max_mds -> fs set max_mds
|
|
- mds set -> fs set
|
|
- mds cluster_down -> fs set cluster_down true
|
|
- mds cluster_up -> fs set cluster_down false
|
|
- mds add_data_pool -> fs add_data_pool
|
|
- mds remove_data_pool -> fs rm_data_pool
|
|
- mds rm_data_pool -> fs rm_data_pool
|
|
|
|
* New CephFS file system attributes session_timeout and session_autoclose
|
|
are configurable via `ceph fs set`. The MDS config options
|
|
mds_session_timeout, mds_session_autoclose, and mds_max_file_size are now
|
|
obsolete.
|
|
|
|
* *RBD*
|
|
|
|
* The RBD C API's rbd_discard method now enforces a maximum length of
|
|
2GB to match the C++ API's Image::discard method. This restriction
|
|
prevents overflow of the result code.
|
|
|
|
* The rbd CLI's "lock list" JSON and XML output has changed.
|
|
|
|
* The rbd CLI's "showmapped" JSON and XML output has changed.
|
|
|
|
* RBD now optionally supports simplified image clone semantics where
|
|
non-protected snapshots can be cloned; and snapshots with linked clones
|
|
can be removed and the space automatically reclaimed once all remaining
|
|
linked clones are detached. This feature is enabled by default if
|
|
the OSD "require-min-compat-client" flag is set to mimic or later; or can be
|
|
overridden via the "rbd_default_clone_format" configuration option.
|
|
|
|
* The sample ``crush-location-hook`` script has been removed. Its output is
|
|
equivalent to the built-in default behavior, so it has been replaced with an
|
|
example in the CRUSH documentation.
|
|
|
|
* The "rcceph" script (systemd/ceph in the source code tree, shipped as
|
|
/usr/sbin/rcceph in the ceph-base package for CentOS and SUSE) has been
|
|
dropped. This script was used to perform admin operations (start, stop,
|
|
restart, etc.) on all OSD and/or MON daemons running on a given machine.
|
|
This functionality is provided by the systemd target units (ceph-osd.target,
|
|
ceph-mon.target, etc.).
|
|
|
|
* The python-ceph-compat package is declared deprecated, and will be dropped
|
|
when all supported distros have completed the move to Python 3. It has
|
|
already been dropped from those supported distros where Python 3 is standard
|
|
and Python 2 is optional (currently only SUSE).
|
|
|
|
* The -f option of the rados tool now means "--format" instead of "--force",
|
|
for consistency with the ceph tool.
|
|
|
|
|
|
>= 13.0.2
|
|
---------
|
|
|
|
The ceph-rest-api command-line tool (obsoleted by the MGR "restful" module and
|
|
deprecated since v12.2.5) has been dropped.
|
|
|
|
There is a MGR module called "restful" which provides similar functionality
|
|
via a "pass through" method. See http://docs.ceph.com/docs/master/mgr/restful
|
|
for details.
|
|
|
|
|
|
>= 12.2.5
|
|
---------
|
|
|
|
The ceph-rest-api command-line tool included in the ceph-mon package has been
|
|
obsoleted by the MGR "restful" module. The ceph-rest-api tool is hereby
|
|
declared deprecated and will be dropped in Mimic.
|
|
|
|
The MGR "restful" module provides similar functionality via a "pass through"
|
|
method. See http://docs.ceph.com/docs/luminous/mgr/restful for details.
|
|
|
|
|
|
13.0.2
|
|
------
|
|
|
|
* The format of the 'config diff' output via the admin socket has changed. It
|
|
now reflects the source of each config option (e.g., default, config file,
|
|
command line) as well as the final (active) value.
|