And here is my ceph.log
.
.
.
[ceph@cephadmin my-clusters]$ less ceph.log
2013-08-22 09:01:27,375 ceph_deploy.new DEBUG Creating new cluster named ceph
2013-08-22 09:01:27,375 ceph_deploy.new DEBUG Resolving host cephs1
2013-08-22 09:01:27,382 ceph_deploy.new DEBUG Monitor cephs1 at 10.2.9.223
2013-08-22 09:01:27,382 ceph_deploy.new DEBUG Monitor initial members are 
['cephs1']
2013-08-22 09:01:27,382 ceph_deploy.new DEBUG Monitor addrs are ['10.2.9.223']
2013-08-22 09:01:27,382 ceph_deploy.new DEBUG Creating a random mon key...
2013-08-22 09:01:27,383 ceph_deploy.new DEBUG Writing initial config to 
ceph.conf...
2013-08-22 09:01:27,383 ceph_deploy.new DEBUG Writing monitor keyring to 
ceph.conf...
2013-08-22 09:02:02,926 ceph_deploy.install DEBUG Installing stable version 
cuttlefish on cluster ceph hosts cephs1
2013-08-22 09:02:02,926 ceph_deploy.install DEBUG Detecting platform for host 
cephs1 ...
2013-08-22 09:02:03,916 ceph_deploy.install DEBUG Distro RedHatEnterpriseServer 
release 6.4 codename Santiago
2013-08-22 09:02:03,925 ceph_deploy.install DEBUG Installing on host cephs1 ...
2013-08-22 09:04:13,713 ceph_deploy.install DEBUG Installing stable version 
cuttlefish on cluster ceph hosts cephs1
2013-08-22 09:04:13,714 ceph_deploy.install DEBUG Detecting platform for host 
cephs1 ...
2013-08-22 09:04:14,575 ceph_deploy.install DEBUG Distro RedHatEnterpriseServer 
release 6.4 codename Santiago
2013-08-22 09:04:13,714 ceph_deploy.install DEBUG Detecting platform for host 
cephs1 ...
2013-08-22 09:04:14,575 ceph_deploy.install DEBUG Distro RedHatEnterpriseServer 
release 6.4 codename
 Santiago
2013-08-22 09:04:14,582 ceph_deploy.install DEBUG Installing on host cephs1 ...
2013-08-22 09:04:57,044 ceph_deploy.install DEBUG Installing stable version 
cuttlefish on cluster ceph hosts cephs2
2013-08-22 09:04:57,045 ceph_deploy.install DEBUG Detecting platform for host 
cephs2 ...
2013-08-22 09:04:57,595 ceph_deploy.install DEBUG Distro RedHatEnterpriseServer 
release 6.4 codename Santiago
2013-08-22 09:04:57,603 ceph_deploy.install DEBUG Installing on host cephs2 ...
2013-08-22 09:07:04,398 ceph_deploy.mon DEBUG Deploying mon, cluster ceph hosts 
cephs1
2013-08-22 09:07:04,399 ceph_deploy.mon DEBUG Deploying mon to cephs1
2013-08-22 09:07:05,360 ceph_deploy.mon DEBUG Distro RedHatEnterpriseServer 
codename Santiago, will use sysvinit



.
.
.






------------------ ???????? ------------------
??????: "SOLO"<sol...@foxmail.com>;
????????: 2013??8??22??(??????) ????10:05
??????: "ceph-users"<ceph-users@lists.ceph.com>; 

????: Failed to create a single mon using" ceph-deploy mon create **??



Hi!


I am trying ceph on RHEL 6.4 
My ceph version is cuttlefish
I followed the intro and ceph-deploy new ..          ceph-deploy instal .. 
--stable cuttlefish 
It didn't appear an error until here.
And then I typed ceph-deploy mon create ..
Here comes the error as bellow


.
.
.


[ceph@cephadmin my-clusters]$ ceph-deploy mon create cephs1
=== mon.cephs1 ===
Starting Ceph mon.cephs1 on cephs1...
failed: 'ulimit -n 8192;  /usr/bin/ceph-mon -i cephs1 --pid-file 
/var/run/ceph/mon.cephs1.pid -c /etc/ceph/ceph.conf '
Starting ceph-create-keys on cephs1...
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 329, in send_request
    return self.__handle(m)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py", 
line 645, in __handle
    raise e
pushy.protocol.proxy.ExceptionProxy: Command '['service', 'ceph', 'start', 
'mon.cephs1']' returned non-zero exit status 1



.
.
.
 And I check my /etc/sudoers.d/ceph and my /etc/sudoers is as bellow  
..
## Allow root to run any commands anywhere
root    ALL=(ALL)       ALL
ceph    ALL=(ALL)       ALL
## Allows members of the 'sys' group to run networking, software,
## service management apps and more.
# %sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, 
LOCATE, DRIVERS


## Allows people in group wheel to run all commands
# %wheel        ALL=(ALL)       ALL


## Same thing without a password
 %ceph  ALL=(ALL)       NOPASSWD: ALL

..
## Read drop-in files from /etc/sudoers.d (the # here does not mean a comment)
#includedir /etc/sudoers.d

.
.
.


What shall I do now?
THX
FingerLiu
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to