Bug 1523297

Summary: Engine fails to create OVN subnet
Product: [oVirt] ovirt-engine Reporter: Mor <mkalfon>
Component: BLL.NetworkAssignee: Marcin Mirecki <mmirecki>
Status: CLOSED CURRENTRELEASE QA Contact: Mor <mkalfon>
Severity: high Docs Contact:
Priority: high    
Version: 4.2.0CC: bugs, danken, myakove
Target Milestone: ovirt-4.2.1Keywords: Regression
Target Release: ---Flags: rule-engine: ovirt-4.2+
rule-engine: blocker+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.1 55d2c1e (upstream) Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-12 11:55:20 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:
Bug Depends On:    
Bug Blocks: 988285    
Attachments:
Description Flags
artifacts none

Description Mor 2017-12-07 16:40:20 UTC
Created attachment 1364384 [details]
artifacts

Description of problem:
When creating OVN subnet and network under Networks-->New, engine UI pops error (see screenshot/additional info). 
When adding the subnet using the subnet tab under Networks-->Edit, it works as expected.

Please note that there are no tracelogs in engine/ovirt-provider-ovn logs that could aid in debugging this issue.

Version-Release number of selected component (if applicable):
RHV 4.2.0-0.6.el7

How reproducible:
100%

Steps to Reproduce:
1. Create OVN network with subnet (supply: CIDR, IPv4 and GW).

Actual results:
Error is shown and network is created but without subnet.

Expected results:
No error and network and subnet should be created.

Additional info:

Error message:
--------------
Error while executing action:
* may not be null
* Attribute: networkId

Comment 1 Red Hat Bugzilla Rules Engine 2017-12-11 12:53:46 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Mor 2018-01-07 09:01:09 UTC
Verified on RHV 4.2.1-0.2.el7

Comment 3 Sandro Bonazzola 2018-02-12 11:55:20 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.