Re: problem with ceph-deploy hanging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From: Gruher, Joseph R
>>From: Alfredo Deza [mailto:alfredo.deza@xxxxxxxxxxx]
>>On Fri, Sep 13, 2013 at 5:06 PM, Gruher, Joseph R
>><joseph.r.gruher@xxxxxxxxx> wrote:
>>
>>> root@cephtest01:~# ssh cephtest02 wget -q -O-
>>> 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' |
>>> apt-key add -
>>>
>>> gpg: no valid OpenPGP data found.
>>>
>>
>>This is clearly part of the problem. Can you try getting to this with
>>something other than wget (e.g. curl) ?
>
>OK, I am seeing the problem here after turning off quiet mode on wget.  You
>can see in the wget output that part of the URL is lost when executing the
>command over SSH.  However, I'm still unsure how to fix this, I've tried a
>number of ways of enclosing the command and this keeps happening.
>
>SSH command leads to incomplete URL and returns web page (note URL
>truncated at ceph.git):
>
>root@cephtest01:~# ssh cephtest02 sudo wget -O-
>'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc'
>--2013-09-13 16:37:06--  https://ceph.com/git/?p=ceph.git
>
>When run locally complete URL returns PGP key:
>
>root@cephtest02:/# wget -O-
>'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc'
>--2013-09-13 16:37:30--
>https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

I was able to show the wget command does succeed if properly formatted (have to double-enclose in quotes as SSH strips the outer set) as does the "apt-key add" if prefaced with a "sudo".

So, I'm still stuck on the problem of ceph deploy hanging at the point shown below.  Any tips on how to debug further?  Has anyone else experienced a similar problem?  Is it possible to enable any additional output from ceph-deploy?  Is there any documentation on how to deploy without using "ceph-deploy install"?  Thanks!

Here's where it hangs:

root@cephtest01:~# ceph-deploy install cephtest02 cephtest03 cephtest04         
[ceph_deploy.install][DEBUG ] Installing stable version dumpling on cluster ceph hosts cephtest02 cephtest03 cephtest04
[ceph_deploy.install][DEBUG ] Detecting platform for host cephtest02 ...
[ceph_deploy.install][INFO  ] Distro info: Ubuntu 12.04 precise
[cephtest02][INFO  ] installing ceph on cephtest02
[cephtest02][INFO  ] Running command: env DEBIAN_FRONTEND=noninteractive apt-get -q install --assume-yes ca-certificates
[cephtest02][INFO  ] Reading package lists...
[cephtest02][INFO  ] Building dependency tree...
[cephtest02][INFO  ] Reading state information...
[cephtest02][INFO  ] ca-certificates is already the newest version.
[cephtest02][INFO  ] 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
[cephtest02][INFO  ] Running command: wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | apt-key add -

Here's the command it seems to be hanging on succeeding when manually run on the command line:

root@cephtest01:~# ssh cephtest02 wget -q -O- "'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | sudo apt-key add -"
OK
root@cephtest01:~#

Thanks,
Joe
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux