Re: ceph-deploy problems on CentOS-6.4

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

 



On Tue, Oct 29, 2013 at 12:28 PM, Michael <michael@xxxxxxxxxxxxxxxxxx> wrote:
> I can't remember how the ceph-deploy behaves in this case but it might be
> worth trying manually installing the epel repo on one of the nodes and then
> just doing a simple. "ceph-deploy install #node#" on a single node to see if
> it behaves.
>
> Otherwise you can try installing ceph manually using
> http://ceph.com/docs/next/install/rpm/
>
> -Michael
>
>
> On 29/10/2013 15:57, Narendra Trivedi wrote:
>
> Hi All,
>
> I am a newbie to ceph. I am installing ceph (dumpling release) using
> ceph-deploy (issued from my admin node) on one monitor and two OSD nodes
> running CentOS 6.4 (64-bit) using followed instructions in the link below:
>
>
>
> http://ceph.com/docs/master/start/quick-ceph-deploy/
>
>
>
> My setup looks exactly like the diagram. I followed pre-flight instructions
> exacty as outlined in the link below:
>
>
>
> http://ceph.com/docs/master/start/quick-start-preflight/
>
>
>
> The ceph-deploy takes forever and then throws up the following error:
>
>
>
> 2013-10-28 17:32:35,903 [ceph_deploy.cli][INFO  ] Invoked (1.2.7):
> /usr/bin/ceph-deploy new ceph-node1-mon-centos-6-4
>
> 2013-10-28 17:32:35,904 [ceph_deploy.new][DEBUG ] Creating new cluster named
> ceph
>
> 2013-10-28 17:32:35,904 [ceph_deploy.new][DEBUG ] Resolving host
> ceph-node1-mon-centos-6-4
>
> 2013-10-28 17:32:35,904 [ceph_deploy.new][DEBUG ] Monitor
> ceph-node1-mon-centos-6-4 at 10.12.0.70
>
> 2013-10-28 17:32:35,904 [ceph_deploy.new][DEBUG ] Monitor initial members
> are ['ceph-node1-mon-centos-6-4']
>
> 2013-10-28 17:32:35,904 [ceph_deploy.new][DEBUG ] Monitor addrs are
> ['10.12.0.70']
>
> 2013-10-28 17:32:35,905 [ceph_deploy.new][DEBUG ] Creating a random mon
> key...
>
> 2013-10-28 17:32:35,905 [ceph_deploy.new][DEBUG ] Writing initial config to
> ceph.conf...
>
> 2013-10-28 17:32:35,905 [ceph_deploy.new][DEBUG ] Writing monitor keyring to
> ceph.mon.keyring...
>
> 2013-10-28 17:33:10,287 [ceph_deploy.cli][INFO  ] Invoked (1.2.7):
> /usr/bin/ceph-deploy install ceph-node1-mon-centos-6-4
> ceph-node2-osd0-centos-6-4 ceph-admin-node-centos-6-4
>
> 2013-10-28 17:33:10,287 [ceph_deploy.install][DEBUG ] Installing stable
> version dumpling on cluster ceph hosts ceph-node1-mon-centos-6-4
> ceph-node2-osd0-centos-6-4 ceph-admin-node-centos-6-4
>
> 2013-10-28 17:33:10,288 [ceph_deploy.install][DEBUG ] Detecting platform for
> host ceph-node1-mon-centos-6-4 ...
>
> 2013-10-28 17:33:10,288 [ceph_deploy.sudo_pushy][DEBUG ] will use a remote
> connection without sudo
>
> 2013-10-28 17:33:10,626 [ceph_deploy.install][INFO  ] Distro info: CentOS
> 6.4 Final
>
> 2013-10-28 17:33:10,626 [ceph-node1-mon-centos-6-4][INFO  ] installing ceph
> on ceph-node1-mon-centos-6-4
>
> 2013-10-28 17:33:10,633 [ceph-node1-mon-centos-6-4][INFO  ] adding EPEL
> repository
>
> 2013-10-28 17:33:10,633 [ceph-node1-mon-centos-6-4][INFO  ] Running command:
> wget
> http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
>
> 2013-10-28 19:20:35,893 [ceph-node1-mon-centos-6-4][ERROR ] Traceback (most
> recent call last):
>
> 2013-10-28 19:20:35,894 [ceph-node1-mon-centos-6-4][ERROR ]   File
> "/usr/lib/python2.6/site-packages/ceph_deploy/hosts/centos/install.py", line
> 77, in install_epel
>
> 2013-10-28 19:20:35,899 [ceph-node1-mon-centos-6-4][ERROR ]   File
> "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line 10,
> in inner
>
> 2013-10-28 19:20:35,900 [ceph-node1-mon-centos-6-4][ERROR ]   File
> "/usr/lib/python2.6/site-packages/ceph_deploy/util/wrappers.py", line 6, in
> remote_call
>
> 2013-10-28 19:20:35,902 [ceph-node1-mon-centos-6-4][ERROR ]   File
> "/usr/lib64/python2.6/subprocess.py", line 502, in check_call
>
> 2013-10-28 19:20:35,903 [ceph-node1-mon-centos-6-4][ERROR ]     raise
> CalledProcessError(retcode, cmd)
>
> 2013-10-28 19:20:35,904 [ceph-node1-mon-centos-6-4][ERROR ]
> CalledProcessError: Command '['wget',
> 'http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm']'
> returned non-zero exit status 4
>
> 2013-10-28 19:20:35,911 [ceph-node1-mon-centos-6-4][ERROR ] --2013-10-28
> 17:33:10--
> http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
>
> 2013-10-28 19:20:35,911 [ceph-node1-mon-centos-6-4][ERROR ] Resolving
> dl.fedoraproject.org... 209.132.181.25, 209.132.181.26, 209.132.181.27, ...
>
> 2013-10-28 19:20:35,912 [ceph-node1-mon-centos-6-4][ERROR ] Connecting to
> dl.fedoraproject.org|209.132.181.25|:80... failed: Connection timed out.
>
> 2013-10-28 19:20:35,912 [ceph-node1-mon-centos-6-4][ERROR ] Connecting to
> dl.fedoraproject.org|209.132.181.26|:80... failed: Connection timed out.
>
>
>
> Interestingly, “wget
> http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm”;
> on each nodes (1 mon and 2 OSDs) succeeds without any problem. I have tried
> everything many times with root user, ceph user etc. but it fails everytime!
> It is very frustrating!

This is definitely a network failure. When `wget` fails with exit
status 4 that is.

That is also probably why ceph-deploy took a while to complete,
because it was waiting on wget to complete the operation.

Are you using a proxy?


>
>
>
> Has anyone else experienced the same or similar problem?
>
>
>
> Thanks a lot in advance!
>
> Mulz
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
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