Project

General

Profile

Actions

Bug #50399

closed

cephadm ignores registry settings

Added by Zoltan Arnold Nagy about 3 years ago. Updated almost 3 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
cephadm (binary)
Target version:
-
% Done:

0%

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

Description

even after setting mgr/cephadm/registry_user, mgr/cephadm/registry_password and mgr/cephadm/registry_url to a docker hub account, I still see this in ceph health detail:

host s26 `cephadm ceph-volume` failed: cephadm exited with an error code: 1, stderr:Non-zero exit code 125 from /bin/podman run --rm --ipc=host --net=host --entrypoint stat -e CONTAINER_IMAGE=docker.io/ceph/ceph:v15 -e NODE_NAME=s26 docker.io/ceph/ceph:v15 -c %u %g /var/lib/ceph
stat: stderr Trying to pull docker.io/ceph/ceph:v15...
stat: stderr toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
stat: stderr Error: Error initializing source docker://ceph/ceph:v15: Error reading manifest v15 in docker.io/ceph/ceph: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
Traceback (most recent call last):
File "<stdin>", line 6152, in <module>
File "<stdin>", line 1310, in _infer_fsid
File "<stdin>", line 1393, in _infer_image
File "<stdin>", line 3602, in command_ceph_volume
File "<stdin>", line 1491, in make_log_dir
File "<stdin>", line 2098, in extract_uid_gid
RuntimeError: uid/gid not found

this effectively breaks cluster operations for open source users who rely on the images on docker.hub, so I am setting the severity to 2.

Actions #1

Updated by Zoltan Arnold Nagy about 3 years ago

just to be clear this happened after I wanted to add an mds and did

ceph orch apply mds testfs --placement="2 s25 s26" 

Actions #2

Updated by Zoltan Arnold Nagy about 3 years ago

I also can't seem to edit this but this is on the latest octopus - 15.2.10

Actions #3

Updated by Sebastian Wagner almost 3 years ago

  • Project changed from Ceph to Orchestrator
Actions #4

Updated by Sebastian Wagner almost 3 years ago

you also have to update the image to point to your registry. otherwise cephadm don't actually use the registry

Actions #5

Updated by Kefu Chai almost 3 years ago

  • Related to Bug #51102: RuntimeError: uid/gid not found in "rados/thrash-old-clients" test added
Actions #6

Updated by Sebastian Wagner almost 3 years ago

  • Category set to cephadm (binary)
Actions #7

Updated by Sebastian Wagner almost 3 years ago

  • Related to deleted (Bug #51102: RuntimeError: uid/gid not found in "rados/thrash-old-clients" test)
Actions #8

Updated by Sebastian Wagner almost 3 years ago

  • Status changed from New to Can't reproduce

Please reopen this, if you still have this issue

Actions

Also available in: Atom PDF