Project

General

Profile

Bug #44729

cephadm enter using docker is broken

Added by Sebastian Wagner 7 months ago. Updated 5 months ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
Category:
cephadm (binary)
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

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

History

#1 Updated by Sebastian Wagner 7 months ago

  • Subject changed from cephadm enter on docker is broken to cephadm enter using docker is broken

#2 Updated by Jan Fajerski 7 months ago

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" 
    },
...

#3 Updated by Sage Weil 7 months ago

  • 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...

#4 Updated by Sebastian Wagner 7 months ago

  • Assignee set to Jan Fajerski

hm. Jan, close as "Can't reproduce"?

#5 Updated by Sebastian Wagner 5 months ago

  • Status changed from Need More Info to Can't reproduce

Also available in: Atom PDF