Skip to content

Instantly share code, notes, and snippets.

@v1k0d3n
Created February 16, 2016 05:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v1k0d3n/130a099c6e90f4033115 to your computer and use it in GitHub Desktop.
Save v1k0d3n/130a099c6e90f4033115 to your computer and use it in GitHub Desktop.
TASK [opencontrail : Build docker container] ***********************************
fatal: [titanicmaster -> titanicmaster]: FAILED! => {"changed": true, "cmd": ["docker", "build", "-t", "opencontrail/kmod_fedora23-4.2.3-300.fc23.x86_64", "fedora23-4.2.3-300.fc23.x86_64"], "delta": "0:00:02.634368", "end": "2016-02-16 05:01:25.657349", "failed": true, "rc": 1, "start": "2016-02-16 05:01:23.022981", "stderr": "The command '/bin/sh -c yum install -y kernel-devel-\\1-\\2.\\3.\\4' returned a non-zero code: 1", "stdout": "Sending build context to Docker daemon 2.56 kB\r\r\nStep 1 : FROM fedora:23\n ---> 6547ce9b3407\nStep 2 : RUN dnf install -y git make\n ---> Using cache\n ---> 82c72f223d5c\nStep 3 : RUN dnf install -y automake flex bison gcc gcc-c++ boost boost-devel libxml2-devel python-lxml\n ---> Using cache\n ---> 8654a8ada345\nStep 4 : RUN yum install -y yum-utils\n ---> Using cache\n ---> ffb3deeabbd2\nStep 5 : RUN release=$(awk '{print $4;}' /etc/redhat-release); if [ $release != \"23 \" ]; then yum-config-manager --enable C23-base; fi\n ---> Using cache\n ---> 6609c7e3f80c\nStep 6 : RUN yum install -y kernel-devel-\\1-\\2.\\3.\\4\n ---> Running in 31c5a4522485\n\u001b[91mYum command has been deprecated, redirecting to '/usr/bin/dnf install -y kernel-devel-1-2.3.4'.\nSee 'man dnf' and 'man yum2dnf' for more information.\nTo transfer transaction metadata from yum to DNF, run:\n'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'\n\n\u001b[0mLast metadata expiration check performed 0:00:00 ago on Tue Feb 16 05:01:25 2016.\nNo package kernel-devel-1-2.3.4 available.\n\u001b[91mError: Unable to find a match.\n\u001b[0m", "stdout_lines": ["Sending build context to Docker daemon 2.56 kB", "", "Step 1 : FROM fedora:23", " ---> 6547ce9b3407", "Step 2 : RUN dnf install -y git make", " ---> Using cache", " ---> 82c72f223d5c", "Step 3 : RUN dnf install -y automake flex bison gcc gcc-c++ boost boost-devel libxml2-devel python-lxml", " ---> Using cache", " ---> 8654a8ada345", "Step 4 : RUN yum install -y yum-utils", " ---> Using cache", " ---> ffb3deeabbd2", "Step 5 : RUN release=$(awk '{print $4;}' /etc/redhat-release); if [ $release != \"23 \" ]; then yum-config-manager --enable C23-base; fi", " ---> Using cache", " ---> 6609c7e3f80c", "Step 6 : RUN yum install -y kernel-devel-\\1-\\2.\\3.\\4", " ---> Running in 31c5a4522485", "\u001b[91mYum command has been deprecated, redirecting to '/usr/bin/dnf install -y kernel-devel-1-2.3.4'.", "See 'man dnf' and 'man yum2dnf' for more information.", "To transfer transaction metadata from yum to DNF, run:", "'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'", "", "\u001b[0mLast metadata expiration check performed 0:00:00 ago on Tue Feb 16 05:01:25 2016.", "No package kernel-devel-1-2.3.4 available.", "\u001b[91mError: Unable to find a match.", "\u001b[0m"], "warnings": []}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment