Project

General

Profile

Actions

Bug #44663

closed

cephadm: bootstrap is missing the image parameter.

Added by shi liu about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
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

# ./cephadm bootstrap --mon-ip 10.106.221.28
INFO:cephadm:Verifying podman|docker is present...
INFO:cephadm:Verifying lvm2 is present...
INFO:cephadm:Verifying time synchronization is in place...
INFO:cephadm:Unit chronyd.service is enabled and running
INFO:cephadm:Repeating the final host check...
INFO:cephadm:podman|docker (/usr/bin/docker) is present
INFO:cephadm:systemctl is present
INFO:cephadm:lvcreate is present
INFO:cephadm:Unit chronyd.service is enabled and running
INFO:cephadm:Host looks OK
INFO:root:Cluster fsid: c40c9300-68dd-11ea-8b9b-d673062c227c
INFO:cephadm:Verifying IP 10.106.221.28 port 3300 ...
INFO:cephadm:Verifying IP 10.106.221.28 port 6789 ...
Traceback (most recent call last):
  File "./cephadm", line 4109, in <module>
    r = args.func()
  File "./cephadm", line 2054, in command_bootstrap
    cp.set('global', 'container_image', args.image)
  File "/usr/lib64/python3.6/configparser.py", line 1192, in set
    self._validate_value_types(option=option, value=value)
  File "/usr/lib64/python3.6/configparser.py", line 1177, in _validate_value_types
    raise TypeError("option values must be strings")
TypeError: option values must be strings

I think it may be related to the following two commits:

cephadm: Infer ceph image: https://github.com/ceph/ceph/pull/33829/commits/3b3c70c64bfaaeccaae0ed3d4ea00ceae3e07dcc
cephadm: do not infer image for bootstrap: https://github.com/ceph/ceph/pull/33980/commits/15a893811afcc61e82f9f26a57177f825178a812

Actions #1

Updated by Sage Weil about 4 years ago

  • Status changed from New to Fix Under Review
  • Priority changed from Normal to Urgent
  • Pull request ID set to 34030
Actions #2

Updated by Sebastian Wagner about 4 years ago

  • Project changed from Ceph to Orchestrator
  • Category set to cephadm (binary)
Actions #3

Updated by Sage Weil about 4 years ago

  • Project changed from Orchestrator to Ceph
  • Category deleted (cephadm (binary))
  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF