Project

General

Profile

Actions

Bug #46777

closed

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

Added by Ricardo Marques almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Ricardo Marques
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 (v1):
Crash signature (v2):

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 almost 4 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 almost 4 years ago

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

Updated by Ricardo Marques almost 4 years ago

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

Updated by Ricardo Marques over 3 years ago

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

Updated by Sebastian Wagner over 3 years ago

  • Target version set to v15.2.5
Actions

Also available in: Atom PDF