Bug 1821309 - Can't change gateway of a static IPv4 address
Summary: Can't change gateway of a static IPv4 address
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.4.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.4.0
: ---
Assignee: Ales Musil
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-06 14:25 UTC by Michael Burman
Modified: 2020-05-20 20:03 UTC (History)
3 users (show)

Fixed In Version: vdsm-4.40.14
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-20 20:03:48 UTC
oVirt Team: Network
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 108336 0 master MERGED net: Fix source route change 2021-02-18 09:00:11 UTC

Description Michael Burman 2020-04-06 14:25:58 UTC
Description of problem:
Can't change default gateway of a static IPv4 address

We have a new rgegression when trying to change network default gateway of a static IPv4 address

Desired state: {'interfaces': [{'name': 'ens4f1', 'state': 'up', 'mtu': 150
0, 'ipv4': {'enabled': False}, 'ipv6': {'enabled': False}}, {'name': 'net_tes1', 'type': 'linux-bridge', 'state': 'up', 'mtu': 1500, 'bridge': {'port': [{'name': 'ens4f1'}
], 'options': {'stp': {'enabled': False}}}, 'ipv4': {'enabled': True, 'address': [{'ip': '5.5.5.5', 'prefix-length': 24}], 'dhcp': False}, 'ipv6': {'enabled': False}}, {'n
ame': 'ovirtmgmt'}], 'routes': {'config': [{'next-hop-address': '5.5.6.254', 'next-hop-interface': 'net_tes1', 'destination': '0.0.0.0/0', 'state': 'absent', 'table-id': 0
}, {'next-hop-address': '5.5.5.254', 'next-hop-interface': 'net_tes1', 'destination': '0.0.0.0/0', 'state': 'absent', 'table-id': 0}]}}

Version-Release number of selected component (if applicable):
rhvm-4.4.0-0.31.master.el8ev.noarch
nmstate-0.2.6-6.el8.noarch
vdsm-4.40.11-1.el8ev.x86_64
NetworkManager-1.22.8-4.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Attach network to host and set static IPv4 address, netmask and gateway
5.5.5.5
24
5.5.5.254
2. Edit the network and change the default gateway to 5.5.6.254 

Actual results:
Network is out-of-sync and the change doesn't apply on the host, it lost in the way. In the desired state we can see that the change is sent, but not applied on the host. 

Expected results:
Should work as expected

Comment 3 Lukas Svaty 2020-04-20 09:15:36 UTC
missed Beta build

Comment 4 Michael Burman 2020-05-12 09:24:14 UTC
Verified on - vdsm-4.40.14-1.el8ev.x86_64 with
rhvm-4.4.0-0.37.master.el8ev.noarch
nmstate-0.2.6-13.el8_2.noarch

Comment 5 Sandro Bonazzola 2020-05-20 20:03:48 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

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