mirror of
https://github.com/ceph/ceph
synced 2025-01-30 23:13:44 +00:00
8b1f234288
Allow librados users to opt to receive ENOSPC or EDQUOT when they submit an operation against a full cluster. This should only be used if the librados app can handle those errors gracefully (librbd, for example, cannot). Also note that this allows savvy librados users to send delete operations; they will get either a success or EDQUOT, depending on whether the operation results in a net drop in space utilization. Signed-off-by: Sage Weil <sage@redhat.com>
55 lines
2.0 KiB
Plaintext
55 lines
2.0 KiB
Plaintext
v9.1.0
|
|
======
|
|
|
|
* When a pool quota is reached, librados operations now block indefinitely,
|
|
the same way they do when the cluster fills up. (Previously they would return
|
|
-ENOSPC). By default, a full cluster or pool will now block. If your
|
|
librados application can handle ENOSPC or EDQUOT errors gracefully, you can
|
|
get error returns instead by using the new librados OPERATION_FULL_TRY flag.
|
|
|
|
|
|
v9.0.4
|
|
======
|
|
|
|
Upgrading
|
|
---------
|
|
|
|
* Ceph daemons now run as user and group ceph by default. The ceph user has a
|
|
static UID assigned by Fedora and Debian (also used by derivative distributions
|
|
like RHEL/CentOS and Ubuntu). On SUSE the ceph user will currently get a
|
|
dynamically assigned UID when the user is created.
|
|
|
|
If your systems already have a ceph user, upgrading the package will cause
|
|
problems. We suggest you first remove or rename the existing 'ceph' user
|
|
before upgrading.
|
|
|
|
When upgrading, administrators have two options:
|
|
|
|
#. Add the following line to ``ceph.conf`` on all hosts::
|
|
|
|
setuser match path = /var/lib/ceph/$type/$cluster-$id
|
|
|
|
This will make the Ceph daemons run as root (i.e., not drop
|
|
privileges and switch to user ceph) if the daemon's data
|
|
directory is still owned by root. Newly deployed daemons will
|
|
be created with data owned by user ceph and will run with
|
|
reduced privileges, but upgraded daemons will continue to run as
|
|
root.
|
|
|
|
#. Fix the data ownership during the upgrade. This is the preferred option,
|
|
but is more work. The process for each host would be to:
|
|
|
|
#. Upgrade the ceph package. This creates the ceph user and group.
|
|
#. Stop the daemon(s)
|
|
#. Fix the ownership. E.g.,::
|
|
|
|
chown -R ceph:ceph /var/lib/ceph/mon/ceph-foo
|
|
chown -R ceph:ceph /var/lib/ceph/osd/ceph-123
|
|
|
|
#. Restart the daemon(s)
|
|
|
|
* The on-disk format for the experimental KeyValueStore OSD backend has
|
|
changed. You will need to remove any OSDs using that backend before you
|
|
upgrade any test clusters that use it.
|
|
|