ceph-deploy: error: unrecognized arguments: --data ceph-deploy: error: unrecognized arguments: --data kubernetes kubernetes

ceph-deploy: error: unrecognized arguments: --data


You have to upgrade your ceph-deploy to version 2.x to be able to deploy nautilus to your cluster. The sample commands to update ceph-deploy on ubuntu.

$ wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add -$ echo deb https://download.ceph.com/debian-nautilus/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list$ sudo apt update$ sudo apt install ceph-deploy

Hope it can help.


Reviewing https://docs.ceph.com/docs/nautilus/man/8/ceph-deploy/#osd, I believe you need to point directly at a disk, not a filesystem path.

The example in https://docs.ceph.com/docs/nautilus/rados/deployment/ceph-deploy-osd/ also suggests so:

ceph-deploy osd create --data /dev/ssd osd-server1

i.e. unmount /home/ceph-admin/ceph-data/vda and point directly to device location shown by lsblk.