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