Please apply nofile limit fix of ceph-osd to trusty, utopic
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | ceph (Ubuntu) |
Medium
|
Dave Chiluk | ||
| | Trusty |
Medium
|
James Page | ||
| | Utopic |
Medium
|
James Page | ||
Bug Description
[Impact]
Without this nofile limit fix, large ceph cluster fails to start or stops handling requests.
[Fix]
Ceph upstream applied a new nofile limit(10x) to Giant+ releases (vivid in Ubuntu repo).
https:/
[Test case]
Check that new nofile ulimit is properly applied as 32768 -> 327680:
$ cat /proc/$(pgrep -n ceph-osd)/limits | grep 'Max open files'
[Regression Potential]
minimal,
If we set 1M nofile ulimit, the daemon will fail to start due to the default fs.nr_open value. However this time, we will apply 0.3M which should not cause troubles.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ceph 0.80.7-
ProcVersionSign
Uname: Linux 3.13.0-44-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.6
Architecture: amd64
Date: Wed Feb 11 07:14:43 2015
Ec2AMI: ami-00000016
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.smallswap
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
ExecutablePath: /usr/bin/ceph-osd
ProcEnviron:
TERM=linux
PATH=(custom, no user)
SourcePackage: ceph
UpgradeStatus: No upgrade log present (probably fresh install)
| Nobuto Murata (nobuto) wrote : | #1 |
| Changed in ceph (Ubuntu): | |
| assignee: | nobody → Dave Chiluk (chiluk) |
| tags: | added: cts |
| Dave Chiluk (chiluk) wrote : | #2 |
| Dave Chiluk (chiluk) wrote : | #3 |
| Dave Chiluk (chiluk) wrote : | #4 |
Above are the trusty and utopic debdiffs. The versioning is a bit different than I'm used to so, please feel free to correct the versioning.
| Changed in ceph (Ubuntu): | |
| importance: | Undecided → Medium |
| status: | New → Confirmed |
The attachment "trusty debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]
| tags: | added: patch |
| Robie Basak (racb) wrote : | #6 |
Hi Dave,
Thank you for the debdiffs - they look good. A few questions:
Is this issue fixed in Vivid? I'm not sure if this is what you mean by "Ceph upstream applied a new nofile limit(10x) to Giant+ releases (vivid in Ubuntu repo)." - has this fix landed in Vivid, or is it just upstream and expected to land in Vivid?
dep3 header in "Origin: http..." should probably say "Origin: upstream, http..." to make it clear the patches are from upstream. Patches from upstream carry more confidence in cherry-picking to Ubuntu, so we should point this out for anybody trying to figure out the patches later. Don't worry about redoing the debdiffs just for this - I can just tweak before upload.
Changing the upstart script will presumably cause a conffile prompt if the user has made local modifications to the file. We should point this out in [Regression Potential] and make sure the SRU team know about it in order to help make a decision. We'd like to avoid conffile prompts in SRUs in general, but in this case it might make sense. I'll leave for the SRU team to decide.
The Trusty version should be 0.80.8-
| Nobuto Murata (nobuto) wrote : | #7 |
@Robie,
> Is this issue fixed in Vivid? I'm not sure if this is what you mean by "Ceph upstream applied a new nofile limit(10x) to Giant+ releases (vivid in Ubuntu repo)." - has this fix landed in Vivid, or is it just upstream and expected to land in Vivid?
This fix had already landed into vivid as a part of a new upstream release at 0.87-0ubuntu1/
http://
| Changed in ceph (Ubuntu): | |
| status: | Confirmed → Fix Released |
| James Page (james-page) wrote : | #8 |
Pulling this in with 0.80.9 point release
| Changed in ceph (Ubuntu Trusty): | |
| status: | New → In Progress |
| Changed in ceph (Ubuntu Utopic): | |
| status: | New → In Progress |
| Changed in ceph (Ubuntu Trusty): | |
| importance: | Undecided → Medium |
| Changed in ceph (Ubuntu Utopic): | |
| importance: | Undecided → Medium |
| Changed in ceph (Ubuntu Trusty): | |
| assignee: | nobody → James Page (james-page) |
| Changed in ceph (Ubuntu Utopic): | |
| assignee: | nobody → James Page (james-page) |
Hello Nobuto, or anyone else affected,
Accepted ceph into utopic-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in ceph (Ubuntu Utopic): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Brian Murray (brian-murray) wrote : | #10 |
Hello Nobuto, or anyone else affected,
Accepted ceph into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in ceph (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #11 |
This bug was fixed in the package ceph - 0.80.9-
---------------
ceph (0.80.9-
[ James Page ]
* New upstream stable point release (LP: #1413917).
[ Dave Chiluk ]
* Increase file limit to prevent hitting the file limit on large
installations (LP: #1420647)
-- James Page <email address hidden> Wed, 11 Mar 2015 09:14:35 +0000
| Changed in ceph (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Chris J Arges (arges) wrote : Update Released | #12 |
The verification of the Stable Release Update for ceph has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| Launchpad Janitor (janitor) wrote : | #13 |
This bug was fixed in the package ceph - 0.80.9-
---------------
ceph (0.80.9-
[ James Page ]
* New upstream stable point release (LP: #1413917).
[ Dave Chiluk ]
* Increase file limit to prevent hitting the file limit on large
installations (LP: #1420647)
-- James Page <email address hidden> Wed, 11 Mar 2015 09:16:00 +0000
| Changed in ceph (Ubuntu Utopic): | |
| status: | Fix Committed → Fix Released |


Upstream commit is here. /github. com/ceph/ ceph/commit/ 5773a374d0089ce 824dec0a0c74a76 e57806cc43
https:/