Comment 4 for bug 1949771

Revision history for this message
Alexandru Dimofte (adimofte) wrote :

Hi Delfino,

The "Ceph OSDs add to controllers" logic is implemented on our scripts. It was not executed and from experience I remember this happened in the past because something else failed before that step.. For the moment I can add that I also see the alarm: "Alarm 800.010 Potential data loss. No available OSDs in storage replication group group-0" check bug: https://bugs.launchpad.net/starlingx/+bug/1942480 .
Trying to add the OSDs manually I see:
[sysadmin@controller-0 ~(keystone_admin)]$ echo "$DISKS" | grep "$OSD"
+--------------------------------------+-----------+---------+---------+-------+------------+-----+----------+--------------------------------------------+
| uuid | device_no | device_ | device_ | size_ | available_ | rpm | serial_i | device_path |
| | de | num | type | gib | gib | | d | |
+--------------------------------------+-----------+---------+---------+-------+------------+-----+----------+--------------------------------------------+
| e00b997e-ce7a-43af-a580-e59bd5361959 | /dev/sda | 2048 | SSD | 476. | 476.937 | N/A | BTLA8094 | /dev/disk/by-path/pci-0000:00:11.5-ata-2.0 |
| | | | | 939 | | | 07ME512K | |
| | | | | | | | | |
| b7f1d649-ddfd-40b0-8969-1c32128e21b1 | /dev/sdb | 2064 | SSD | 894. | 0.0 | N/A | PHYF0045 | /dev/disk/by-path/pci-0000:00:17.0-ata-1.0 |
| | | | | 252 | | | 01SK960C | |
| | | | | | | | GN | |
| | | | | | | | | |
+--------------------------------------+-----------+---------+---------+-------+------------+-----+----------+--------------------------------------------+
[sysadmin@controller-0 ~(keystone_admin)]$
[sysadmin@controller-0 ~(keystone_admin)]$
[sysadmin@controller-0 ~(keystone_admin)]$
[sysadmin@controller-0 ~(keystone_admin)]$ echo "$DISKS" | grep "/dev/sdb" | awk '{print $2}'
b7f1d649-ddfd-40b0-8969-1c32128e21b1
[sysadmin@controller-0 ~(keystone_admin)]$ TIERS=$(system storage-tier-list ceph_cluster)
[sysadmin@controller-0 ~(keystone_admin)]$ system host-stor-add controller-0 $(echo "$DISKS" | grep "/dev/sdb" | awk '{print $2}') --tier-uuid $(echo "$TIERS" | grep storage | awk '{print $2}')
Can not associate to a rootfs disk