Code Monkey home page Code Monkey logo

Comments (1)

jhorey avatar jhorey commented on May 19, 2024

Ok thanks! I'll see about adding some better warnings if bridge-utils and
lxc aren't found...

--James

On Fri, Oct 10, 2014 at 4:32 PM, Theodore Omtzigt [email protected]
wrote:

In the error log of a failed "ferry server" command, it showed a failure
on lxc-start not being found. That manifested other errors with
misdirecting explanations, in particular:
[10/10/2014 04:00:11] [ERROR] MongoDB images not found. Try executing
'ferry install'.

here was the sequence of events:
root@sw-100:~# ferry server
[10/10/2014 04:00:08] [WARNING] checking for btrfs
[10/10/2014 04:00:08] [WARNING] using devmapper backend
[10/10/2014 04:00:08] [WARNING] using public dns
[10/10/2014 04:00:08] [WARNING] nohup docker -d
-H=unix:////var/run/ferry.sock -g=/var/lib/ferry -p=/var/run/ferry.pid -b
ferry0 --dns 8.8.8.8 --dns 8.8.4.4 -e lxc -s devicemapper --icc=true
1>/var/lib/ferry/docker.log 2>&1 &
[10/10/2014 04:00:11] [ERROR] Could not start ferry servers.

[10/10/2014 04:00:11] [ERROR] MongoDB images not found. Try executing
'ferry install'.
root@sw-100:# ferry install
/bin/sh: 1: lxc-start: not found
Traceback (most recent call last):
File "/usr/local/bin/ferry", line 9, in
load_entry_point('ferry==0.3.3.3', 'console_scripts', 'ferry')()
File "/usr/local/lib/python2.7/dist-packages/ferry/cli/cli.py", line 750,
in main
msg = cli.dispatch_cmd(c, all_cmds[c], options)
File "/usr/local/lib/python2.7/dist-packages/ferry/cli/cli.py", line 678,
in dispatch_cmd
msg = self.installer.install(args, options)
File "/usr/local/lib/python2.7/dist-packages/ferry/install.py", line 345,
in install
if not _supported_lxc():
File "/usr/local/lib/python2.7/dist-packages/ferry/install.py", line 154,
in _supported_lxc
supported, _ = _supported_tuple(output.strip(), (0, 7, 5))
File "/usr/local/lib/python2.7/dist-packages/ferry/install.py", line 141,
in _supported_tuple
ver = tuple(map(int, cleaned))
TypeError: int() argument must be a string or a number, not 'NoneType'
root@sw-100:
# lxc-start
The program 'lxc-start' is currently not installed. You can install it by
typing:
apt-get install lxc

After installing lxc and reissuing 'ferry install', and 'ferry server', I
have a working ferry system: yay!


Reply to this email directly or view it on GitHub
#22.

from ferry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.