Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"sudo ferry install" fails #18

Closed
vumaasha opened this issue Oct 4, 2014 · 6 comments
Closed

"sudo ferry install" fails #18

vumaasha opened this issue Oct 4, 2014 · 6 comments

Comments

@vumaasha
Copy link

vumaasha commented Oct 4, 2014

I installed docker in ubuntu 12.04 ( kernel 3.13.0-35-generic) . Docker works fine. Ferry installation fails with the following error, though pip installation of ferry and dependent package were successful.

sudo ferry install
Traceback (most recent call last):
File "/usr/local/bin/ferry", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in
working_set.require(requires)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: sphinxcontrib-httpdomain>=1.2.0

@jhorey
Copy link
Owner

jhorey commented Oct 4, 2014

Could you do the following for me? Type pip install --no-install ferry and show me the output?

In the meantime, you have a couple options to get Ferry working:

  1. There's a new tool (not documented yet), called ferry-dust that should have been installed. Type the following:

    $ export FERRY_DIR=/var/lib/ferry (this specifies where to install the images, so feel free to pick your own)
    $ ferry-dust install (this will install the images and may take some time)
    $ ferry-dust start (this should drop you into a console where you can start using ferry)

  2. The other option is to manually install these missing packages via pip. pip should have done this automatically, but obviously something is broken there. For example,

    $ pip install sphinxcontrib-httpdomain>=1.2.0

Either way please let me know how it goes. Thanks!

James

@vumaasha
Copy link
Author

vumaasha commented Oct 9, 2014

Here is the --no-install output

venki@venki-HP-248-G1-Notebook-PC:~/git_repos/data-extraction-script/canonical_datamodel$ sudo pip install --no-install ferry
DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated. See pypa/pip#906.
Requirement already satisfied (use --upgrade to upgrade): ferry in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): boto>=2.32.1 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): Flask>=0.10.1 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.10 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): pymongo>=2.6.3 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): python-novaclient==2.18.1 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): python-neutronclient==2.3.5 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): python-heatclient==0.2.10 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): requests>=1.2.3 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): sh>=1.09 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): six>=1.7.0 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): Sphinx>=1.2.1 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): sphinxcontrib-httpdomain>=1.2.0 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): termcolor==1.1.0 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): threading2==0.3.1 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): tornado>=4.0.2 in /usr/local/lib/python2.7/dist-packages (from ferry)
Requirement already satisfied (use --upgrade to upgrade): Werkzeug>=0.7 in /usr/local/lib/python2.7/dist-packages (from Flask>=0.10.1->ferry)
Requirement already satisfied (use --upgrade to upgrade): Jinja2>=2.4 in /usr/local/lib/python2.7/dist-packages (from Flask>=0.10.1->ferry)
Requirement already satisfied (use --upgrade to upgrade): itsdangerous>=0.21 in /usr/local/lib/python2.7/dist-packages (from Flask>=0.10.1->ferry)
Requirement already satisfied (use --upgrade to upgrade): certifi in /usr/local/lib/python2.7/dist-packages (from tornado>=4.0.2->ferry)
Requirement already satisfied (use --upgrade to upgrade): backports.ssl-match-hostname in /usr/local/lib/python2.7/dist-packages (from tornado>=4.0.2->ferry)
Requirement already satisfied (use --upgrade to upgrade): markupsafe in /usr/local/lib/python2.7/dist-packages (from Jinja2>=2.4->Flask>=0.10.1->ferry)

@vumaasha
Copy link
Author

vumaasha commented Oct 9, 2014

Hi,
I used ferry-dust install. It downloaded docker images and it gets hung after displaying the below message

found ferry image, proceeding
starting ferry, using /var/lib/ferry to save statefound ferry image, proceeding
starting ferry, using /var/lib/ferry to save state
2014/10/09 09:51:30 Error response from daemon: No such id: ferry/openmpi:0.3.3.3
2014/10/09 09:51:40 Error response from daemon: No such id: ferry/openmpi-client:0.3.3.3
2014/10/09 09:51:50 Error response from daemon: No such id: ferry/cassandra:0.3.3.3
2014/10/09 09:52:01 Error response from daemon: No such id: ferry/mongodb:0.3.3.3
2014/10/09 09:52:01 Error response from daemon: No such id: ferry/mongodb:0.3.3.3
2014/10/09 09:52:01 Error response from daemon: No such id: ferry/mongodb:latest
2014/10/09 09:52:11 Error response from daemon: No such id: ferry/titan:0.3.3.3
2014/10/09 09:52:22 Error response from daemon: No such id: ferry/cassandra-client:0.3.3.3
2014/10/09 09:52:33 Error response from daemon: No such id: ferry/hadoop-base:0.3.3.3

However, I exited it using ctrl+c and then ran ferry-dust start, this starts the ferry client. But I am not sure if it is working fine.

@jhorey
Copy link
Owner

jhorey commented Oct 9, 2014

Could you try the following?

export FERRY_DIR=/var/lib/ferry
ferry-dust start

James

--James

On Thu, Oct 9, 2014 at 5:53 AM, vumaasha notifications@github.com wrote:

Hi,
I used ferry-dust install. It downloaded docker images and it gets hung
after displaying the below message

found ferry image, proceeding
starting ferry, using /var/lib/ferry to save statefound ferry image,
proceeding
starting ferry, using /var/lib/ferry to save state
2014/10/09 09:51:30 Error response from daemon: No such id:
ferry/openmpi:0.3.3.3
2014/10/09 09:51:40 Error response from daemon: No such id:
ferry/openmpi-client:0.3.3.3
2014/10/09 09:51:50 Error response from daemon: No such id:
ferry/cassandra:0.3.3.3
2014/10/09 09:52:01 Error response from daemon: No such id:
ferry/mongodb:0.3.3.3
2014/10/09 09:52:01 Error response from daemon: No such id:
ferry/mongodb:0.3.3.3
2014/10/09 09:52:01 Error response from daemon: No such id:
ferry/mongodb:latest
2014/10/09 09:52:11 Error response from daemon: No such id:
ferry/titan:0.3.3.3
2014/10/09 09:52:22 Error response from daemon: No such id:
ferry/cassandra-client:0.3.3.3
2014/10/09 09:52:33 Error response from daemon: No such id:
ferry/hadoop-base:0.3.3.3

However, I exited it using ctrl+c and then ran ferry-dust start, this
starts the ferry client. But I am not sure if it is working fine.


Reply to this email directly or view it on GitHub
#18 (comment).

@vumaasha
Copy link
Author

It enters a ferry console. How do i start a spark or hadoop cluster from here?

venki@venki-HP-248-G1-Notebook-PC:$ export FERRY_DIR=/var/lib/ferry
venki@venki-HP-248-G1-Notebook-PC:
$ ferry-dust start
found ferry image, proceeding
starting ferry client
root@14af32dcce10:/home/ferry#

@jhorey
Copy link
Owner

jhorey commented Oct 10, 2014

After you're in the console, you can type:

ferry server
ferry start hadoop

@jhorey jhorey closed this as completed Oct 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants