=============== Release Notes =============== v0.54 ----- Upgrading ~~~~~~~~~ * The osd capabilities associated with a rados user have changed syntax since 0.48 argonaut. The new format is mostly backwards compatible, but there are two backwards-incompatible changes: * specifying a list of pools in one grant, i.e. 'allow r pool=foo,bar' is now done in separate grants, i.e. 'allow r pool=foo, allow r pool=bar'. * restricting pool access by pool owner ('allow r uid=foo') is removed. This feature was not very useful and unused in practice. The new format is documented in the ceph-authtool man page. * Bug fixes to the new osd capability format parsing properly validate the allowed operations. If an existing rados user gets permissions errors after upgrading, its capabilities were probably misconfigured. See the ceph-authtool man page for details on osd capabilities. * 'rbd lock list' and 'rbd showmapped' no longer use tabs as separators in their output. v0.48.2 "argonaut" ------------------ Upgrading ~~~~~~~~~ * The default search path for keyring files now includes /etc/ceph/ceph.$name.keyring. If such files are present on your cluster, be aware that by default they may now be used. * There are several changes to the upstart init files. These have not been previously documented or recommended. Any existing users should review the changes before upgrading. * The ceph-disk-prepare and ceph-disk-active scripts have been updated significantly. These have not been previously documented or recommended. Any existing users should review the changes before upgrading. Notable changes ~~~~~~~~~~~~~~~ * mkcephfs: fix keyring generation for mds, osd when default paths are used * radosgw: fix bug causing occasional corruption of per-bucket stats * radosgw: workaround to avoid previously corrupted stats from going negative * radosgw: fix bug in usage stats reporting on busy buckets * radosgw: fix Content-Range: header for objects bigger than 2 GB. * rbd: avoid leaving watch acting when command line tool errors out (avoids 30s delay on subsequent operations) * rbd: friendlier use of --pool/--image options for import (old calling convention still works) * librbd: fix rare snapshot creation race (could "lose" a snap when creation is concurrent) * librbd: fix discard handling when spanning holes * librbd: fix memory leak on discard when caching is enabled * objecter: misc fixes for op reordering * objecter: fix for rare startup-time deadlock waiting for osdmap * ceph: fix usage * mon: reduce log noise about "check_sub" * ceph-disk-activate: misc fixes, improvements * ceph-disk-prepare: partition and format osd disks automatically * upstart: start everyone on a reboot * upstart: always update the osd crush location on start if specified in the config * config: add /etc/ceph/ceph.$name.keyring to default keyring search path * ceph.spec: don't package crush headers For more detailed information, see :download:`the complete changelog `. v0.48.1 "argonaut" ------------------ Upgrading ~~~~~~~~~ * The radosgw usage trim function was effectively broken in v0.48. Earlier it would remove more usage data than what was requested. This is fixed in v0.48.1, but the fix is incompatible. The v0.48 radosgw-admin tool cannot be used to initiate the trimming; please use the v0.48.1 version. * v0.48.1 now explicitly indicates support for the CRUSH_TUNABLES feature. No other version of Ceph requires this, yet, but future versions will when the tunables are adjusted from their historical defaults. * There are no other compatibility changes between v0.48.1 and v0.48. Notable changes ~~~~~~~~~~~~~~~ * mkcephfs: use default 'keyring', 'osd data', 'osd journal' paths when not specified in conf * msgr: various fixes to socket error handling * osd: reduce scrub overhead * osd: misc peering fixes (past_interval sharing, pgs stuck in 'peering' states) * osd: fail on EIO in read path (do not silently ignore read errors from failing disks) * osd: avoid internal heartbeat errors by breaking some large transactions into pieces * osd: fix osdmap catch-up during startup (catch up and then add daemon to osdmap) * osd: fix spurious 'misdirected op' messages * osd: report scrub status via 'pg ... query' * rbd: fix race when watch registrations are resent * rbd: fix rbd image id assignment scheme (new image data objects have slightly different names) * rbd: fix perf stats for cache hit rate * rbd tool: fix off-by-one in key name (crash when empty key specified) * rbd: more robust udev rules * rados tool: copy object, pool commands * radosgw: fix in usage stats trimming * radosgw: misc API compatibility fixes (date strings, ETag quoting, swift headers, etc.) * ceph-fuse: fix locking in read/write paths * mon: fix rare race corrupting on-disk data * config: fix admin socket 'config set' command * log: fix in-memory log event gathering * debian: remove crush headers, include librados-config * rpm: add ceph-disk-{activate, prepare} For more detailed information, see :download:`the complete changelog `. v0.48 "argonaut" ---------------- Upgrading ~~~~~~~~~ * This release includes a disk format upgrade. Each ceph-osd daemon, upon startup, will migrate its locally stored data to the new format. This process can take a while (for large object counts, even hours), especially on non-btrfs file systems. * To keep the cluster available while the upgrade is in progress, we recommend you upgrade a storage node or rack at a time, and wait for the cluster to recover each time. To prevent the cluster from moving data around in response to the OSD daemons being down for minutes or hours, you may want to:: ceph osd set noout This will prevent the cluster from marking down OSDs as "out" and re-replicating the data elsewhere. If you do this, be sure to clear the flag when the upgrade is complete:: ceph osd unset noout * There is a encoding format change internal to the monitor cluster. The monitor daemons are careful to switch to the new format only when all members of the quorum support it. However, that means that a partial quorum with new code may move to the new format, and a recovering monitor running old code will be unable to join (it will crash). If this occurs, simply upgrading the remaining monitor will resolve the problem. * The ceph tool's -s and -w commands from previous versions are incompatible with this version. Upgrade your client tools at the same time you upgrade the monitors if you rely on those commands. * It is not possible to downgrade from v0.48 to a previous version. Notable changes ~~~~~~~~~~~~~~~ * osd: stability improvements * osd: capability model simplification * osd: simpler/safer --mkfs (no longer removes all files; safe to re-run on active osd) * osd: potentially buggy FIEMAP behavior disabled by default * rbd: caching improvements * rbd: improved instrumentation * rbd: bug fixes * radosgw: new, scalable usage logging infrastructure * radosgw: per-user bucket limits * mon: streamlined process for setting up authentication keys * mon: stability improvements * mon: log message throttling * doc: improved documentation (ceph, rbd, radosgw, chef, etc.) * config: new default locations for daemon keyrings * config: arbitrary variable substitutions * improved 'admin socket' daemon admin interface (ceph --admin-daemon ...) * chef: support for multiple monitor clusters * upstart: basic support for monitors, mds, radosgw; osd support still a work in progress. The new default keyring locations mean that when enabling authentication (``auth supported = cephx``), keyring locations do not need to be specified if the keyring file is located inside the daemon's data directory (``/var/lib/ceph/$type/ceph-$id`` by default). There is also a lot of librbd code in this release that is laying the groundwork for the upcoming layering functionality, but is not actually used. Likewise, the upstart support is still incomplete and not recommended; we will backport that functionality later if it turns out to be non-disruptive.