Project

General

Profile

Actions

Bug #39976

closed

/opt/ceph-container/bin/osd_disk_prepare.sh: line 46: ceph-disk: command not found,

Added by Oscar Segarra almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
% Done:

0%

Source:
Tags:
osd, osd_disk_prepare.sh
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
ceph-disk
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Actions #1

Updated by Greg Farnum almost 5 years ago

  • Status changed from New to Closed

Ceph-container uses Github for issue tracking: https://github.com/ceph/ceph-container/issues

Nautilus indeed doesn't have Ceph-disk; not sure what kind of updates or config options need to be set for it though.

Actions #2

Updated by Oscar Segarra almost 5 years ago

Update Documentation: Ceph-disk does not work in nautilus #1406

Actions

Also available in: Atom PDF