From mboxrd@z Thu Jan 1 00:00:00 1970 From: Loic Dachary Subject: Re: teuthology : ulimit: error Date: Sat, 10 Aug 2013 10:34:09 +0200 Message-ID: <5205FB01.5040905@dachary.org> References: <52041335.9040009@dachary.org> <5205D12A.4090408@inktank.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCDDFB61A18D6E7ACE7661EFC" Return-path: Received: from smtp.dmail.dachary.org ([86.65.39.20]:44522 "EHLO smtp.dmail.dachary.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968424Ab3HJIeN (ORCPT ); Sat, 10 Aug 2013 04:34:13 -0400 In-Reply-To: <5205D12A.4090408@inktank.com> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Dan Mick Cc: Ceph Development This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCDDFB61A18D6E7ACE7661EFC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/08/2013 07:35, Dan Mick wrote: > IIRC we had to adjust settings in /etc/security to allow ulimit adjustm= ent of at least core: >=20 > sed -i 's/^#\*.*soft.*core.*0/\* soft core unlimited/= g' /etc/security/limits.conf >=20 > or something like that. That seems to apply to centos/fedora/redhat sy= stems. Hi Dan, This is Ubuntu and it does work with sudo. It probably is something about= how it's called rather than a system limit. Cheers >=20 >=20 > On 08/08/2013 02:52 PM, Loic Dachary wrote: >> Hi, >> >> Trying to use Ubuntu precise virtual machines as teuthology targets ( = making sure they have 2GB of RAM because ceph-test-dbg will not even inst= all with 1GB of RAM ;-) and installing the key with >> >> wget -q -O- 'https://ceph.com/git/?p=3Dceph.git;a=3Dblob_plain;f=3Dkey= s/release.asc' | sudo apt-key add - >> >> teuthology runs with >> >> ./virtualenv/bin/teuthology job.yaml >> >> where job.yaml is >> >> check-locks: false >> roles: >> - - mon.a >> - mon.c >> - osd.0 >> - - mon.b >> - osd.1 >> - client.0 >> tasks: >> - install: >> project: ceph >> branch: wip-5510 >> - ceph: >> fs: ext4 >> - workunit: >> clients: >> all: >> - filestore/filestore.sh >> targets: >> ubuntu@91.121.254.229: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOSit= 20EyZ2AKCvk2tnMsdQ6LmVRutvBmZb0awV9Z2EduJa0fYPrReYRb9ZhGRq2PJe0zgpFPKr8s4= gGay+tL0+dFkju5uyABqMGeITlJCifd+RhM0MCVllgIzekDwVb0n6ydTS8k7GVFyYv8ZC0TPg= bfcDcEtSEgqJNRJ0o1Bh8swuTn+cipanNDRVK39tOqJdfptUxak+TD+5QY8CGFdXdEQYP7VsY= J+jQHw73O2xbuPgfv5Shbmt+qGWLToxFqKca3owMtkvFeONgYUdujgg9qr7Q9p0+HhCFCXB8v= 4N2I7NSbWNdpGqyJLdLqwJ70gEeNlOhm5F7IsXfVxTapB >> ubuntu@91.121.254.237: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXVzh= edORtmEmCeZJ4Ssg8wfqpYyH9W/Aa+j6CvPHSAkzZ48zXqVBATxm6S8sIIqfKkz1hWpNssx6u= Uotbm8k/ZatMddsd932+Di136l/HUhp6O8iIFze56kjWpyDpRPw2MM0V+OKmsiHZDfMj9ATt6= ChgXfRsm23MUlmnoFHvtfwvFBnvBjcZPN7qxMpFHDamZzACNvnis/OINJrud9VprOgjhZZ7mx= cTbcVZaVgcTcnyC4b9d9PRrMG2aCv0BO1eb/qnlmSogQPfoKEORJcwaUcLgabww+Taa9hJSZ9= l8yEQamj+XIgr6yzGKgCvlG4lTdHM2tQdpgATZvR7/pBz >> >> and produces the following output >> >> INFO:teuthology.orchestra.run.err:[91.121.254.229]: /home/ubuntu/cepht= est/lo1308082328/adjust-ulimits: 4: ulimit: error setting limit (Operatio= n not permitted) >> >> and the full output is at >> >> http://pastealacon.com/32957 Refreshed with a longer timeout. http://pastealacon.com/32963 >> >> as if >> >> /home/ubuntu/cephtest/lo1308082328/adjust-ulimits ceph-coverage /home/= ubuntu/cephtest/lo1308082328/archive/coverage monmaptool --create --clobb= er --add a 91.121.254.229:6789 --add c 91.121.254.229:6790 --add b 91.121= =2E254.237:6789 --print /home/ubuntu/cephtest/lo1308082328/monmap' >> >> was run without a leading sudo. I tried running sudo adjust-ulimits ec= ho foo manually on the target and it works. >> >> I would very much appreciate a hint ;-) >> >> Cheers >> --=20 Lo=EFc Dachary, Artisan Logiciel Libre All that is necessary for the triumph of evil is that good people do noth= ing. --------------enigCDDFB61A18D6E7ACE7661EFC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlIF+wEACgkQ8dLMyEl6F22CZQCeNAm9tLSbUEkPH8gkGo5chPDU ooEAn0GVLiEHlh3ZYfIcU251WEk1BRgD =TFjB -----END PGP SIGNATURE----- --------------enigCDDFB61A18D6E7ACE7661EFC--