Project

General

Profile

Actions

Bug #43949

closed

mgr/cephadm: ceph fs volume create: TypeError: %d format: a number is required, not NoneType

Added by Sebastian Wagner about 4 years ago. Updated about 4 years ago.

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

2020-02-03T14:58:11.129+0100 7f79a850a700  0 log_channel(audit) log [DBG] : from='client.4328 -' entity='client.admin' cmd=[{"prefix": "fs volume create", "name": "a", "target": ["mon-mgr", ""]}]: dispatch
2020-02-03T14:58:12.709+0100 7f79a7508700  0 log_channel(cluster) log [DBG] : pgmap v32: 32 pgs: 32 unknown; 0 B data, 3.0 GiB used, 297 GiB / 303 GiB avail
2020-02-03T14:58:13.057+0100 7f79a8d0b700 -1 Remote method threw exception: TypeError: %d format: a number is required, not NoneType
2020-02-03T14:58:13.061+0100 7f79a8d0b700  0 [volumes] [ERROR] [volumes.fs.fs_util] Failed to create MDS daemons
Traceback (most recent call last):
  File "/home/user/src/ceph/src/pybind/mgr/volumes/fs/fs_util.py", line 39, in create_mds
    completion = mgr.add_mds(spec)
  File "/home/user/src/ceph/src/pybind/mgr/orchestrator.py", line 1445, in inner
    completion = self._oremote(method_name, args, kwargs)
  File "/home/user/src/ceph/src/pybind/mgr/orchestrator.py", line 1515, in _oremote
    return mgr.remote(o, meth, *args, **kwargs)
  File "/home/user/src/ceph/src/pybind/mgr/mgr_module.py", line 1429, in remote
    args, kwargs)
RuntimeError: Remote method threw exception: TypeError: %d format: a number is required, not NoneType

This happens before we schedule any Completions, thus this is probably part of the input validation.

Actions #1

Updated by Sebastian Wagner about 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Sebastian Wagner
Actions #2

Updated by Sebastian Wagner about 4 years ago

  • Pull request ID set to 33041
Actions #3

Updated by Sebastian Wagner about 4 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Sage Weil about 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF