f618a2c4b8
If using a CentOS 8.2 bifrost_deploy image on a CentOS 8.1 seed host, we may see an error such as the following: TASK [Ensure the overcloud host image has bogus name server entries removed] fatal: [seed]: FAILED! Running virt-customize with more debug in the Bifrost container, we see this output: qemu-kvm: error: failed to set MSR 0x48e to 0xfff9fffe04006172 qemu-kvm: /builddir/build/BUILD/qemu-4.2.0/target/i386/kvm.c:2695: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed. This appears to be an incompatibility between qemu/libvirt in CentOS 8.1 and 8.2. This change fixes the issue for new deployments by updating the seed VM image to CentOS 8.2. Existing deployments will need to update packages on the seed host to match the bifrost_deploy container. Change-Id: Icf64b15e58c84f31a11cdefcdb79558b58737da1 Story: 2007942 Task: 40407
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
---
|
|
###############################################################################
|
|
# Seed node VM configuration.
|
|
|
|
# Name of the seed VM.
|
|
seed_vm_name: "{{ inventory_hostname }}"
|
|
|
|
# Memory in MB.
|
|
seed_vm_memory_mb: "{{ 16 * 1024 }}"
|
|
|
|
# Number of vCPUs.
|
|
seed_vm_vcpus: 4
|
|
|
|
# List of volumes.
|
|
seed_vm_volumes:
|
|
- "{{ seed_vm_root_volume }}"
|
|
- "{{ seed_vm_data_volume }}"
|
|
|
|
# Root volume.
|
|
seed_vm_root_volume:
|
|
name: "{{ seed_vm_name }}-root"
|
|
pool: "{{ seed_vm_pool }}"
|
|
capacity: "{{ seed_vm_root_capacity }}"
|
|
format: "{{ seed_vm_root_format }}"
|
|
image: "{{ seed_vm_root_image }}"
|
|
|
|
# Data volume.
|
|
seed_vm_data_volume:
|
|
name: "{{ seed_vm_name }}-data"
|
|
pool: "{{ seed_vm_pool }}"
|
|
capacity: "{{ seed_vm_data_capacity }}"
|
|
format: "{{ seed_vm_data_format }}"
|
|
|
|
# Name of the storage pool for the seed VM volumes.
|
|
seed_vm_pool: default
|
|
|
|
# Capacity of the seed VM root volume.
|
|
seed_vm_root_capacity: 50G
|
|
|
|
# Format of the seed VM root volume.
|
|
seed_vm_root_format: qcow2
|
|
|
|
# Base image for the seed VM root volume.
|
|
seed_vm_root_image: "https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-GenericCloud-8.2.2004-20200611.2.x86_64.qcow2"
|
|
|
|
# Capacity of the seed VM data volume.
|
|
seed_vm_data_capacity: 100G
|
|
|
|
# Format of the seed VM data volume.
|
|
seed_vm_data_format: qcow2
|
|
|
|
# List of network interfaces to attach to the seed VM.
|
|
seed_vm_interfaces: "{{ network_interfaces | sort | map('net_libvirt_vm_network') | list }}"
|