Re: Rados example: create namespace, user for this namespace, read and write objects with created namespace and user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Easiest to think of namespaces just as a prefix for the object name
that is added and removed internally; there isn't really such a thing
as "creating a namespace".

(Yes, the rbd cli utility begs to differ, but that's really just
creating some metadata specific to rbd when you tell it to create a
namespace)


Paul

-- 
Paul Emmerich

Looking for help with your Ceph cluster? Contact us at https://croit.io

croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90

On Wed, Mar 11, 2020 at 4:22 PM Rodrigo Severo - Fábrica
<rodrigo@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Em ter., 10 de mar. de 2020 às 20:20, JC Lopez <jelopez@xxxxxxxxxx> escreveu:
> >
> > no need to create a namespace. You just specify the namespace you want to access.
>
> So it's created automatically when I use it through rados command line
> utility? Interesting...
>
> > See https://docs.ceph.com/docs/nautilus/man/8/rados/ the -N cli option
>
> I had already. From it it's clear to me that the -N option set the
> namespace to be used by the rados command line utility but I would
> never understand from this man page that the -N option of the rados
> command line utility would automatically create the namespace.
>
> > For access to a particular namespace have a look at the example here: https://docs.ceph.com/docs/nautilus/rados/operations/user-management/#modify-user-capabilities
>
> I had already read these generic instructions.
>
> What I am looking for is one simple working example where I can build
> my config from without having to do massive experimentation.
>
>
> Regards,
>
> Rodrigo Severo
>
>
> >
> > Regards
> > JC
> >
> >
> > > On Mar 10, 2020, at 13:10, Rodrigo Severo - Fábrica <rodrigo@xxxxxxxxxxxxxxxxxxx> wrote:
> > >
> > > Hi,
> > >
> > >
> > > I'm trying to create a namespace in rados, create a user that has
> > > access to this created namespace and with rados command line utility
> > > read and write objects in this created namespace using the created
> > > user.
> > >
> > > I can't find an example on how to do it.
> > >
> > > Can someone point me to such example or show me how to do it?
> > >
> > >
> > > Regards,
> > >
> > > Rodrigo Severo
> > > _______________________________________________
> > > ceph-users mailing list -- ceph-users@xxxxxxx
> > > To unsubscribe send an email to ceph-users-leave@xxxxxxx
> > >
> >
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux