From mboxrd@z Thu Jan 1 00:00:00 1970 From: Willem Jan Withagen Subject: Re: Running src/ceph generates python error Date: Fri, 19 Feb 2016 01:53:37 +0100 Message-ID: <56C66791.8040005@digiware.nl> References: <56C6403C.7060400@digiware.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from smtp.digiware.nl ([31.223.170.169]:27847 "EHLO smtp.digiware.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946363AbcBSAxw (ORCPT ); Thu, 18 Feb 2016 19:53:52 -0500 Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 522051534E6 for ; Fri, 19 Feb 2016 01:53:49 +0100 (CET) Received: from [192.168.10.10] (asus [192.168.10.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 344EA153416 for ; Fri, 19 Feb 2016 01:53:39 +0100 (CET) In-Reply-To: <56C6403C.7060400@digiware.nl> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Ceph Development On 18-2-2016 23:05, Willem Jan Withagen wrote: > I'm trying to run I was not quite complex in my message: Running: test/erasure-code/test-erasure-code.sh And I can get it actually working when I comment out the line: ../qa/workunits/ceph-helpers.sh: line 547 # ceph_args+=" --plugin-dir=.libs" But the error seems to be because of an error in the python script called then refuses the about --plugin-dir option --WjW > And it terminates with: > ====== > ....... > ....... > ../qa/workunits/ceph-helpers.sh:555: activate_osd: mkdir -p > testdir/test-erasure-code/0 > ../qa/workunits/ceph-helpers.sh:556: activate_osd: > CEPH_ARGS='--fsid=d9e9b487-d5e0-11e5-be15-1c6f6582ec12 > --auth-supported=none - > -mon-host=127.0.0.1:7101 --osd-backfill-full-ratio=.99 > --osd-failsafe-full-ratio=.99 --osd-journal-size=100 --osd-scrub-load-thre > shold=2000 --osd-data=testdir/test-erasure-code/0 --chdir= > --erasure-code-dir=.libs --plugin-dir=.libs --osd-class-dir=.libs --run > -dir=testdir/test-erasure-code --debug-osd=20 > --log-file=testdir/test-erasure-code/$name.log > --pid-file=testdir/test-erasure-code/ > $name.pid ' > ../qa/workunits/ceph-helpers.sh:556: activate_osd: ceph-disk > --statedir=testdir/test-erasure-code --sysconfdir=testdir/test-erasu > re-code --prepend-to-path= activate --mark-init=none > testdir/test-erasure-code/0 > ceph-disk: Error: ceph osd create failed: Command './ceph' returned > non-zero exit status 22: --plugin-dir=.libs not valid: --plug > in-dir=.libs doesn't represent an int > Invalid command: unused arguments: [u'--plugin-dir=.libs'] > osd create {} {} : create new osd (with optional UUID > and ID) > Error EINVAL: invalid command > > ====== > > So it seems it does not like all the values that are put in the > ENV{CEPH_ARGS}. > > Is this just my problem? > And if so, what am I doing wrong?