You mean documentation like `ceph-deploy --help` or `man ceph-deploy` or
the [1] online documentation? Spoiler, they all document and explain what
`--release` does. I do agree that the [2] documentation talking about
deploying a luminous cluster should mention it if jewel was left the
default installation on purpose.  I'm guessing that was an oversight as
Luminous has been considered stable since 12.2.0. It will likely be fixed
now that it's brought up but the page talking about deploying would do well
to have a note about being able to choose the release you want for
simplicity.

As a side note, it is possible for any one of us to make change requests to
the documentation as this is an open source project. I have a goal to be
more proactive with taking care of goofs, mistakes, and vague parts of the
documentation as I find them. I'll try to do a write-up for others to
easily get involved in this as well.

[1] http://docs.ceph.com/docs/luminous/man/8/ceph-deploy/
[2] http://docs.ceph.com/docs/luminous/rados/deployment/ceph-deploy-new/

On Thu, Mar 1, 2018, 7:06 AM Max Cuttins <[email protected]> wrote:

> Ah!
> So you think this is done by design?
>
> However that command is very very very usefull.
> Please add that to documentation.
> Next time it will save me 2/3 hours.
>
>
>
> Il 01/03/2018 06:12, Sébastien VIGNERON ha scritto:
>
> Hi Max,
>
> I had the same issue (under Ubuntu 1*6*.04) but I have read the
> ceph-deploy 2.0.0 source code and saw a "—-release" flag for the install
> subcommand. You can found the flag with the following command: ceph-deploy
> install --help
>
> It looks like the culprit part of ceph-deploy can be found around line 20
> of /usr/lib/python2.7/dist-packages/ceph_deploy/install.py:
>
> …
>     14 def sanitize_args(args):
>     15    """
>     16    args may need a bunch of logic to set proper defaults that
> argparse is
>     17    not well suited for.
>     18    """
>     19    if args.release is None:
>     20        args.release = 'jewel'
>     21        args.default_release = True
>     22
>     23    # XXX This whole dance is because --stable is getting deprecated
>     24    if args.stable is not None:
>     25        LOG.warning('the --stable flag is deprecated, use --release
> instead')
>     26        args.release = args.stable
>     27    # XXX Tango ends here.
>     28
>     29    return args
>
> …
>
> Which means we now have to specify "—-release luminous" when we want to
> install a luminous cluster, at least until luminous is considered stable
> and the ceph-deploy tool is changed.
> I think it may be a Kernel version consideration: not all distro have the
> needed minimum version of the kernel (and features) for a full use of
> luminous.
>
> Cordialement / Best regards,
>
> Sébastien VIGNERON
> CRIANN,
> Ingénieur / Engineer
> Technopôle du Madrillet
> 745, avenue de l'Université
> 76800 Saint-Etienne du Rouvray - France
> tél. +33 2 32 91 42 91 <+33%202%2032%2091%2042%2091>
> fax. +33 2 32 91 42 92 <+33%202%2032%2091%2042%2092>
> http://www.criann.fr
> mailto:[email protected] <[email protected]>
> support: [email protected]
>
> Le 1 mars 2018 à 00:37, Max Cuttins <[email protected]> a écrit :
>
> Didn't check at time.
>
> I deployed everything from VM standalone.
> The VM was just build up with fresh new centOS7.4 using minimal
> installation ISO1708.
> It's a completly new/fresh/empty system.
> Then I run:
>
> yum update -y
> yum install wget zip unzip vim pciutils -y
> yum install epel-release -y
> yum update -y
> yum install ceph-deploy -y
> yum install yum-plugin-priorities -y
>
> it installed:
>
> Feb 27 19:24:47 Installed: ceph-deploy-1.5.37-0.noarch
>
> -> install ceph with ceph-deploy on 3 nodes.
>
> As a result I get Jewel.
>
> Then... I purge everything from all the 3 nodes
> yum update again on ceph deployer node and get:
>
> Feb 27 20:33:20 Updated: ceph-deploy-2.0.0-0.noarch
>
> ... then I tried to reinstall over and over but I always get Jewel.
> I tryed to install after removed .ceph file config in my homedir.
> I tryed to install after change default repo to repo-luminous
> ... got always Jewel.
>
> Only force the release in the ceph-deploy command allow me to install
> luminous.
>
> Probably yum-plugin-priorities should not be installed after ceph-deploy
> even if I didn't run still any command.
> But what is so strange is that purge and reinstall everything will always
> reinstall Jewel.
> It seems that some lock file has been write somewhere to use Jewel.
>
>
>
> Il 28/02/2018 22:08, David Turner ha scritto:
>
> Which version of ceph-deploy are you using?
>
> On Wed, Feb 28, 2018 at 4:37 AM Massimiliano Cuttini <[email protected]>
> wrote:
>
>> This worked.
>>
>> However somebody should investigate why default is still jewel on Centos
>> 7.4
>>
>> Il 28/02/2018 00:53, jorpilo ha scritto:
>>
>> Try using:
>> ceph-deploy --release luminous host1...
>>
>> -------- Mensaje original --------
>> De: Massimiliano Cuttini <[email protected]> <[email protected]>
>> Fecha: 28/2/18 12:42 a. m. (GMT+01:00)
>> Para: [email protected]
>> Asunto: [ceph-users] ceph-deploy won't install luminous (but Jewel
>> instead)
>>
>> This is the 5th time that I install and after purge the installation.
>> Ceph Deploy is alway install JEWEL instead of Luminous.
>>
>> No way.... even if I force the repo from default to luminous:
>>
>> https://download.ceph.com/rpm-luminous/el7/noarch
>>
>> It still install Jewel.... it's stuck.
>>
>> I've already checked if I had installed yum-plugin-priorities, and I did
>> it.
>> Everything is exaclty as the documentation request.
>> But still I get always Jewel and not Luminous.
>>
>>
>>
>> _______________________________________________
>> ceph-users mailing list
>> [email protected]
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
>
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to