Error message following the creation of a Ceph pool.

Chris63

New Member
Jan 19, 2023
2
0
1
Hello everyone, I just installed a cluster of 3 nodes on virtualbox, then I created 3 OSDs (50 GB each), when creating the pool I get this error message that I can't solve > Could not set: crush_rule, min_size, pg_autoscale_mode, pg_num, size, target_size_bytes. I am new to proxmox and I have the documentation, I keep reading it and I can't find anything about this, can you please help me?
 
My configuration

[global]
auth_client_required = cephx
auth_cluster_required = cephx
auth_service_required = cephx
cluster_network = 10.0.0.1/24
fsid = af190d5d-f6c0-4ae4-8f70-70de73459270
mon_allow_pool_delete = true
mon_host = 10.0.0.1 10.0.0.3 10.0.0.2
ms_bind_ipv4 = true
ms_bind_ipv6 = false
osd_pool_default_min_size = 2
osd_pool_default_size = 3
public_network = 10.0.0.1/24


[client]
keyring = /etc/pve/priv/$cluster.$name.keyring

[mon.noeud1]
public_addr = 10.0.0.1

[mon.noeud2]
public_addr = 10.0.0.2

[mon.noeud3]
public_addr = 10.0.0.3

Crush Map

# begin crush map
tunable choose_local_tries 0
tunable choose_local_fallback_tries 0
tunable choose_total_tries 50
tunable chooseleaf_descend_once 1
tunable chooseleaf_vary_r 1
tunable chooseleaf_stable 1
tunable straw_calc_version 1
tunable allowed_bucket_algs 54


# devices
device 3 osd.3 class hdd
device 4 osd.4 class hdd
device 5 osd.5 class hdd

# types
type 0 osd type 1 host
type 2 chassis type 3 rack
type 4 row type 5 pdu
type 6 pod
type 7 room
type 8 datacenter
type 9 zone
type 10 region
type 11 root
# buckets
host noeud1 {
id -3 # do not change unnecessarily
id -2 class hdd # do not change unnecessarily
# weight 0.04880
alg straw2
hash 0 # rjenkins1
item osd.3 weight 0.04880
}
host noeud2 {
id -5 # do not change unnecessarily
id -4 class hdd # do not change unnecessarily
# weight 0.04880
alg straw2
hash 0
# rjenkins1
item osd.4 weight 0.04880
}
host noeud3 {
id -7 # do not change unnecessarily
id -6 class hdd # do not change unnecessarily
# weight 0.04880
alg straw2
hash 0 # rjenkins1
item osd.5 weight 0.04880
}
root default {
id -1 # do not change unnecessarily
id -8 class hdd # do not change unnecessarily
# weight 0.14639
alg straw2
hash 0 # rjenkins1
item noeud1 weight 0.04880
item noeud2 weight 0.04880
item noeud3 weight 0.04880
}
# rules
rule replicated_rule {
id 0
type replicated
step take default
step chooseleaf firstn 0 type host
step emit
}
# end crush map

My repository in /etc/apt/sources.list

deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
#deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

# security updates
deb http://security.debian.org/debian-security bullseye-security main contrib


In /etc/apt/sources.list.d/pve-enterprise.list

#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

I am using VirtualBox to do practical tests on Proxmox, and I am now blocked.


"Thank you in advance"
 
Last edited: