Bug 1394419 - Building packages from PyPI does not work because Docker daemon is not running
Summary: Building packages from PyPI does not work because Docker daemon is not running
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: backend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: clime
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-11 22:38 UTC by Tomáš Hozza
Modified: 2016-11-12 16:58 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-12 16:58:05 UTC


Attachments (Terms of Use)

Description Tomáš Hozza 2016-11-11 22:38:38 UTC
Description of problem:
I tried to automatically build package from PyPI as RPM, but it does not seem to work (https://copr.fedorainfracloud.org/coprs/thozza/restview/build/476120/)

2. Task: 476120-f23, importing the package: None
GIT_BUILDER: 3. build via pyp2rpm
pyp2rpm restview --srpm -d /tmp/tmp4crv2l -b 3 -p 2
Running: docker run --name 476120-f23-d41d8cd98f00b204e9800998ecf8427e -v /tmp/tmp4crv2l:/tmp/tmp4crv2l -w / e63f0fdd2252 pyp2rpm restview --srpm -d /tmp/tmp4crv2l -b 3 -p 2
Failed to remove container: 476120-f23-d41d8cd98f00b204e9800998ecf8427e
Exception raised during srpm import:
Traceback (most recent call last):
  File "/usr/share/copr/dist_git/dist_git_importer.py", line 526, in do_import
    provider.get_srpm()
  File "/usr/share/copr/dist_git/dist_git_importer.py", line 170, in get_srpm
    self.provider.get_srpm()
  File "/usr/share/copr/dist_git/dist_git_importer.py", line 352, in get_srpm
    output, error = VM.run(cmd, dst_dir=self.tmp_dest, name=self.task.task_id)
  File "/usr/share/copr/dist_git/dist_git_importer.py", line 689, in run
    raise SrpmBuilderException(error)
SrpmBuilderException: docker: Cannot connect to the Docker daemon. Is the docker daemon running on this host?.
See 'docker run --help'.

Sending back: 
{"task_id": "476120-f23", "error": "srpm_build_error"}

Comment 1 clime 2016-11-12 16:58:05 UTC
Put it back on. Thanks.


Note You need to log in before you can comment on or make changes to this bug.