Bug 1394419

Summary: Building packages from PyPI does not work because Docker daemon is not running
Product: [Community] Copr Reporter: Tomáš Hozza <thozza>
Component: backendAssignee: clime
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: clime
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-12 16:58:05 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:

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.