Bug 1478890 - Static ip remain on the bond interface when removing non-vm network from it in case it has another vlan network attached
Summary: Static ip remain on the bond interface when removing non-vm network from it i...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: vdsm
Classification: oVirt
Component: Core
Version: 4.19.26
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ovirt-4.2.1
: ---
Assignee: Petr Horáček
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-07 12:54 UTC by Michael Burman
Modified: 2018-02-12 11:47 UTC (History)
2 users (show)

Fixed In Version: upstream 4.2.1
Clone Of:
Environment:
Last Closed: 2018-02-12 11:47:10 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 85054 0 master MERGED net: remove ip from a bond when a network was removed 2020-05-13 08:47:17 UTC

Description Michael Burman 2017-08-07 12:54:00 UTC
Description of problem:
Static ip remain on the bond interface when removing non-vm network from it in case it has another vlan network attached.

If attaching to bond interface non-VM network + vlan network and setting a static ip on the non-vm network, the static ip is left on the bond interface, although the non-vm network is detached from the host.
The static ip will be removed from the bond interface only when detaching the vlan network from the interface. 

- If attaching only a non-vm network to the bond interface with static ip and then detaching the network, the static ip is removed from the interface as it should be.

Version-Release number of selected component (if applicable):
4.1.5.1-0.1.el7

How reproducible:
100

Steps to Reproduce:
1. Create bond via setup networks
3. Attach vlan network + non-Vm network to the bond and set static ip on the non-vm network. Approve operation in setup networks dialog 
3. Detach the non-vm network from the bond

Actual results:
The static ip remains on the bond.

Expected results:
Static ip should be removed if the non-VM network is detached from the bond.

Additional info:
See also - BZ 1432386

Comment 1 Petr Horáček 2017-12-06 17:21:33 UTC
Fix is included in master RPMs (vdsm-4.20.9-9.gitf102787.el7.centos.x86_64)

Comment 2 Michael Burman 2018-01-08 06:53:00 UTC
Verified on - vdsm-4.20.11-1.el7ev.x86_64

Comment 3 Sandro Bonazzola 2018-02-12 11:47:10 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

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