Actions
Bug #47134
closedcephadm: Unable to infer container image when tag is missing
% Done:
0%
Source:
Development
Tags:
cephadm
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
The image tag for a running container can move to another container image on pull:
$ podman images REPOSITORY TAG IMAGE ID CREATED SIZE docker.io/ceph/daemon-base <none> cde38fb23730 7 days ago 970 MB docker.io/ceph/daemon-base <none> d2affb786738 11 days ago 968 MB docker.io/ceph/daemon-base <none> d46f00ad3244 12 days ago 968 MB docker.io/ceph/daemon-base latest 376d570f38d0 13 days ago 1 GB docker.io/ceph/daemon-base latest-master-devel c68a24748944 2 months ago 1.14 GB <none> <none> 1c35c4412082 2 months ago 1.44 MB docker.io/ceph/ceph v15.2.3 d72755c420bc 2 months ago 1.13 GB docker.io/ceph/ceph v15.2.2 4569944bb86c 3 months
And cephadm is unable to infer the last used image:
$ cephadm shell INFO:cephadm:Inferring fsid c7ddfa78-fb23-4809-9372-46a805c400a3 Traceback (most recent call last): File "/root/cephadm", line 5202, in <module> r = args.func() File "/root/cephadm", line 1138, in _infer_fsid return func() File "/root/cephadm", line 1169, in _infer_config return func() File "/root/cephadm", line 1194, in _infer_image args.image = get_last_local_ceph_image() File "/root/cephadm", line 1230, in get_last_local_ceph_image repository, tag = out_lines[0].split() ValueError: not enough values to unpack (expected 2, got 1)
Actions