Re: problem with ceph-deploy hanging

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

 



On Mon, Sep 16, 2013 at 8:30 PM, Gruher, Joseph R
<joseph.r.gruher@xxxxxxxxx> wrote:
>>-----Original Message-----
>>From: Alfredo Deza [mailto:alfredo.deza@xxxxxxxxxxx]
>>Subject: Re:  problem with ceph-deploy hanging
>>
>>ceph-deploy will use the user as you are currently executing. That is why, if
>>you are calling ceph-deploy as root, it will log in remotely as root.
>>
>>So by a different user, I mean, something like, user `ceph` executing ceph-
>>deploy (yes, that same user needs to exist remotely too with correct
>>permissions)
>
> This is interesting.  Since the preflight has us set up passwordless SSH with a default ceph user I assumed it didn't really matter what user I was logged in as on the admin system.  Good to know.

Well, it is (for now) a crappy work around. We have fixed this in the
upcoming release :)
>
> Unfortunately, logging in as my ceph user on the admin system (with a matching user on the target system) does not affect my result.  The "ceph-deploy install" still hangs here:
>
> [cephtest02][INFO  ] Running command: wget -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' | apt-key add -
>
> It has been suggested that this could be due to our firewall.  I have the proxies configured in /etc/environment and when I run a wget myself (as the ceph user, either directly on cephtest02 or via SSH command to cephtest02 from the admin system) it resolves the proxy and succeeds.  Is there any reason the wget might behave differently when run by ceph-deploy and fail to resolve the proxy?  Is there anywhere I might need to set proxy information besides /etc/environment?

I was about to ask if you had tried running that command through SSH,
but you did and had correct behavior. This is puzzling for me because
that is exactly what ceph-deploy does :/

When you say 'via SSH command' you mean something like:

    ssh cephtest02 sudo wget -q -O-
'https://ceph.com/git/?p=ceph.git,a=blob_plain;f=keys/release.asc' |
apt-key add -

Right?

The firewall might have something to do with it. How do you have your
proxies configured in /etc/environment ?

Again, in this next coming release, you will be able to tell
ceph-deploy to just install the packages without mangling your repos
(or installing keys)


>
> Or, any other thoughts on how to debug this further?
>
> Thanks!
_______________________________________________
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