Project

General

Profile

Actions

Bug #47134

closed

cephadm: Unable to infer container image when tag is missing

Added by Michael Fritch over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm (binary)
Target version:
-
% Done:

0%

Source:
Development
Tags:
cephadm
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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)


Related issues 1 (0 open1 closed)

Related to Orchestrator - Bug #48275: cephadm: get_last_local_ceph_image returns "<none>:<none>"DuplicateSebastian Wagner

Actions
Actions #1

Updated by Sebastian Wagner over 3 years ago

  • Project changed from Ceph to Orchestrator
  • Subject changed from Unable to infer container image when tag is missing to cephadm: Unable to infer container image when tag is missing
Actions #2

Updated by Sebastian Wagner over 3 years ago

  • Assignee set to Michael Fritch
Actions #3

Updated by Michael Fritch over 3 years ago

  • Pull request ID set to 36797
Actions #4

Updated by Michael Fritch over 3 years ago

  • Category set to cephadm (binary)
Actions #5

Updated by Sebastian Wagner over 3 years ago

  • Status changed from New to Pending Backport
Actions #6

Updated by Sebastian Wagner over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions #7

Updated by Sebastian Wagner over 3 years ago

  • Has duplicate Bug #48275: cephadm: get_last_local_ceph_image returns "<none>:<none>" added
Actions #8

Updated by Nathan Cutler over 3 years ago

  • Has duplicate deleted (Bug #48275: cephadm: get_last_local_ceph_image returns "<none>:<none>")
Actions #9

Updated by Nathan Cutler over 3 years ago

  • Related to Bug #48275: cephadm: get_last_local_ceph_image returns "<none>:<none>" added
Actions

Also available in: Atom PDF