Disable postcopy for ovn/ovs-dpdk

postcopy gets enabled per default if the it is not a realtime node [1].
To have postcopy to work ovs needs to be started with --mlockall=no.
As it is not known yet if this might have performance impact, we might
want to set NovaLiveMigrationPermitPostCopy to False in the dpdk
environment files.

Related-Bug: #1939028
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1986567

[1] https://review.opendev.org/q/If8958c414c400026c66187261d8fff439aad6388

Change-Id: I3f6ddbcf1e4a260384ea5ed36a4a2357dc982a23
(cherry picked from commit ddb8acf321)
(cherry picked from commit 7fa4bce348)
(cherry picked from commit 208201fa26)
(cherry picked from commit 251a1d238c)
This commit is contained in:
Martin Schuppert 2021-08-05 16:52:06 +02:00
parent 16537e65a2
commit 9b9a5d4c77
2 changed files with 4 additions and 1 deletions

View File

@ -5,3 +5,5 @@ resource_registry:
parameter_defaults:
NeutronVhostuserSocketDir: /var/lib/vhost_sockets
# Disable postcopy for dpdk for now, further details see https://bugzilla.redhat.com/show_bug.cgi?id=1986567
NovaLiveMigrationPermitPostCopy: False

View File

@ -9,4 +9,5 @@ parameter_defaults:
NovaSchedulerDefaultFilters: "ComputeFilter,AvailabilityZoneFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,NUMATopologyFilter"
OvsDpdkDriverType: "vfio-pci"
NeutronPluginExtensions: "qos,port_security"
# Disable postcopy for dpdk for now, further details see https://bugzilla.redhat.com/show_bug.cgi?id=1986567
NovaLiveMigrationPermitPostCopy: False