Bug 1290079

Summary: It's impossible to remove label network that is attach to bond without slaves
Product: [oVirt] ovirt-engine Reporter: Ori Ben Sasson <obensass>
Component: BLL.NetworkAssignee: Nobody <nobody>
Status: CLOSED WONTFIX QA Contact: Meni Yakove <myakove>
Severity: low Docs Contact:
Priority: low    
Version: 3.6.1.1CC: bugs, danken, ylavi
Target Milestone: ---Flags: sbonazzo: ovirt-4.3-
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-01 07:53:12 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:
Attachments:
Description Flags
engine log none

Description Ori Ben Sasson 2015-12-09 16:06:32 UTC
Created attachment 1103972 [details]
engine log

Description of problem:
It's impossible to remove label network that is attach to bond without slaves
vdsCaps:
bondings = {'bond0': {'active_slave': '',
                              'addr': '',
                              'cfg': {'BONDING_OPTS': 'mode=4 miimon=100',
                                      'BOOTPROTO': 'none',
                                      'BRIDGE': 'net1',
                                      'DEVICE': 'bond0',
                                      'HOTPLUG': 'no',
                                      'IPV6INIT': 'no',
                                      'MTU': '1500',
                                      'NM_CONTROLLED': 'no',
                                      'ONBOOT': 'yes'},
                              'dhcpv4': False,
                              'dhcpv6': False,
                              'gateway': '',
                              'hwaddr': '5a:49:bc:0e:a4:51',
                              'ipv4addrs': [],
                              'ipv6addrs': ['fe80::bc22:48ff:fe59:d16/64'],
                              'ipv6gateway': '::',
                              'mtu': '1500',
                              'netmask': '',
                              'opts': {'miimon': '100', 'mode': '4'},
                              'slaves': []},

Version-Release number of selected component (if applicable):
rhevm-3.6.1.1-0.1.el6.noarch

How reproducible:
manually 100%

Steps to Reproduce:
1. Create bond with two dummies 
2. Create Network 
3. Attach label to network 
4. Attach label to bond
5. Remove dummy from host
6. Try to remove network

Actual results:
It's impossible to remove network that is attach to bond without slaves

Expected results:
Should be possible to remove network 

Additional info:

Comment 1 Yaniv Lavi 2018-08-01 07:53:12 UTC
Closing old issues, please reopen if still needed.
In any case patches are welcome.