Make centos8 job vote again
Giving centos8 tinyipa vote rights again. Fixing up some of the test scripts for CentOS 8. - kvm_stats util has been moved to kernel-tools, the package qemu-kvm-tools doesn't exist anymore - qemu-system-x86 doesn't exist anymore, therefore we run /usr/libexec/qemu-kvm instead of /bin/qemu-system-x86_64 - installing package trousers to add tss user and group needed by libvirt - Stop setting CPU mode - allow libvirt to select. host-model was failing on libvirt 4.5.0 on CentOS 8 due to https://bugzilla.redhat.com/show_bug.cgi?id=1804224 Change-Id: I9488dcb8af70ea06de37ffec94620f8681c21944
This commit is contained in:
parent
c0b3e45658
commit
5f9ba09c5e
@ -5,7 +5,6 @@ test_vm_memory_size: "3072"
|
|||||||
test_vm_num_nodes: 1
|
test_vm_num_nodes: 1
|
||||||
test_vm_domain_type: "qemu"
|
test_vm_domain_type: "qemu"
|
||||||
test_vm_arch: "x86_64"
|
test_vm_arch: "x86_64"
|
||||||
test_vm_cpu: "host-model"
|
|
||||||
test_vm_nic: "e1000"
|
test_vm_nic: "e1000"
|
||||||
test_vm_groups: {}
|
test_vm_groups: {}
|
||||||
test_vm_default_groups: "{{ lookup('env', 'DEFAULT_HOST_GROUPS').split() | default(['baremetal'], true) }}"
|
test_vm_default_groups: "{{ lookup('env', 'DEFAULT_HOST_GROUPS').split() | default(['baremetal'], true) }}"
|
||||||
|
@ -3,10 +3,8 @@ sgabios_dir: /usr/share/sgabios/
|
|||||||
libvirt_service_name: libvirtd
|
libvirt_service_name: libvirtd
|
||||||
required_packages:
|
required_packages:
|
||||||
- qemu-img
|
- qemu-img
|
||||||
- qemu-kvm-tools
|
- kernel-tools
|
||||||
- qemu-kvm
|
- qemu-kvm
|
||||||
- qemu-kvm-common
|
|
||||||
- qemu-system-x86
|
|
||||||
- sgabios
|
- sgabios
|
||||||
- sgabios-bin
|
- sgabios-bin
|
||||||
- libvirt
|
- libvirt
|
||||||
@ -23,4 +21,6 @@ required_packages:
|
|||||||
- libvirt-daemon-kvm
|
- libvirt-daemon-kvm
|
||||||
- pkgconfig
|
- pkgconfig
|
||||||
- libvirt-devel
|
- libvirt-devel
|
||||||
test_vm_emulator: "/bin/qemu-system-x86_64"
|
- trousers
|
||||||
|
test_vm_emulator: "/usr/libexec/qemu-kvm"
|
||||||
|
test_vm_machine: "pc"
|
||||||
|
@ -4,7 +4,7 @@ libvirt_service_name: libvirtd
|
|||||||
required_packages:
|
required_packages:
|
||||||
- gcc-c++
|
- gcc-c++
|
||||||
- qemu-img
|
- qemu-img
|
||||||
- qemu-kvm-tools
|
- kernel-tools
|
||||||
- qemu-kvm
|
- qemu-kvm
|
||||||
- qemu-kvm-common
|
- qemu-kvm-common
|
||||||
- qemu-system-x86
|
- qemu-system-x86
|
||||||
|
@ -13,9 +13,6 @@
|
|||||||
<apic/>
|
<apic/>
|
||||||
<pae/>
|
<pae/>
|
||||||
</features>
|
</features>
|
||||||
<cpu mode='{{ test_vm_cpu }}'>
|
|
||||||
<model fallback='allow'/>
|
|
||||||
</cpu>
|
|
||||||
<clock offset='utc'/>
|
<clock offset='utc'/>
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
<on_reboot>restart</on_reboot>
|
<on_reboot>restart</on_reboot>
|
||||||
@ -28,9 +25,7 @@
|
|||||||
<target dev='vda' bus='virtio'/>
|
<target dev='vda' bus='virtio'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
|
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
|
||||||
</disk>
|
</disk>
|
||||||
<controller type='ide' index='0'>
|
<controller type='sata' index='0'/>
|
||||||
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
|
|
||||||
</controller>
|
|
||||||
<interface type='network'>
|
<interface type='network'>
|
||||||
<source network='{{ test_vm_network }}'/>
|
<source network='{{ test_vm_network }}'/>
|
||||||
<model type='{{ test_vm_nic }}'/>
|
<model type='{{ test_vm_nic }}'/>
|
||||||
|
@ -26,6 +26,7 @@ ZUUL_REF=${ZUUL_REF:-}
|
|||||||
# use cirros.
|
# use cirros.
|
||||||
|
|
||||||
VM_MEMORY_SIZE="3072"
|
VM_MEMORY_SIZE="3072"
|
||||||
|
# NOTE(rpittau) we can't use kvm in CI
|
||||||
VM_DOMAIN_TYPE=qemu
|
VM_DOMAIN_TYPE=qemu
|
||||||
export VM_DISK_CACHE="unsafe"
|
export VM_DISK_CACHE="unsafe"
|
||||||
TEST_VM_NUM_NODES=1
|
TEST_VM_NUM_NODES=1
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- bifrost-integration-tinyipa-ubuntu-bionic
|
- bifrost-integration-tinyipa-ubuntu-bionic
|
||||||
|
- bifrost-integration-tinyipa-centos-8
|
||||||
# - bifrost-integration-tinyipa-opensuse-15
|
# - bifrost-integration-tinyipa-opensuse-15
|
||||||
# Non-voting jobs
|
# Non-voting jobs
|
||||||
- bifrost-integration-tinyipa-keystone-ubuntu-bionic:
|
- bifrost-integration-tinyipa-keystone-ubuntu-bionic:
|
||||||
@ -20,8 +21,6 @@
|
|||||||
voting: false
|
voting: false
|
||||||
- bifrost-integration-dibipa-debian-centos-8:
|
- bifrost-integration-dibipa-debian-centos-8:
|
||||||
voting: false
|
voting: false
|
||||||
- bifrost-integration-tinyipa-centos-8:
|
|
||||||
voting: false
|
|
||||||
# - bifrost-integration-dhcp-opensuse-15:
|
# - bifrost-integration-dhcp-opensuse-15:
|
||||||
# voting: false
|
# voting: false
|
||||||
# - bifrost-integration-dibipa-debian-opensuse-15:
|
# - bifrost-integration-dibipa-debian-opensuse-15:
|
||||||
@ -29,4 +28,5 @@
|
|||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- bifrost-integration-tinyipa-ubuntu-bionic
|
- bifrost-integration-tinyipa-ubuntu-bionic
|
||||||
|
- bifrost-integration-tinyipa-centos-8
|
||||||
# - bifrost-integration-tinyipa-opensuse-15
|
# - bifrost-integration-tinyipa-opensuse-15
|
||||||
|
Loading…
x
Reference in New Issue
Block a user