Project

General

Profile

Actions

Bug #47389

open

ceph fs volume create fails to create pool

Added by Joshua Schmid over 3 years ago. Updated almost 2 years ago.

Status:
Need More Info
Priority:
Normal
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
pacific,octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
VolumeClient, mgr/volumes
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

➜  build (master) ✔ ceph fs volume create test_fs_1

Error EINVAL: pool size is smaller than the crush rule min size

➜  build (master) ✔ ceph osd crush rule dump

[
    {
        "rule_id": 0,
        "rule_name": "replicated_rule",
        "ruleset": 0,
        "type": 1,
        "min_size": 1,
        "max_size": 10,
        "steps": [
            {
                "op": "take",
                "item": -1,
                "item_name": "default" 
            },
            {
                "op": "choose_firstn",
                "num": 0,
                "type": "osd" 
            },
            {
                "op": "emit" 
            }
        ]
    }
]

There is no `--size` param as there is for `ceph osd pool create`. The default size however doesn't seem to be between 1(min_size) and 10(max_size) for whatever reason.

Actions

Also available in: Atom PDF