Resources for creating ONAP documents
Latest ONAP Documents:
ONAP Documentation Creation:
- http://onap.readthedocs.io/en/latest/guides/onap-developer/how-to-use-docs/index.html
- Readthedocs docs are saved and loaded in rst format.
Pandoc:
- Used to convert Word documents to rst
- https://pandoc.org
Pandoc – Converting Word Docs to rst
Pandoc installation:
Running pandoc: (note: the embedded image will be created under ./media dir)
Running Pandoc
pandoc --extract-media=. -s mydoc.docx -t rst -o mydoc.rst
Testing – Testing rst files using SPHINX
SPHINX (Python Doc Generator)
Sphinx Docs:
Sphinx and rst:
Install Sphinx:
index.rst
- Must be in the docs root directory
Example index.rst:
.. This work is licensed under a Creative Commons Attribution 4.0 International License. APPC Documentation Repository ----------------------------- .. toctree:: :maxdepth: 2 APPC LCM API Guide/APPC LCM API Guide APPC Client Library Guide/APPC Client Library Guide APPC Logging Guide/APPC Logging Guide APPC User Guide/APPC User Guide APPC OAM API Guide/APPC OAM API Guide APPC CDT Guide/APPC CDT Guide
conf.py
- Required to test the rst using Sphinx
- Must be copied into the docs root directory after clo0ning from gerrit
- Must be removed from docs root before submitting changes back to gerrit
- (Won’t necessarily hurt anything but it’s just messy)
Using Sphinx to generate test html
- Once rst updates are made you can generate sample html using sphinx:
sphinx-build -b html /home/myhome/appc/docs /home/myhome/test
Sample output of html generator:
Running Sphinx v1.5.3 /usr/local/lib/python2.7/dist-packages/sphinx/util/requests.py:58: UserWarning: Some links may return broken results due to being unable to check the Server Name Indication (SNI) in the returned SSL cert against the hostname in the url requested. Recommended to install requests-2.4.1+. 'Some links may return broken results due to being unable to ' loading pickled environment... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 1 source files that are out of date updating environment: 0 added, 1 changed, 0 removed reading sources... [100%] APPC CDT Guide/APPC CDT Guide looking for now-outdated files... none found pickling environment... done checking consistency... /home/scottseabolt/appc/docs/release-notes.rst:: WARNING: document isn't included in any toctree done preparing documents... done writing output... [100%] index generating indices... genindex writing additional pages... search copying images... [100%] APPC CDT Guide/media/image34.png copying downloadable files... [100%] APPC CDT Guide/Generic 1802 User Input Spreadsheet v.02.xlsx copying static files... WARNING: html_static_path entry u'/home/scottseabolt/appc/docs/_static' does not exist WARNING: logo file '_static/logo_onap_2017.png' does not exist WARNING: favicon file '_static/favicon.ico' does not exist done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 4 warnings.
1 Comment
Mayank Gupta
Scott Seabolt Randa Maher,
Hi,
I am facing issues in appc and aai communication. i checked in log and found bellow exception in karaf.log.
also, in beijing release, there are multiple configuration problems in aaiclient.properties file.
Which aaiclient do i need to use?
why there are 2 aaiclient.properties files?
where i found appropriate certificate?
Two aai properties file inside container.
root@dev33-appc-0:/# find . -name "aaiclient.properties"
./opt/onap/appc/data/properties/aaiclient.properties
./opt/onap/ccsdk/data/properties/aaiclient.properties
root@dev33-appc-0:/# cat ./opt/onap/appc/data/properties/aaiclient.properties
org.onap.ccsdk.sli.adaptors.aai.ssl.trust=/opt/onap/appc/data/stores/ONAPall.p12 → this certificate not present in location
org.onap.ccsdk.sli.adaptors.aai.ssl.trust.psswd=changeit
org.onap.ccsdk.sli.adaptors.aai.ssl.key=/opt/onap/appc/data/stores/ONAPall.p12
org.onap.ccsdk.sli.adaptors.aai.ssl.key.psswd=changeit
org.onap.ccsdk.sli.adaptors.aai.host.certificate.ignore=true
org.onap.ccsdk.sli.adaptors.aai.client.name=AAI
org.onap.ccsdk.sli.adaptors.aai.client.psswd=AAI
org.onap.ccsdk.sli.adaptors.aai.application=openECOMP
root@dev33-appc-0:/# ls -lrt opt/onap/appc/data/stores/
total 128
-rw-rw-r-- 1 root root 114865 Jul 20 04:58 truststoreONAPall.jks
-rw-rw-r-- 1 root root 3168 Jul 20 04:58 truststore.openecomp.client.jks
-rw-rw-r-- 1 root root 3994 Jul 20 04:58 org.onap.appc.p12
-r-------- 1 root root 2074 Jul 20 04:58 org.onap.appc.keyfile
root@dev33-appc-0:/# cat ./opt/onap/ccsdk/data/properties/aaiclient.properties
org.onap.ccsdk.sli.adaptors.aai.ssl.trust=/opt/openecomp/appc/data/stores/truststore.openecomp.client.jks → no directory found inside opt
org.onap.ccsdk.sli.adaptors.aai.ssl.trust.psswd=adminadmin
org.onap.ccsdk.sli.adaptors.aai.host.certificate.ignore=true
org.onap.ccsdk.sli.adaptors.aai.client.name=AAI
org.onap.ccsdk.sli.adaptors.aai.client.psswd=AAI
org.onap.ccsdk.sli.adaptors.aai.application=openECOMP
#connection.timeout=1000
#read.timeout=2000
#
# Configuration file for A&AI Client
#
org.onap.ccsdk.sli.adaptors.aai.uri=https://aai.onap33:8443
root@dev33-appc-0:/# ls -lrt /opt/
total 8
lrwxrwxrwx 1 root root 14 Jul 20 05:17 appc -> /opt/onap/appc
drwxr-xr-x 8 root root 4096 Jul 25 05:48 opendaylight
drwxrwxr-x 9 root root 4096 Jul 25 05:48 onap
root@dev33-appc-0:/opt/onap/appc/data/stores# ls -lrt
total 128
-rw-rw-r-- 1 root root 114865 Jul 20 04:58 truststoreONAPall.jks
-rw-rw-r-- 1 root root 3168 Jul 20 04:58 truststore.openecomp.client.jks
-rw-rw-r-- 1 root root 3994 Jul 20 04:58 org.onap.appc.p12
-r-------- 1 root root 2074 Jul 20 04:58 org.onap.appc.keyfile
Exception:
2018-07-23 12:02:10,234 | INFO | b]-nio2-thread-3 | ChannelSession | 51 - org.apache.sshd.core - 0.14.0 - - | Executing command: system:start-level
2018-07-23 12:02:15,501 | INFO | tp844833061-4111 | RequestValidatorImpl | 413 - appc-common - 1.4.0.SNAPSHOT - - | AAIService from bundlecontext
2018-07-23 12:02:15,510 | INFO | tp844833061-4111 | AAIService | 348 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.2.3 - - | AAI Deprecation - the format of request key is no longer supported. Please rewrite this key : vnf-id = 'vCPE_Infrastructure_vGMUX_demo_app'
2018-07-23 12:02:15,511 | INFO | tp844833061-4111 | AAIService | 348 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.2.3 - - | Input - vnf-id : vCPE_Infrastructure_vGMUX_demo_app
2018-07-23 12:02:15,511 | INFO | tp844833061-4111 | AAIService | 348 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.2.3 - - | A&AI transaction :
2018-07-23 12:02:15,511 | INFO | tp844833061-4111 | AAIService | 348 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.2.3 - - | Request Time : 2018-07-23T12:02:15.511Z, Method : GET
2018-07-23 12:02:15,512 | INFO | tp844833061-4111 | AAIService | 348 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.2.3 - - | Request URL : https://aai.onap33:8443/aai/v13/network/generic-vnfs/generic-vnf/vCPE_Infrastructure_vGMUX_demo_app
2018-07-23 12:02:15,512 | INFO | tp844833061-4111 | AAIService | 348 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.2.3 - - | Missing requestID. Assigned 77cfe396-081c-41e9-9fee-7a042f236d06
2018-07-23 12:02:15,522 | WARN | tp844833061-4111 | AAIService | 348 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.2.3 - - |
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)[:1.8.0_171]
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1964)[:1.8.0_171]
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328)[:1.8.0_171]
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:322)[:1.8.0_171]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1614)[:1.8.0_171]
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)[:1.8.0_171]
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)[:1.8.0_171]
at sun.security.ssl.Handshaker.process_record(Handshaker.java:987)[:1.8.0_171]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)[:1.8.0_171]
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)[:1.8.0_171]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)[:1.8.0_171]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)[:1.8.0_171]
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)[:1.8.0_171]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)[:1.8.0_171]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564)[:1.8.0_171]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)[:1.8.0_171]
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)[:1.8.0_171]
at java.net.HttpURLConnection.getResponseMessage(HttpURLConnection.java:546)[:1.8.0_171]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseMessage(HttpsURLConnectionImpl.java:391)[:1.8.0_171]
at org.onap.ccsdk.sli.adaptors.aai.AAIClientRESTExecutor.get(AAIClientRESTExecutor.java:252)
at org.onap.ccsdk.sli.adaptors.aai.AAIDeclarations.newModelQuery(AAIDeclarations.java:785)
at org.onap.ccsdk.sli.adaptors.aai.AAIDeclarations.query(AAIDeclarations.java:182)
at org.onap.ccsdk.sli.adaptors.aai.AAIService.query(AAIService.java:1399)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_171]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_171]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_171]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_171]
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)
at org.onap.ccsdk.sli.adaptors.aai.$AAIService429896770.query(Unknown Source)
at org.onap.appc.requesthandler.impl.RequestValidatorImpl.getVnfdata(RequestValidatorImpl.java:419)
at org.onap.appc.requesthandler.impl.RequestValidatorImpl.queryAAI(RequestValidatorImpl.java:402)
at org.onap.appc.requesthandler.impl.RequestValidatorImpl.validateRequest(RequestValidatorImpl.java:186)
at org.onap.appc.requesthandler.impl.AbstractRequestHandlerImpl.handleRequest(AbstractRequestHandlerImpl.java:153)
at Proxya5c212c0_525e_4301_b1e0_742023cecf48.handleRequest(Unknown Source)
at org.onap.appc.provider.lcm.service.RequestExecutor.executeRequest(RequestExecutor.java:84)
at org.onap.appc.provider.AppcProviderLcm.executeRequest(AppcProviderLcm.java:1169)
at org.onap.appc.provider.AppcProviderLcm.configure(AppcProviderLcm.java:584)
at org.opendaylight.yangtools.yang.binding.util.RpcMethodInvokerWithInput.invokeOn(RpcMethodInvokerWithInput.java:31)
at org.opendaylight.yangtools.yang.binding.util.AbstractMappedRpcInvoker.invokeRpc(AbstractMappedRpcInvoker.java:52)
at org.opendaylight.controller.md.sal.binding.impl.BindingDOMRpcImplementationAdapter.invoke(BindingDOMRpcImplementationAdapter.java:83)
at org.opendaylight.controller.md.sal.binding.impl.BindingDOMRpcImplementationAdapter.invokeRpc(BindingDOMRpcImplementationAdapter.java:70)
at org.opendaylight.controller.md.sal.dom.broker.impl.GlobalDOMRpcRoutingTableEntry.invokeRpc(GlobalDOMRpcRoutingTableEntry.java:39)
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRoutingTable.invokeRpc(DOMRpcRoutingTable.java:177)
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter.invokeRpc(DOMRpcRouter.java:102)
at Proxy1cefcefa_2b1f_43cc_81f6_762edd00b4f3.invokeRpc(Unknown Source)
at Proxyf828bd27_8c9d_403d_8b76_076f29d8fb98.invokeRpc(Unknown Source)
at org.opendaylight.netconf.sal.restconf.impl.BrokerFacade.invokeRpc(BrokerFacade.java:526)[279:org.opendaylight.netconf.sal-rest-connector:1.6.1]
at org.opendaylight.netconf.sal.restconf.impl.RestconfImpl.invokeRpc(RestconfImpl.java:469)[279:org.opendaylight.netconf.sal-rest-connector:1.6.1]
at org.opendaylight.netconf.sal.restconf.impl.StatisticsRestconfServiceWrapper.invokeRpc(StatisticsRestconfServiceWrapper.java:83)[279:org.opendaylight.netconf.sal-rest-connector:1.6.1]
at org.opendaylight.netconf.sal.rest.impl.RestconfCompositeWrapper.invokeRpc(RestconfCompositeWrapper.java:64)[279:org.opendaylight.netconf.sal-rest-connector:1.6.1]
at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_171]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_171]
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.uri.rules.ResourceObjectRule.accept(ResourceObjectRule.java:100)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)[78:com.sun.jersey.servlet:1.17.0]
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)[78:com.sun.jersey.servlet:1.17.0]
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)[78:com.sun.jersey.servlet:1.17.0]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[106:javax.servlet-api:3.1.0]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:201)[163:org.eclipse.jetty.websocket.server:9.2.21.v20170120]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:257)[153:org.eclipse.jetty.servlets:9.2.21.v20170120]
at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:220)[153:org.eclipse.jetty.servlets:9.2.21.v20170120]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)[153:org.eclipse.jetty.servlets:9.2.21.v20170120]
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:301)[153:org.eclipse.jetty.servlets:9.2.21.v20170120]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.opendaylight.aaa.filterchain.filters.CustomFilterAdapter.doFilter(CustomFilterAdapter.java:83)[176:org.opendaylight.aaa.filterchain:0.6.1]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[130:org.apache.shiro.core:1.3.2]
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[130:org.apache.shiro.core:1.3.2]
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[130:org.apache.shiro.core:1.3.2]
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[131:org.apache.shiro.web:1.3.2]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:72)[303:org.ops4j.pax.web.pax-web-jetty:4.3.4]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[149:org.eclipse.jetty.security:9.2.21.v20170120]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[303:org.ops4j.pax.web.pax-web-jetty:4.3.4]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[303:org.ops4j.pax.web.pax-web-jetty:4.3.4]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.Server.handle(Server.java:499)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[142:org.eclipse.jetty.io:9.2.21.v20170120]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[155:org.eclipse.jetty.util:9.2.21.v20170120]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[155:org.eclipse.jetty.util:9.2.21.v20170120]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_171]
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:397)[:1.8.0_171]
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:302)[:1.8.0_171]
at sun.security.validator.Validator.validate(Validator.java:260)[:1.8.0_171]
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)[:1.8.0_171]
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)[:1.8.0_171]
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)[:1.8.0_171]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1596)[:1.8.0_171]
... 114 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)[:1.8.0_171]
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)[:1.8.0_171]
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)[:1.8.0_171]
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:392)[:1.8.0_171]
... 120 more
2018-07-23 12:02:15,560 | INFO | tp844833061-4111 | metrics | 413 - appc-common - 1.4.0.SNAPSHOT - - | APPC0128I Operation "DEFAULT" for VNF type "null" from Source "appc" with RequestID "77cfe396-081c-41e9-9fee-7a042f236d06" on "A&AI" with action "query" ended in 50 ms with result "ERROR"
2018-07-23 12:02:15,561 | ERROR | tp844833061-4111 | AbstractRequestHandlerImpl | 413 - appc-common - 1.4.0.SNAPSHOT - - | Exception : Error Querying AAI with vnfID = vCPE_Infrastructure_vGMUX_demo_app
java.lang.RuntimeException: Error Querying AAI with vnfID = vCPE_Infrastructure_vGMUX_demo_app
at org.onap.appc.requesthandler.impl.RequestValidatorImpl.getVnfdata(RequestValidatorImpl.java:430)
at org.onap.appc.requesthandler.impl.RequestValidatorImpl.queryAAI(RequestValidatorImpl.java:402)
at org.onap.appc.requesthandler.impl.RequestValidatorImpl.validateRequest(RequestValidatorImpl.java:186)
at org.onap.appc.requesthandler.impl.AbstractRequestHandlerImpl.handleRequest(AbstractRequestHandlerImpl.java:153)
at Proxya5c212c0_525e_4301_b1e0_742023cecf48.handleRequest(Unknown Source)
at org.onap.appc.provider.lcm.service.RequestExecutor.executeRequest(RequestExecutor.java:84)
at org.onap.appc.provider.AppcProviderLcm.executeRequest(AppcProviderLcm.java:1169)
at org.onap.appc.provider.AppcProviderLcm.configure(AppcProviderLcm.java:584)
at org.opendaylight.yangtools.yang.binding.util.RpcMethodInvokerWithInput.invokeOn(RpcMethodInvokerWithInput.java:31)
at org.opendaylight.yangtools.yang.binding.util.AbstractMappedRpcInvoker.invokeRpc(AbstractMappedRpcInvoker.java:52)
at org.opendaylight.controller.md.sal.binding.impl.BindingDOMRpcImplementationAdapter.invoke(BindingDOMRpcImplementationAdapter.java:83)
at org.opendaylight.controller.md.sal.binding.impl.BindingDOMRpcImplementationAdapter.invokeRpc(BindingDOMRpcImplementationAdapter.java:70)
at org.opendaylight.controller.md.sal.dom.broker.impl.GlobalDOMRpcRoutingTableEntry.invokeRpc(GlobalDOMRpcRoutingTableEntry.java:39)
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRoutingTable.invokeRpc(DOMRpcRoutingTable.java:177)
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter.invokeRpc(DOMRpcRouter.java:102)
at Proxy1cefcefa_2b1f_43cc_81f6_762edd00b4f3.invokeRpc(Unknown Source)
at Proxyf828bd27_8c9d_403d_8b76_076f29d8fb98.invokeRpc(Unknown Source)
at org.opendaylight.netconf.sal.restconf.impl.BrokerFacade.invokeRpc(BrokerFacade.java:526)[279:org.opendaylight.netconf.sal-rest-connector:1.6.1]
at org.opendaylight.netconf.sal.restconf.impl.RestconfImpl.invokeRpc(RestconfImpl.java:469)[279:org.opendaylight.netconf.sal-rest-connector:1.6.1]
at org.opendaylight.netconf.sal.restconf.impl.StatisticsRestconfServiceWrapper.invokeRpc(StatisticsRestconfServiceWrapper.java:83)[279:org.opendaylight.netconf.sal-rest-connector:1.6.1]
at org.opendaylight.netconf.sal.rest.impl.RestconfCompositeWrapper.invokeRpc(RestconfCompositeWrapper.java:64)[279:org.opendaylight.netconf.sal-rest-connector:1.6.1]
at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_171]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_171]
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.uri.rules.ResourceObjectRule.accept(ResourceObjectRule.java:100)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)[77:com.sun.jersey.jersey-server:1.17.0]
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)[78:com.sun.jersey.servlet:1.17.0]
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)[78:com.sun.jersey.servlet:1.17.0]
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)[78:com.sun.jersey.servlet:1.17.0]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[106:javax.servlet-api:3.1.0]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:201)[163:org.eclipse.jetty.websocket.server:9.2.21.v20170120]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:257)[153:org.eclipse.jetty.servlets:9.2.21.v20170120]
at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:220)[153:org.eclipse.jetty.servlets:9.2.21.v20170120]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)[153:org.eclipse.jetty.servlets:9.2.21.v20170120]
at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:301)[153:org.eclipse.jetty.servlets:9.2.21.v20170120]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.opendaylight.aaa.filterchain.filters.CustomFilterAdapter.doFilter(CustomFilterAdapter.java:83)[176:org.opendaylight.aaa.filterchain:0.6.1]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[130:org.apache.shiro.core:1.3.2]
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[130:org.apache.shiro.core:1.3.2]
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[130:org.apache.shiro.core:1.3.2]
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[131:org.apache.shiro.web:1.3.2]
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[131:org.apache.shiro.web:1.3.2]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:72)[303:org.ops4j.pax.web.pax-web-jetty:4.3.4]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[149:org.eclipse.jetty.security:9.2.21.v20170120]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[303:org.ops4j.pax.web.pax-web-jetty:4.3.4]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[151:org.eclipse.jetty.servlet:9.2.21.v20170120]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[303:org.ops4j.pax.web.pax-web-jetty:4.3.4]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.Server.handle(Server.java:499)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)[150:org.eclipse.jetty.server:9.2.21.v20170120]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[142:org.eclipse.jetty.io:9.2.21.v20170120]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[155:org.eclipse.jetty.util:9.2.21.v20170120]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[155:org.eclipse.jetty.util:9.2.21.v20170120]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_171]
2018-07-23 12:02:15,578 | ERROR | tp844833061-4111 | error | 413 - appc-common - 1.4.0.SNAPSHOT - - | Exception = Error Querying AAI with vnfID = vCPE_Infrastructure_vGMUX_demo_app
Thanks,
Mayank Gupta