~/src/github.com/openstack-k8s-operators/install_yamls/devsetup ~/ci-framework-data/artifacts make bmaas_virtual_bms make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/devsetup' scripts/bmaas/vbm-setup.sh --create + '[' 1000 -eq 0 ']' + which virt-install + /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot virt-install + alias + eval declare -f ++ declare -f +++ dirname scripts/bmaas/vbm-setup.sh ++ cd scripts/bmaas ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/devsetup/scripts/bmaas + NETWORK_NAME=default + NODE_COUNT=1 + NODE_NAME_PREFIX=edpm-compute-baremetal + NODE_NAME_SUFFIX=0 + ACTION= + MEMORY=8192 + VCPUS=6 + DISK_SIZE=40 + OS_VARIANT=centos-stream9 + VIRT_TYPE=kvm + NET_MODEL=virtio + CONSOLE_LOG_DIR=/var/log/bmaas_console_logs + CLEANUP_DELETE_ARCHIVED_LOGS=false + LIBVIRT_HOOKS_PATH=/etc/libvirt/hooks/qemu.d ++ mktemp -d + MY_TMP_DIR=/tmp/tmp.BhhGe5jVRc + trap 'rm -rf -- "$MY_TMP_DIR"' EXIT + [[ 1 -gt 0 ]] + case $1 in + ACTION=CREATE + shift + [[ 0 -gt 0 ]] + '[' -z CREATE ']' + '[' CREATE == CREATE ']' + create_libvirt_logging + sudo mkdir -p /var/log/bmaas_console_logs + sudo chcon -t virt_log_t /var/log/bmaas_console_logs + echo 'This directory contains the serial console log files from the virtual BMaaS bare-metal nodes. The *_console_* log files are the original log files and include ANSI control codes which can make the output difficult to read. The *_no_ansi_* log files have had ANSI control codes removed from the file and are easier to read. On some occasions there won'\''t be a corresponding *_no_ansi_* log file. You may see a log file without a date/time in the file name. In that case you can display the logfile in your console by doing: $ curl URL_TO_LOGFILE This will have your terminal process the ANSI escape codes. Another option, if you have the '\''pv'\'' executable installed, is to simulate a low-speed connection. In this example simulate a 300 Bytes/second connection. $ curl URL_TO_LOGFILE | pv -q -L 300 This can allow you to see some of the content before the screen is cleared by an ANSI escape sequence. ' + sudo tee /var/log/bmaas_console_logs/README This directory contains the serial console log files from the virtual BMaaS bare-metal nodes. The *_console_* log files are the original log files and include ANSI control codes which can make the output difficult to read. The *_no_ansi_* log files have had ANSI control codes removed from the file and are easier to read. On some occasions there won't be a corresponding *_no_ansi_* log file. You may see a log file without a date/time in the file name. In that case you can display the logfile in your console by doing: $ curl URL_TO_LOGFILE This will have your terminal process the ANSI escape codes. Another option, if you have the 'pv' executable installed, is to simulate a low-speed connection. In this example simulate a 300 Bytes/second connection. $ curl URL_TO_LOGFILE | pv -q -L 300 This can allow you to see some of the content before the screen is cleared by an ANSI escape sequence. + sudo mkdir -p /etc/libvirt/hooks/qemu.d + sudo test -f /etc/libvirt/hooks/qemu.d/10-logrotate.py + sudo cp -v /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/devsetup/scripts/bmaas/files/logrotate_hook.py /etc/libvirt/hooks/qemu.d/10-logrotate.py '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/devsetup/scripts/bmaas/files/logrotate_hook.py' -> '/etc/libvirt/hooks/qemu.d/10-logrotate.py' + sudo chmod -v +x /etc/libvirt/hooks/qemu.d/10-logrotate.py mode of '/etc/libvirt/hooks/qemu.d/10-logrotate.py' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) + sudo sed -e 's|%LOG_DIR%|/var/log/bmaas_console_logs|g;' -i /etc/libvirt/hooks/qemu.d/10-logrotate.py + sudo systemctl is-enabled libvirtd.service disabled + sudo systemctl is-enabled virtqemud.service enabled + sudo systemctl restart virtqemud.service + create + virsh --connect=qemu:///system net-info default + (( i=0 )) + (( i edpm-compute-baremetal-00 6d0a1710-9274-40cd-9e7b-c2e074166096 8388608 8388608 6 hvm /usr/libexec/qemu-kvm /dev/urandom + virsh --connect=qemu:///system define /tmp/tmp.BhhGe5jVRc/tmp.0TSejQclcJ Domain 'edpm-compute-baremetal-00' defined from /tmp/tmp.BhhGe5jVRc/tmp.0TSejQclcJ + (( i++ )) + (( i