This error is found in the ovsvapp-agent log:
2019-04-02 16:54:52.761 18743 ERROR networking_vsphere.agent.ovsvapp_agent [-] Unable to set openflow version: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-vsctl: constraint violation: "'OpenFlow10'" is not one of the allowed values (["OpenFlow10", "OpenFlow11", "OpenFlow12", "OpenFlow13", "OpenFlow14", "OpenFlow15", "OpenFlow16"])
: ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: ovs-vsctl: constraint violation: "'OpenFlow10'" is not one of the allowed values (["OpenFlow10", "OpenFlow11", "OpenFlow12", "OpenFlow13", "OpenFlow14", "OpenFlow15", "OpenFlow16"])
2019-04-02 16:54:52.762 18743 DEBUG neutron.agent.linux.utils [-] Running command (rootwrap daemon): ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns=ofport', 'list', 'Interface', 'patch-tun'] execute_rootwrap_daemon /opt/stack/venv/neutron-20190329T074525Z/lib/python2.7/site-packages/neutron/agent/linux/utils.py:103
2019-04-02 16:54:52.777 18743 DEBUG neutron.agent.linux.utils [-] Running command (rootwrap daemon): ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns=ofport', 'l
This is ran in with neutron stable/rocky.
Reviewed: https:/ /review. openstack. org/649415 /git.openstack. org/cgit/ openstack/ networking- vsphere/ commit/ ?id=433bff80d6a 15c1e7f5aba6a7f 00a357ade839ca
Committed: https:/
Submitter: Zuul
Branch: master
commit 433bff80d6a15c1 e7f5aba6a7f00a3 57ade839ca
Author: Stephen Ma <email address hidden>
Date: Tue Apr 2 10:50:21 2019 -0700
Fix the method call error in set_openflow_ version
In set_openflow_ version, the add_protocols call is incorrect.
Currently it is calling the function with only 1 argument
(a list of supported OpenFlow versions). The function
actually expects multiple arguments where each one is a
supported OpenFlow version. See [1].
[1] https:/ /git.openstack. org/cgit/ openstack/ neutron/ tree/neutron/ agent/common/ ovs_lib. py#n258
Closes-bug: #1822861 ed7b059b1176dd6 abf05b994cf
Change-Id: I3188235d46687a