[ceph-users] Re: cephadm issues

2022-01-09 Thread François RONVAUX
Problem solved.

I changed the operating system to Debian 11 and was able to install the
Ceph CLI, update the certificate and finally access the Dashboard.

Le sam. 8 janv. 2022 à 00:13, François RONVAUX 
a écrit :

> My Chrome browser can not connect to Ceph Dashboard (invalid certificate
> warning, security risk, blablabla...).
>
> I uploaded on the server a valid certificate but I can not "see" it when
> I'am in the container running the Ceph CLI, so I can not update the
> certificate  :-(
>
> Le ven. 7 janv. 2022 à 22:18, David Orman  a écrit :
>
>> What are you trying to do that won't work? If you need resources from
>> outside the container, it doesn't sound like something you should need to
>> be entering a shell inside the container to accomplish.
>>
>> On Fri, Jan 7, 2022 at 1:49 PM François RONVAUX <
>> francois.ronv...@gmail.com> wrote:
>>
>>> Thanks for the answer.
>>>
>>> I would want to get the ceph CLI to do some admin tasks.
>>>
>>> I can access to it with the command suggested at the end of the
>>> bootstrap process :
>>> You can access the Ceph CLI with:
>>>
>>> sudo /usr/sbin/cephadm shell --fsid dbd1f122-6fd1-11ec-b7dc-560003c792b4
>>> -c
>>> /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring
>>>
>>> But when I do that, I think I'am locked into a chroot that prevent me to
>>> access to some files I need to perform the admin tasks  :-(
>>>
>>>
>>>
>>> Le ven. 7 janv. 2022 à 19:50, John Mulligan <
>>> phlogistonj...@asynchrono.us>
>>> a écrit :
>>>
>>> > On Friday, January 7, 2022 11:56:53 AM EST François RONVAUX wrote:
>>> > > Hello,
>>> > >
>>> > >
>>> > > On a CentOS Stream9 , when I try to install the ceph packages from
>>> the
>>> > > pacific release, I got this error message :
>>> > >
>>> > > [root@ceph00 ~]# cephadm install ceph-common
>>> > > Installing packages ['ceph-common']...
>>> > > Non-zero exit code 1 from yum install -y ceph-common
>>> > > yum: stdout Ceph x86_64 161  B/s
>>> |
>>> > 162
>>> > >  B 00:01
>>> > > yum: stderr Errors during downloading metadata for repository 'Ceph':
>>> > > yum: stderr   - Status code: 404 for
>>> > > https://download.ceph.com/rpm-pacific/el9/x86_64/repodata/repomd.xml
>>> > (IP:
>>> > > 158.69.68.124)
>>> > > yum: stderr Error: Failed to download metadata for repo 'Ceph':
>>> Cannot
>>> > > download repomd.xml: Cannot download repodata/repomd.xml: All mirrors
>>> > were
>>> > > tried
>>> > > Traceback (most recent call last):
>>> > >   File "/usr/sbin/cephadm", line 8571, in 
>>> > > main()
>>> > >   File "/usr/sbin/cephadm", line 8559, in main
>>> > > r = ctx.func(ctx)
>>> > >   File "/usr/sbin/cephadm", line 6459, in command_install
>>> > > pkg.install(ctx.packages)
>>> > >   File "/usr/sbin/cephadm", line 6306, in install
>>> > > call_throws(self.ctx, [self.tool, 'install', '-y'] + ls)
>>> > >   File "/usr/sbin/cephadm", line 1467, in call_throws
>>> > > raise RuntimeError('Failed command: %s' % ' '.join(command))
>>> > > RuntimeError: Failed command: yum install -y ceph-common
>>> > >
>>> > > Any idea on how I can fix it ?
>>> > >
>>> >
>>> > AFAICT there's no RPMs being built for centos stream 9 (yet).
>>> Depending
>>> > on
>>> > what you're trying to do you may need to wait for (or request) ceph to
>>> > support
>>> > building RPMs for centos stream 9.
>>> >
>>> >
>>> >
>>> >
>>> >
>>> ___
>>> 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] Re: cephadm issues

2022-01-07 Thread François RONVAUX
My Chrome browser can not connect to Ceph Dashboard (invalid certificate
warning, security risk, blablabla...).

I uploaded on the server a valid certificate but I can not "see" it when
I'am in the container running the Ceph CLI, so I can not update the
certificate  :-(

Le ven. 7 janv. 2022 à 22:18, David Orman  a écrit :

> What are you trying to do that won't work? If you need resources from
> outside the container, it doesn't sound like something you should need to
> be entering a shell inside the container to accomplish.
>
> On Fri, Jan 7, 2022 at 1:49 PM François RONVAUX <
> francois.ronv...@gmail.com> wrote:
>
>> Thanks for the answer.
>>
>> I would want to get the ceph CLI to do some admin tasks.
>>
>> I can access to it with the command suggested at the end of the
>> bootstrap process :
>> You can access the Ceph CLI with:
>>
>> sudo /usr/sbin/cephadm shell --fsid dbd1f122-6fd1-11ec-b7dc-560003c792b4
>> -c
>> /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring
>>
>> But when I do that, I think I'am locked into a chroot that prevent me to
>> access to some files I need to perform the admin tasks  :-(
>>
>>
>>
>> Le ven. 7 janv. 2022 à 19:50, John Mulligan > >
>> a écrit :
>>
>> > On Friday, January 7, 2022 11:56:53 AM EST François RONVAUX wrote:
>> > > Hello,
>> > >
>> > >
>> > > On a CentOS Stream9 , when I try to install the ceph packages from the
>> > > pacific release, I got this error message :
>> > >
>> > > [root@ceph00 ~]# cephadm install ceph-common
>> > > Installing packages ['ceph-common']...
>> > > Non-zero exit code 1 from yum install -y ceph-common
>> > > yum: stdout Ceph x86_64 161  B/s |
>> > 162
>> > >  B 00:01
>> > > yum: stderr Errors during downloading metadata for repository 'Ceph':
>> > > yum: stderr   - Status code: 404 for
>> > > https://download.ceph.com/rpm-pacific/el9/x86_64/repodata/repomd.xml
>> > (IP:
>> > > 158.69.68.124)
>> > > yum: stderr Error: Failed to download metadata for repo 'Ceph': Cannot
>> > > download repomd.xml: Cannot download repodata/repomd.xml: All mirrors
>> > were
>> > > tried
>> > > Traceback (most recent call last):
>> > >   File "/usr/sbin/cephadm", line 8571, in 
>> > > main()
>> > >   File "/usr/sbin/cephadm", line 8559, in main
>> > > r = ctx.func(ctx)
>> > >   File "/usr/sbin/cephadm", line 6459, in command_install
>> > > pkg.install(ctx.packages)
>> > >   File "/usr/sbin/cephadm", line 6306, in install
>> > > call_throws(self.ctx, [self.tool, 'install', '-y'] + ls)
>> > >   File "/usr/sbin/cephadm", line 1467, in call_throws
>> > > raise RuntimeError('Failed command: %s' % ' '.join(command))
>> > > RuntimeError: Failed command: yum install -y ceph-common
>> > >
>> > > Any idea on how I can fix it ?
>> > >
>> >
>> > AFAICT there's no RPMs being built for centos stream 9 (yet).  Depending
>> > on
>> > what you're trying to do you may need to wait for (or request) ceph to
>> > support
>> > building RPMs for centos stream 9.
>> >
>> >
>> >
>> >
>> >
>> ___
>> 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] Re: cephadm issues

2022-01-07 Thread David Orman
What are you trying to do that won't work? If you need resources from
outside the container, it doesn't sound like something you should need to
be entering a shell inside the container to accomplish.

On Fri, Jan 7, 2022 at 1:49 PM François RONVAUX 
wrote:

> Thanks for the answer.
>
> I would want to get the ceph CLI to do some admin tasks.
>
> I can access to it with the command suggested at the end of the
> bootstrap process :
> You can access the Ceph CLI with:
>
> sudo /usr/sbin/cephadm shell --fsid dbd1f122-6fd1-11ec-b7dc-560003c792b4 -c
> /etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring
>
> But when I do that, I think I'am locked into a chroot that prevent me to
> access to some files I need to perform the admin tasks  :-(
>
>
>
> Le ven. 7 janv. 2022 à 19:50, John Mulligan 
> a écrit :
>
> > On Friday, January 7, 2022 11:56:53 AM EST François RONVAUX wrote:
> > > Hello,
> > >
> > >
> > > On a CentOS Stream9 , when I try to install the ceph packages from the
> > > pacific release, I got this error message :
> > >
> > > [root@ceph00 ~]# cephadm install ceph-common
> > > Installing packages ['ceph-common']...
> > > Non-zero exit code 1 from yum install -y ceph-common
> > > yum: stdout Ceph x86_64 161  B/s |
> > 162
> > >  B 00:01
> > > yum: stderr Errors during downloading metadata for repository 'Ceph':
> > > yum: stderr   - Status code: 404 for
> > > https://download.ceph.com/rpm-pacific/el9/x86_64/repodata/repomd.xml
> > (IP:
> > > 158.69.68.124)
> > > yum: stderr Error: Failed to download metadata for repo 'Ceph': Cannot
> > > download repomd.xml: Cannot download repodata/repomd.xml: All mirrors
> > were
> > > tried
> > > Traceback (most recent call last):
> > >   File "/usr/sbin/cephadm", line 8571, in 
> > > main()
> > >   File "/usr/sbin/cephadm", line 8559, in main
> > > r = ctx.func(ctx)
> > >   File "/usr/sbin/cephadm", line 6459, in command_install
> > > pkg.install(ctx.packages)
> > >   File "/usr/sbin/cephadm", line 6306, in install
> > > call_throws(self.ctx, [self.tool, 'install', '-y'] + ls)
> > >   File "/usr/sbin/cephadm", line 1467, in call_throws
> > > raise RuntimeError('Failed command: %s' % ' '.join(command))
> > > RuntimeError: Failed command: yum install -y ceph-common
> > >
> > > Any idea on how I can fix it ?
> > >
> >
> > AFAICT there's no RPMs being built for centos stream 9 (yet).  Depending
> > on
> > what you're trying to do you may need to wait for (or request) ceph to
> > support
> > building RPMs for centos stream 9.
> >
> >
> >
> >
> >
> ___
> 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] Re: cephadm issues

2022-01-07 Thread François RONVAUX
Thanks for the answer.

I would want to get the ceph CLI to do some admin tasks.

I can access to it with the command suggested at the end of the
bootstrap process :
You can access the Ceph CLI with:

sudo /usr/sbin/cephadm shell --fsid dbd1f122-6fd1-11ec-b7dc-560003c792b4 -c
/etc/ceph/ceph.conf -k /etc/ceph/ceph.client.admin.keyring

But when I do that, I think I'am locked into a chroot that prevent me to
access to some files I need to perform the admin tasks  :-(



Le ven. 7 janv. 2022 à 19:50, John Mulligan 
a écrit :

> On Friday, January 7, 2022 11:56:53 AM EST François RONVAUX wrote:
> > Hello,
> >
> >
> > On a CentOS Stream9 , when I try to install the ceph packages from the
> > pacific release, I got this error message :
> >
> > [root@ceph00 ~]# cephadm install ceph-common
> > Installing packages ['ceph-common']...
> > Non-zero exit code 1 from yum install -y ceph-common
> > yum: stdout Ceph x86_64 161  B/s |
> 162
> >  B 00:01
> > yum: stderr Errors during downloading metadata for repository 'Ceph':
> > yum: stderr   - Status code: 404 for
> > https://download.ceph.com/rpm-pacific/el9/x86_64/repodata/repomd.xml
> (IP:
> > 158.69.68.124)
> > yum: stderr Error: Failed to download metadata for repo 'Ceph': Cannot
> > download repomd.xml: Cannot download repodata/repomd.xml: All mirrors
> were
> > tried
> > Traceback (most recent call last):
> >   File "/usr/sbin/cephadm", line 8571, in 
> > main()
> >   File "/usr/sbin/cephadm", line 8559, in main
> > r = ctx.func(ctx)
> >   File "/usr/sbin/cephadm", line 6459, in command_install
> > pkg.install(ctx.packages)
> >   File "/usr/sbin/cephadm", line 6306, in install
> > call_throws(self.ctx, [self.tool, 'install', '-y'] + ls)
> >   File "/usr/sbin/cephadm", line 1467, in call_throws
> > raise RuntimeError('Failed command: %s' % ' '.join(command))
> > RuntimeError: Failed command: yum install -y ceph-common
> >
> > Any idea on how I can fix it ?
> >
>
> AFAICT there's no RPMs being built for centos stream 9 (yet).  Depending
> on
> what you're trying to do you may need to wait for (or request) ceph to
> support
> building RPMs for centos stream 9.
>
>
>
>
>
___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io


[ceph-users] Re: cephadm issues

2022-01-07 Thread John Mulligan
On Friday, January 7, 2022 11:56:53 AM EST François RONVAUX wrote:
> Hello,
> 
> 
> On a CentOS Stream9 , when I try to install the ceph packages from the
> pacific release, I got this error message :
> 
> [root@ceph00 ~]# cephadm install ceph-common
> Installing packages ['ceph-common']...
> Non-zero exit code 1 from yum install -y ceph-common
> yum: stdout Ceph x86_64 161  B/s | 162
>  B 00:01
> yum: stderr Errors during downloading metadata for repository 'Ceph':
> yum: stderr   - Status code: 404 for
> https://download.ceph.com/rpm-pacific/el9/x86_64/repodata/repomd.xml (IP:
> 158.69.68.124)
> yum: stderr Error: Failed to download metadata for repo 'Ceph': Cannot
> download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were
> tried
> Traceback (most recent call last):
>   File "/usr/sbin/cephadm", line 8571, in 
> main()
>   File "/usr/sbin/cephadm", line 8559, in main
> r = ctx.func(ctx)
>   File "/usr/sbin/cephadm", line 6459, in command_install
> pkg.install(ctx.packages)
>   File "/usr/sbin/cephadm", line 6306, in install
> call_throws(self.ctx, [self.tool, 'install', '-y'] + ls)
>   File "/usr/sbin/cephadm", line 1467, in call_throws
> raise RuntimeError('Failed command: %s' % ' '.join(command))
> RuntimeError: Failed command: yum install -y ceph-common
> 
> Any idea on how I can fix it ?
> 

AFAICT there's no RPMs being built for centos stream 9 (yet).  Depending on 
what you're trying to do you may need to wait for (or request) ceph to support 
building RPMs for centos stream 9. 




___
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io