Bug 1252125

Summary: Network labels| Attach operation fail for new network with label
Product: [oVirt] ovirt-engine Reporter: Meni Yakove <myakove>
Component: Frontend.WebAdminAssignee: Marcin Mirecki <mmirecki>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: high Docs Contact:
Priority: high    
Version: ---CC: amureini, bugs, danken, ecohen, gklein, lsurette, mburman, mgoldboi, rbalakri, yeylon, ylavi
Target Milestone: ovirt-3.6.0-rcFlags: rule-engine: ovirt-3.6.0+
ylavi: Triaged+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.0   
Hardware: x86_64   
OS: All   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 11:43:26 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 Meni Yakove 2015-08-10 18:43:52 UTC
Description of problem:
Attach network to NIC fails via label when the NIC have label and we create new network with the same label. (Same error for VLAN/non-VLAN and non-VM network)

2015-08-10 21:33:14,210 WARN  [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand] (org.ovirt.thread.pool-8-thread-10) [1731ea86] CanDoAction of action 'SetupNetworks' failed for user admin@internal. Reasons: VAR__ACTION__SETUP,VAR__TYPE__NETWORKS,NETWORKS_DONT_EXIST_IN_CLUSTER,$NETWORKS_DONT_EXIST_IN_CLUSTER_LIST enp2s0f3
2015-08-10 21:33:14,214 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-8-thread-10) [1731ea86] Correlation ID: 1731ea86, Call Stack: null, Custom Event ID: -1, Message: (1/1): Failed to apply changes for network(s) net1 on host host_mixed_1. (User: admin@internal)

Version-Release number of selected component (if applicable):
ovirt-engine-3.6.0-0.0.master.20150804111407.git122a3a0.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create new label [lb1] on HostNIC via setupnetworks
2. Create new network with label [lb1]


Actual results:
Operation fail

Expected results:
Network is attached to HostNIC

Comment 1 Michael Burman 2015-09-21 06:14:04 UTC
Verified on - 3.6.0-0.16.master.el6

With all networks types.

Comment 2 Sandro Bonazzola 2015-11-04 11:43:26 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.