From: Josh Durgin <josh.durgin@inktank.com>
To: Constantinos Venetsanopoulos <cven@grnet.gr>
Cc: ceph-devel@vger.kernel.org, synnefo-devel@googlegroups.com
Subject: Re: rbd tool changed format? (breaks compatibility)
Date: Fri, 16 Nov 2012 09:14:52 -0800 [thread overview]
Message-ID: <50A6748C.7040303@inktank.com> (raw)
In-Reply-To: <50A64F6A.8010505@grnet.gr>
On 11/16/2012 06:36 AM, Constantinos Venetsanopoulos wrote:
> Hello ceph team,
>
> As you may already know, our team in GRNET is building a complete open
> source cloud platform called Synnefo [1], which already powers our
> production public cloud service ~okeanos [2].
>
> Synnefo is using Google Ganeti for the low level VM management part [3].
> As of Jan 2012, we have merged to upstream Ganeti support for VM disks
> on RADOS [4].
>
> Today we received some feedback, that other people trying to run Ganeti
> with RADOS get an error because probably the output of the 'rbd
> showmapped' command has changed.
>
> I'd like to ask if indeed the output format of the rbd tool has changed.
> More specifically:
>
> 1. Does the 'rbd showmapped' command still returns just the headers if
> no device is mapped?
No
> 2. Has the separator between the 'rbd showmapped' columns changed
> from \t to ""?
Yes, this is in the release notes for 0.54
(http://ceph.com/docs/master/release-notes/#v0-54).
> I don't have the latest rbd tool setup (but rather
> ceph-common=0.48.1argonaut-1~bpo60+1), so I can't test it right now,
> but I see this commit:
>
> https://github.com/ceph/ceph/commit/bed55369a96c2651f513b8c9b1a7bb92fb87550a
Yeah, that's the commit that changed it.
> How stable can we consider rbd tool's output format?
> This is something we want to run in production environment. Using the
> tool rather than the library makes things much simpler.
Generally it won't change much, but I don't think it should be
considered entirely unchanging. We'll add it to the release notes when
the output does change. We'll probably switch other commands to use
TextTable too, with the same results as with showmapped and lock list.
We could send a message to the mailing list when the output changes as
well, so you can prepare for a future release.
Perhaps we should add a --format json|plain option so you don't have to
rely on particular formatting, you just parse the json. This would
match existing usage by many 'ceph ...' commands, and be easier
for scripts to use in general.
Josh
next prev parent reply other threads:[~2012-11-16 17:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-16 14:36 rbd tool changed format? (breaks compatibility) Constantinos Venetsanopoulos
2012-11-16 17:14 ` Josh Durgin [this message]
2012-11-19 10:20 ` Constantinos Venetsanopoulos
2012-12-13 15:37 ` [PATCH] rbd: Add --json flag for the showmapped command Stratos Psomadakis
2012-12-13 17:17 ` Yehuda Sadeh
2012-12-14 8:57 ` Stratos Psomadakis
2012-12-17 17:32 ` Josh Durgin
2012-12-17 17:35 ` Yehuda Sadeh
2012-12-17 18:35 ` Josh Durgin
2012-12-17 17:25 ` Josh Durgin
2012-12-19 12:17 ` [PATCH v2] rbd: Support plain/json/xml output formatting Stratos Psomadakis
2013-01-04 23:50 ` Josh Durgin
2013-01-14 13:19 ` Stratos Psomadakis
2013-01-14 17:09 ` Josh Durgin
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=50A6748C.7040303@inktank.com \
--to=josh.durgin@inktank.com \
--cc=ceph-devel@vger.kernel.org \
--cc=cven@grnet.gr \
--cc=synnefo-devel@googlegroups.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.