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
This commit is contained in:
parent
e6da84a094
commit
883027afb0
@ -35,9 +35,3 @@
|
|||||||
cmd: dev/overcloud-test-baremetal.sh &> {{ logs_dir }}/ansible/overcloud-test-baremetal
|
cmd: dev/overcloud-test-baremetal.sh &> {{ logs_dir }}/ansible/overcloud-test-baremetal
|
||||||
chdir: "{{ kayobe_src_dir }}"
|
chdir: "{{ kayobe_src_dir }}"
|
||||||
executable: /bin/bash
|
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'
|
|
||||||
|
@ -39,6 +39,7 @@ copy_logs() {
|
|||||||
if [[ -x "$(command -v journalctl)" ]]; then
|
if [[ -x "$(command -v journalctl)" ]]; then
|
||||||
journalctl --no-pager > ${LOG_DIR}/system_logs/syslog.txt
|
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 docker.service > ${LOG_DIR}/system_logs/docker.log
|
||||||
|
journalctl --no-pager -u vbmcd.service > ${LOG_DIR}/system_logs/vbmcd.log
|
||||||
else
|
else
|
||||||
cp /var/log/upstart/docker.log ${LOG_DIR}/system_logs/docker.log
|
cp /var/log/upstart/docker.log ${LOG_DIR}/system_logs/docker.log
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user