From a9b92e7e07d435b074881a21401126a8657f9dda Mon Sep 17 00:00:00 2001 From: Kayobe Automation Date: Thu, 3 Jun 2021 13:56:36 +0000 Subject: [PATCH 1/3] Work around missing interface breaking config diff ... might be something bad with victoria? --- ansible/roles/config-diff-vars/filter_plugins/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/config-diff-vars/filter_plugins/utils.py b/ansible/roles/config-diff-vars/filter_plugins/utils.py index a6adeb4..444c127 100644 --- a/ansible/roles/config-diff-vars/filter_plugins/utils.py +++ b/ansible/roles/config-diff-vars/filter_plugins/utils.py @@ -44,7 +44,7 @@ def ip_mappings(context, hosts): continue result[host] = [] for network in networks: - interface = net_interface(context, host, network) + interface = net_interface(context, host, network) or ("missinginterface" + network) ip = net_ip(context, host, network) or "dhcp.or.missing" result[host].append({ 'interface': interface, From 856d85344fb9d68410d85abe1173606bc63d7a48 Mon Sep 17 00:00:00 2001 From: John Garbutt Date: Tue, 8 Jun 2021 22:18:40 +0100 Subject: [PATCH 2/3] Hack in tempest plugin --- pipeline/tempest.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline/tempest.sh b/pipeline/tempest.sh index c298b46..1cf3768 100755 --- a/pipeline/tempest.sh +++ b/pipeline/tempest.sh @@ -43,6 +43,8 @@ function main { log_info "Configuring skip list" cp ${KAYOBE_AUTOMATION_TEMPEST_SKIPLIST_FULL_PATH} ~/tempest-skip-list fi + # TODO(johngarbutt) add tempest extensions via config + rally verify add-verifier-ext --source https://github.com/stackhpc/vipu_tempest_plugin.git --id default /usr/bin/rally-verify-wrapper.sh } From afe18301e14e5b69c91bbefc7d8c61e4d2888b11 Mon Sep 17 00:00:00 2001 From: John Garbutt Date: Tue, 8 Jun 2021 22:41:08 +0100 Subject: [PATCH 3/3] List all registered tests --- pipeline/tempest.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pipeline/tempest.sh b/pipeline/tempest.sh index 1cf3768..93cd24c 100755 --- a/pipeline/tempest.sh +++ b/pipeline/tempest.sh @@ -45,6 +45,7 @@ function main { fi # TODO(johngarbutt) add tempest extensions via config rally verify add-verifier-ext --source https://github.com/stackhpc/vipu_tempest_plugin.git --id default + rally verify list-verifier-tests --id default /usr/bin/rally-verify-wrapper.sh }