public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [rfc] New global USE flag: rbd
@ 2016-12-26  7:45 Andrew Savchenko
  2016-12-26  8:17 ` Daniel Campbell
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Andrew Savchenko @ 2016-12-26  7:45 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 965 bytes --]

Hi all,

8 packages are using either rbd or rados USE flag for Rados
Block Device support:

use.local.desc:app-backup/bareos:rados - Enable rados storage backend
use.local.desc:app-emulation/ganeti:rbd - Enable rados block device support via sys-cluster/ceph
use.local.desc:app-emulation/libvirt:rbd - Enable rados block device support via sys-cluster/ceph
use.local.desc:app-emulation/qemu:rbd - Enable rados block device backend support, see http://ceph.newdream.net/wiki/QEMU-RBD
use.local.desc:net-analyzer/rrdtool:rados - Enable support for librados from sys-cluster/ceph
use.local.desc:net-libs/xrootd:rbd - Enable rados block device support via sys-cluster/ceph
use.local.desc:sys-block/fio:rbd - Enable Rados block device support via sys-cluster/ceph
use.local.desc:sys-block/tgt:rbd - Add support for ceph block devices

Suggested description:
rbd - Enable rados block device support via sys-cluster/ceph

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [rfc] New global USE flag: rbd
  2016-12-26  7:45 [gentoo-dev] [rfc] New global USE flag: rbd Andrew Savchenko
@ 2016-12-26  8:17 ` Daniel Campbell
  2016-12-26  8:38   ` Andrew Savchenko
  2016-12-26  9:30   ` Matthew Thode
  2016-12-26 19:05 ` Kristian Fiskerstrand
  2016-12-26 19:25 ` Robin H. Johnson
  2 siblings, 2 replies; 11+ messages in thread
From: Daniel Campbell @ 2016-12-26  8:17 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 1342 bytes --]

On 12/25/2016 11:45 PM, Andrew Savchenko wrote:
> Hi all,
> 
> 8 packages are using either rbd or rados USE flag for Rados
> Block Device support:
> 
> use.local.desc:app-backup/bareos:rados - Enable rados storage backend
> use.local.desc:app-emulation/ganeti:rbd - Enable rados block device support via sys-cluster/ceph
> use.local.desc:app-emulation/libvirt:rbd - Enable rados block device support via sys-cluster/ceph
> use.local.desc:app-emulation/qemu:rbd - Enable rados block device backend support, see http://ceph.newdream.net/wiki/QEMU-RBD
> use.local.desc:net-analyzer/rrdtool:rados - Enable support for librados from sys-cluster/ceph
> use.local.desc:net-libs/xrootd:rbd - Enable rados block device support via sys-cluster/ceph
> use.local.desc:sys-block/fio:rbd - Enable Rados block device support via sys-cluster/ceph
> use.local.desc:sys-block/tgt:rbd - Add support for ceph block devices
> 
> Suggested description:
> rbd - Enable rados block device support via sys-cluster/ceph
> 
> Best regards,
> Andrew Savchenko
> 

Do we expect the list of packages using RBD to grow? If so then sure, if
for no other reason than to give a consistent description.

-- 
Daniel Campbell - Gentoo Developer
OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
fpr: AE03 9064 AE00 053C 270C  1DE4 6F7A 9091 1EA0 55D6


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [rfc] New global USE flag: rbd
  2016-12-26  8:17 ` Daniel Campbell
@ 2016-12-26  8:38   ` Andrew Savchenko
  2016-12-26  8:40     ` Aaron Bauman
  2016-12-26  9:30   ` Matthew Thode
  1 sibling, 1 reply; 11+ messages in thread
From: Andrew Savchenko @ 2016-12-26  8:38 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]

On Mon, 26 Dec 2016 00:17:03 -0800 Daniel Campbell wrote:
> On 12/25/2016 11:45 PM, Andrew Savchenko wrote:
> > Hi all,
> > 
> > 8 packages are using either rbd or rados USE flag for Rados
> > Block Device support:
> > 
> > use.local.desc:app-backup/bareos:rados - Enable rados storage backend
> > use.local.desc:app-emulation/ganeti:rbd - Enable rados block device support via sys-cluster/ceph
> > use.local.desc:app-emulation/libvirt:rbd - Enable rados block device support via sys-cluster/ceph
> > use.local.desc:app-emulation/qemu:rbd - Enable rados block device backend support, see http://ceph.newdream.net/wiki/QEMU-RBD
> > use.local.desc:net-analyzer/rrdtool:rados - Enable support for librados from sys-cluster/ceph
> > use.local.desc:net-libs/xrootd:rbd - Enable rados block device support via sys-cluster/ceph
> > use.local.desc:sys-block/fio:rbd - Enable Rados block device support via sys-cluster/ceph
> > use.local.desc:sys-block/tgt:rbd - Add support for ceph block devices
> > 
> > Suggested description:
> > rbd - Enable rados block device support via sys-cluster/ceph
> > 
> > Best regards,
> > Andrew Savchenko
> > 
> 
> Do we expect the list of packages using RBD to grow? 

It is likely, ceph popularity is growing.

> If so then sure, if
> for no other reason than to give a consistent description.

Anyway IIRC we have a rule: local flags for >=5 packages with
the same meaning => global flag.

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [rfc] New global USE flag: rbd
  2016-12-26  8:38   ` Andrew Savchenko
@ 2016-12-26  8:40     ` Aaron Bauman
  0 siblings, 0 replies; 11+ messages in thread
From: Aaron Bauman @ 2016-12-26  8:40 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 1596 bytes --]



On 12/26/2016 05:38 PM, Andrew Savchenko wrote:
> On Mon, 26 Dec 2016 00:17:03 -0800 Daniel Campbell wrote:
>> On 12/25/2016 11:45 PM, Andrew Savchenko wrote:
>>> Hi all,
>>>
>>> 8 packages are using either rbd or rados USE flag for Rados
>>> Block Device support:
>>>
>>> use.local.desc:app-backup/bareos:rados - Enable rados storage backend
>>> use.local.desc:app-emulation/ganeti:rbd - Enable rados block device support via sys-cluster/ceph
>>> use.local.desc:app-emulation/libvirt:rbd - Enable rados block device support via sys-cluster/ceph
>>> use.local.desc:app-emulation/qemu:rbd - Enable rados block device backend support, see http://ceph.newdream.net/wiki/QEMU-RBD
>>> use.local.desc:net-analyzer/rrdtool:rados - Enable support for librados from sys-cluster/ceph
>>> use.local.desc:net-libs/xrootd:rbd - Enable rados block device support via sys-cluster/ceph
>>> use.local.desc:sys-block/fio:rbd - Enable Rados block device support via sys-cluster/ceph
>>> use.local.desc:sys-block/tgt:rbd - Add support for ceph block devices
>>>
>>> Suggested description:
>>> rbd - Enable rados block device support via sys-cluster/ceph
>>>
>>> Best regards,
>>> Andrew Savchenko
>>>
>> Do we expect the list of packages using RBD to grow? 
> It is likely, ceph popularity is growing.
>
>> If so then sure, if
>> for no other reason than to give a consistent description.
> Anyway IIRC we have a rule: local flags for >=5 packages with
> the same meaning => global flag.

Correct.  New global flag sounds good to me.

>
> Best regards,
> Andrew Savchenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [rfc] New global USE flag: rbd
  2016-12-26  8:17 ` Daniel Campbell
  2016-12-26  8:38   ` Andrew Savchenko
@ 2016-12-26  9:30   ` Matthew Thode
  1 sibling, 0 replies; 11+ messages in thread
From: Matthew Thode @ 2016-12-26  9:30 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 1377 bytes --]

On 12/26/2016 02:17 AM, Daniel Campbell wrote:
> On 12/25/2016 11:45 PM, Andrew Savchenko wrote:
>> Hi all,
>>
>> 8 packages are using either rbd or rados USE flag for Rados
>> Block Device support:
>>
>> use.local.desc:app-backup/bareos:rados - Enable rados storage backend
>> use.local.desc:app-emulation/ganeti:rbd - Enable rados block device support via sys-cluster/ceph
>> use.local.desc:app-emulation/libvirt:rbd - Enable rados block device support via sys-cluster/ceph
>> use.local.desc:app-emulation/qemu:rbd - Enable rados block device backend support, see http://ceph.newdream.net/wiki/QEMU-RBD
>> use.local.desc:net-analyzer/rrdtool:rados - Enable support for librados from sys-cluster/ceph
>> use.local.desc:net-libs/xrootd:rbd - Enable rados block device support via sys-cluster/ceph
>> use.local.desc:sys-block/fio:rbd - Enable Rados block device support via sys-cluster/ceph
>> use.local.desc:sys-block/tgt:rbd - Add support for ceph block devices
>>
>> Suggested description:
>> rbd - Enable rados block device support via sys-cluster/ceph
>>
>> Best regards,
>> Andrew Savchenko
>>
> 
> Do we expect the list of packages using RBD to grow? If so then sure, if
> for no other reason than to give a consistent description.
> 

I think sys-cluster/cinder and maybe nova/glance could use it.

-- 
-- Matthew Thode (prometheanfire)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [rfc] New global USE flag: rbd
  2016-12-26  7:45 [gentoo-dev] [rfc] New global USE flag: rbd Andrew Savchenko
  2016-12-26  8:17 ` Daniel Campbell
@ 2016-12-26 19:05 ` Kristian Fiskerstrand
  2017-01-03  8:51   ` Andrew Savchenko
  2016-12-26 19:25 ` Robin H. Johnson
  2 siblings, 1 reply; 11+ messages in thread
From: Kristian Fiskerstrand @ 2016-12-26 19:05 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1: Type: text/plain, Size: 432 bytes --]

On 12/26/2016 08:45 AM, Andrew Savchenko wrote:
> 8 packages are using either rbd or rados USE flag for Rados
> Block Device support:

Are there other possibly conflicting issues of using "rados" rather than
"rbd" as name (or "radosbd") or someting a bit more verbose than rbd.

-- 
Kristian Fiskerstrand
OpenPGP keyblock reachable at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [rfc] New global USE flag: rbd
  2016-12-26  7:45 [gentoo-dev] [rfc] New global USE flag: rbd Andrew Savchenko
  2016-12-26  8:17 ` Daniel Campbell
  2016-12-26 19:05 ` Kristian Fiskerstrand
@ 2016-12-26 19:25 ` Robin H. Johnson
  2017-01-03  8:36   ` Andrew Savchenko
  2 siblings, 1 reply; 11+ messages in thread
From: Robin H. Johnson @ 2016-12-26 19:25 UTC (permalink / raw
  To: gentoo-dev

On Mon, Dec 26, 2016 at 10:45:26AM +0300, Andrew Savchenko wrote:
> 8 packages are using either rbd or rados USE flag for Rados
> Block Device support:
RBD != RADOS.

RBD is the block-device-mapper on top of Ceph/RADOS.

There are other pieces to put on top of Ceph, such as CephFS & RADOSGW
(S3/Swift access to RADOS)

That said, I think at the growth of Ceph, we will have usage for both of
the USE flags.

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Trustee & Treasurer
E-Mail   : robbat2@gentoo.org
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [rfc] New global USE flag: rbd
  2016-12-26 19:25 ` Robin H. Johnson
@ 2017-01-03  8:36   ` Andrew Savchenko
  2017-01-03  8:43     ` Vadim A. Misbakh-Soloviov
  0 siblings, 1 reply; 11+ messages in thread
From: Andrew Savchenko @ 2017-01-03  8:36 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]

Hi,

On Mon, 26 Dec 2016 19:25:29 +0000 Robin H. Johnson wrote:
> On Mon, Dec 26, 2016 at 10:45:26AM +0300, Andrew Savchenko wrote:
> > 8 packages are using either rbd or rados USE flag for Rados
> > Block Device support:
> RBD != RADOS.

Thanks for pointing this out.
 
> RBD is the block-device-mapper on top of Ceph/RADOS.
> 
> There are other pieces to put on top of Ceph, such as CephFS & RADOSGW
> (S3/Swift access to RADOS)
> 
> That said, I think at the growth of Ceph, we will have usage for both of
> the USE flags.
 
Then how about the following list for rbd:

app-emulation/ganeti:rbd - Enable rados block device support via sys-cluster/ceph
app-emulation/libvirt:rbd - Enable rados block device support via sys-cluster/ceph
app-emulation/qemu:rbd - Enable rados block device backend support, see http://ceph.newdream.net/wiki/QEMU-RBD
net-libs/xrootd:rbd - Enable rados block device support via sys-cluster/ceph
sys-block/fio:rbd - Enable Rados block device support via sys-cluster/ceph
sys-block/tgt:rbd - Add support for ceph block devices

Also it seems that USE=rados is also invalid, because according to
Ceph architecture [1] librados != rados and what these packages use
is really librados:

app-backup/bareos:rados - Enable rados storage backend
net-analyzer/rrdtool:rados - Enable support for librados from sys-cluster/ceph

So I propose to rename these USE flags to librados to be consistent.

[1] http://docs.ceph.com/docs/master/architecture/
Looks like docs.ceph.com is down right now, so here is another copy:
http://www.virtualtothecore.com/wp-content/uploads/2015/02/ceph-architecture-1.png

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [rfc] New global USE flag: rbd
  2017-01-03  8:36   ` Andrew Savchenko
@ 2017-01-03  8:43     ` Vadim A. Misbakh-Soloviov
  2017-01-03  9:13       ` Andrew Savchenko
  0 siblings, 1 reply; 11+ messages in thread
From: Vadim A. Misbakh-Soloviov @ 2017-01-03  8:43 UTC (permalink / raw
  To: gentoo-dev

Shouldn't this
>> app-backup/bareos:rados - Enable rados storage backend
> storage backend
go to the first list?


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [rfc] New global USE flag: rbd
  2016-12-26 19:05 ` Kristian Fiskerstrand
@ 2017-01-03  8:51   ` Andrew Savchenko
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew Savchenko @ 2017-01-03  8:51 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

Hi,

On Mon, 26 Dec 2016 20:05:58 +0100 Kristian Fiskerstrand wrote:
> On 12/26/2016 08:45 AM, Andrew Savchenko wrote:
> > 8 packages are using either rbd or rados USE flag for Rados
> > Block Device support:
> 
> Are there other possibly conflicting issues of using "rados" rather than
> "rbd" as name (or "radosbd") or someting a bit more verbose than rbd.

As was pointed out by Robin, rados and rbd are different.

Considering verbose alternatives to rbd: they may be invented, but
will be non-standard and this will confuse our users: it will be
similar to "portableng" instead of "png".

Since we don't have rbd meaning conflict right now, it should be
safe to use. In case of future issues, local USE may be used for
alternative meanings.

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-dev] [rfc] New global USE flag: rbd
  2017-01-03  8:43     ` Vadim A. Misbakh-Soloviov
@ 2017-01-03  9:13       ` Andrew Savchenko
  0 siblings, 0 replies; 11+ messages in thread
From: Andrew Savchenko @ 2017-01-03  9:13 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

On Tue, 03 Jan 2017 15:43:16 +0700 Vadim A. Misbakh-Soloviov wrote:
> Shouldn't this
> >> app-backup/bareos:rados - Enable rados storage backend
> > storage backend
> go to the first list?

No, judging from its source code in uses librados directly.
Though current description is indeed ambiguous.

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-01-03  9:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-26  7:45 [gentoo-dev] [rfc] New global USE flag: rbd Andrew Savchenko
2016-12-26  8:17 ` Daniel Campbell
2016-12-26  8:38   ` Andrew Savchenko
2016-12-26  8:40     ` Aaron Bauman
2016-12-26  9:30   ` Matthew Thode
2016-12-26 19:05 ` Kristian Fiskerstrand
2017-01-03  8:51   ` Andrew Savchenko
2016-12-26 19:25 ` Robin H. Johnson
2017-01-03  8:36   ` Andrew Savchenko
2017-01-03  8:43     ` Vadim A. Misbakh-Soloviov
2017-01-03  9:13       ` Andrew Savchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox