Project

General

Profile

Bug #47501

cephadm: Error bootstraping with '--container-init' option

Added by Ricardo Marques about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm (binary)
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 new cluster using the '--container-init' option, I get the following error:

['/usr/bin/podman', 'run', '--rm', '--net=host', '--ipc=host', '-e', 'CONTAINER_IMAGE=registry.opensuse.org/filesystems/ceph/master/u
pstream/images/ceph/ceph', '-e', 'NODE_NAME=node1', '-v', '/var/log/ceph/86501be0-f825-11ea-ba9f-525400bedfac:/var/log/ceph:z', '-v',
 '/tmp/ceph-tmpp4xdmtqe:/etc/ceph/ceph.client.admin.keyring:z', '-v', '/tmp/ceph-tmph6bq7nup:/etc/ceph/ceph.conf:z', '--entrypoint', 
'/usr/bin/ceph', 'registry.opensuse.org/filesystems/ceph/master/upstream/images/ceph/ceph', 'config', 'set', 'mgr', 'mgr/cephadm/cont
ainer_init', True, '--force']
Traceback (most recent call last):
  File "/usr/sbin/cephadm", line 5859, in <module>
    r = args.func()
  File "/usr/sbin/cephadm", line 1248, in _default_image
    return func()
  File "/usr/sbin/cephadm", line 3032, in command_bootstrap
    cli(['config', 'set', 'mgr', 'mgr/cephadm/container_init', args.container_init, '--force'])
  File "/usr/sbin/cephadm", line 2831, in cli
    ).run(timeout=timeout)
  File "/usr/sbin/cephadm", line 2479, in run
    self.run_cmd(), desc=self.entrypoint, timeout=timeout)
  File "/usr/sbin/cephadm", line 907, in call_throws
    out, err, ret = call(command, **kwargs)
  File "/usr/sbin/cephadm", line 799, in call
    logger.debug("Running command: %s" % ' '.join(command))
TypeError: sequence item 22: expected str instance, bool found

Related issues

Related to Orchestrator - Bug #44231: cephadm: cannot capture core files Resolved

History

#1 Updated by Ricardo Marques about 2 years ago

  • Related to Bug #44231: cephadm: cannot capture core files added

#2 Updated by Ricardo Marques almost 2 years ago

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

#3 Updated by Ricardo Marques almost 2 years ago

  • Pull request ID set to 37500

#4 Updated by Ricardo Marques almost 2 years ago

  • Status changed from In Progress to Fix Under Review

#5 Updated by Ricardo Marques almost 2 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF