Browse Source

Fixes the OvsVhostuserMode heat parameter

The mode was incorrectly defined as configuring the mode for OVS when it
is really configuring the client/server mode for QEMU.  A value of
'client' here will cause OVS to create the  vhostuser socket, and
actually make OVS the server.  This type of port is deprecated so the
default should be 'server' (QEMU creates the port).

Closes-Bug: 1762473

Change-Id: I7cd34b30f54766fe35e4a40a57b278166d0197cb
Signed-off-by: Tim Rozet <trozet@redhat.com>
tags/9.0.0.0b2
Tim Rozet 1 year ago
parent
commit
2ecf3ac88b

+ 6
- 5
puppet/services/opendaylight-ovs.yaml View File

@@ -50,11 +50,12 @@ parameters:
50 50
     tags:
51 51
       - role_specific
52 52
   OvsVhostuserMode:
53
-    description: Specify the mode for OVS with vhostuser port creation.  In
54
-                 client mode, the hypervisor will be responsible for creating
55
-                 vhostuser sockets.  In server mode, OVS will create them.
53
+    description: Specify the mode for QEMU with vhostuser port creation.  In
54
+                 client mode, openvswitch will be responsible for creating
55
+                 vhostuser sockets.  In server mode, the hypervisor will create
56
+                 them.  Note, 'client' mode is deprecated.
56 57
     type: string
57
-    default: "client"
58
+    default: "server"
58 59
     constraints:
59 60
       - allowed_values: [ 'client', 'server' ]
60 61
     tags:
@@ -323,4 +324,4 @@ outputs:
323 324
             - service: ovs
324 325
               network: {get_param: [ServiceNetMap, OpendaylightApiNetwork]}
325 326
               type: node
326
-          - null
327
+          - null

+ 10
- 0
releasenotes/notes/fix-odl-ovs-vhostusermode-7bc2b64fd2676ca2.yaml View File

@@ -0,0 +1,10 @@
1
+---
2
+fixes:
3
+  - |
4
+    Fixes default of vhostuser_mode in ODL-OVS to be server, and clarifies
5
+    the configuration parameter. See
6
+    https://bugs.launchpad.net/tripleo/+bug/1762473
7
+deprecations:
8
+  - |
9
+    Using 'client' for OvsVhostuserMode parameter. See 'vhost-user' section
10
+    at http://docs.openvswitch.org/en/latest/topics/dpdk/vhost-user/

Loading…
Cancel
Save