Welcome to the Linux Foundation Forum!

Lab11.1 - Deploy a two OSD nodes for the cluster

arbcat
arbcat Posts: 1

First of all, the title of this section isn't quite right ;)

Step 6 returns:


[ceph@rdo-cc ceph-cluster]$ ceph-deploy osd prepare \
> storage1:/var/local/osd0
usage: ceph-deploy osd [-h] {list,create} ...
ceph-deploy osd: error: argument subcommand: invalid choice: 'prepare' (choose from 'list', 'create')
[ceph@rdo-cc ceph-cluster]$

Which is strange, because it's clearly documented: (docs look like Jewel version, but that's what I'm running)

http://docs.ceph.com/docs/jewel/man/8/ceph-deploy/


[ceph@rdo-cc yum.repos.d]$ rpm -qa | grep ceph
python-cephfs-10.2.10-0.el7.x86_64
centos-release-ceph-jewel-1.0-1.el7.centos.noarch
ceph-osd-10.2.10-0.el7.x86_64
libcephfs1-10.2.10-0.el7.x86_64
ceph-mds-10.2.10-0.el7.x86_64
ceph-mon-10.2.10-0.el7.x86_64
ceph-base-10.2.10-0.el7.x86_64
ceph-release-1-1.el7.noarch
ceph-selinux-10.2.10-0.el7.x86_64
ceph-radosgw-10.2.10-0.el7.x86_64
ceph-common-10.2.10-0.el7.x86_64
ceph-10.2.10-0.el7.x86_64

[ceph@rdo-cc yum.repos.d]$ ceph-deploy --version
2.0.0
[ceph@rdo-cc yum.repos.d]$

 

What was anybody's workaround? Potentially upgrading to Luminous?

Comments

  • jcabrera
    jcabrera Posts: 3
    edited April 2018

    Tried the above steps and still upgrading to the latest ceph-deploy version 2.0. This version only allows list and create as options so running the ceph-desplay osd prepare... will give error.

    "Downloading packages:

    python-pip-8.1.2-1.el7.noarch.rpm                                   | 1.7 MB  00:00:00

    Running transaction check

    Running transaction test

    Transaction test succeeded

    Running transaction

      Installing : python-pip-8.1.2-1.el7.noarch                                           1/1

      Verifying  : python-pip-8.1.2-1.el7.noarch                                           1/1

    Installed:

      python-pip.noarch 0:8.1.2-1.el7

    Complete!

    Collecting ceph-deploy

      Downloading ceph-deploy-2.0.0.tar.gz (113kB)

        100% |████████████████████████████████| 122kB 4.9MB/s

    Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/lib/python2.7/

    site-packages (from ceph-deploy)

    Installing collected packages: ceph-deploy

      Running setup.py install for ceph-deploy ... done

    Successfully installed ceph-deploy-2.0.0

    You are using pip version 8.1.2, however version 9.0.3 is available.

    You should consider upgrading via the 'pip install --upgrade pip' command.

    [root@rdo-cc ~]# cat /etc/yum.repos.d/start-ceph.repo

    [ceph-noarch]

    name=Ceph noarch packages

    baseurl=https://download.ceph.com/rpm-kraken/el7/noarch

    enabled=1

    gpgcheck=0

    type=rpm-md

    gpgkey=https://download.ceph.com/keys/release.asc

    [root@rdo-cc ~]#"

  • jcabrera
    jcabrera Posts: 3
    edited April 2018

    Thank you very much. It works!

     

    Cheers...

Categories

Upcoming Training