Bug 1303520 - After restart of the opendaylight service networks list is empty
Summary: After restart of the opendaylight service networks list is empty
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: opendaylight
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Oded Shvartz
QA Contact: Toni Freger
URL:
Whiteboard:
: 1303518 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-01 07:50 UTC by Itzik Brown
Modified: 2018-10-18 08:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
N/A
Last Closed: 2016-08-18 09:11:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Itzik Brown 2016-02-01 07:50:59 UTC
Description of problem:
After restarting opendaylight service and running the following:

curl -H "Content-Type:application/json" -u admin:admin http://127.0.0.1:8080/controller/nb/v2/neutron/networks

The output is:
{
   "networks" : [ ]
}

Even though the networks exist on Neutron.
After creating another network the above command shows all the networks.

Version-Release number of selected component (if applicable):
opendaylight-0.1.1-4.el7ost.noarch
python-networking-odl-1.0.1-1.el7ost.noarch
python-neutron-7.0.0-5.el7ost.noarch
openstack-neutron-7.0.0-5.el7ost.noarch
openstack-neutron-ml2-7.0.0-5.el7ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create a network
2. Verify that you can see the network when querying the ODL controller
   # curl -H "Content-Type:application/json" -u admin:admin http://<ODL controller IP>:8080/controller/nb/v2/neutron/networks
3. Restart the ODL controller
4. Verify output of the command in #2 shows no network 

Actual results:


Expected results:


Additional info:

Comment 2 Nir Yechiel 2016-02-04 13:51:48 UTC
*** Bug 1303518 has been marked as a duplicate of this bug. ***

Comment 3 Itzik Brown 2016-04-05 09:54:46 UTC
Seems to be solved in Beryllium.

Comment 4 Nir Yechiel 2016-08-17 14:11:56 UTC
Itzik,

I think we can close this for now and plan to test it again as part of the new networking-odl plugin with Boron/RHOSP 10. Wdyt?


Thanks,
Nir

Comment 5 Itzik Brown 2016-08-18 09:08:53 UTC
Agree


Note You need to log in before you can comment on or make changes to this bug.