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
<rodr...@fabricadeideias.com> wrote:
>
> Em ter., 10 de mar. de 2020 às 20:20, JC Lopez <jelo...@redhat.com> 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 
> > > <rodr...@fabricadeideias.com> 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@ceph.io
> > > To unsubscribe send an email to ceph-users-le...@ceph.io
> > >
> >
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to