cephadm: fails to upgrade the cluster when "--ceph-version" is used.
Issue
cephadmfails to upgrade the cluster when--ceph-versionis used:
# ceph orch upgrade start --ceph-version 16.2.0-143.el8cp
Initiating upgrade to registry.redhat.io/rhceph/rhceph-5-rhel8:latest:v16.2.0-143.el8cp
# ceph health detail
HEALTH_WARN Upgrade: failed to pull target image
[WRN] UPGRADE_FAILED_PULL: Upgrade: failed to pull target image
host ceph100 `cephadm pull` failed: cephadm exited with an error code: 1, stderr:Pulling container image registry.redhat.io/rhceph/rhceph-5-rhel8:latest:v16.2.0-143.el8cp...
Non-zero exit code 125 from /bin/podman pull registry.redhat.io/rhceph/rhceph-5-rhel8:latest:v16.2.0-143.el8cp --authfile=/etc/ceph/podman-auth.json
/bin/podman: stderr Error: Invalid image name "registry.redhat.io/rhceph/rhceph-5-rhel8:latest:v16.2.0-143.el8cp", unknown transport "registry.redhat.io/rhceph/rhceph-5-rhel8"
Traceback (most recent call last):
File "/var/lib/ceph/c49580ca-1e03-11ec-9655-001a4a0004b8/cephadm.d7a73386d1e46cffff151775b8e1d098069c88b89aea56cab15b079c1a1f555f", line 8140, in <module>
main()
File "/var/lib/ceph/c49580ca-1e03-11ec-9655-001a4a0004b8/cephadm.d7a73386d1e46cffff151775b8e1d098069c88b89aea56cab15b079c1a1f555f", line 8128, in main
r = ctx.func(ctx)
File "/var/lib/ceph/c49580ca-1e03-11ec-9655-001a4a0004b8/cephadm.d7a73386d1e46cffff151775b8e1d098069c88b89aea56cab15b079c1a1f555f", line 1708, in _infer_image
return func(ctx)
File "/var/lib/ceph/c49580ca-1e03-11ec-9655-001a4a0004b8/cephadm.d7a73386d1e46cffff151775b8e1d098069c88b89aea56cab15b079c1a1f555f", line 3308, in command_pull
_pull_image(ctx, ctx.image)
File "/var/lib/ceph/c49580ca-1e03-11ec-9655-001a4a0004b8/cephadm.d7a73386d1e46cffff151775b8e1d098069c88b89aea56cab15b079c1a1f555f", line 3333, in _pull_image
raise RuntimeError('Failed command: %s' % cmd_str)
RuntimeError: Failed command: /bin/podman pull registry.redhat.io/rhceph/rhceph-5-rhel8:latest:v16.2.0-143.el8cp --authfile=/etc/ceph/podman-auth.json
Environment
- Red Hat Ceph Storage 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.