Re: ceph-deploy

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

 



Hi Matt -

Sounds like you installed ceph-deploy by downloading from github.com/ceph/ceph-deploy, then running the bootstrap script.

We have debian packages for ceph-deploy and python-pushy that are included in the debian-cuttlefish repo, as well as http://ceph.com/packages/ceph-deploy/debian.    You can install python-push from those locations with apt, or you can install via pip:  sudo pip python-pushy.

Let me know if you continue to have problems.

Cheers,
Gary

On May 16, 2013, at 3:51 PM, Matt Chipman wrote:

hi, 
I used ceph-deploy successfully a few days ago but recently reinstalled my admin machine from the same instructions http://ceph.com/docs/master/rados/deployment/preflight-checklist/

now getting the error below. Then I figured I'd just use the debs but they are missing the python-pushy dependancy.  Debian 7.0

Is there any way to solve either issue? 

thanks

administrator@cephadmin:~$ ceph-deploy
usage: ceph-deploy [-h] [-v | -q] [-n] [--overwrite-conf] [--cluster NAME]
                   COMMAND ...
ceph-deploy: error: too few arguments
administrator@cephadmin:~$ ceph-deploy install ceph00
Traceback (most recent call last):
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/client.py", line 383, in __init__
    self.modules = AutoImporter(self)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/client.py", line 236, in __init__
    remote_compile = self.__client.eval("compile")
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/client.py", line 478, in eval
    return self.remote.eval(code, globals, locals)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/connection.py", line 54, in eval
    return self.send_request(MessageType.evaluate, args)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 315, in send_request
    m = self.__waitForResponse(handler)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 420, in __waitForResponse
    m = self.__recv()
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 601, in __recv
    m = self.__istream.receive_message()
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 104, in receive_message
    return Message.unpack(self.__file)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/message.py", line 96, in unpack
    header = read(file, Message.PACKING_SIZE)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/message.py", line 60, in read
    raise IOError, "End of file"
IOError: End of file

[remote] sudo: no tty present and no askpass program specified

Traceback (most recent call last):
  File "./ceph-deploy/ceph-deploy", line 9, in <module>
    load_entry_point('ceph-deploy==0.1', 'console_scripts', 'ceph-deploy')()
  File "/home/administrator/ceph-deploy/ceph_deploy/cli.py", line 112, in main
    return args.func(args)
  File "/home/administrator/ceph-deploy/ceph_deploy/install.py", line 202, in install
    sudo = args.pushy(get_transport(hostname))
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/client.py", line 583, in connect
    return PushyClient(target, **kwargs)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/client.py", line 383, in __init__
    self.modules = AutoImporter(self)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/client.py", line 236, in __init__
    remote_compile = self.__client.eval("compile")
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/client.py", line 478, in eval
    return self.remote.eval(code, globals, locals)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/connection.py", line 54, in eval
    return self.send_request(MessageType.evaluate, args)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 315, in send_request
    m = self.__waitForResponse(handler)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 420, in __waitForResponse
    m = self.__recv()
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 601, in __recv
    m = self.__istream.receive_message()
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 104, in receive_message
    return Message.unpack(self.__file)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/message.py", line 96, in unpack
    header = read(file, Message.PACKING_SIZE)
  File "/home/administrator/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/message.py", line 60, in read
    raise IOError, "End of file"
IOError: End of file
administrator@cephadmin:~$

_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux