Skip to content

Instantly share code, notes, and snippets.

@NachoDuck
Created October 28, 2016 08:04
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 NachoDuck/9cd31263bf0359dfc82da368c5a67e21 to your computer and use it in GitHub Desktop.
Save NachoDuck/9cd31263bf0359dfc82da368c5a67e21 to your computer and use it in GitHub Desktop.
# kolla-build kuryr -t source --registry 10.10.23.41:4000 --push
INFO:kolla.image.build:Found the docker image folder at /usr/share/kolla/docker
INFO:kolla.image.build:Added image base to queue
INFO:kolla.image.build:Attempting to run task BuildTask(base) for the first time
INFO:kolla.image.build.base:Building
INFO:kolla.image.build.base:Step 1 : FROM centos:7
INFO:kolla.image.build.base: ---> 980e0e4c79ec
INFO:kolla.image.build.base:Step 2 : MAINTAINER Kolla Project (https://launchpad.net/kolla)
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> b3a9ab6c6bc5
INFO:kolla.image.build.base:Step 3 : LABEL kolla_version "3.0.0"
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> d840cbc70da8
INFO:kolla.image.build.base:Step 4 : ENV KOLLA_BASE_DISTRO centos
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> 9b7e4237242f
INFO:kolla.image.build.base:Step 5 : ENV KOLLA_INSTALL_TYPE source
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> 76b764d2c3f9
INFO:kolla.image.build.base:Step 6 : ENV KOLLA_INSTALL_METATYPE mixed
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> dbe5c3db08e1
INFO:kolla.image.build.base:Step 7 : COPY kolla_bashrc /tmp/
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> eca0881af778
INFO:kolla.image.build.base:Step 8 : RUN cat /tmp/kolla_bashrc >> /etc/skel/.bashrc && cat /tmp/kolla_bashrc >> /root/.bashrc
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> e0780f49d156
INFO:kolla.image.build.base:Step 9 : ENV PS1 "$(tput bold)($(printenv KOLLA_SERVICE_NAME))$(tput sgr0)[$(id -un)@$(hostname -s) $(pwd)]$ "
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> 82195ab4a366
INFO:kolla.image.build.base:Step 10 : RUN if [ $(awk '{match($0, /[0-9]+/,version)}END{print version[0]}' /etc/system-release) != "7" ]; then echo "Only supported 7 release on centos"; false; fi && cat /tmp/kolla_bashrc >> /etc/bashrc
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> 28598628785e
INFO:kolla.image.build.base:Step 11 : COPY elasticsearch.repo /etc/yum.repos.d/elasticsearch.repo
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> dcfa0230a644
INFO:kolla.image.build.base:Step 12 : COPY kibana.yum.repo /etc/yum.repos.d/kibana.yum.repo
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> 5226f022dd79
INFO:kolla.image.build.base:Step 13 : COPY MariaDB.repo /etc/yum.repos.d/MariaDB.repo
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> c38c35e11922
INFO:kolla.image.build.base:Step 14 : COPY influxdb.repo /etc/yum.repos.d/influxdb.repo
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> 9cce3597f805
INFO:kolla.image.build.base:Step 15 : COPY grafana.repo /etc/yum.repos.d/grafana.repo
INFO:kolla.image.build.base: ---> Using cache
INFO:kolla.image.build.base: ---> f038b43cd5f6
INFO:kolla.image.build.base:Step 16 : RUN yum -y install http://repo.percona.com/release/7/RPMS/x86_64/percona-release-0.1-3.noarch.rpm && yum clean all
INFO:kolla.image.build.base: ---> Running in 3cb767289647
INFO:kolla.image.build.base:Loaded plugins: fastestmirror, ovl
INFO:kolla.image.build.base:Cannot open: http://repo.percona.com/release/7/RPMS/x86_64/percona-release-0.1-3.noarch.rpm. Skipping.
INFO:kolla.image.build.base:Error: Nothing to do
INFO:kolla.image.build.base:
INFO:kolla.image.build.base:Removing intermediate container 3cb767289647
ERROR:kolla.image.build.base:Error'd with the following message
ERROR:kolla.image.build.base:The command '/bin/sh -c yum -y install http://repo.percona.com/release/7/RPMS/x86_64/percona-release-0.1-3.noarch.rpm && yum clean all' returned a non-zero code: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment