From bda02c43fb022a155157402764cd5a74478b8cf1 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Mon, 22 Apr 2019 15:04:01 -0700 Subject: Direct bridge to be setup The multinode jobs are failing because the br-infra bridge is not being setup. It is not being setup because somewhere in the infra, the multi-node-bridge role is never established as a requirement. Realistically, only ironic does this, but we need to ensure it is present. Change-Id: Ia1dcc68d7e75a931e01829ce23da36c978a70765 --- playbooks/ci-workarounds/pre.yaml | 15 +++++++++++++++ playbooks/ci-workarounds/set-stack-key.yaml | 13 ------------- 2 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 playbooks/ci-workarounds/pre.yaml delete mode 100644 playbooks/ci-workarounds/set-stack-key.yaml (limited to 'playbooks') diff --git a/playbooks/ci-workarounds/pre.yaml b/playbooks/ci-workarounds/pre.yaml new file mode 100644 index 000000000..27f9cad1f --- /dev/null +++ b/playbooks/ci-workarounds/pre.yaml @@ -0,0 +1,15 @@ +- hosts: all + name: Pre-setup tasks + tasks: + - shell: + cmd: | + set -e + set -x + + sudo mkdir -p ~stack/.ssh + sudo cp ~root/.ssh/id_rsa.pub ~root/.ssh/id_rsa ~stack/.ssh + sudo chmod 700 ~stack/.ssh + sudo chown -R stack ~stack + executable: /bin/bash + roles: + - multi-node-bridge diff --git a/playbooks/ci-workarounds/set-stack-key.yaml b/playbooks/ci-workarounds/set-stack-key.yaml deleted file mode 100644 index d2882a442..000000000 --- a/playbooks/ci-workarounds/set-stack-key.yaml +++ /dev/null @@ -1,13 +0,0 @@ -- hosts: all - name: Copy ssh keys from too ~stack - tasks: - - shell: - cmd: | - set -e - set -x - - sudo mkdir -p ~stack/.ssh - sudo cp ~root/.ssh/id_rsa.pub ~root/.ssh/id_rsa ~stack/.ssh - sudo chmod 700 ~stack/.ssh - sudo chown -R stack ~stack - executable: /bin/bash -- cgit v1.2.1