Overcloud deploy fails because ceph osd disk defined that do not exist

Solution In Progress - Updated -

Issue

  • ceph node os-collect-config
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: Error: /bin/true # comment to satisfy puppet syntax requirements
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: set -ex
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: disk=$(readlink -f /dev/sdb)
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: if ! test -b $disk ; then
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: echo $disk | egrep -e '^/dev' -q -v
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: mkdir -p $disk
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: if getent passwd ceph >/dev/null 2>&1; then
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: chown -h ceph:ceph $disk
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: fi
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: fi
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: ceph-disk prepare --cluster ceph --cluster-uuid 335f6e9a-b511-11e7-ba1e-246e96
6a499c $(readlink -f /dev/sdb) $(readlink -f '')
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: udevadm settle
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: returned 1 instead of one of [0]
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: Error: /Stage[main]/Ceph::Osds/Ceph::Osd[/dev/sdb]/Exec[ceph-osd-prepare-/dev/
sdb]/returns: change from notrun to 0 failed: /bin/true # comment to satisfy puppet syntax requirements
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: set -ex
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: disk=$(readlink -f /dev/sdb)
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: if ! test -b $disk ; then
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: echo $disk | egrep -e '^/dev' -q -v
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: mkdir -p $disk
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: if getent passwd ceph >/dev/null 2>&1; then
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: chown -h ceph:ceph $disk
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: fi
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: fi
Nov 01 05:44:30 overcloud-cephstorage-0 os-collect-config[4637]: ceph-disk prepare --cluster ceph --cluster-uuid 335f6e9a-b511-11e7-ba1e-246e96

Environment

  • Red Hat OpenStack Platform 10.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In