From: John Spray <john.spray@redhat.com>
To: "Handzik, Joe" <joseph.t.handzik@hp.com>,
ceph-devel <ceph-devel@vger.kernel.org>
Cc: "gmeno@redhat.com" <gmeno@redhat.com>
Subject: Re: Preferred location for utility execution
Date: Mon, 29 Jun 2015 21:09:33 +0100 [thread overview]
Message-ID: <5591A5FD.2030708@redhat.com> (raw)
In-Reply-To: <2C438B34CAC8264398F5C7AF7411910A6D961A4B@G4W3206.americas.hpqcorp.net>
On 29/06/2015 19:44, Handzik, Joe wrote:
> Thanks for the reply, John. I knew where you stood. :)
>
> I tend to agree with you for much of this, I should be able to pull a fair amount of drive metadata out of /sys, and now that I've added the device node to bootstrap off of, that sort of data collection should be easy to initiate alongside the rest of the metadata collection here: https://github.com/ceph/ceph/blob/master/src/osd/OSD.cc#L4566
>
> Something I'm not sure of is, say, Gregory's commit to Calamari. Does your opinion extend to functionality like that? Should SMART be collected within Ceph, rather than via a salt script initiated by Calamari?
Good question... It depends on your position: if you're someone already
using or developing Calamari, then it's a perfectly reasonable thing to
add into Calamari. If you're looking for a way to provide functionality
for most ordinary ceph users, and enable involvement of most ceph
developers, then Calamari brings quite a bit of baggage with it, and
it's much more desirable to have it baked into Ceph.
The good news is that there's no rule against doing these things both
places, so there's not really a wrong answer (at least in my opinion).
We might find that while Calamari remains a minority thing, it's useful
to have a whizz-bang version of a feature in Calamari, and something
more basic baked into Ceph. That's kind of already true for e.g.
calamari's /server API vs. ceph's built in "node ls".
Finally, going a bit off topic: in an ideal world, the answer would be
to get Calamari where it needs to be, and then add hardware monitoring
functionality into Calamari while keeping the core of Ceph lightweight.
This applies to other pieces of functionality, like the recent "node ls"
functionality, continued existence of ceph-rest-api, some of the recent
MDS health check stuff, all the kind of things that we would add in the
python layer if we had one that was positioned to be present in all Ceph
deployments, rather than only some. Instead, we're writing these things
into the C++ part because that's the only way to reach all the users.
Calamari can only take up that role once it's:
* Packaged (without any onerous dependencies)
* Comprehensive (can do anything the CLI can do)
* Lightweight (nothing to prevent us from enabling it by default)
John
next prev parent reply other threads:[~2015-06-29 20:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-26 20:14 Preferred location for utility execution Handzik, Joe
2015-06-26 22:23 ` John Spray
2015-06-29 18:44 ` Handzik, Joe
2015-06-29 20:09 ` John Spray [this message]
2015-06-29 20:46 ` Handzik, Joe
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=5591A5FD.2030708@redhat.com \
--to=john.spray@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=gmeno@redhat.com \
--cc=joseph.t.handzik@hp.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.