Skip to content

Instantly share code, notes, and snippets.

View v1k0d3n's full-sized avatar
🎧
Give me a soft subtle mix, and if ain't broke then don't try to fix it

Brandon B. Jozsa v1k0d3n

🎧
Give me a soft subtle mix, and if ain't broke then don't try to fix it
View GitHub Profile
PLAY [all] *********************************************************************
TASK [setup] *******************************************************************
ok: [kube2]
ok: [kube3]
ok: [kube1]
TASK [kube-join : collect api endpoints from kubernetes masters] ***************
changed: [kube2 -> None] => (item=kube1)
changed: [kube1 -> None] => (item=kube1)
FROM ubuntu:16.04
MAINTAINER "Brandon B. Jozsa" <[email protected]>
# Keep upstart from complaining
RUN dpkg-divert --local --rename --add /sbin/initctl
RUN ln -sf /bin/true /sbin/initctl
# Let the conatiner know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
01 - stackanetes/mariadb:
Traceback (most recent call last):
File "/usr/local/bin/kpm", line 6, in <module>
cli()
File "/usr/local/lib/python2.7/dist-packages/kpm/command.py", line 63, in cli
args.func(args)
File "/usr/local/lib/python2.7/dist-packages/kpm/commands/command_base.py", line 16, in call
self(options)()
File "/usr/local/lib/python2.7/dist-packages/kpm/commands/command_base.py", line 19, in __call__
self._call()
root@galvatron:~# cat /etc/kolla/globals.yml
---
# You can use this file to override _any_ variable throughout Kolla.
# Additional options can be found in the 'kolla/ansible/group_vars/all.yml' file.
# Default value of all the commented parameters are shown here, To override
# the default value uncomment the parameter and change its value.
###################
# Kolla options
###################
bjozsa@galvatron:~$ cat /etc/kolla/globals.yml
---
# You can use this file to override _any_ variable throughout Kolla.
# Additional options can be found in the 'kolla/ansible/group_vars/all.yml' file.
# Default value of all the commented parameters are shown here, To override
# the default value uncomment the parameter and change its value.
###################
# Kolla options
###################
ubuntu@clcp-att-comdev-builder:/home/kolla-builder/kolla-6c9b43d$ kolla-build keystone -b ubuntu -t source
INFO:kolla.image.build:Found the docker image folder at /usr/local/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
ERROR:kolla.image.build.base:Unknown docker error when building
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/kolla/image/build.py", line 425, in builder
for response in self.dc.build(path=image.path,
File "/usr/local/lib/python2.7/dist-packages/kolla/image/build.py", line 150, in dc
[DEFAULT]
namespace = attcomdev
image_prefix = clcp
base = ubuntu
nocache = true
install_type = source
INFO:kolla.image.build:=========================
INFO:kolla.image.build:Successfully built images
INFO:kolla.image.build:=========================
INFO:kolla.image.build:base
INFO:kolla.image.build:etcd
+++ cut -d ' ' -f 1
+++ docker images
++++ KOLLA_NAMESPACE
/usr/local/bin/kolla-push.sh: line 9: KOLLA_NAMESPACE: command not found
++++ KOLLA_BASE
#!/bin/bash
set -ex
echo ""
echo "Preparing to push Kolla images to $DOCKER_REGISTRY:"
echo "KOLLA_NAMESPACE: $KOLLA_NAMESPACE"
echo "KOLLA_BASE: $KOLLA_BASE"
echo "KOLLA_TYPE: $KOLLA_TYPE"
echo "KOLLA_TAG: $KOLLA_TAG"
echo "=============================="
echo ""
INFO:kolla.image.build:=========================
INFO:kolla.image.build:Successfully built images
INFO:kolla.image.build:=========================
INFO:kolla.image.build:base
INFO:kolla.image.build:etcd
Preparing to push Kolla images to quay.io:
KOLLA_NAMESPACE: attcomdevaic
KOLLA_BASE: ubuntu
KOLLA_TYPE: source