Re: ceph-deploy

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

 



Thanks Gary,

after you throwing me those clues I got furthur but it still isnt working.  It seems there are no i386 deb "python-pushy" packages in either of those ceph repo's.  I also attempted using PIP and got pushy installed but the ceph-deploy debs still refused to install.

I built another VM with 64bit Debian 7 and the packages were found and installed however there is an error on compiling during install.

any ideas?

cheers

-Matt

administrator@ceph-admin:~$ sudo aptitude install ceph-deploy
The following NEW packages will be installed:
  ceph-deploy python-pushy{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 53.3 kB of archives. After unpacking 328 kB will be used.
Do you want to continue? [Y/n/?]
Get: 1 http://ceph.com/debian-cuttlefish/ wheezy/main python-pushy amd64 0.5.1-1 [30.9 kB]
Get: 2 http://ceph.com/debian-cuttlefish/ wheezy/main ceph-deploy all 0.1-1 [22.4 kB]
Fetched 53.3 kB in 1s (33.2 kB/s)
Selecting previously unselected package python-pushy.
(Reading database ... 38969 files and directories currently installed.)
Unpacking python-pushy (from .../python-pushy_0.5.1-1_amd64.deb) ...
Selecting previously unselected package ceph-deploy.
Unpacking ceph-deploy (from .../ceph-deploy_0.1-1_all.deb) ...
Setting up python-pushy (0.5.1-1) ...
Setting up ceph-deploy (0.1-1) ...
Processing triggers for python-support ...
Compiling /usr/lib/pymodules/python2.6/ceph_deploy/test/test_cli.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/ceph_deploy/test/test_cli.py', 44, 26, '    assert {p.basename for p in tmpdir.listdir()} == set()\n'))

Compiling /usr/lib/pymodules/python2.6/ceph_deploy/test/test_cli_new.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/ceph_deploy/test/test_cli_new.py', 33, 26, "    assert {p.basename for p in tmpdir.listdir()} == {'ceph.conf'}\n"))


administrator@ceph-admin:~$ ceph-deploy
Traceback (most recent call last):
  File "/usr/bin/ceph-deploy", line 19, in <module>
    from ceph_deploy.cli import main
  File "/usr/lib/pymodules/python2.7/ceph_deploy/cli.py", line 1, in <module>
    import pkg_resources
ImportError: No module named pkg_resources
administrator@ceph-admin:~$ python
Python 2.7.3 (default, Jan  2 2013, 13:56:14)
[GCC 4.7.2] on linux2



On Fri, May 17, 2013 at 9:10 AM, Gary Lowell <glowell@xxxxxxxxx> wrote:
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux