From: Joao Eduardo Luis <joao.luis@inktank.com>
To: Sage Weil <sage@inktank.com>
Cc: Andrey Korolyov <andrey@xdel.ru>,
ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: parsing in the ceph osd subsystem
Date: Thu, 29 Nov 2012 16:49:29 +0000 [thread overview]
Message-ID: <50B79219.8020403@inktank.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1211290833290.30450@cobra.newdream.net>
On 11/29/2012 04:34 PM, Sage Weil wrote:
> On Thu, 29 Nov 2012, Andrey Korolyov wrote:
>> $ ceph osd down -
>> osd.0 is already down
>> $ ceph osd down ---
>> osd.0 is already down
>>
>> the same for ``+'', ``/'', ``%'' and so - I think that for osd subsys
>> ceph cli should explicitly work only with positive integers plus zero,
>> refusing all other input.
>
> which branch is this? this parsing is cleaned u pin the latest
> next/master.
I confirm this is fixed, but while making sure noticed that 'ceph osd
create <garbage>' will create an osd nonetheless. Just added a fix for
this to wip-mon-osd-create-fix that will make sure that if the uuid
argument is specified, then -EINVAL is returned in case the uuid is invalid.
-Joao
next prev parent reply other threads:[~2012-11-29 16:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 7:45 parsing in the ceph osd subsystem Andrey Korolyov
2012-11-29 7:53 ` Gregory Farnum
2012-11-29 16:34 ` Sage Weil
2012-11-29 16:49 ` Joao Eduardo Luis [this message]
2012-11-29 19:01 ` Andrey Korolyov
2012-11-29 19:49 ` Joao Eduardo Luis
2012-11-30 1:04 ` Joao Eduardo Luis
[not found] ` <1354237947.86472.YahooMailNeo@web121901.mail.ne1.yahoo.com>
2012-11-30 1:22 ` What is the new command to add osd to the crushmap to enable it to receive data Isaac Otsiabah
2012-11-30 1:54 ` Joao Eduardo Luis
[not found] ` <1357591756.80653.YahooMailNeo@web121903.mail.ne1.yahoo.com>
2013-01-07 21:00 ` osd down (for 2 about 2 minutes) error after adding a new host to my cluster Isaac Otsiabah
2013-01-07 21:27 ` Gregory Farnum
[not found] ` <1357680673.72602.YahooMailNeo@web121904.mail.ne1.yahoo.com>
2013-01-10 18:32 ` Gregory Farnum
2013-01-10 18:45 ` What is the acceptable attachment file size on the mail server? Isaac Otsiabah
2013-01-10 18:57 ` Gregory Farnum
2013-01-12 1:41 ` Yan, Zheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50B79219.8020403@inktank.com \
--to=joao.luis@inktank.com \
--cc=andrey@xdel.ru \
--cc=ceph-devel@vger.kernel.org \
--cc=sage@inktank.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.