Bug 1809102 - Enable OVS switch type for nmstate managed hosts
Summary: Enable OVS switch type for nmstate managed hosts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.40.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.4.3
: ---
Assignee: Ales Musil
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks: OpenVswitch_Support 1779727
TreeView+ depends on / blocked
 
Reported: 2020-03-02 12:35 UTC by Dominik Holler
Modified: 2020-11-11 06:39 UTC (History)
4 users (show)

Fixed In Version: ovirt-engine-4.4.3.7, vdsm-4.40.33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-11 06:39:28 UTC
oVirt Team: Network
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1779727 0 low CLOSED Open vSwitch based physical_network does not work 2021-02-22 00:41:40 UTC
oVirt gerrit 109947 0 master MERGED net, nmstate: Introduce basic OvS networking 2020-11-30 13:32:06 UTC
oVirt gerrit 110329 0 master MERGED net, nmstate: Expose OvS through generate_state 2020-11-30 13:32:06 UTC
oVirt gerrit 110330 0 master MERGED net, nmstate, tests: Add unit tests for ovs basic scenarios 2020-11-30 13:32:06 UTC
oVirt gerrit 110725 0 master MERGED net, nmstate: Move important info in preparation for getCaps 2020-11-30 13:32:06 UTC
oVirt gerrit 110929 0 master MERGED net, nmstate: Move translate config to bridge util 2020-11-30 13:32:06 UTC
oVirt gerrit 110930 0 master MERGED net, nmstate: Move SwitchType to bridge_util 2020-11-30 13:32:07 UTC
oVirt gerrit 110931 0 master MERGED net, nmstate: Fix support for vlan with id 0 2020-11-30 13:32:08 UTC
oVirt gerrit 110932 0 master MERGED net, nmstate: Add support for basic OvS get caps 2020-11-30 13:32:08 UTC
oVirt gerrit 110933 0 master MERGED net, nmstate: Use the new OvS netinfo for reports 2020-11-30 13:32:07 UTC
oVirt gerrit 110957 0 master MERGED net, nmstate: Move common functionality for dhcp and autconf check 2020-11-30 13:32:33 UTC
oVirt gerrit 110958 0 master MERGED net, nmstate: Optimize usage of state_show 2020-11-30 13:32:08 UTC
oVirt gerrit 110959 0 master MERGED net, nmstate: Add default route destination class 2020-11-30 13:32:07 UTC
oVirt gerrit 110960 0 master MERGED net, nmstate: Report ip configuration for OvS in capabilities 2020-11-30 13:32:07 UTC
oVirt gerrit 111287 0 master MERGED net, ovs: Fix typo in IP netinfo 2020-11-30 13:32:08 UTC
oVirt gerrit 111288 0 master MERGED net, ovs: Fix faking of bridgeless 2020-11-30 13:32:09 UTC
oVirt gerrit 111289 0 master MERGED net, tests: Add subclass for basic OvS tests 2020-11-30 13:32:08 UTC
oVirt gerrit 111290 0 master MERGED net, ovs: Manage IP stack for OvS networks 2020-11-30 13:32:10 UTC
oVirt gerrit 111292 0 master MERGED net, tests: Enable switch type change tests 2020-11-30 13:32:35 UTC
oVirt gerrit 111293 0 master MERGED net, nmstate: Add support for OvS to route module 2020-11-30 13:32:08 UTC
oVirt gerrit 111294 0 master MERGED net, ovs: Manage routes for OvS networks 2020-11-30 13:32:09 UTC
oVirt gerrit 111295 0 master MERGED net, nmstate: Move DNS config to its own module 2020-11-30 13:32:09 UTC
oVirt gerrit 111296 0 master MERGED net, ovs: Manage DNS for OvS networks 2020-11-30 13:32:09 UTC
oVirt gerrit 111551 0 master MERGED net, ovs: Enforce MAC of base interface 2020-11-30 13:32:36 UTC
oVirt gerrit 111636 0 master MERGED Revert "engine: Fail RHEL8 host deploy installation if bridge type is OVS" 2020-11-30 13:32:10 UTC
oVirt gerrit 111637 0 master MERGED net, service: Update vdsm-network service unit 2020-11-30 13:32:10 UTC
oVirt gerrit 111638 0 master MERGED net, service: Remove vdsm-network-init service 2020-11-30 13:32:10 UTC

Description Dominik Holler 2020-03-02 12:35:27 UTC
Description of problem:
Currently the OVS switch type does not work on nmstate managed hosts.

Version-Release number of selected component (if applicable):
ovirt-4.4

How reproducible:


Steps to Reproduce:
1. 
2. 
3.

Actual results:


Expected results:


Additional info:

Comment 1 Sandro Bonazzola 2020-06-01 09:52:02 UTC
Raising severity to high. This is causing troubles in OCP on oVirt CI environment when running on oVirt 4.4.
If this is not going to be fixed quickly we'll need to find an alternative or we won't be able to support OCP on oVirt 4.4.

Comment 2 Evgeny Slutsky 2020-06-01 11:59:44 UTC
from my tests it is possible to use OVS on 4.4 hosts, although it's blocked by the engine UI, it's possible to migrate the host from linuxbridge to OVStype cluster.
can we support such scenarios?

Comment 3 Dominik Holler 2020-06-02 09:07:28 UTC
(In reply to Evgeny Slutsky from comment #2)
> from my tests it is possible to use OVS on 4.4 hosts, although it's blocked
> by the engine UI, it's possible to migrate the host from linuxbridge to
> OVStype cluster.

The host might be in a bad state after migration.

> can we support such scenarios?

We plan to address OVS cluster type, but not in the next three weeks.

Comment 4 Sandro Bonazzola 2020-10-07 11:33:09 UTC
All patches seems to be already merged, anything else before moving to MODIFIED?

Comment 5 Ales Musil 2020-10-07 12:23:28 UTC
(In reply to Sandro Bonazzola from comment #4)
> All patches seems to be already merged, anything else before moving to
> MODIFIED?

We still need an ack on engine bug then it can be moved.

Comment 6 Michael Burman 2020-10-25 14:06:47 UTC
Verified on - rhvm-4.4.3.8-0.1.el8ev.noarch with 
vdsm-4.40.35-1.el8ev.x86_64
nmstate-0.3.4-13.el8_3.noarch
NetworkManager-1.26.0-9.el8_3.x86_64

Tested:

1. Add fresh host to OVS switch type cluster
2. Move host from legacy switch type cluster to OVS switch type cluster and vise versa (manual sync required)
3. Create bond
4. Attach networks to NIC/BOND, including vlan network
5. Set static IPv4/6 addresses
6. Start VM with physnet external network(Vms got IPv4 from OVN dhcp and can ping each other)

Comment 7 Sandro Bonazzola 2020-11-11 06:39:28 UTC
This bugzilla is included in oVirt 4.4.3 release, published on November 10th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.3 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.