Bug 1993016 - Make network with 0.0.0.0 gateway in sync
Summary: Make network with 0.0.0.0 gateway in sync
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.4.8.3
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: eraviv
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-12 09:36 UTC by Michael Burman
Modified: 2022-04-20 06:33 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.5.0
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-20 06:33:59 UTC
oVirt Team: Network
Embargoed:
mperina: ovirt-4.5+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-engine pull 96 0 None open core: no gateway 0.0.0.0 should be in sync 2022-02-24 07:22:35 UTC
Red Hat Issue Tracker RHV-43010 0 None None None 2021-08-12 09:37:28 UTC

Description Michael Burman 2021-08-12 09:36:37 UTC
Description of problem:
Make network with 0.0.0.0 gateway in sync

With new nmstate nmstate-1.0.2-13.el8_4.noarch and above all networks with gateway that is out side of subnet's range is in sync on engine side, but gateway 0.0.0.0 is reported as out-of-sync.

While in fact change applied on the host with success and pass nmstate verification as expected. 
I would like to check how expensive and risky it will be to fix the 0.0.0.0 gateway as well. 
Here are some examples of how it behaves:

1. network with static IPv4 5.5.5.212, subnet 24, gateway 1.1.1.1 - result: network is in sync, changes applied, expected engine warning about gateway is out of subnet's range.

routes:
  config:
  - destination: 0.0.0.0/0
    metric: 426
    next-hop-address: 1.1.1.1
    next-hop-interface: nettest1

"IPv4 gateway 1.1.1.1 is out of the subnet range defined by the IP address and netmask specified on ens4f1 in host 'hostname' of cluster Cluster1"

2. network with static IPv4 5.5.5.212, subnet 24, gateway 2.2.2.254 - result: network in sync, changes applied on the host, expected engine warning about gateway is out side of subnet's range. 

routes:
  config:
  - destination: 0.0.0.0/0
    metric: 426
    next-hop-address: 2.2.2.254
    next-hop-interface: nettest1

"IPv4 gateway 2.2.2.254 is out of the subnet range defined by the IP address and netmask specified on ens4f1 in host 'hostname' of cluster Cluster1"

3. network with static IPv4 5.5.5.212, subnet 24, gateway 0.0.0.0 - result: network is out-of-sync, changes applied on the host, expected engine warning about gateway is out side of subnet's range.

routes:
  config:
  - destination: 0.0.0.0/0
    metric: 426
    next-hop-address: 0.0.0.0
    next-hop-interface: nettest1

"IPv4 gateway 0.0.0.0 is out of the subnet range defined by the IP address and netmask specified on ens4f1 in host 'hostname' of cluster Cluster1"

"Host <hostname>'s following network(s) are not synchronized with their Logical Network configuration: nettest1.

Version-Release number of selected component (if applicable):
rhvm-4.4.8.3-0.10.el8ev.noarch

How reproducible:
100%

Comment 1 Michael Burman 2022-03-22 11:47:21 UTC
Verified on - rhvm-4.5.0-0.237.el8ev.noarch with vdsm-4.50.0.10-1.el8ev.x86_64

Comment 2 Sandro Bonazzola 2022-04-20 06:33:59 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.0 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.