Project

General

Profile

Actions

Bug #46777

closed

cephadm: Error bootstraping a cluster with '--registry-json' option

Added by Ricardo Marques over 5 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Ricardo Marques
Category:
cephadm
Target version:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-4106-g40475c6a26
Released In:
v16.2.0~1778
Upkeep Timestamp:
2025-07-14T19:34:59+00:00

Description

When I try to bootstrap a cluster with the new '--registry-json' option, I get the following error:

INFO:cephadm:Non-zero exit code 22 from /usr/bin/podman run --rm --net=host --ipc=host -e CONTAINER_IMAGE=registry.opensuse.org/filesystems/ceph/octopus/upstream/images/ceph/ceph -e NODE_NAME=node1 -v /var/log/ceph/88cd09d8-d254-11ea-b540-5254009ce6f4:/var/log/ceph:z -v /tmp/ceph-tmp8q3k7c2q:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-tmpxa4ehfb0:/etc/ceph/ceph.conf:z --entrypoint /usr/bin/ceph registry.opensuse.org/filesystems/ceph/octopus/upstream/images/ceph/ceph config set mgr mgr/cephadm/registry_url 192.168.1.102:5000
INFO:cephadm:/usr/bin/ceph:stderr Error EINVAL: unrecognized config option 'mgr/cephadm/registry_url'

We may need to use the '--force' option, example: https://github.com/ceph/ceph/blob/83f068d04322fdfbfea7dc0481474bbec687a4c6/src/vstart.sh#L917

Actions #1

Updated by Ricardo Marques over 5 years ago

  • Subject changed from cephadm: Error bootstraping cluster with '--registry-json' option to cephadm: Error bootstraping a cluster with '--registry-json' option
Actions #2

Updated by Ricardo Marques over 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Ricardo Marques
Actions #3

Updated by Ricardo Marques over 5 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 36375
Actions #4

Updated by Ricardo Marques over 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions #5

Updated by Sebastian Wagner over 5 years ago

  • Target version set to v15.2.5
Actions #6

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to 40475c6a2634da6036467e156534330908302cc7
  • Fixed In set to v16.0.0-4106-g40475c6a26
  • Released In set to v16.2.0~1778
  • Upkeep Timestamp set to 2025-07-14T19:34:59+00:00
Actions

Also available in: Atom PDF