Bug #47333
Bug #47332: repo_digest: Follow up's
repo_digest: fix `orch ps`
% Done:
0%
Source:
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
https://github.com/ceph/ceph/pull/36432#issuecomment-682414409
According to systemctl status, my podman is executed like so:
/usr/bin/podman run --rm --net=host --ipc=host --cap-add=SYS_PTRACE \ --name ceph-60b2b642-fefd-4345-925e-91f2d034f3fc-mds.myfs.ubuntu.vydkic \ -e CONTAINER_IMAGE=docker.io/ceph/daemon@sha256:48f3d89c03ed838dec68de315079532f62c97830be8d05c9409645904ef8c1e0 \ -e NODE_NAME=ubuntu -v /var/run/ceph/60b2b642-fefd-4345-925e-91f2d034f3fc:/var/run/ceph:z \ -v /var/log/ceph/60b2b642-fefd-4345-925e-91f2d034f3fc:/var/log/ceph:z \ -v /var/lib/ceph/60b2b642-fefd-4345-925e-91f2d034f3fc/crash:/var/lib/ceph/crash:z \ -v /var/lib/ceph/60b2b642-fefd-4345-925e-91f2d034f3fc/mds.myfs.ubuntu.vydkic:/var/lib/ceph/mds/ceph-myfs.ubuntu.vydkic:z \ -v /var/lib/ceph/60b2b642-fefd-4345-925e-91f2d034f3fc/mds.myfs.ubuntu.vydkic/config:/etc/ceph/ceph.conf:z \ --entrypoint /usr/bin/ceph-mds \ docker.io/ceph/daemon@sha256:48f3d89c03ed838dec68de315079532f62c97830be8d05c9409645904ef8c1e0 \ -n mds.myfs.ubuntu.vydkic -f --setuser ceph --setgroup ceph --default-log-to-file=false \ --default-log-to-stderr=true \ --default-log-stderr-prefix=debug \
BUT:
$ sudo podman ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 66229158785b docker.io/ceph/daemon:latest-devel -n mds.myfs.ubunt... 5 minutes ago Up 5 minutes ago ceph-60b2b642-fefd-4345-925e-91f2d034f3fc-mds.myfs.ubuntu.vydkic
and thus:
$ sudo ./cephadm ls [ { "style": "cephadm:v1", "name": "mds.myfs.ubuntu.vydkic", "fsid": "60b2b642-fefd-4345-925e-91f2d034f3fc", "systemd_unit": "ceph-60b2b642-fefd-4345-925e-91f2d034f3fc@mds.myfs.ubuntu.vydkic", "enabled": true, "state": "running", "container_id": "66229158785b0b6e5a5c05a2f4a10d89aca62bf8e7ac0e905d463884f4048651", "container_image_name": "docker.io/ceph/daemon:latest-devel", "container_image_id": "bfa7cfc9c802590d49ef6fc1eab4cb0e035e99231c7ef9c2472414c5c7114e74", "version": "15.2.4-826-gd2c0087", "started": "2020-08-28T08:55:30.886769", "created": "2020-08-28T08:44:01.395158", "deployed": "2020-08-28T08:55:27.121724", "configured": "2020-08-28T08:55:30.745738" } ]
I agree that this is irritating.
History
#1 Updated by Adam King about 3 years ago
- Status changed from New to Fix Under Review
- Assignee set to Adam King
- Pull request ID set to 40222
Considering removing the image name field which technically fixes the image name issue in orch ps
#2 Updated by Ken Dreyer almost 3 years ago
- Backport set to pacific
#3 Updated by Adam King almost 3 years ago
- Status changed from Fix Under Review to Pending Backport
#4 Updated by Sage Weil almost 3 years ago
- Status changed from Pending Backport to Resolved