I had followed that to install ceph-deploy but then I am not sure if there
is a difference between -

INSTALL-CEPH-DEPLOY described in
http://ceph.com/docs/master/start/quick-start-preflight/

and

INSTALLING CEPH DEPLOY described in http://ceph.com/docs/master/install/rpm/


The reason "ceph-deploy install mon-ceph-node" seems to fail is related to
accessing " https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc:";.
The http://ceph.com/docs/master/start/quick-start-preflight/ has info about
it while the second link does not. Hence my question.


On Tue, Sep 10, 2013 at 1:21 PM, Tamil Muthamizhan <
tamil.muthamiz...@inktank.com> wrote:

> Hi Sriram,
>
> this should help: http://ceph.com/docs/master/install/rpm/
>
> Regards,
> Tamil
>
>
> On Tue, Sep 10, 2013 at 12:55 PM, sriram <sriram....@gmail.com> wrote:
>
>> Can someone tell me the equivalent steps in RHEL for the steps below -
>>
>> wget -q -O- 
>> 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | sudo 
>> apt-key add -
>> echo deb http://ceph.com/debian-dumpling/ $(lsb_release -sc) main | sudo tee 
>> /etc/apt/sources.list.d/ceph.list
>> sudo apt-get update
>> sudo apt-get install ceph-deploy
>>
>>
>>
>> On Tue, Sep 10, 2013 at 12:40 PM, sriram <sriram....@gmail.com> wrote:
>>
>>> Any help here is appreciated. I am pretty much stuck in trying to
>>> install ceph on my local box.
>>>
>>>
>>> On Tue, Sep 10, 2013 at 11:02 AM, sriram <sriram....@gmail.com> wrote:
>>>
>>>> Yes I am able to do that.
>>>>
>>>>
>>>> On Fri, Sep 6, 2013 at 8:19 AM, Alfredo Deza 
>>>> <alfredo.d...@inktank.com>wrote:
>>>>
>>>>> On Fri, Sep 6, 2013 at 11:05 AM, sriram <sriram....@gmail.com> wrote:
>>>>> > sudo su -c 'rpm --import
>>>>> > "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc";'
>>>>> > error:
>>>>> https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc: key
>>>>> > 1 import failed.
>>>>> >
>>>>>
>>>>> Can you actually get to that URL and see the GPG key?
>>>>>
>>>>> Via curl/wget or the browser (if you have one in that host)
>>>>> >
>>>>> > On Fri, Sep 6, 2013 at 8:01 AM, Alfredo Deza <
>>>>> alfredo.d...@inktank.com>
>>>>> > wrote:
>>>>> >>
>>>>> >> On Fri, Sep 6, 2013 at 10:54 AM, sriram <sriram....@gmail.com>
>>>>> wrote:
>>>>> >> > I am running it on the same machine.
>>>>> >> >
>>>>> >> > "[abc@abc-ld ~]$ ceph-deploy install abc-ld"
>>>>> >> >
>>>>> >> >
>>>>> >> > On Fri, Sep 6, 2013 at 5:42 AM, Alfredo Deza <
>>>>> alfredo.d...@inktank.com>
>>>>> >> > wrote:
>>>>> >> >>
>>>>> >> >> On Thu, Sep 5, 2013 at 8:25 PM, sriram <sriram....@gmail.com>
>>>>> wrote:
>>>>> >> >> > I am trying to deploy ceph reading the instructions from this
>>>>> link.
>>>>> >> >> >
>>>>> >> >> > http://ceph.com/docs/master/start/quick-ceph-deploy/
>>>>> >> >> >
>>>>> >> >> > I get the error below. Can someone let me know if this is
>>>>> something
>>>>> >> >> > related
>>>>> >> >> > to what I am doing wrong or the script?
>>>>> >> >> >
>>>>> >> >> > [abc@abc-ld ~]$ ceph-deploy install abc-ld
>>>>> >> >> > [ceph_deploy.install][DEBUG ] Installing stable version
>>>>> dumpling on
>>>>> >> >> > cluster
>>>>> >> >> > ceph hosts abc-ld
>>>>> >> >> > [ceph_deploy.install][DEBUG ] Detecting platform for host
>>>>> abc-ld ...
>>>>> >> >> > [sudo] password for abc:
>>>>> >> >> > [ceph_deploy.install][INFO  ] Distro info:
>>>>> >> >> > RedHatEnterpriseWorkstation
>>>>> >> >> > 6.1
>>>>> >> >> > Santiago
>>>>> >> >> > [abc-ld][INFO  ] installing ceph on abc-ld
>>>>> >> >> > [abc-ld][INFO  ] Running command: su -c 'rpm --import
>>>>> >> >> > "
>>>>> https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc";'
>>>>> >> >> > [abc-ld][ERROR ] Traceback (most recent call last):
>>>>> >> >> > [abc-ld][ERROR ]   File
>>>>> >> >> >
>>>>> >> >> >
>>>>> "/usr/lib/python2.6/site-packages/ceph_deploy/hosts/centos/install.py",
>>>>> >> >> > line
>>>>> >> >> > 21, in install
>>>>> >> >> > [abc-ld][ERROR ]   File
>>>>> >> >> >
>>>>> "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py",
>>>>> >> >> > line
>>>>> >> >> > 10,
>>>>> >> >> > in inner
>>>>> >> >> > [abc-ld][ERROR ]     def inner(*args, **kwargs):
>>>>> >> >> > [abc-ld][ERROR ]   File
>>>>> >> >> >
>>>>> "/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py", line
>>>>> >> >> > 6,
>>>>> >> >> > in
>>>>> >> >> > remote_call
>>>>> >> >> > [abc-ld][ERROR ]     This allows us to only remote-execute the
>>>>> actual
>>>>> >> >> > calls,
>>>>> >> >> > not whole functions.
>>>>> >> >> > [abc-ld][ERROR ]   File "/usr/lib64/python2.6/subprocess.py",
>>>>> line
>>>>> >> >> > 502,
>>>>> >> >> > in
>>>>> >> >> > check_call
>>>>> >> >> > [abc-ld][ERROR ]     raise CalledProcessError(retcode, cmd)
>>>>> >> >> > [abc-ld][ERROR ] CalledProcessError: Command '['su -c \'rpm
>>>>> --import
>>>>> >> >> >
>>>>> >> >> > "
>>>>> https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc"\'']'
>>>>> >> >> > returned non-zero exit status 1
>>>>> >> >> > [abc-ld][ERROR ] error:
>>>>> >> >> >
>>>>> https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc: key
>>>>> >> >> > 1
>>>>> >> >> > import failed.
>>>>> >> >> > [ceph_deploy][ERROR ] RuntimeError: Failed to execute command:
>>>>> su -c
>>>>> >> >> > 'rpm
>>>>> >> >> > --import
>>>>> >> >> > "
>>>>> https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc";'
>>>>> >> >>
>>>>> >> >> Can you try running that command on the host that it failed (I
>>>>> think
>>>>> >> >> that would be abc-ld)
>>>>> >> >> and paste the output?
>>>>> >>
>>>>> >> I mean, to run the actual command (from the log output) that caused
>>>>> the
>>>>> >> failure.
>>>>> >>
>>>>> >> In your case, it would be:
>>>>> >>
>>>>> >>     rpm --import
>>>>> >> "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc";
>>>>> >>
>>>>> >> >>
>>>>> >> >> For some reason that `rpm --import` failed. Could be network
>>>>> related.
>>>>> >> >>
>>>>> >> >> >
>>>>> >> >> >
>>>>> >> >> > _______________________________________________
>>>>> >> >> > ceph-users mailing list
>>>>> >> >> > ceph-users@lists.ceph.com
>>>>> >> >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>>>> >> >> >
>>>>> >> >
>>>>> >> >
>>>>> >
>>>>> >
>>>>>
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> ceph-users mailing list
>> ceph-users@lists.ceph.com
>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>>
>>
>
>
> --
> Regards,
> Tamil
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to