Great, that fixed the issue of setting up the monitor, thanks. Now, I've got 
the monitor up and running in the server (target) machine. But during the 
process of setting up the OSD, I'm stuck with the following issue. Please 
advise. (I did create the directory in the target machine before attempting 
this from the admin machine.)

[host]$ ceph-deploy osd prepare ceph-server-299:/tmp/osd0
[ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks 
ceph-server-299:/tmp/osd0:
[ceph_deploy.osd][DEBUG ] Deploying osd to ceph-server-299
[ceph_deploy.osd][DEBUG ] Failed preparing host ceph-server-299: udevadm 
trigger --subsystem-match=block --action=add returned 2

[Errno 2] No such file or directory
[ceph_deploy.osd][ERROR ] udevadm trigger --subsystem-match=block --action=add 
returned 2

[Errno 2] No such file or directory
ceph-deploy: Failed to create 1 OSDs

Thanks,
Sijo Mathew

From: Alfredo Deza [mailto:alfredo.d...@inktank.com]
Sent: Tuesday, August 13, 2013 9:00 PM
To: Mathew, Sijo (KFRM 1)
Cc: ceph-users@lists.ceph.com
Subject: Re: [ceph-users] basic single node set up issue on rhel6



On Tue, Aug 13, 2013 at 4:20 PM, Mathew, Sijo (KFRM 1) 
<sijo.mat...@credit-suisse.com<mailto:sijo.mat...@credit-suisse.com>> wrote:
Hi,

Installed ceph-deploy_1.2.1 via rpm but it looks like it needs pushy>=0.5.2, 
which I couldn't find in the repository. Please advise.

Can you try again? It seems we left out the new pushy requirement out and that 
should be fixed.



[host]$ ceph-deploy mon create ceph-server-299
Traceback (most recent call last):
  File "/usr/bin/ceph-deploy", line 21, in <module>
    main()
  File "/usr/lib/python2.6/site-packages/ceph_deploy/util/decorators.py", line 
83, in newfunc
    return f(*a, **kw)
  File "/usr/lib/python2.6/site-packages/ceph_deploy/cli.py", line 85, in main
    args = parse_args(args=args, namespace=namespace)
  File "/usr/lib/python2.6/site-packages/ceph_deploy/cli.py", line 54, in 
parse_args
    for ep in pkg_resources.iter_entry_points('ceph_deploy.cli')
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1947, in load
    if require: self.require(env, installer)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1960, in 
require
    working_set.resolve(self.dist.requires(self.extras),env,installer))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 550, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (pushy 0.5.1 (/usr/lib/python2.6/site-packages), 
Requirement.parse('pushy>=0.5.2'))

Thanks,
Sijo Mathew

From: Alfredo Deza 
[mailto:alfredo.d...@inktank.com<mailto:alfredo.d...@inktank.com>]
Sent: Tuesday, August 13, 2013 3:33 PM
To: Mathew, Sijo (KFRM 1)
Cc: ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
Subject: Re: [ceph-users] basic single node set up issue on rhel6

Hi Sijo

On Mon, Aug 12, 2013 at 12:26 PM, Mathew, Sijo (KFRM 1) 
<sijo.mat...@credit-suisse.com<mailto:sijo.mat...@credit-suisse.com>> wrote:
Hi,

I have been trying to get ceph installed on a single node. But I'm stuck with 
the following error.

[host]$ ceph-deploy -v mon create ceph-server-299
Deploying mon, cluster ceph hosts ceph-server-299
Deploying mon to ceph-server-299
Distro RedHatEnterpriseServer codename Santiago, will use sysvinit
Traceback (most recent call last):
  File "/usr/bin/ceph-deploy", line 21, in <module>
    main()
  File "/usr/lib/python2.6/site-packages/ceph_deploy/cli.py", line 112, in main
    return args.func(args)
  File "/usr/lib/python2.6/site-packages/ceph_deploy/mon.py", line 234, in mon
    mon_create(args)
  File "/usr/lib/python2.6/site-packages/ceph_deploy/mon.py", line 138, in 
mon_create
    init=init,
  File "/usr/lib/python2.6/site-packages/pushy/protocol/proxy.py", line 255, in 
<lambda>
    (conn.operator(type_, self, args, kwargs))
  File "/usr/lib/python2.6/site-packages/pushy/protocol/connection.py", line 
66, in operator
    return self.send_request(type_, (object, args, kwargs))
  File "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py", 
line 323, in send_request
    return self.__handle(m)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py", 
line 639, in __handle
    raise e
pushy.protocol.proxy.ExceptionProxy: [Errno 2] No such file or directory

This looks like a very old version of ceph-deploy. Can you attempt to install a 
newer version?
We released version 1.2 to the Python Package Index and to our repos here:  
http://ceph.com/packages/ceph-extras/rpm/
If you are familiar with Python install tools you could simply do: `sudo pip 
install ceph-deploy`, otherwise could you try with the RPM packages?
But, you mention the lack of internet connection, so that would mean that for 
`pip` it would be quite the headache to meet all of ceph-deploy's dependencies.
Can you try with the RPMs for version 1.2 and run again? 1.2 had a massive 
amount of bug fixes and it includes much better logging output.
Once you do, paste back the output here so I can take a look.

I saw a similar thread in the archives, but the solution given there doesn't 
seem to be that clear.

http://lists.ceph.com/pipermail/ceph-users-ceph.com/2013-June/002344.html

I had to install all the rpms separately as the machines that I work with don't 
have internet access and "ceph-deploy install" needs internet access. Could 
someone suggest what might be wrong here?

Environment: RHEL 6.4, ceph 0.61

Thanks,
Sijo Mathew


==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================


_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================




=============================================================================== 
Please access the attached hyperlink for an important electronic communications 
disclaimer: 
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
=============================================================================== 

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to