From 389af5d41d5b1c15ebfff6c56e73436ec6e41286 Mon Sep 17 00:00:00 2001 From: Matthew Mosesohn Date: Sun, 27 Aug 2017 21:34:05 +0100 Subject: [PATCH] [test do not merge] debug failed rkt deploy --- .gitlab-ci.yml | 2 +- tests/testcases/030_check-network.yml | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6a456f9df..b7ffe6deb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -355,7 +355,7 @@ before_script: .ubuntu_rkt_sep_variables: &ubuntu_rkt_sep_variables # stage: deploy-gce-part1 KUBE_NETWORK_PLUGIN: flannel - CLOUD_IMAGE: ubuntu-1604-xenial + CLOUD_IMAGE: ubuntu-1604-xenial-v20170811 CLOUD_REGION: us-central1-b CLUSTER_MODE: separate ETCD_DEPLOYMENT: rkt diff --git a/tests/testcases/030_check-network.yml b/tests/testcases/030_check-network.yml index ee5f60785..ce0199e88 100644 --- a/tests/testcases/030_check-network.yml +++ b/tests/testcases/030_check-network.yml @@ -18,11 +18,18 @@ - debug: msg="{{get_pods.stdout}}" + - name: Get info on all resources + shell: "{{bin_dir}}/kubectl get all --all-namespaces -oyaml" + register: get_deployments + + - debug: msg="{{get_deployments.stdout}}" + + - name: Get pod names shell: "{{bin_dir}}/kubectl get pods -o json" register: pods until: '"ContainerCreating" not in pods.stdout' - retries: 60 + retries: 600 delay: 2 no_log: true