Bug 1510492 - OVN network status is constantly 'inactive' in CFME network provider UI
Summary: OVN network status is constantly 'inactive' in CFME network provider UI
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-provider-ovn
Classification: oVirt
Component: provider
Version: 1.0.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Marcin Mirecki
QA Contact: Mor
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-07 14:51 UTC by Mor
Modified: 2017-12-20 10:49 UTC (History)
13 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 10:49:52 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
evm log and screenshot (1.40 MB, application/zip)
2017-11-07 14:51 UTC, Mor
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 83843 0 master MERGED Add status to returned networks 2017-11-10 09:58:01 UTC

Description Mor 2017-11-07 14:51:59 UTC
Created attachment 1349000 [details]
evm log and screenshot

Description of problem:
OVN network gets reported as status 'inactive' when its active and being used in by oVirt VM.

Version-Release number of selected component (if applicable):
CFME 5.9.0.5.20171102023815_209f732 

How reproducible:
100%

Steps to Reproduce:
1. Create OVN network on oVirt UI.
2. Attach OVN network to VM vNIC.
3. Run the VM.
2. Sync the changes on the CFME oVirt provider.

Actual results:
Status appear as 'inactive'

Expected results:
Should be 'active'

Additional info:

Comment 2 Alona Kaplan 2017-11-09 13:13:56 UTC
It is an ovirt-provider-ovn bug.
It has to report status.
According to neuron v2 api (https://developer.openstack.org/api-ref/network/v2/index.html) the values are ACTIVE, DOWN, BUILD or ERROR.

Comment 3 Dan Kenigsberg 2017-11-12 14:45:26 UTC
I am not sure the merged solution is nice enough because of

"""
The value is always set to 'ACTIVE' as there is no
corresponding OVN property that could be used to
model it.
"""

I suspected that Neutron's "active" attribute can be merged to weather the port is bound to a host, or whether it has an OpenFlow associated with it. Am I wrong?

Comment 4 Dan Kenigsberg 2017-11-16 10:37:52 UTC
Marcin tells me that OVN networks are immediately active after being defined.

Comment 5 Mor 2017-11-21 12:10:07 UTC
Verified on:

CFME 5.9.0.8.20171109215303_ed87902 
ovirt-provider-ovn ovirt-provider-ovn-1.2-0.20171114103032.git5f4d32a.el7.centos.noarch

Comment 6 Sandro Bonazzola 2017-12-20 10:49:52 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, 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.