7 Commits

Author SHA1 Message Date
Quique Llorente
23c25dc11b Revert "Add support for native TLS encryption on NBD for disk migration"
This reverts commit 0c54e9becb362c24e4e322ab75b885fbb6691e4e.

Change-Id: I8f9ce3310f98dd38f1b6fff1bae507fe2b756620
Closes-Bug: #1797035
2018-10-10 09:21:38 +02:00
Martin Schuppert
0c54e9becb Add support for native TLS encryption on NBD for disk migration
The NBD protocol previously runs in clear text, offering no security
protection for the data transferred, unless it is tunnelled over some
external transport like SSH. Such tunnelling is inefficient and
inconvenient to manage. Support for TLS to the NBD clients & servers
provided by QEMU was added. This adds support to configure ndb related
qemu.conf parameters.

Related-Bug: 1793093

Change-Id: I2c613faf55731af56735f8363b18e6c0e6185d9c
2018-10-04 10:55:49 +02:00
Martin Schuppert
84f90bd1bb Add nova file_backed_memory and memory_backing_dir support for qemu.conf
The libvirt driver now allows utilizing file backed memory for qemu/KVM
virtual machines, via a new configuration attribute
``[libvirt]/file_backed_memory``, defaulting to 0 (disabled).

``[libvirt]/file_backed_memory`` specifies the available capacity in MiB
for file backed memory, at the directory configured for
``memory_backing_dir`` in libvirt's ``qemu.conf``. When enabled, the
libvirt driver will report the configured value for the total memory
capacity of the node, and will report used memory as the sum of all
configured guest memory.

Running Nova with file_backed_memory requires libvirt version 4.0.0 and
qemu version 2.6.0

Related-Bug: 1793687

Change-Id: I0d9eb21fcab01266e501b7fc63c5b2bbb244956a
2018-09-24 12:47:04 +02:00
melissaml
20925e2428 fix typos in documentation
Change-Id: Ia3534bdaf26c58d618b4acd5df1d75322a088170
2018-03-23 08:22:40 +08:00
Oliver Walsh
0bb477d765 Add support for VNC TLS
Adds parameters to configure TLS for the nova novnc-proxy to libvirt/qemu
now the support has landed in nova (bp/websocket-proxy-to-host-security).

Change-Id: I24a9841ba04c95df27599b4d7ac2da8416e751e5
2018-01-30 19:42:35 +00:00
Saravanan KR
87e9b30004 Add group configuration to qemu.conf file
Vhost user sockets are shared between qemu and ovs. Currently,
we are patching ovs service file to make ovs run as qemu user.
In order to avoid it, a new group 'hugetlbfs' has been introduced,
which will be used by ovs and qemu. This patch allows the users
to configure the group setting for qemu.conf file.

Change-Id: I0fa3934b345d51de85fd9d8a5a211b8e1bc50d86
2017-11-30 11:02:34 +05:30
Giulio Fidente
88a7bc8b20 Add nova::compute::libvirt::qemu class to configure limits
This change adds a class meant to configure the max_files and
max_processes limits in libvirt/qemu.conf, it uses augeas and supports
config cleanup.

Change-Id: I5fa423a4b212d14f6e9ff6a270931b569558b54e
2016-12-22 20:23:49 +00:00