Project

General

Profile

Bug #46777

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

Added by Ricardo Marques about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm
Target version:
% Done:

0%

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

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

History

#1 Updated by Ricardo Marques about 2 months ago

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

#2 Updated by Ricardo Marques about 2 months ago

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

#3 Updated by Ricardo Marques about 2 months ago

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

#4 Updated by Ricardo Marques about 1 month ago

  • Status changed from Fix Under Review to Resolved

#5 Updated by Sebastian Wagner about 1 month ago

  • Target version set to v15.2.5

Also available in: Atom PDF