v12.2.7 Luminous released
This is the seventh bugfix release of Luminous v12.2.x long term stable release series. This release contains several fixes for regressions in the v12.2.6 and v12.2.5 releases. We recommend that all users upgrade.
*NOTE* The v12.2.6 release has serious known regressions, while 12.2.6 wasn't formally announced in the mailing lists or blog, the packages were built and available on download.ceph.com since last week. If you installed this release, please see the upgrade procedure below.
*NOTE* The v12.2.5 release has a potential data corruption issue with erasure coded pools. If you ran v12.2.5 with erasure coding, please see below.
The full blog post alongwith the complete changelog is published at the official ceph blog at https://ceph.com/releases/12-2-7-luminous-released/
Upgrading from v12.2.6
----------------------
v12.2.6 included an incomplete backport of an optimization for BlueStore OSDs that avoids maintaining both the per-object checksum and the internal BlueStore checksum. Due to the accidental omission of a critical follow-on patch, v12.2.6 corrupts (fails to update) the stored per-object checksum value for some objects. This can result in an EIO error when trying to read those objects.
#. If your cluster uses FileStore only, no special action is required.
This problem only affects clusters with BlueStore.
#. If your cluster has only BlueStore OSDs (no FileStore), then you
should enable the following OSD option::
osd skip data digest = true
This will avoid setting and start ignoring the full-object digests whenever the primary for a PG is BlueStore.
#. If you have a mix of BlueStore and FileStore OSDs, then you should
enable the following OSD option::
osd distrust data digest = true
This will avoid setting and start ignoring the full-object digests in all cases. This weakens the data integrity checks for FileStore (although those checks were always only opportunistic).
If your cluster includes BlueStore OSDs and was affected, deep scrubs will generate errors about mismatched CRCs for affected objects. Currently the repair operation does not know how to correct them (since all replicas do not match the expected checksum it does not know how to proceed). These warnings are harmless in the sense that IO is not affected and the replicas are all still in sync. The number of affected objects is likely to drop (possibly to zero) on their own over time as those objects are modified. We expect to include a scrub improvement in v12.2.8 to clean up any remaining objects.
Additionally, see the notes below, which apply to both v12.2.5 and v12.2.6.
Upgrading from v12.2.5 or v12.2.6
---------------------------------
If you used v12.2.5 or v12.2.6 in combination with erasure coded pools, there is a small risk of corruption under certain workloads. Specifically, when:
* An erasure coded pool is in use
* The pool is busy with successful writes
* The pool is also busy with updates that result in an error result to the librados user. RGW garbage collection is the most common example of this (it sends delete operations on objects that don't always exist.)
* Some OSDs are reasonably busy. One known example of such load is FileStore splitting, although in principle any load on the cluster could also trigger the behavior.
* One or more OSDs restarts.
This combination can trigger an OSD crash and possibly leave PGs in a state where they fail to peer.
Notably, upgrading a cluster involves OSD restarts and as such may increase the risk of encountering this bug. For this reason, for clusters with erasure coded pools, we recommend the following upgrade procedure to minimize risk:
1. Install the v12.2.7 packages.
2. Temporarily quiesce IO to cluster::
ceph osd pause
3. Restart all OSDs and wait for all PGs to become active.
4. Resume IO::
ceph osd unpause
This will cause an availability outage for the duration of the OSD restarts. If this in unacceptable, an *more risky* alternative is to disable RGW garbage collection (the primary known cause of these rados operations) for the duration of the upgrade::
1. Set ``rgw_enable_gc_threads = false`` in ceph.conf
2. Restart all radosgw daemons
3. Upgrade and restart all OSDs
4. Remove ``rgw_enable_gc_threads = false`` from ceph.conf
5. Restart all radosgw daemons
Upgrading from other versions
-----------------------------
If your cluster did not run v12.2.5 or v12.2.6 then none of the above issues apply to you and you should upgrade normally.
v12.2.7 Changelog
-----------------
* mon/AuthMonitor: improve error message (issue#21765, pr#22963, Douglas Fuller)
* osd/PG: do not blindly roll forward to log.head (issue#24597, pr#22976, Sage Weil)
* osd/PrimaryLogPG: rebuild attrs from clients (issue#24768 , pr#22962, Sage Weil)
* osd: work around data digest problems in 12.2.6 (version 2) (issue#24922, pr#23055, Sage Weil)
* rgw: objects in cache never refresh after rgw_cache_expiry_interval (issue#24346, pr#22369, Casey Bodley, Matt Benjamin)
Notable changes in v12.2.6 Luminous
===================================
:note: This is a broken release with serious known regressions. Do not install it. The release notes below are to help track the changes that went in 12.2.6 and hence a part of 12.2.7
- *Auth*:
* In 12.2.4 and earlier releases, keyring caps were not checked for validity, so the caps string could be anything. As of 12.2.6, caps strings are validated and providing a keyring with an invalid caps string to, e.g., "ceph auth add" will result in an error.
* CVE 2018-1128: auth: cephx authorizer subject to replay attack (issue#24836, Sage Weil)
* CVE 2018-1129: auth: cephx signature check is weak (issue#24837, Sage Weil)
* CVE 2018-10861: mon: auth checks not correct for pool ops (issue#24838, Jason Dillaman)
- The config-key interface can store arbitrary binary blobs but JSON can only express printable strings. If binary blobs are present, the 'ceph config-key dump' command will show them as something like ``<<< binary blob of length N >>>``.
The full changelog for 12.2.6 is published in the release blog.
Getting ceph:
* Git at git://github.com/ceph/ceph.git
* Tarball at http://download.ceph.com/tarballs/ceph-12.2.7.tar.gz
* For packages, see http://docs.ceph.com/docs/master/install/get-packages/
* Release git sha1: 3ec878d1e53e1aeb47a9f619c49d9e7c0aa384d5
Signature · 7 lines
Abhishek Lekshmanan SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) _______________________________________________ Ceph-announce mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-announce-ceph.com
A message that is not in the archive (sent off-list or not yet received): 87tvox968t.fsf-IBi9RG/[email protected]
Quoted 3 lines · Abhishek Lekshmanan
*NOTE* The v12.2.5 release has a potential data corruption issue with erasure coded pools. If you ran v12.2.5 with erasure coding, please see below.
< snip >
Quoted 6 lines
Upgrading from v12.2.5 or v12.2.6
---------------------------------If you used v12.2.5 or v12.2.6 in combination with erasure coded pools, there is a small risk of corruption under certain workloads. Specifically, when:
< snip >
One section mentions Luminous clusters _with_ EC pools specifically, the other section mentions Luminous clusters running 12.2.5. I might be misreading this, but to make things clear for current Ceph Luminous 12.2.5 users. Is the following statement correct?
If you do _NOT_ use EC in your 12.2.5 cluster (only replicated pools), there is no need to quiesce IO (ceph osd pause).
http://docs.ceph.com/docs/master/releases/luminous/#upgrading-from-other-versions
If your cluster did not run v12.2.5 or v12.2.6 then none of the above issues apply to you and you should upgrade normally.
^^ Above section would indicate all 12.2.5 luminous clusters.
Please clarify,
Thanks,
Stefan
Signature · 2 lines
| BIT BV http://www.bit.nl/ Kamer van Koophandel 09090351 | GPG: 0xD14839C6 +31 318 648 688 / [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Stefan Kooman
Quoted 2 lines · Abhishek Lekshmanan
*NOTE* The v12.2.5 release has a potential data corruption issue with erasure coded pools. If you ran v12.2.5 with erasure coding, please see
^^^^^^^^^^^^^^^^^^^
Quoted 8 lines
Quoted 1 line
below.
< snip >
Quoted 4 lines
Upgrading from v12.2.5 or v12.2.6
---------------------------------If you used v12.2.5 or v12.2.6 in combination with erasure coded
^^^^^^^^^^^^^
Quoted 7 lines
Quoted 2 lines
pools, there is a small risk of corruption under certain workloads. Specifically, when:
< snip >
One section mentions Luminous clusters _with_ EC pools specifically, the other section mentions Luminous clusters running 12.2.5.
I think they both do?
Quoted 5 lines
I might be misreading this, but to make things clear for current Ceph Luminous 12.2.5 users. Is the following statement correct?
If you do _NOT_ use EC in your 12.2.5 cluster (only replicated pools), there is no need to quiesce IO (ceph osd pause).
Correct.
Quoted 5 lines
http://docs.ceph.com/docs/master/releases/luminous/#upgrading-from-other-versions
If your cluster did not run v12.2.5 or v12.2.6 then none of the above issues apply to you and you should upgrade normally.^^ Above section would indicate all 12.2.5 luminous clusters.
The intent here is to clarify that any cluster running 12.2.4 or older can upgrade without reading carefully. If the cluster does/did run 12.2.5 or .6, then read carefully because it may (or may not) be affected.
Does that help? Any suggested revisions to the wording in the release notes that make it clearer are welcome!
Thanks-
sage
Quoted 16 lines
Please clarify,
Thanks,
Stefan
Signature · 6 lines
| BIT BV http://www.bit.nl/ Kamer van Koophandel 09090351 | GPG: 0xD14839C6 +31 318 648 688 / [email protected] -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): alpine.DEB.2.11.1807171838180.15696-qHenpvqtifaMSRpgCs4c+g@public.gmane.org
Thanks for all your hard work in putting out the fixes so quickly! :)
We have a cluster on 12.2.5 with Bluestore and EC pool but for CephFS, not RGW. In the release notes, it says RGW is a risk especially the garbage collection, and the recommendation is to either pause IO or disable RGW garbage collection.
In our case with CephFS, not RGW, is it a lot less risky to perform the upgrade to 12.2.7 without the need to pause IO?
What does pause IO do? Do current sessions just get queued up and IO resume normally with no problem after unpausing?
If we have to pause IO, is it better to do something like: pause IO, restart OSDs on one node, unpause IO - repeated for all the nodes involved in the EC pool?
Regards,
Linh
________________________________
From: ceph-users <[email protected]> on behalf of Sage Weil <[email protected]>
Sent: Wednesday, 18 July 2018 4:42:41 AM
To: Stefan Kooman
Cc: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [ceph-users] v12.2.7 Luminous released
Quoted 4 lines · Stefan Kooman
Quoted 2 lines · Abhishek Lekshmanan
*NOTE* The v12.2.5 release has a potential data corruption issue with erasure coded pools. If you ran v12.2.5 with erasure coding, please see
^^^^^^^^^^^^^^^^^^^
Quoted 8 lines
Quoted 1 line
below.
< snip >
Quoted 4 lines
Upgrading from v12.2.5 or v12.2.6
---------------------------------If you used v12.2.5 or v12.2.6 in combination with erasure coded
^^^^^^^^^^^^^
Quoted 7 lines
Quoted 2 lines
pools, there is a small risk of corruption under certain workloads. Specifically, when:
< snip >
One section mentions Luminous clusters _with_ EC pools specifically, the other section mentions Luminous clusters running 12.2.5.
I think they both do?
Quoted 5 lines
I might be misreading this, but to make things clear for current Ceph Luminous 12.2.5 users. Is the following statement correct?
If you do _NOT_ use EC in your 12.2.5 cluster (only replicated pools), there is no need to quiesce IO (ceph osd pause).
Correct.
Quoted 5 lines
http://docs.ceph.com/docs/master/releases/luminous/#upgrading-from-other-versions<http://docs.ceph.com/docs/master/releases/luminous/#upgrading-from-other-versions>
If your cluster did not run v12.2.5 or v12.2.6 then none of the above issues apply to you and you should upgrade normally.^^ Above section would indicate all 12.2.5 luminous clusters.
The intent here is to clarify that any cluster running 12.2.4 or older can upgrade without reading carefully. If the cluster does/did run 12.2.5 or .6, then read carefully because it may (or may not) be affected.
Does that help? Any suggested revisions to the wording in the release notes that make it clearer are welcome!
Thanks-
sage
Quoted 7 lines
Please clarify,
Thanks,
Stefan
Quoted 9 lines
--
| BIT BV http://www.bit.nl/<http://www.bit.nl/> Kamer van Koophandel 09090351
| GPG:0xD14839C6+31 318 648 688 / [email protected]
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html<http://vger.kernel.org/majordomo-info.html>
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com<http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com>
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
A message that is not in the archive (sent off-list or not yet received): MEAPR01MB3333E2C456B441629674B2BE81530-6Cj2JuxXxgYyJjs6S75NOcNU+h3Mz0HLvxpqHgZTriW3zl9H0oFU5g@public.gmane.org
Also many thanks from my side!
Am 18.07.2018 um 03:04 schrieb Linh Vu:
Quoted 9 lines
Thanks for all your hard work in putting out the fixes so quickly! :)
We have a cluster on 12.2.5 with Bluestore and EC pool but for CephFS, not RGW. In the release notes, it says RGW is a risk especially the garbage collection, and the recommendation is to either pause IO or disable RGW garbage collection.
In our case with CephFS, not RGW, is it a lot less risky to perform the upgrade to 12.2.7 without the need to pause IO?
What does pause IO do? Do current sessions just get queued up and IO resume normally with no problem after unpausing?
That's my understanding, pause blocks any reads and writes. If the processes accessing CephFS do not have any wallclock-related timeout handlers, they should be fine IMHO. I'm unsure how NFS Ganesha
But indeed I have the very same question - we also have a pure CephFS cluster, without RGW, EC-pool-backed, on 12.2.5. Should we pause IO during upgrade?
I wonder whether it is risky / unrisky to upgrade without pausing I/O? The update notes in the blog do not state whether a pure CephFS setup is affected.
Cheers,
Oliver
Quoted 89 lines
If we have to pause IO, is it better to do something like: pause IO, restart OSDs on one node, unpause IO - repeated for all the nodes involved in the EC pool?
Regards,
Linh
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* ceph-users <[email protected]> on behalf of Sage Weil <[email protected]>
*Sent:* Wednesday, 18 July 2018 4:42:41 AM
*To:* Stefan Kooman
*Cc:* [email protected]; [email protected]; [email protected]; [email protected] *Subject:* Re: [ceph-users] v12.2.7 Luminous releasedQuoted 4 lines · Stefan Kooman
Quoted 2 lines · Abhishek Lekshmanan
*NOTE* The v12.2.5 release has a potential data corruption issue with erasure coded pools. If you ran v12.2.5 with erasure coding, please see
^^^^^^^^^^^^^^^^^^^
Quoted 8 lines
Quoted 1 line
below.
< snip >
Quoted 4 lines
Upgrading from v12.2.5 or v12.2.6
---------------------------------If you used v12.2.5 or v12.2.6 in combination with erasure coded
^^^^^^^^^^^^^
Quoted 7 lines
Quoted 2 lines
pools, there is a small risk of corruption under certain workloads. Specifically, when:
< snip >
One section mentions Luminous clusters _with_ EC pools specifically, the other section mentions Luminous clusters running 12.2.5.
I think they both do?
Quoted 5 lines
I might be misreading this, but to make things clear for current Ceph Luminous 12.2.5 users. Is the following statement correct?
If you do _NOT_ use EC in your 12.2.5 cluster (only replicated pools), there is no need to quiesce IO (ceph osd pause).
Correct.
Quoted 5 lines
http://docs.ceph.com/docs/master/releases/luminous/#upgrading-from-other-versions
If your cluster did not run v12.2.5 or v12.2.6 then none of the above issues apply to you and you should upgrade normally.^^ Above section would indicate all 12.2.5 luminous clusters.
The intent here is to clarify that any cluster running 12.2.4 or older can upgrade without reading carefully. If the cluster does/did run 12.2.5 or .6, then read carefully because it may (or may not) be affected.
Does that help? Any suggested revisions to the wording in the release notes that make it clearer are welcome!
Thanks-
sageQuoted 7 lines
Please clarify,
Thanks,
Stefan
Quoted 9 lines
--
| BIT BV http://www.bit.nl/ Kamer van Koophandel 09090351
| GPG:0xD14839C6+31 318 648 688 / [email protected] --
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Quoted 5 lines
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Quoted 12 lines · Linh Vu
Thanks for all your hard work in putting out the fixes so quickly! :)
We have a cluster on 12.2.5 with Bluestore and EC pool but for CephFS, not RGW. In the release notes, it says RGW is a risk especially the garbage collection, and the recommendation is to either pause IO or disable RGW garbage collection.
In our case with CephFS, not RGW, is it a lot less risky to perform the upgrade to 12.2.7 without the need to pause IO?
Quoted 7 lines
What does pause IO do? Do current sessions just get queued up and IO resume normally with no problem after unpausing?
If we have to pause IO, is it better to do something like: pause IO, restart OSDs on one node, unpause IO - repeated for all the nodes involved in the EC pool?
CephFS can generate a problem rados workload too when files are deleted or truncated. If that isn't happening in your workload then you're probably fine. If deletes are mixed in, then you might consider pausing IO for the upgrade.
FWIW, if you have been running 12.2.5 for a while and haven't encountered the OSD FileStore crashes with
src/os/filestore/FileStore.cc: 5524: FAILED assert(0 == "ERROR: source must exist")
but have had OSDs go up/down then you are probably okay.
Thanks!
sage
Quoted 9 lines · Linh Vu
Thanks for all your hard work in putting out the fixes so quickly! :)
We have a cluster on 12.2.5 with Bluestore and EC pool but for CephFS, not RGW. In the release notes, it says RGW is a risk especially the garbage collection, and the recommendation is to either pause IO or disable RGW garbage collection.
In our case with CephFS, not RGW, is it a lot less risky to perform the upgrade to 12.2.7 without the need to pause IO?
It is hard to quantify. I think we only saw the problem with RGW, but CephFS also sends deletes to non-existent objects when deleting or truncating sparse files. Those are probably not too common in most environments...
Quoted 2 lines
What does pause IO do? Do current sessions just get queued up and IO resume normally with no problem after unpausing?
Exactly. As long as the application doesn't have some timeout coded where it gives up when a read or write is taking to long, everything will just pause.
Quoted 3 lines
If we have to pause IO, is it better to do something like: pause IO, restart OSDs on one node, unpause IO - repeated for all the nodes involved in the EC pool?
Yes, that sounds like a great way to proceed!
sage
A message that is not in the archive (sent off-list or not yet received): alpine.DEB.2.11.1807182333190.17411-qHenpvqtifaMSRpgCs4c+g@public.gmane.org
Awesome, thank you Sage! With that explanation, it's actually a lot easier and less impacting than I thought. :)
Cheers,
Linh
________________________________
From: Sage Weil <[email protected]>
Sent: Thursday, 19 July 2018 9:35:33 AM
To: Linh Vu
Cc: Stefan Kooman; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [Ceph-maintainers] [ceph-users] v12.2.7 Luminous released
Quoted 9 lines · Linh Vu
Thanks for all your hard work in putting out the fixes so quickly! :)
We have a cluster on 12.2.5 with Bluestore and EC pool but for CephFS, not RGW. In the release notes, it says RGW is a risk especially the garbage collection, and the recommendation is to either pause IO or disable RGW garbage collection.
In our case with CephFS, not RGW, is it a lot less risky to perform the upgrade to 12.2.7 without the need to pause IO?
It is hard to quantify. I think we only saw the problem with RGW, but CephFS also sends deletes to non-existent objects when deleting or truncating sparse files. Those are probably not too common in most environments...
Quoted 2 lines
What does pause IO do? Do current sessions just get queued up and IO resume normally with no problem after unpausing?
Exactly. As long as the application doesn't have some timeout coded where it gives up when a read or write is taking to long, everything will just pause.
Quoted 3 lines
If we have to pause IO, is it better to do something like: pause IO, restart OSDs on one node, unpause IO - repeated for all the nodes involved in the EC pool?
Yes, that sounds like a great way to proceed!
sage
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Hi all,
This is just to report that I just upgraded smoothly from 12.2.6 to 12.2.7 (bluestore only, bitten by the "damaged mds" consequence of the bad checksum on mds journal 0x200).
This was a really bad problem for CephFS. Hopefully, that cluster was not in production yet (that's why I didn't ask myself too many questions before upgrading to 12.2.6).
Many many many thanks to all who provided help, and to the brave developers who might not have had fun those days too ;-)
Le mardi 17 juillet 2018 à 18:28 +0200, Abhishek Lekshmanan a écrit :
Quoted 179 lines
This is the seventh bugfix release of Luminous v12.2.x long term stable release series. This release contains several fixes for regressions in the v12.2.6 and v12.2.5 releases. We recommend that all users upgrade.
*NOTE* The v12.2.6 release has serious known regressions, while 12.2.6
wasn't formally announced in the mailing lists or blog, the packages were built and available on download.ceph.com since last week. If you installed this release, please see the upgrade procedure below.*NOTE* The v12.2.5 release has a potential data corruption issue with erasure coded pools. If you ran v12.2.5 with erasure coding, please see
below.The full blog post alongwith the complete changelog is published at the
official ceph blog at https://ceph.com/releases/12-2-7-luminous-relea
sed/Upgrading from v12.2.6
----------------------v12.2.6 included an incomplete backport of an optimization for BlueStore OSDs that avoids maintaining both the per-object checksum and the internal BlueStore checksum. Due to the accidental omission of a critical follow-on patch, v12.2.6 corrupts (fails to update) the stored per-object checksum value for some objects. This can result in
an EIO error when trying to read those objects.#. If your cluster uses FileStore only, no special action is required.
This problem only affects clusters with BlueStore.#. If your cluster has only BlueStore OSDs (no FileStore), then you should enable the following OSD option::
osd skip data digest = true
This will avoid setting and start ignoring the full-object digests whenever the primary for a PG is BlueStore.
#. If you have a mix of BlueStore and FileStore OSDs, then you should enable the following OSD option::
osd distrust data digest = true
This will avoid setting and start ignoring the full-object digests in all cases. This weakens the data integrity checks for FileStore (although those checks were always only opportunistic).
If your cluster includes BlueStore OSDs and was affected, deep scrubs will generate errors about mismatched CRCs for affected objects. Currently the repair operation does not know how to correct them (since all replicas do not match the expected checksum it does not know how to proceed). These warnings are harmless in the sense that IO is not affected and the replicas are all still in sync. The number
of affected objects is likely to drop (possibly to zero) on their own over time as those objects are modified. We expect to include a scrub
improvement in v12.2.8 to clean up any remaining objects.Additionally, see the notes below, which apply to both v12.2.5 and v12.2.6.
Upgrading from v12.2.5 or v12.2.6
---------------------------------If you used v12.2.5 or v12.2.6 in combination with erasure coded pools, there is a small risk of corruption under certain workloads. Specifically, when:
* An erasure coded pool is in use
* The pool is busy with successful writes
* The pool is also busy with updates that result in an error result to
the librados user. RGW garbage collection is the most common example of this (it sends delete operations on objects that don't always exist.)
* Some OSDs are reasonably busy. One known example of such load is FileStore splitting, although in principle any load on the cluster could also trigger the behavior.
* One or more OSDs restarts.This combination can trigger an OSD crash and possibly leave PGs in a state
where they fail to peer.Notably, upgrading a cluster involves OSD restarts and as such may increase the risk of encountering this bug. For this reason, for clusters with erasure coded pools, we recommend the following upgrade procedure to minimize risk:
1. Install the v12.2.7 packages.
2. Temporarily quiesce IO to cluster::ceph osd pause
3. Restart all OSDs and wait for all PGs to become active.
4. Resume IO::ceph osd unpause
This will cause an availability outage for the duration of the OSD restarts. If this in unacceptable, an *more risky* alternative is to disable RGW garbage collection (the primary known cause of these rados
operations) for the duration of the upgrade::1. Set ``rgw_enable_gc_threads = false`` in ceph.conf
2. Restart all radosgw daemons
3. Upgrade and restart all OSDs
4. Remove ``rgw_enable_gc_threads = false`` from ceph.conf
5. Restart all radosgw daemonsUpgrading from other versions
-----------------------------If your cluster did not run v12.2.5 or v12.2.6 then none of the above issues apply to you and you should upgrade normally.
v12.2.7 Changelog
-----------------* mon/AuthMonitor: improve error message (issue#21765, pr#22963, Douglas Fuller)
* osd/PG: do not blindly roll forward to log.head (issue#24597, pr#22976, Sage Weil)
* osd/PrimaryLogPG: rebuild attrs from clients (issue#24768 , pr#22962, Sage Weil)
* osd: work around data digest problems in 12.2.6 (version 2) (issue#24922, pr#23055, Sage Weil)
* rgw: objects in cache never refresh afterrgw_cache_expiry_interval(issue#24346, pr#22369, Casey Bodley, Matt Benjamin)Notable changes in v12.2.6 Luminous
===================================:note: This is a broken release with serious known regressions. Do not
install it. The release notes below are to help track the changes that
went in 12.2.6 and hence a part of 12.2.7- *Auth*:
* In 12.2.4 and earlier releases, keyring caps were not checked for validity,
so the caps string could be anything. As of 12.2.6, caps strings are
validated and providing a keyring with an invalid caps string to, e.g.,
"ceph auth add" will result in an error.
* CVE 2018-1128: auth: cephx authorizer subject to replay attack (issue#24836, Sage Weil)
* CVE 2018-1129: auth: cephx signature check is weak (issue#24837, Sage Weil)
* CVE 2018-10861: mon: auth checks not correct for pool ops (issue#24838, Jason Dillaman)- The config-key interface can store arbitrary binary blobs but JSON can only express printable strings. If binary blobs are present, the 'ceph config-key dump' command will show them as something like ``<<< binary blob of length N >>>``.
The full changelog for 12.2.6 is published in the release blog.
Getting ceph:
* Git atgit://github.com/ceph/ceph.git
* Tarball at http://download.ceph.com/tarballs/ceph-12.2.7.tar.gz
* For packages, see http://docs.ceph.com/docs/master/install/get-pack
ages/
* Release git sha1:3ec878d1e53e1aeb47a9f619c49d9e7c0aa384d5
Signature · 5 lines
Nicolas Huillard _______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com