Add DPKD overrides to Nova chart

For all test jobs we explicitly deploy Nova with virt_type=qemu
to make tests less dependent on the infrastructure hardware.

By default Nova sets virt_type=kvm but in case of using
DPDK feature we'd better explicitly set it so.

Change-Id: I88c8d2f8f1cc9d155486773c7052347e916255d8
This commit is contained in:
Vladimir Kozhukalov 2024-08-22 07:25:33 -05:00
parent b335209154
commit f51624fbf1
4 changed files with 22 additions and 5 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Nova
name: nova
version: 0.3.43
version: 0.3.44
home: https://docs.openstack.org/nova/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
sources:

View File

@ -0,0 +1,7 @@
---
conf:
nova:
libvirt:
virt_type: kvm
cpu_mode: host-model
...

View File

@ -112,4 +112,5 @@ nova:
- 0.3.41 Enable custom annotations for Openstack secrets
- 0.3.42 Update images used by default
- 0.3.43 Use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_focal by default
- 0.3.44 Add DPDK overrides
...

View File

@ -34,13 +34,22 @@ helm upgrade --install placement ${OSH_HELM_REPO}/placement --namespace=openstac
${OSH_EXTRA_HELM_ARGS_PLACEMENT}
#NOTE: Deploy nova
tee /tmp/nova.yaml << EOF
conf:
nova:
libvirt:
virt_type: qemu
cpu_mode: none
ceph:
enabled: ${CEPH_ENABLED}
bootstrap:
wait_for_computes:
enabled: true
EOF
: ${OSH_EXTRA_HELM_ARGS:=""}
helm upgrade --install nova ${OSH_HELM_REPO}/nova \
--namespace=openstack \
--set bootstrap.wait_for_computes.enabled=true \
--set conf.ceph.enabled=${CEPH_ENABLED} \
--set conf.nova.libvirt.virt_type=qemu \
--set conf.nova.libvirt.cpu_mode=none \
--values=/tmp/nova.yaml \
${OSH_EXTRA_HELM_ARGS:=} \
${OSH_EXTRA_HELM_ARGS_NOVA}