Actions
Bug #63150
closedReef: mgr/cephadm: container image name contains tag but should not
% Done:
100%
Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
While responding to a ceph-users mailing list thread I investigated the issue and figured that the default value for mgr/cephadm/container_image_base
has been changed from quay.io/ceph/ceph
to quay.io/ceph/ceph:v18
between Quincy and Reef.
This results in errors for upgrade checks/starts:
$ ceph orch upgrade check --ceph-version 18.2.0 Error EINVAL: host nautilus `cephadm pull` failed: cephadm exited with an error code: 1, stderr: Pulling container image quay.io/ceph/ceph:v18:v18.2.0... Non-zero exit code 125 from /usr/bin/podman pull quay.io/ceph/ceph:v18:v18.2.0 --authfile=/etc/ceph/podman-auth.json /usr/bin/podman: stderr Error: invalid reference format ERROR: Failed command: /usr/bin/podman pull quay.io/ceph/ceph:v18:v18.2.0 --authfile=/etc/ceph/podman-auth.json
A quick workaround would be to set it to the previous default:
ceph config set mgr mgr/cephadm/container_image_base quay.io/ceph/ceph
Apparently, this is the responsible change:
# Quincy grep "DEFAULT_IMAGE\ =" /usr/share/ceph/mgr/cephadm/module.py DEFAULT_IMAGE = 'quay.io/ceph/ceph' # Reef grep "DEFAULT_IMAGE\ =" /usr/share/ceph/mgr/cephadm/module.py DEFAULT_IMAGE = 'quay.io/ceph/ceph:v18'
Although the description clearly states:
Option( 'container_image_base', default=DEFAULT_IMAGE, desc='Container image name, without the tag',
Actions