Bug #39976
closed/opt/ceph-container/bin/osd_disk_prepare.sh: line 46: ceph-disk: command not found,
0%
Description
Hi,
I have built the latest version of Nautilus container:
git clone https://github.com/ceph/ceph-container.git
make FLAVORS=nautilus,centos,7 build
After deploying without problems three monitors, I'm not able to deploy the OSDs:
docker run -d --network=host \
--pid=host \
--privileged \
--mount type=bind,source=/var/lib/ceph,destination=/var/lib/ceph \
--mount type=bind,source=/etc/ceph,destination=/etc/ceph \
--mount type=bind,source=/dev,destination=/dev \
--mount type=bind,source=/etc/localtime,destination=/etc/localtime,readonly \
-e OSD_DEVICE=/dev/sdb \
-e OSD_TYPE=disk \
-e OSD_BLUESTORE=1 \
--name=ceph_osd_vdic01_sdb \
--restart=always \
ceph/daemon:master-nautilus-centos-7-x86_64 osd
The error I can see is the following one:
Error: /dev/sdb: unrecognised disk label,
/opt/ceph-container/bin/osd_disk_prepare.sh: line 46: ceph-disk: command not found,
2019-05-20 11:08:19 /opt/ceph-container/bin/entrypoint.sh: static: does not generate config
(of course disk /dev/sdb exists)
Any help will be welcome