Re: [EXTERNAL] Re: Can't connect to MDS admin socket after updating to cephadm

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

 



Normally it should work, another way to do it is basically by just entering
the container by using podman commands (or docker).

For this, just run:

> podman ps | grep mds | awk '{print $1}'  (to get the container ID)
> podman exec -it <your-container-id> /bin/sh

That should work if the container is running.

Regards,
Redo.

On Wed, Nov 16, 2022 at 12:26 AM Luis Calero Muñoz <
luis.calero@xxxxxxxxxxxxxx> wrote:

>   Hello, I've just updated my cluster to Quincy 17.2.5 and still have the
> same problem, can't enter the mds container (nor anyone else):
>
> root@ceph-mds2:~# ceph versions
>
> [...]
>    "mds": {
>
>        "ceph version 17.2.5 (98318ae89f1a893a6ded3a640405cdbb33e08757)
> quincy (stable)": 5
>
>    },
>
>
> root@ceph-mds2:~# cephadm ls |grep ceph-mds | grep name
>
>        "name": "mds.cephfs.ceph-mds2.ixxmhu",
>
>
> root@ceph-mds2:~# docker ps
>
> CONTAINER ID   IMAGE               COMMAND                  CREATED
>  STATUS          PORTS     NAMES
> 957f9d01326a   quay.io/ceph/ceph   "/usr/bin/ceph-mds -…"   23 minutes ago
>   Up 23 minutes             ceph-d1fd0678-88c0-47fb-90da-e40a7a364442-mds-
> cephfs-ceph-mds2-ixxmhu
>
>
> root@ceph-mds2:~# cephadm enter --name mds.cephfs.ceph-mds2.ixxmhu
>
> Inferring fsid d1fd0678-88c0-47fb-90da-e40a7a364442
>
> Error: No such container:
> ceph-d1fd0678-88c0-47fb-90da-e40a7a364442-mds.cephfs.ceph-mds2.ixxmhu
>
>   It doesn't work with the dots and neither with the hyphens. What can I
> do? Should I open a case with Ceph?
>
>   Regards.
>
> --
>   Luis
>
> El vie, 11 nov 2022 a las 11:34, Luis Calero Muñoz (<
> luis.calero@xxxxxxxxxxxxxx>) escribió:
>
> >
> >>
> >> >   If I look at the container name in docker it has the dots changed to
> >> > hyphens, but if I try to connect to the name with hyphens it doesn't
> >> > work either:
> >>
> >> that is correct, that switch from dots to hyphens was introduced in
> >> pacific [1]. Can you share the content of the unit.run file for that
> >> container? Can you enter other containers that were changed? Maybe the
> >> conversion doesn't work as expected?
> >>
> >
> >   Where can I find the unit.run file?
> >
> >   I can't enter other containers either:
> >
> > root@ceph-osd1:~# cephadm enter --name osd.0
> >
> >
> > Inferring fsid d1fd0678-88c0-47fb-90da-e40a7a364442
> >
> > Error: No such container: ceph-d1fd0678-88c0-47fb-90da-e40a7a364442-osd.0
> >
> >
> > root@ceph-osd1:~# docker ps
> >
> > fc365e9e9d1d   quay.io/ceph/ceph   "/usr/bin/ceph-osd -…"   22 hours ago
> >   Up 22 hours             ceph-d1fd0678-88c0-47fb-90da-e40a7a364442-osd-0
> >
> >   I'm going to update to Quincy to see if it helps.
> >
> _______________________________________________
> 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