Hello,

I've deployed a Ceph cluster consisting of 5 server nodes and a Ceph client 
that will hold the mounted CephFS.

>From the client I want to deploy the 5 servers with the ceph-deploy tool.

I installed Ceph from this repository: http://ceph.com/rpm-cuttlefish/el6/x86_64
And ceph-deploy from this one: http://ceph.com/rpm-cuttlefish/el6/noarch/
(BTW: I found myself the second repository, there's no sign of it in the 
instructions - as far as I know)

I made sure that the client can automatically SSH the servers with the command 
"ssh cephserverX", where X goes from 1 to 5. There's a "ceph" user in each of 
them, with passwordless sudo.

I executed first: ceph-deploy new cephserver2

Then, I executed this command: ceph-deploy install cephserver2

I received the following error:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pushy/client.py", line 383, in __init__
    self.modules = AutoImporter(self)
  File "/usr/lib/python2.6/site-packages/pushy/client.py", line 236, in __init__
    remote_compile = self.__client.eval("compile")
  File "/usr/lib/python2.6/site-packages/pushy/client.py", line 478, in eval
    return self.remote.eval(code, globals, locals)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/connection.py", line 
54, in eval
    return self.send_request(MessageType.evaluate, args)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py", 
line 315, in send_request
    m = self.__waitForResponse(handler)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py", 
line 420, in __waitForResponse
    m = self.__recv()
  File "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py", 
line 601, in __recv
    m = self.__istream.receive_message()
  File "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py", 
line 104, in receive_message
    return Message.unpack(self.__file)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/message.py", line 96, 
in unpack
    header = read(file, Message.PACKING_SIZE)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/message.py", line 60, 
in read
    raise IOError, "End of file"
IOError: End of file

[remote] sudo: sorry, you must have a tty to run sudo

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/install.py", line 364, in 
install
    sudo = args.pushy(get_transport(hostname))
  File "/usr/lib/python2.6/site-packages/pushy/client.py", line 583, in connect
    return PushyClient(target, **kwargs)
  File "/usr/lib/python2.6/site-packages/pushy/client.py", line 383, in __init__
    self.modules = AutoImporter(self)
  File "/usr/lib/python2.6/site-packages/pushy/client.py", line 236, in __init__
    remote_compile = self.__client.eval("compile")
  File "/usr/lib/python2.6/site-packages/pushy/client.py", line 478, in eval
    return self.remote.eval(code, globals, locals)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/connection.py", line 
54, in eval
    return self.send_request(MessageType.evaluate, args)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py", 
line 315, in send_request
    m = self.__waitForResponse(handler)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py", 
line 420, in __waitForResponse
    m = self.__recv()
  File "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py", 
line 601, in __recv
    m = self.__istream.receive_message()
  File "/usr/lib/python2.6/site-packages/pushy/protocol/baseconnection.py", 
line 104, in receive_message
    return Message.unpack(self.__file)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/message.py", line 96, 
in unpack
    header = read(file, Message.PACKING_SIZE)
  File "/usr/lib/python2.6/site-packages/pushy/protocol/message.py", line 60, 
in read
    raise IOError, "End of file"
IOError: End of file

What should I do?

Thanks in advance for your help.

José Valerio

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to