Bug #44729
closed
cephadm enter using docker is broken
Added by Sebastian Wagner about 4 years ago.
Updated almost 4 years ago.
Category:
cephadm (binary)
Description
./cephadm enter --name osd.0
INFO:cephadm:Inferring fsid 00000000-0000-0000-0000-0000deadbeef
Error: No such container: ceph-00000000-0000-0000-0000-0000deadbeef-osd.0
- Subject changed from cephadm enter on docker is broken to cephadm enter using docker is broken
ls works though
cephadm ls
{
"style": "cephadm:v1",
"name": "osd.1",
"fsid": "00000000-0000-0000-0000-0000deadbeef",
"enabled": true,
"state": "running",
"container_id": "09a24a0e9b5f8f81c621eac4dce07fcb75a9666bf6951332089306e0ab5f956f",
"container_image_name": "quay.io/ceph-ci/ceph:octopus",
"container_image_id": "33eb975386555caaebea986d0e555fe61d12b7d09338b68465480d1cec315ab2",
"version": "15.2.0-9-g5303718",
"started": "2020-03-24T14:29:24.851298",
"created": "2020-03-24T14:29:22.025610",
"deployed": "2020-03-24T14:29:21.753615",
"configured": "2020-03-24T14:29:22.025610"
},
...
- Status changed from New to Need More Info
It works for me...
root@stud:~# ./cephadm -v enter --name osd.23
DEBUG:cephadm:Could not locate podman: podman not found
INFO:cephadm:Inferring fsid 11a72f1d-1752-43ba-bc6a-84b856e3c1bb
DEBUG:cephadm:Running command (timeout=None): /usr/bin/docker exec -it -e LANG=C -e PS1=[ceph: \u@\h \W]\$ ceph-11a72f1d-1752-43ba-bc6a-84b856e3c1bb-osd.23 bash
[ceph: root@stud /]# exit
(failed reverse-i-search)`curl ': kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/2140ac876ef134e0ed5af15c65e414cf26827915/Do^Cmentation/kube-flannel.yml
root@stud:~# curl --silent --remote-name --location https://github.com/ceph/ceph/raw/octopus/src/cephadm/cephadm
chmod +x root@stud:~# chmod +x cephadm
root@stud:~# ./cephadm -v enter --name osd.23
DEBUG:cephadm:Could not locate podman: podman not found
INFO:cephadm:Inferring fsid 11a72f1d-1752-43ba-bc6a-84b856e3c1bb
DEBUG:cephadm:Running command (timeout=None): /usr/bin/docker exec -it -e LANG=C -e PS1=[ceph: \u@\h \W]\$ ceph-11a72f1d-1752-43ba-bc6a-84b856e3c1bb-osd.23 sh
[ceph: root@stud /]# exit
root@stud:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
root@stud:~# docker --version
Docker version 19.03.4, build 9013bf583a
maybe the osd.0 container wasn't running? your ls output shows osd.1...
- Assignee set to Jan Fajerski
hm. Jan, close as "Can't reproduce"?
- Status changed from Need More Info to Can't reproduce
- Related to Bug #48263: cephadm: ambigious container name `ceph-00000000-0000-0000-0000-0000deadbeef` being called instead of fsid added
Also available in: Atom
PDF