Hi All,
My name is Stefano, I'm trying to enable CEPH on 3 DL380G8 Nodes (in HBA mode) for testing.
I followed the manual in order to setup a simple environment with cluster and public network on the same subnet.
Everything seems to be up and running except when creating OSDs.
I get this error creating a new one:
got timeout (500)
I was able to create a couple of OSDs but sometimes I get them listed into the interface and sometimes not.
A couple of disks are in this state
No errors displayed in /var/log/ when getting timeout error...
Thank you for your help.
Regards.
Stefano
My name is Stefano, I'm trying to enable CEPH on 3 DL380G8 Nodes (in HBA mode) for testing.
I followed the manual in order to setup a simple environment with cluster and public network on the same subnet.
Everything seems to be up and running except when creating OSDs.
I get this error creating a new one:
got timeout (500)
I was able to create a couple of OSDs but sometimes I get them listed into the interface and sometimes not.
Code:
[global]
auth client required = cephx
auth cluster required = cephx
auth service required = cephx
cluster network = 10.3.3.0/24
fsid = 08cb8cf3-e3b2-4784-b3e3-08f05822f409
keyring = /etc/pve/priv/$cluster.$name.keyring
mon allow pool delete = true
osd journal size = 5120
osd pool default min size = 2
osd pool default size = 3
public network = 10.3.3.0/24
[osd]
keyring = /var/lib/ceph/osd/ceph-$id/keyring
[mon.pve2]
host = pve2
mon addr = 10.3.3.242:6789
[mon.pve1]
host = pve1
mon addr = 10.3.3.241:6789
[mon.pve3]
host = pve3
mon addr = 10.3.3.243:6789
root@pve2:~# ceph status
cluster:
id: 08cb8cf3-e3b2-4784-b3e3-08f05822f409
health: HEALTH_WARN
mons pve1,pve2,pve3 are low on available space
services:
mon: 3 daemons, quorum pve1,pve2,pve3
mgr: pve1(active), standbys: pve2, pve3
osd: 2 osds: 2 up, 2 in
data:
pools: 0 pools, 0 pgs
objects: 0 objects, 0B
usage: 2.00GiB used, 836GiB / 838GiB avail
pgs:
root@pve2:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 9.3M 3.2G 1% /run
/dev/mapper/pve-root 3.2G 2.3G 774M 75% /
tmpfs 16G 66M 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/fuse 30M 28K 30M 1% /etc/pve
/dev/sdh1 97M 5.5M 92M 6% /var/lib/ceph/osd/ceph-1
root@pve2:~#
root@pve3:~# pveversion -v
proxmox-ve: 5.3-1 (running kernel: 4.15.18-12-pve)
pve-manager: 5.3-12 (running version: 5.3-12/5fbbbaf6)
pve-kernel-4.15: 5.3-3
pve-kernel-4.15.18-12-pve: 4.15.18-35
pve-kernel-4.15.18-10-pve: 4.15.18-32
ceph: 12.2.11-pve1
corosync: 2.4.4-pve1
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.1-3
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-48
libpve-guest-common-perl: 2.0-20
libpve-http-server-perl: 2.0-12
libpve-storage-perl: 5.0-39
libqb0: 1.0.3-1~bpo9
lvm2: 2.02.168-pve6
lxc-pve: 3.1.0-3
lxcfs: 3.0.3-pve1
novnc-pve: 1.0.0-3
proxmox-widget-toolkit: 1.0-24
pve-cluster: 5.0-34
pve-container: 2.0-35
pve-docs: 5.3-3
pve-edk2-firmware: 1.20190312-1
pve-firewall: 3.0-18
pve-firmware: 2.0-6
pve-ha-manager: 2.0-8
pve-i18n: 1.0-9
pve-libspice-server1: 0.14.1-2
pve-qemu-kvm: 2.12.1-2
pve-xtermjs: 3.10.1-2
qemu-server: 5.0-47
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.13-pve1~bpo2
root@pve1:~# fdisk -l
Disk /dev/sda: 419.2 GiB, 450098159616 bytes, 879097968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F6ABA7A5-9A3C-456E-9062-9670D6780DC0
Disk /dev/sdb: 419.2 GiB, 450098159616 bytes, 879097968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5652BE77-DFA7-4F09-AAC6-4328FA118E2D
Disk /dev/sdc: 419.2 GiB, 450098159616 bytes, 879097968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 9BE9B0FF-E23C-4370-AE4C-CC14B689CDD4
Disk /dev/sdd: 419.2 GiB, 450098159616 bytes, 879097968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E853C161-9A4C-4ACA-88EA-82398053025A
Disk /dev/sde: 419.2 GiB, 450098159616 bytes, 879097968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 76C73AC2-91F1-42E6-B624-FC892020E412
Disk /dev/sdf: 419.2 GiB, 450098159616 bytes, 879097968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 86A8A16B-BE7E-48AB-AC46-264E8EC0BDCD
Disk /dev/sdh: 419.2 GiB, 450098159616 bytes, 879097968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdg: 419.2 GiB, 450098159616 bytes, 879097968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3C7E8E84-9256-4768-855A-71535FBF088A
Disk /dev/sdi: 14.5 GiB, 15514730496 bytes, 30302208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1C46FB63-D04A-41D4-8CCD-FC58393F97AF
Device Start End Sectors Size Type
/dev/sdi1 34 2047 2014 1007K BIOS boot
/dev/sdi2 2048 1050623 1048576 512M EFI System
/dev/sdi3 1050624 30302174 29251551 14G Linux LVM
Disk /dev/mapper/pve-root: 3.3 GiB, 3489660928 bytes, 6815744 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/pve-swap: 1.6 GiB, 1744830464 bytes, 3407872 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@pve1:~#
A couple of disks are in this state
Code:
Disk /dev/sdh: 419.2 GiB, 450098159616 bytes, 879097968 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5D02F9E8-5C17-4BE9-82D5-98C187360B6A
Device Start End Sectors Size Type
/dev/sdh1 2048 206847 204800 100M Ceph OSD
/dev/sdh2 206848 879097934 878891087 419.1G unknown
No errors displayed in /var/log/ when getting timeout error...
Thank you for your help.
Regards.
Stefano