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

Also available in: Atom PDF