"sudo ferry install" fails
vumaasha opened this issue · 6 comments
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
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:
-
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) -
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
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)
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.
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 messagefound 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.3However, 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).
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$ ferry-dust start
venki@venki-HP-248-G1-Notebook-PC:
found ferry image, proceeding
starting ferry client
root@14af32dcce10:/home/ferry#
After you're in the console, you can type:
ferry server
ferry start hadoop