Browse Source

Enable nested virtualization by default

* Add configure kernel parameter `kvm-intel nested=y`
* Configure nova to use kvm host-passthrough libvirt driver.

Change-Id: I8e3b6c6adedb4db481981e2ce4f4721b9f30f511
changes/39/652139/6
Evgeny L 1 year ago
committed by Kaspars Skels
parent
commit
160c04ebb3
2 changed files with 27 additions and 0 deletions
  1. +23
    -0
      global/baremetal/bootactions/nested-virt.yaml
  2. +4
    -0
      global/software/charts/osh/openstack-compute-kit/nova.yaml

+ 23
- 0
global/baremetal/bootactions/nested-virt.yaml View File

@ -0,0 +1,23 @@
---
schema: 'drydock/BootAction/v1'
metadata:
schema: 'metadata/Document/v1'
name: nested-virt
labels:
name: nested-virt-global
application: 'drydock'
layeringDefinition:
abstract: false
layer: global
storagePolicy: 'cleartext'
data:
signaling: false
assets:
- path: /etc/modprobe.d/nested-virt.conf
type: file
permissions: '644'
data_pipeline:
- utf8_decode
data: |
options kvm-intel nested=y
...

+ 4
- 0
global/software/charts/osh/openstack-compute-kit/nova.yaml View File

@ -337,6 +337,10 @@ data:
configmap: tenant-ceph-etc
user_secret_name: pvc-tceph-client-key
conf:
nova:
libvirt:
cpu_mode: 'host-passthrough'
virt_type: kvm
logging:
loggers:
keys:


Loading…
Cancel
Save