Hi,
I'm trying to setup a 3-node ceph cluster using ceph deploy from an admin machine (VM box). Firstly,
I did the following from the admin node:
1. ceph-deploy --cluster test new ceph-1 ceph-2 ceph-3 {3 monitors}
2. Edited the resultant test.conf file to put auth supported = none
3. Then did
$ceph-deploy install --stable cuttlefish ceph-1 ceph-2 ceph-3 [this also returned fine]
4. Then did
$ceph-deploy --cluster test mon create ceph-1 ceph-2 ceph-3
and I get a bunch of errors [trace below]. Any ideas, why?
IO error: /var/lib/ceph/mon/test-ceph-1/store.db/LOCK: No such file or directory
ceph-mon: error opening mon data directory at '/var/lib/ceph/mon/test-ceph-1': (22) Invalid argument
ceph-mon: mon.noname-a 155.53.105.159:6789/0 is local, renaming to mon.ceph-1
ceph-mon: set fsid to 349dcbb5-9649-4416-96b3-0eee6a5962fd
Traceback (most recent call last):
File "/usr/bin/ceph-deploy", line 21, in <module>
main()
File "/usr/lib/pymodules/python2.7/ceph_deploy/cli.py", line 112, in main
return args.func(args)
File "/usr/lib/pymodules/python2.7/ceph_deploy/mon.py", line 234, in mon
mon_create(args)
File "/usr/lib/pymodules/python2.7/ceph_deploy/mon.py", line 138, in mon_create
init=init,
File "/usr/lib/python2.7/dist-packages/pushy/protocol/proxy.py", line 255, in <lambda>
(conn.operator(type_, self, args, kwargs))
File "/usr/lib/python2.7/dist-packages/pushy/protocol/connection.py", line 66, in operator
return self.send_request(type_, (object, args, kwargs))
File "/usr/lib/python2.7/dist-packages/pushy/protocol/baseconnection.py", line 323, in send_request
return self.__handle(m)
File "/usr/lib/python2.7/dist-packages/pushy/protocol/baseconnection.py", line 639, in __handle
raise e
pushy.protocol.proxy.ExceptionProxy: Command '['ceph-mon', '--cluster', 'test', '--mkfs', '-i', 'ceph-1', '--keyring', '/var/lib/ceph/tmp/test-ceph-1.mon.keyring']' returned non-zero exit status
ceph-mon: error opening mon data directory at '/var/lib/ceph/mon/test-ceph-1': (22) Invalid argument
ceph-mon: mon.noname-a 155.53.105.159:6789/0 is local, renaming to mon.ceph-1
ceph-mon: set fsid to 349dcbb5-9649-4416-96b3-0eee6a5962fd
Traceback (most recent call last):
File "/usr/bin/ceph-deploy", line 21, in <module>
main()
File "/usr/lib/pymodules/python2.7/ceph_deploy/cli.py", line 112, in main
return args.func(args)
File "/usr/lib/pymodules/python2.7/ceph_deploy/mon.py", line 234, in mon
mon_create(args)
File "/usr/lib/pymodules/python2.7/ceph_deploy/mon.py", line 138, in mon_create
init=init,
File "/usr/lib/python2.7/dist-packages/pushy/protocol/proxy.py", line 255, in <lambda>
(conn.operator(type_, self, args, kwargs))
File "/usr/lib/python2.7/dist-packages/pushy/protocol/connection.py", line 66, in operator
return self.send_request(type_, (object, args, kwargs))
File "/usr/lib/python2.7/dist-packages/pushy/protocol/baseconnection.py", line 323, in send_request
return self.__handle(m)
File "/usr/lib/python2.7/dist-packages/pushy/protocol/baseconnection.py", line 639, in __handle
raise e
pushy.protocol.proxy.ExceptionProxy: Command '['ceph-mon', '--cluster', 'test', '--mkfs', '-i', 'ceph-1', '--keyring', '/var/lib/ceph/tmp/test-ceph-1.mon.keyring']' returned non-zero exit status
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com