diff --git a/ceph/values.yaml b/ceph/values.yaml index 32dbccb27a..9d36d3b5d1 100644 --- a/ceph/values.yaml +++ b/ceph/values.yaml @@ -29,7 +29,7 @@ service: images: dep_check: docker.io/kolla/ubuntu-source-kubernetes-entrypoint:4.0.0 daemon: quay.io/attcomdev/ceph-daemon:tag-build-master-jewel-ubuntu-16.04 - ceph_config_helper: docker.io/port/ceph-config-helper:v1.6.5 + ceph_config_helper: docker.io/port/ceph-config-helper:v1.6.7 pull_policy: Always labels: diff --git a/doc/source/install/developer/all-in-one.rst b/doc/source/install/developer/all-in-one.rst index 43083a9dad..bce03e6df2 100644 --- a/doc/source/install/developer/all-in-one.rst +++ b/doc/source/install/developer/all-in-one.rst @@ -69,7 +69,7 @@ against your Kubernetes cluster. :: - export KUBE_VERSION=v1.6.5 + export KUBE_VERSION=v1.6.7 export HELM_VERSION=v2.5.0 export TMP_DIR=$(mktemp -d) @@ -136,11 +136,11 @@ Build ----- Using the Dockerfile defined in tools/kubeadm-aio directory, build the -'openstackhelm/kubeadm-aio:v1.6.5' image. +'openstackhelm/kubeadm-aio:v1.6.7' image. :: - export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.5 + export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.7 sudo docker build --pull -t ${KUBEADM_IMAGE} tools/kubeadm-aio Deploy @@ -155,7 +155,7 @@ displayed during execution. :: - export KUBE_VERSION=v1.6.5 + export KUBE_VERSION=v1.6.7 ./tools/kubeadm-aio/kubeadm-aio-launcher.sh export KUBECONFIG=${HOME}/.kubeadm-aio/admin.conf mkdir -p ${HOME}/.kube diff --git a/doc/source/install/multinode.rst b/doc/source/install/multinode.rst index 33e9ba6fb0..a8d7b9f994 100644 --- a/doc/source/install/multinode.rst +++ b/doc/source/install/multinode.rst @@ -29,7 +29,7 @@ comments, please create an `issue - Version - Notes * - **Kubernetes** - - `v1.6.5 `_ + - `v1.6.7 `_ - `Custom Controller for RDB tools `_ * - **Helm** - `v2.5.0 `_ @@ -85,8 +85,8 @@ on every node in your cluster before executing ``kubeadm init``: :: - export CEPH_KUBE_CONTROLLER_MANAGER_IMAGE=quay.io/attcomdev/kube-controller-manager:v1.6.5 - export BASE_KUBE_CONTROLLER_MANAGER_IMAGE=gcr.io/google_containers/kube-controller-manager-amd64:v1.6.5 + export CEPH_KUBE_CONTROLLER_MANAGER_IMAGE=quay.io/attcomdev/kube-controller-manager:v1.6.7 + export BASE_KUBE_CONTROLLER_MANAGER_IMAGE=gcr.io/google_containers/kube-controller-manager-amd64:v1.6.7 sudo docker pull ${CEPH_KUBE_CONTROLLER_MANAGER_IMAGE} sudo docker tag ${CEPH_KUBE_CONTROLLER_MANAGER_IMAGE} ${BASE_KUBE_CONTROLLER_MANAGER_IMAGE} @@ -94,7 +94,7 @@ Afterwards, you can ``kubeadm init`` as such: :: - admin@kubenode01:~$ kubeadm init --kubernetes-version v1.6.5 + admin@kubenode01:~$ kubeadm init --kubernetes-version v1.6.7 If your environment looks like this after all nodes have joined the diff --git a/tools/gate/basic_launch.sh b/tools/gate/basic_launch.sh index 5e700a6727..9c0827a9f7 100755 --- a/tools/gate/basic_launch.sh +++ b/tools/gate/basic_launch.sh @@ -46,7 +46,7 @@ EOF" --set network.public=$osd_public_network \ --set network.cluster=$osd_cluster_network - kube_wait_for_pods ceph 420 + kube_wait_for_pods ceph 600 kubectl exec -n ceph ceph-mon-0 -- ceph -s @@ -69,7 +69,7 @@ helm install --namespace=openstack ${WORK_DIR}/mariadb --name=mariadb helm install --namespace=openstack ${WORK_DIR}/memcached --name=memcached helm install --namespace=openstack ${WORK_DIR}/etcd --name=etcd-rabbitmq helm install --namespace=openstack ${WORK_DIR}/rabbitmq --name=rabbitmq -kube_wait_for_pods openstack 420 +kube_wait_for_pods openstack 600 helm install --namespace=openstack ${WORK_DIR}/keystone --name=keystone if [ "x$PVC_BACKEND" == "xceph" ]; then helm install --namespace=openstack ${WORK_DIR}/glance --name=glance diff --git a/tools/gate/dump_logs.sh b/tools/gate/dump_logs.sh index c4dc059876..f0648bcaa6 100755 --- a/tools/gate/dump_logs.sh +++ b/tools/gate/dump_logs.sh @@ -82,6 +82,7 @@ for NAMESPACE in $(kubectl get namespaces -o name | awk -F '/' '{ print $NF }') done mkdir -p ${LOGS_DIR}/nodes/$(hostname) +sudo docker logs kubelet 2> ${LOGS_DIR}/nodes/$(hostname)/kubelet.txt sudo iptables-save > ${LOGS_DIR}/nodes/$(hostname)/iptables.txt sudo ip a > ${LOGS_DIR}/nodes/$(hostname)/ip.txt sudo route -n > ${LOGS_DIR}/nodes/$(hostname)/routes.txt diff --git a/tools/gate/setup_gate.sh b/tools/gate/setup_gate.sh index 5463511ad2..0a897170eb 100755 --- a/tools/gate/setup_gate.sh +++ b/tools/gate/setup_gate.sh @@ -14,9 +14,9 @@ set -ex export HELM_VERSION=${2:-v2.5.0} -export KUBE_VERSION=${3:-v1.6.5} +export KUBE_VERSION=${3:-v1.6.7} export KUBECONFIG=${HOME}/.kubeadm-aio/admin.conf -export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:${KUBE_VERSION}-ceph +export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:${KUBE_VERSION} export BASE_KUBE_CONTROLLER_MANAGER_IMAGE=gcr.io/google_containers/kube-controller-manager-amd64:${KUBE_VERSION} export CEPH_KUBE_CONTROLLER_MANAGER_IMAGE=quay.io/attcomdev/kube-controller-manager:${KUBE_VERSION} diff --git a/tools/images/ceph-config-helper/Dockerfile b/tools/images/ceph-config-helper/Dockerfile index f310618847..42f50df2dc 100644 --- a/tools/images/ceph-config-helper/Dockerfile +++ b/tools/images/ceph-config-helper/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:16.04 MAINTAINER pete.birley@att.com -ARG KUBE_VERSION=v1.6.5 +ARG KUBE_VERSION=v1.6.7 RUN set -x \ && TMP_DIR=$(mktemp --directory) \ diff --git a/tools/images/ceph-config-helper/README.rst b/tools/images/ceph-config-helper/README.rst index 7b7196b368..c88897239f 100644 --- a/tools/images/ceph-config-helper/README.rst +++ b/tools/images/ceph-config-helper/README.rst @@ -31,7 +31,7 @@ repo run: .. code:: bash - export KUBE_VERSION=v1.6.5 + export KUBE_VERSION=v1.6.7 sudo docker build \ --build-arg KUBE_VERSION=${KUBE_VERSION} \ -t docker.io/port/ceph-config-helper:${KUBE_VERSION} \ diff --git a/tools/kubeadm-aio/Dockerfile b/tools/kubeadm-aio/Dockerfile index 127ee611bb..fb58be2f07 100644 --- a/tools/kubeadm-aio/Dockerfile +++ b/tools/kubeadm-aio/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu:16.04 MAINTAINER pete.birley@att.com ENV HELM_VERSION=v2.5.0 \ - KUBE_VERSION=v1.6.5 \ + KUBE_VERSION=v1.6.7 \ CNI_VERSION=v0.5.2 \ container="docker" \ DEBIAN_FRONTEND="noninteractive" @@ -11,15 +11,16 @@ RUN set -x \ && TMP_DIR=$(mktemp --directory) \ && cd ${TMP_DIR} \ && apt-get update \ - && apt-get install -y \ + && apt-get install -y --no-install-recommends \ apt-transport-https \ ca-certificates \ curl \ + dbus \ # Add Kubernetes repo && curl -sSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \ && echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" > /etc/apt/sources.list.d/kubernetes.list \ && apt-get update \ - && apt-get install -y \ + && apt-get install -y --no-install-recommends \ docker.io \ iptables \ kubectl \ @@ -56,7 +57,7 @@ RUN set -x \ && curl -sSL https://storage.googleapis.com/kubernetes-helm/helm-${HELM_VERSION}-linux-amd64.tar.gz | tar -zxv --strip-components=1 \ && mv ${TMP_DIR}/helm /usr/bin/helm \ # Install openstack-helm dev utils - && apt-get install -y \ + && apt-get install -y --no-install-recommends \ make \ git \ vim \ @@ -64,6 +65,7 @@ RUN set -x \ # Install utils for PVC provisioners nfs-common \ ceph-common \ + kmod \ # Tweak Systemd units and targets for running in a container && find /lib/systemd/system/sysinit.target.wants/ ! -name 'systemd-tmpfiles-setup.service' -type l -exec rm -fv {} + \ && rm -fv \ diff --git a/tools/kubeadm-aio/README.rst b/tools/kubeadm-aio/README.rst index e98061a0b7..6c21f339fd 100644 --- a/tools/kubeadm-aio/README.rst +++ b/tools/kubeadm-aio/README.rst @@ -31,7 +31,7 @@ You should install the ``kubectl`` and ``helm`` binaries: .. code:: bash - KUBE_VERSION=v1.6.5 + KUBE_VERSION=v1.6.7 HELM_VERSION=v2.5.0 TMP_DIR=$(mktemp -d) @@ -57,7 +57,7 @@ repo run: .. code:: bash - export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.5 + export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.7 sudo docker build --pull -t ${KUBEADM_IMAGE} tools/kubeadm-aio Deploy the AIO environment @@ -67,8 +67,8 @@ To launch the environment then run: .. code:: bash - export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.5 - export KUBE_VERSION=v1.6.5 + export KUBEADM_IMAGE=openstackhelm/kubeadm-aio:v1.6.7 + export KUBE_VERSION=v1.6.7 ./tools/kubeadm-aio/kubeadm-aio-launcher.sh export KUBECONFIG=${HOME}/.kubeadm-aio/admin.conf diff --git a/tools/kubeadm-aio/kubeadm-aio-launcher.sh b/tools/kubeadm-aio/kubeadm-aio-launcher.sh index 1a9224befa..f3328c0380 100755 --- a/tools/kubeadm-aio/kubeadm-aio-launcher.sh +++ b/tools/kubeadm-aio/kubeadm-aio-launcher.sh @@ -57,7 +57,7 @@ sudo docker run \ echo "Waiting for kubeconfig" set +x -end=$(($(date +%s) + 120)) +end=$(($(date +%s) + 240)) READY="False" while true; do if [ -f ${HOME}/.kubeadm-aio/admin.conf ]; then