Bug 1303530

Summary: Start time of opendaylight service is more than a minute
Product: Red Hat OpenStack Reporter: Itzik Brown <itbrown>
Component: opendaylightAssignee: lpeer <lpeer>
Status: CLOSED NOTABUG QA Contact: Toni Freger <tfreger>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: mkolesni, nyechiel
Target Milestone: ---Keywords: ZStream
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-17 14:01:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Itzik Brown 2016-02-01 08:31:33 UTC
Description of problem:
After starting the opendaylight service and running:

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

First I get "connection refused" error
After a while I get:
{"error":"Authentication service unavailable"}
After a minute there is a normal output 

Version-Release number of selected component (if applicable):
opendaylight-0.1.1-4.el7ost.noarch

How reproducible:


Steps to Reproduce:
1. Start the opendaylight service
2. Run the following command:
# curl -H "Content-Type:application/json" -u admin:admin http://127.0.0.1:8081/controller/nb/v2/neutron/networks


Actual results:


Expected results:


Additional info:

Comment 2 Nir Yechiel 2016-08-17 14:01:21 UTC
Closing as not a bug; When ODL starts or restarts all the karaf features need to be loaded one by one and it's going to take some time. I think we should be OK as long as it takes a couple of minutes