Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1478890

Summary: Static ip remain on the bond interface when removing non-vm network from it in case it has another vlan network attached
Product: [oVirt] vdsm Reporter: Michael Burman <mburman>
Component: CoreAssignee: Petr Horáček <phoracek>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: medium Docs Contact:
Priority: low    
Version: 4.19.26CC: bugs, danken
Target Milestone: ovirt-4.2.1Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: upstream 4.2.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 11:47:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.