Project

General

Profile

Bug #49366

'cephadm version' will show a trace back if image comes from a authenticated registry and login has not been done yet

Added by Daniel Pivonka about 2 months ago. Updated 27 days ago.

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

0%

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

Description


[root@magna081 sbin]# sudo cephadm version
Non-zero exit code 125 from /bin/podman run --rm --ipc=host --net=host --entrypoint ceph -e CONTAINER_IMAGE=registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest -e NODE_NAME=magna081 registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest --version
ceph: stderr Trying to pull registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest...
ceph: stderr unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication
ceph: stderr Error: unable to pull registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest: Error initializing source docker://registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest: unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication
Traceback (most recent call last):
File "/sbin/cephadm", line 6931, in <module>
r = args.func()
File "/sbin/cephadm", line 1392, in _infer_image
return func()
File "/sbin/cephadm", line 2716, in command_version
out = CephContainer(args.image, 'ceph', ['--version']).run()
File "/sbin/cephadm", line 2707, in run
self.run_cmd(), desc=self.entrypoint, timeout=timeout)
File "/sbin/cephadm", line 1071, in call_throws
raise RuntimeError('Failed command: %s' % ' '.join(command))
RuntimeError: Failed command: /bin/podman run --rm --ipc=host --net=host --entrypoint ceph -e CONTAINER_IMAGE=registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest -e NODE_NAME=magna081 registry.redhat.io/rhceph-alpha/rhceph-5-rhel8:latest --version

trace back should be hidden

History

#1 Updated by Daniel Pivonka about 2 months ago

  • Pull request ID set to 39562

#2 Updated by Daniel Pivonka about 2 months ago

  • Status changed from New to In Progress

#3 Updated by Ken Dreyer about 1 month ago

  • Status changed from In Progress to Pending Backport
  • Backport set to pacific

#4 Updated by Ken Dreyer 27 days ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF