Skip to content

Commit 3c7202e

Browse files
authored
ceph: run reconciler & remove devices from inventory (#2074)
Related to c1acece Signed-off-by: Christian Berendt <[email protected]>
1 parent c1acece commit 3c7202e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/deploy/100-ceph-services-basic.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ fi
2222
# In preparation for deployment with Rook, the pre-built LVM2 volumes are always used
2323
# from OSISM 7 onwards.
2424
if [[ $MANAGER_VERSION =~ ^7\.[0-9]\.[0-9]$ || $MANAGER_VERSION == "latest" ]]; then
25+
sed -i "/^devices:/d" /opt/configuration/inventory/group_vars/testbed-nodes.yml
2526
osism apply ceph-configure-lvm-volumes
2627
for node in $(find /opt/configuration/inventory/host_vars -mindepth 1 -type d); do
2728
if [[ -e /tmp/$(basename $node)-ceph-lvm-configuration.yml ]]; then
2829
cp /tmp/$(basename $node)-ceph-lvm-configuration.yml /opt/configuration/inventory/host_vars/$(basename $node)/ceph-lvm-configuration.yml
2930
fi
3031
done
31-
osism apply facts
32+
osism reconciler sync
3233
osism apply ceph-create-lvm-devices
3334
fi
3435

0 commit comments

Comments
 (0)