Bug 1154874

Summary: fig is missing the python-docker-py dependency (No module named docker.errors)
Product: [Fedora] Fedora Reporter: Sylvain Pasche <sylvain.pasche>
Component: figAssignee: Matej Stuchlik <mstuchli>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: jberan, mstuchli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fig-1.0.0-4.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-06 10:27:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sylvain Pasche 2014-10-20 21:57:35 UTC
This is what happened when I tried to install fig on F21:

$ fig
bash: fig: command not found...
Install package 'fig' to provide command 'fig'? [N/y] y


 * Waiting in queue... 
The following packages have to be installed:
 python-dockerpty-0.2.3-1.fc21.noarch   Python library to use the pseudo-tty of a docker container
 python-docopt-0.6.1-5.fc21.noarch      Pythonic argument parser, that will make you smile
 python-texttable-0.8.1-4.fc21.noarch   Python module to generate a formatted text table, using ASCII characters
 python-websocket-client-0.14.1-3.fc21.noarch   WebSocket client for python
Proceed with changes? [N/y] y


 * Waiting in queue... 
 * Waiting for authentication... 
 * Waiting in queue... 
 * Downloading packages... 
 * Requesting data... 
 * Testing changes... 
 * Installing packages... 
Traceback (most recent call last):
  File "/usr/bin/fig", line 9, in <module>
    load_entry_point('fig==0.5.2', 'console_scripts', 'fig')()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 348, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2311, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2025, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.7/site-packages/fig/__init__.py", line 2, in <module>
    from .service import Service  # noqa:flake8
  File "/usr/lib/python2.7/site-packages/fig/service.py", line 3, in <module>
    from docker.errors import APIError
ImportError: No module named docker.errors


After I manually install "python-docker-py", it runs fine.


$ rpm -q fig
fig-0.5.2-1.fc21.x86_64

$ rpm -qR fig
/usr/bin/docker
/usr/bin/python2
PyYAML
python(abi) = 2.7
python-dockerpty
python-docopt
python-requests
python-texttable
python-websocket-client
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

Comment 1 Fedora Update System 2014-10-21 13:22:10 UTC
fig-0.5.2-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fig-0.5.2-2.fc21

Comment 2 Matej Stuchlik 2014-10-21 13:22:55 UTC
Thanks for reporting!

Comment 3 Fedora Update System 2014-10-21 14:06:56 UTC
fig-1.0.0-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fig-1.0.0-1.fc21

Comment 4 Fedora Update System 2014-10-21 17:24:39 UTC
Package fig-1.0.0-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing fig-1.0.0-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-13391/fig-1.0.0-1.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-10-21 21:01:01 UTC
fig-1.0.0-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fig-1.0.0-2.fc21

Comment 6 Fedora Update System 2014-10-23 14:27:18 UTC
fig-1.0.0-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fig-1.0.0-3.fc21

Comment 7 Fedora Update System 2014-11-12 11:22:39 UTC
fig-1.0.0-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/fig-1.0.0-4.fc21

Comment 8 Fedora Update System 2014-12-06 10:27:46 UTC
fig-1.0.0-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.