From 883027afb0656a46369d3f4965a0c65b4a3e8dd8 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 22 Mar 2021 15:10:31 +0000 Subject: [PATCH] CI: Enable bare metal testing for Ubuntu Previously we were seeing issues with ipmitool and virtualbmc on Ubuntu: Error setting Chassis Boot Parameter 5\nError setting Chassis Boot Parameter 0 The dependent change fixes these issues, and this change enables bare metal testing in Ubuntu CI. Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/829006 Change-Id: I96827fc32c1594ca9a0535e259929c49d3f0e704 --- playbooks/kayobe-overcloud-base/run.yml | 6 ------ roles/kayobe-diagnostics/files/get_logs.sh | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/playbooks/kayobe-overcloud-base/run.yml b/playbooks/kayobe-overcloud-base/run.yml index c3127e2e9..cba5d88af 100644 --- a/playbooks/kayobe-overcloud-base/run.yml +++ b/playbooks/kayobe-overcloud-base/run.yml @@ -35,9 +35,3 @@ cmd: dev/overcloud-test-baremetal.sh &> {{ logs_dir }}/ansible/overcloud-test-baremetal chdir: "{{ kayobe_src_dir }}" executable: /bin/bash - # FIXME(mgoddard): Bare metal testing is unreliable on Ubuntu - some jobs - # see IPMI failures such as the following: - # ipmitool chassis bootdev pxe - # Error setting Chassis Boot Parameter 5\nError setting Chassis Boot - # Parameter 0\n - when: ansible_os_family != 'Debian' diff --git a/roles/kayobe-diagnostics/files/get_logs.sh b/roles/kayobe-diagnostics/files/get_logs.sh index 539d41a11..eab1e8aad 100644 --- a/roles/kayobe-diagnostics/files/get_logs.sh +++ b/roles/kayobe-diagnostics/files/get_logs.sh @@ -39,6 +39,7 @@ copy_logs() { if [[ -x "$(command -v journalctl)" ]]; then journalctl --no-pager > ${LOG_DIR}/system_logs/syslog.txt journalctl --no-pager -u docker.service > ${LOG_DIR}/system_logs/docker.log + journalctl --no-pager -u vbmcd.service > ${LOG_DIR}/system_logs/vbmcd.log else cp /var/log/upstart/docker.log ${LOG_DIR}/system_logs/docker.log fi