Date   

[SO] Debug Runtime.

Prakash
 

Hi Team,

    Beijing i used to edit docker-compose file to add debug port for the MSO pod and done debugging at run-time. But in R3 i see the modules are now separate containers and I’m quite confused with how the same can be done. I enabled the debug port for Api-infra pod but i get connection reset error upon trying to connect through intelliJ. 

In Casablanca how to do run-time debugging?


--
Regards,
Prakas P,
Network and Technology IT,


[SO and SDNC]: DG touchpoint in SO

gopal.sabhadiya@...
 

Hi all,

 

I wanted to know the touchpoint of SD-WAN in SO. I tried finding code in MSO project which calls Directed Graph defined in SDNC but I couldn’t.

My usecase is to call DG from SO defined in SDNC. Payload need to be given in API handler of SO and that payload needs a little modifications in SO and then the payload needs to be sent to DG. I tried reading the documents about SO but couldn’t find anything helpful. Any direction or tutorial link will be much helpful.

 

Thanks and Regards,

Gopal Sabhadiya

+91 8000523940

 


[SO] - TMF-640 Implementation #so

Mayank Gupta
 

Hi,

 

We are doing the analysis for the implementation of TMF-640 (Service Activation and configuration API)  . can you please suggest what MSO API need to be triggered for TMF-640?

 

Thanks,

Mayank Gupta

This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service


TMF-640 Implementation

Mayank Gupta
 

Hi,

 

We are doing the analysis for the implementation of TMF-640 (Service Activation and configuration API)  . can you please suggest what MSO API need to be triggered for TMF-640?

 

Thanks,

Mayank Gupta


#so - TMF-640 Implementation #so

Mayank Gupta
 

Hi,

 

We are doing the analysis for the implementation of TMF-640 (Service Activation and configuration API)  . can you please suggest what MSO API need to be triggered for TMF-640?

 

Thanks,

Mayank Gupta

This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service


[SO and SDNC]: DG touchpoint in SO

Gopal Sabhadiya <gopal.sabhadiya@...>
 

Hi all,

 

I wanted to know the touchpoint of SD-WAN in SO. I tried finding code in MSO project which calls Directed Graph defined in SDNC but I couldn’t.

My usecase is to call DG from SO defined in SDNC. Payload need to be given in API handler of SO and that payload needs a little modifications in SO and then the payload needs to be sent to DG. I tried reading the documents about SO but couldn’t find anything helpful. Any direction or tutorial link will be much helpful.

 

Thanks and Regards,

Gopal Sabhadiya

+91 8000523940

 


Re: casablanca SO pods are crashing (Application exiting with status code 1) #so #casablanca

minsang.yoon@...
 

Hello,

We had the same issue and figured out this is because mariadb is not initialized properly. Mariadb is not installed as secure mode so it denied accessing with the password. The problem is mariadb script access to mysql using password so database could not be initialized properly. 
If you cannot access to mysql with below command and see the same error message, it will be the same issue.
       [root@mariadb]mysql -u root -ppassword
       ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)


Try to run below command and set the password for 'root' user. (Password: 'password')

[root@mariadb] mysql_secure_installation
nter password for user root: 

The existing password for the user account root has expired. Please set a new password.

New password: password

Re-enter new password: password

Estimated strength of the password: 100 
Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : Y
By default, a MySQL installation has an anonymous user,
allowing anyone to log into MySQL without having to have
a user account created for them. This is intended only for
testing, and to make the installation go a bit smoother.
You should remove them before moving into a production
environment.

Remove anonymous users? (Press y|Y for Yes, any other key for No) : Y
Success.


Normally, root should only be allowed to connect from
'localhost'. This ensures that someone cannot guess at
the root password from the network.

Disallow root login remotely? (Press y|Y for Yes, any other key for No) : N
Success.

By default, MySQL comes with a database named 'test' that
anyone can access. This is also intended only for testing,
and should be removed before moving into a production
environment.


Remove test database and access to it? (Press y|Y for Yes, any other key for No) : Y
 - Dropping test database...
Success.

 - Removing privileges on test database...
Success.

Reloading the privilege tables will ensure that all changes
made so far will take effect immediately.

Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Y
Success.

All done! 
If you can login with the password with below command, you can initialize the DB by running the scripts. 

Test mysql secure login setting.
    [root@mariadb] mysql -u root -ppassword

Run Scripts
    [root@mariadb] cd docker-entrypoint-initdb.d
    [root@mariadb:/docker-entrypoint-initdb.d] ./01-create-camundabpmn.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./02-create-requestdb.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./03-create-catalogdb.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./04-create-so-user.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./05-create-so-admin.sh


 


[SO and SDNC]: DG touchpoint in SO

Gopal Sabhadiya <gopal.sabhadiya@...>
 

Hi all,

 

I wanted to know the touchpoint of SD-WAN in SO. I tried finding code in MSO project which calls Directed Graph defined in SDNC but I couldn’t.

My usecase is to call DG from SO defined in SDNC. Payload need to be given in API handler of SO and that payload needs a little modifications in SO and then the payload needs to be sent to DG. I tried reading the documents about SO but couldn’t find anything helpful. Any direction or tutorial link will be much helpful.

 

Thanks and Regards,

Gopal Sabhadiya

+91 8000523940

 


Re: #clamp https SSL Certification Installation in Clamp #clamp

Gopigiri, Sirisha
 

Hi Pierre,

Thank you for the reply!

Yes, this is the same issue that I mentioned in Scale-Out with Marco and Chandra.

I was also unable to login in into clamp with the default 3.0.3 image similar issue while communicating to AAF I guess, so I have edited the application.properties file to enable default login. As discussed in this topic https://lists.onap.org/g/onap-discuss/topic/clamp_not_able_to_login/28781703?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,40,28781703. AAF is working fine with other components.

Clamp is unable to communicate to policy I guess.

Here is the error log:

2019-01-07T13:42:56.569Z|DEBUG|ErrorDescription=This is an Unknown Error. Please check the error message for detail information, InstanceUUID=7e6721d1-78e4-4cbf-91cc-3c7db2601d43, RequestID=8e6ed09e-a0c0-4039-9bcc-f70fda7f64d7, ElapsedTime=0, EndTimestamp=2019-01-07T13:42:56Z, PartnerName=admin, ClientIPAddress=10.42.32.208, ServerFQDN=x.x.x.x, TargetEntity=CLDS, ErrorCategory=ERROR, TargetServiceName=getUserName, EntryTimestamp=2019-01-07T13:42:56.181Z, ClassName=, InvocationID=b5d9c5f9-90e3-4c9a-9c08-5c7b0ee10460, ErrorCode=POLICY-519E, BeginTimestamp=2019-01-07T13:42:56Z||Setting request Accept header to [application/xml, text/xml, application/json, application/*+xml, application/*+json]
2019-01-07T13:42:56.569Z|DEBUG|ErrorDescription=This is an Unknown Error. Please check the error message for detail information, InstanceUUID=7e6721d1-78e4-4cbf-91cc-3c7db2601d43, RequestID=8e6ed09e-a0c0-4039-9bcc-f70fda7f64d7, ElapsedTime=0, EndTimestamp=2019-01-07T13:42:56Z, PartnerName=admin, ClientIPAddress=10.42.32.208, ServerFQDN=x.x.x.x, TargetEntity=CLDS, ErrorCategory=ERROR, TargetServiceName=getUserName, EntryTimestamp=2019-01-07T13:42:56.181Z, ClassName=, InvocationID=b5d9c5f9-90e3-4c9a-9c08-5c7b0ee10460, ErrorCode=POLICY-519E, BeginTimestamp=2019-01-07T13:42:56Z||Writing [{"policyName":"CLAMPvLoadBalancerMS_v1_0_vLoadBalancerMS0.Config_MS_ClosedLoop_f4573337_126c_11e9_9a5f_0211864d13c5_TCA_1d13unw","onapName":null,"configName":null,"configAttributes":null,"requestID":null,"unique":false,"ecompName":null}] as "application/json" using [org.springframework.http.converter.StringHttpMessageConverter@58c3bb0f]
2019-01-07T13:42:56.588Z|WARN|ErrorDescription=This is an Unknown Error. Please check the error message for detail information, InstanceUUID=7e6721d1-78e4-4cbf-91cc-3c7db2601d43, RequestID=8e6ed09e-a0c0-4039-9bcc-f70fda7f64d7, ElapsedTime=0, EndTimestamp=2019-01-07T13:42:56Z, PartnerName=admin, ClientIPAddress=10.42.32.208, ServerFQDN=x.x.x.x, TargetEntity=CLDS, ErrorCategory=ERROR, TargetServiceName=getUserName, EntryTimestamp=2019-01-07T13:42:56.181Z, ClassName=, InvocationID=b5d9c5f9-90e3-4c9a-9c08-5c7b0ee10460, ErrorCode=POLICY-519E, BeginTimestamp=2019-01-07T13:42:56Z|org.springframework.web.client.HttpClientErrorException: 500 I/O error on POST request for "https://pdp.onap:8081/pdp/api/getConfig": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is 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\n\tat org.onap.policy.std.StdPolicyEngine.callNewPDP(StdPolicyEngine.java:727)\n\t... 129 common frames omitted\nWrapped by: org.onap.policy.api.PolicyException: PE500 - Process Flow Issue: :500:\n\tat org.onap.policy.std.StdPolicyEngine.callNewPDP(StdPolicyEngine.java:743)\n\tat org.onap.policy.std.StdPolicyEngine.getConfigImpl(StdPolicyEngine.java:622)\n\t... 128 common frames omitted\nWrapped by: org.onap.policy.api.PolicyConfigException: PE500 - Process Flow Issue: Unable to get valid Response from  PDP(s) [https://pdp.onap:8081/pdp/, https://pdp.onap:8081/pdp/]\n\tat org.onap.policy.std.StdPolicyEngine.getConfigImpl(StdPolicyEngine.java:629)\n\tat org.onap.policy.std.StdPolicyEngine.listConfigImpl(StdPolicyEngine.java:787)\n\tat org.onap.policy.std.StdPolicyEngine.listConfig(StdPolicyEngine.java:245)\n\tat org.onap.policy.api.PolicyEngine.listConfig(PolicyEngine.java:259)\n\tat org.onap.clamp.clds.client.req.policy.PolicyClient.checkPolicyExists(PolicyClient.java:406)\n\tat org.onap.clamp.clds.client.req.policy.PolicyClient.send(PolicyClient.java:264)\n\tat org.onap.clamp.clds.client.req.policy.PolicyClient.sendMicroServiceInOther(PolicyClient.java:237)\n\tat org.onap.clamp.clds.client.TcaPolicyDelegate.execute(TcaPolicyDelegate.java:72)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:481)\n\tat org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:300)\n\tat org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:273)\n\tat org.apache.camel.component.bean.AbstractBeanProcessor.process(AbstractBeanProcessor.java:187)\n\tat org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:53)\n\tat org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:41)\n\tat org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148)\n\tat org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)\n\tat org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)\n\tat org.apache.camel.processor.Pipeline.process(Pipeline.java:138)\n\tat org.apache.camel.processor.Pipeline.process(Pipeline.java:101)\n\tat org.apache.camel.processor.ChoiceProcessor.process(ChoiceProcessor.java:117)\n\tat org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)\n\tat org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)\n\tat org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)\n\tat org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97)\n\tat org.apache.camel.component.direct.DirectBlockingProducer.process(DirectBlockingProducer.java:48)\n\tat org.apache.camel.impl.DeferProducer.process(DeferProducer.java:72)\n\tat org.apache.camel.component.bean.AbstractCamelInvocationHandler$1.call(AbstractCamelInvocationHandler.java:192)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat org.apache.camel.component.bean.AbstractCamelInvocationHandler.doInvoke(AbstractCamelInvocationHandler.java:210)\n\tat org.apache.camel.component.bean.AbstractCamelInvocationHandler.invokeProxy(AbstractCamelInvocationHandler.java:172)\n\tat org.apache.camel.component.bean.CamelInvocationHandler.doInvokeProxy(CamelInvocationHandler.java:51)\n\tat org.apache.camel.component.bean.AbstractCamelInvocationHandler.invoke(AbstractCamelInvocationHandler.java:89)\n\tat com.sun.proxy.$Proxy78.executeAction(Unknown Source)\n\tat org.onap.clamp.clds.service.CldsService.putModelAndProcessAction(CldsService.java:394)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:481)\n\tat org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:300)\n\tat org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:273)\n\tat org.apache.camel.component.bean.AbstractBeanProcessor.process(AbstractBeanProcessor.java:187)\n\tat org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:53)\n\tat org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:41)\n\tat org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148)\n\tat org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)\n\tat org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)\n\tat org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)\n\tat org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97)\n\tat org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:208)\n\tat org.onap.clamp.clds.ClampServlet.doService(ClampServlet.java:117)\n\tat org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:78)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:742)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:155)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)\n\tat org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)\n\tat org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)\n\tat org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)\n\tat org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.lang.Thread.run(Thread.java:748)\n|Policy not found...policy name - CLAMPvLoadBalancerMS_v1_0_vLoadBalancerMS0.Config_MS_ClosedLoop_f4573337_126c_11e9_9a5f_0211864d13c5_TCA_1d13unw
2019-01-07T13:42:56.591Z|INFO|ErrorDescription=This is an Unknown Error. Please check the error message for detail information, InstanceUUID=7e6721d1-78e4-4cbf-91cc-3c7db2601d43, RequestID=8e6ed09e-a0c0-4039-9bcc-f70fda7f64d7, ElapsedTime=0, EndTimestamp=2019-01-07T13:42:56Z, PartnerName=admin, ClientIPAddress=10.42.32.208, ServerFQDN=132.197.247.109, TargetEntity=Policy, ErrorCategory=ERROR, TargetServiceName=createPolicy, EntryTimestamp=2019-01-07T13:42:56.181Z, ClassName=, InvocationID=b5d9c5f9-90e3-4c9a-9c08-5c7b0ee10460, ErrorCode=POLICY-519E, BeginTimestamp=2019-01-07T13:42:56Z||Attempting to create policy for action=SUBMIT

Best Regards
Sirisha


Re: [Onap-arc] Orchestration scenario : Inter-service parameters - Simplification question & seeking suggestions

Jonathan Gathman <jonathan.gathman@...>
 

All,

  Srini identified that VNFs might require a Real-time Service Registration for VNFs.

 

  I wanted to let you know that AAF already has a real time Service Locator, that includes the following information:

  

   Name:  Hierarchical name of service – (i.e. org.onap.aai)

   hostname: FQDN

   port: (obvious)

   latitude: When more than one instance exists, use with longitude to determine closest service via Great Circle

   longitude:  When more than one instance exists, use with latitude to determine closest service via Great Circle

   version: (major, minor patch, pkg) to support increasing Versions realtime and pick best version of Service (i.e. A client that only knows about version 1.0, will get a service with supports that Interface Version)

   protocol: ex: https

   subprotocol: extra info, example: “'TLSv1.1', 'TLSv1.2'”, indicating that client needs at least TLS 1.1 to talk to this service.

 

  How it might help you:

  1. Current AAF version relies on Public FQDN, which, given K8s, would correlate to multiple K8s Service Implementations
  2. Resilient and Global in scope (Lat/Long allows talking to remote service that is closest, when possible, but also allows contacting any service, if closer ones are not available)

 

  What is already happening in Dublin:

  1. I am already designing/half implemented how to handle “K8S Internal names” (i.e. K8s <ns>.<service> i.e. onap.aaf_service) versus standard Public Names (FQNS known by DNS)

 

Please let me know if you interested in hearing about this existing element, what may work for you today, etc.

 

 

-- 

Jonathan Gathman

Principled-System Architect

ATO Tech Dev/SEAT/Platform Architecture and Technology Management

 

AT&T Services, Inc.

2349 Oaker, Arnold, MO 63010

m  314-550-3312  |  jonathan.gathman@...

 

 

From: <onap-arc@...> on behalf of Srini <srinivasa.r.addepalli@...>
Date: Sunday, January 6, 2019 at 10:08 AM
To: "onap-discuss@..." <onap-discuss@...>, "onap-arc@..." <onap-arc@...>
Cc: "'de Talhouet, Alexis'" <alexis.de_talhouet@...>, "MALAKOV, YURIY" <ym9479@...>, "Ranganathan, Dileep" <dileep.ranganathan@...>, "Raj, Rajamohan" <rajamohan.raj@...>, "Chivukula, Srivahni" <srivahni.chivukula@...>
Subject: [Onap-arc] Orchestration scenario : Inter-service parameters - Simplification question & seeking suggestions

 

Hi,

 

We have a requirement in one of the use cases we are working on.  I think that this scenario is generic and hence asking for community feedback.

 

Trying to understand whether this scenario can be realized with existing capabilities (such as CDS) or require some additional enhancements.

 

Scenario:

  • An infrastructure network-service  (Infra) consisting of various VNFs and workloads in those VNFs.
  • An app network-service (App) consisting of various VNFs and workloads in those VNFs.
  • App is dependent on functionality offered by infra.
  • Infra can be brought up in multiple cloud-regions.
  • When App is brought up on a selected cloud-region, it is expected to use that cloud-region’s infra  workload functions via its API.
  • For this discussion, let us assume infra and app network-services have only one VNF.

 

Challenge:

  • When  user is instantiating App network-service, he/she needs to ensure that App VNF workloads are configured with right infra workload API endpoints, credentials and the stuff required to talk to infra workload webservices.
  • Say that apps can be brought up on say any of 100 cloud-regions at later time, how does user know infra workload endpoint information for all these instances?

 

One out-of-band solution :

  • User to maintain a document/spreadsheet with all endpoint information for various infra instances.
  • User to refer to this document, while bringing up the app.

 

Problems with above approach:

  • Manual and buggy.
  • On technical front:  In some cases, at the time of app instantiation, user may not know the cloud-region and hence infra VNF instance on which app would be brought up on.  This case happens when dynamic cloud-region selection is taken care by OOF (using various constraints such as distance, cost, latency, HPA, affinity and other rules).

 

One possible solution (require enhancements in ONAP) is to maintain database of run time information of services on per VNF basis and leverage this when new service/VNF (app) is being instantiated). Something like this:

 

  1. User brings up infra-service.
  2. Since user knows the parameters (e.g API endpoints) this service exposes, let the user create the DB document with key as service+VNF+instance and document as set of parameters and values (via some GUI/CLI). Instance can be represented as “Cloud-region-id or customer id or combination of both”
  3. User bring up app-service
  4. For each VNF, ONAP will figure out the dependent service+VNF parameters (based on cloud-region selected by OOF) and use them to override values of app-service VNF parameters.

 

Even here, there are user actions that can lead to mistakes.  Automation of DB document creation is needed. For that, ONAP system need to know the parameters to put in. It means that we need to have some definition of parameters that are useful for other services that run on top of it.  Also, there should be some discipline on using consistent parameter names among VNFs of dependent services and let us assume that this discipline is assumed.

 

Does CDS help?

 

Or is this scenario be realized only after implementing nested services?

 

Thoughts and suggestions?

 

Thanks

Srini

 

 

 

 

 

 


--
"Instrumental"
PTL, AAF - ONAP
Jonathan Gathman
jonathan.gathman@...


SDC weeklies are cancelled this week

Ofir Sonsino <ofir.sonsino@...>
 

Due to ODF event in Paris.

Looking forward to meet there those of you who will attend!

Thanks,
Ofir


Sent from my Samsung Galaxy smartphone.


Re: TMF-640 Implementation

seshu kumar m
 

Hi Myank

 

You can find the SO supported APIs in here.

https://onap.readthedocs.io/en/latest/submodules/so.git/docs/api/offered_consumed_apis.html

 

swagger%20(1).html#api-OnapsoinfraserviceInstantiation-activateServiceInstance

 

 

Further reading could be found here.

https://onap.readthedocs.io/en/beijing/submodules/so.git/docs/SO_R1_Interface.html

 

 

Thanks and Regards,

M Seshu Kumar

Senior System Architect

Single OSS India Branch Department. S/W BU.

Huawei Technologies India Pvt. Ltd.

Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield

Bengaluru-560066, Karnataka.

Tel: + 91-80-49160700 , Mob: 9845355488

Company_logo

___________________________________________________________________________________________________

This e-mail and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

From: Mayank Gupta (146241) [mailto:Mayank.Gupta@...]
Sent: Monday, January 07, 2019 4:06 PM
To: onap-discuss@...; Seshu m; rd472p@...
Subject: TMF-640 Implementation

 

Hi,

 

We are doing the analysis for the implementation of TMF-640 (Service Activation and configuration API)  . can you please suggest what MSO API need to be triggered for TMF-640?

 

Thanks,

Mayank Gupta

This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service


[ONAP] [Orange Openlab] [Casablanca] Openlab access available

Morgan Richomme
 

Hi,

first of all Happy new year!
We wish you all the best for you and your family and a lots of success on you VNF onboardings and instantations, closed loop designs or 5G trials.
“To accomplish great things, we must not only act, but also dream; not only plan, but also believe.” – Anatole France

The Orange Openlab is now fully reinstalled in Casablanca version.
It has been installed on top of Kubernetes 1.8.10 on OpenStack Rocky.

The healthchecks are not 100% OK
43 passed / 8 failed:
- Basic Pomba SDC-context-builder Health Check
- Basic VFC emsdriver API Health Check
- Basic VFC gvnfmdriver API Health Check
- Basic VFC nslcm API Health Check
- Basic VFC vnflcm API Health Check
- Basic VFC workflow API Health Check
- Basic VFC ztevnfmdriver API Health Check 
- Basic Holmes Rule Management API Health Check

The errors deal with Pomba SDC, Holmes rule management API and VFC drivers.
All the critical components are OK, it was possible to automatically perform VNF onboarding and instantiation.

We are looking forward to see you in Paris if you join ONAP DDF.

Best Regards

Morgan

NB: the scripts automatically pushed about 90 of the 130 created accounts, it means that some of the accounts expired end of 2018, if you need an access in 2019, do not hesitate to contact us.
_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.


[onap]Clamp health check difference in the Consul and robot script.

Raju
 

Hi,

In Consul UI, Clamp Health check is critical (as shown in below), as it is trying to do the GET operation, but it is failing.


image.png


But when i am doing the Health check through oom/kubernetes/robot/ete-k8s.sh, it is giving pass(200 success). Because the host name is wrong in the consul UI (as highlighted in the fig).


image.png


1. Will this make any changes/reflection in the DCAE Environment (or) this change is ignorable?
2. How consul is mapped to the host name?


Thanks & Regards,
Thamlur Raju.


Re: [E] [onap-discuss] [policy] Sample CSAR to test policy-distribution

Gopigiri, Sirisha
 

Hi Ram,

Thank you for the reply!

Can you please let me know the steps to upload policy file from SDC. Could you please share the link if you have any?

I am trying to test any policy through policy-distribution not particular to HPA Policy.

Best Regards
Sirisha


Re: Want to try HPA based VNF placement.

Ying, Ruoyu
 

Hi Prateek,

 

You can first try with the doc here https://onap.readthedocs.io/en/casablanca/submodules/integration.git/docs/docs_vfwHPA.html#docs-vfw-hpa

It provides detailed steps for the flow.

Thanks.

 

Best Regards,

Ruoyu

 

From: onap-discuss@... [mailto:onap-discuss@...] On Behalf Of Prateek Gupta
Sent: Monday, January 7, 2019 3:15 PM
To: onap-discuss@...
Subject: [onap-discuss] Want to try HPA based VNF placement.

 

Hi,

 

I have ONAP R3 setup, I want to try the HPA based VNF placement.

Has anyone tried that? Can you please provide the appropriate link of documentation along with the Heat Templates.

 

Thanks,

Prateek Gupta


Re: Want to try HPA based VNF placement.

Shankar Narayanan
 

Hi Prateek, 

We have indeed tried HPA based VNF placement for the vCPE use case in both Beijing and Casablanca releases of ONAP. 

Dileep, Marcus,

Can you please help Prateek with pointers to the documentation for testing the HPA based orchestration and placement. 

Thanks,
Shankar.
--------------------------------------------------------------
Shankaranarayanan Puzhavakath Narayanan
Senior Inventive Scientist
Network and Cloud Systems Research
AT&T Labs Research


On Mon, Jan 7, 2019 at 12:44 PM Prateek Gupta <prateekg099@...> wrote:
Hi,

I have ONAP R3 setup, I want to try the HPA based VNF placement.
Has anyone tried that? Can you please provide the appropriate link of documentation along with the Heat Templates.

Thanks,
Prateek Gupta


Want to try HPA based VNF placement.

Prateek Gupta
 

Hi,

I have ONAP R3 setup, I want to try the HPA based VNF placement.
Has anyone tried that? Can you please provide the appropriate link of documentation along with the Heat Templates.

Thanks,
Prateek Gupta


Re: casablanca SO pods are crashing (Application exiting with status code 1) #so #casablanca

gulsum atici <gulsumatici@...>
 

Dear  Minsang,

You are  right, I have  the same  error, mariadb has  no password  to  connect.
Thanks  for  your  help. I have set the password for  root  user of  so-mariadb. I could  connect  successfully  as  seen  in the  below.

root@mariadb:/# mysql -u root -ppassword
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 55985
Server version: 10.1.11-MariaDB-1~jessie-log mariadb.org binary distribution

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

Later  I  tried to execute the  scripts  that  you have  indicated.

In the first script  01-create-camundabpmn.sh,  it  return an  error  for the  command  "CREATE USER failed for 'camundauser'".

root@mariadb:/docker-entrypoint-initdb.d# cat 01-create-camundabpmn.sh

root@mariadb:/# cd docker-entrypoint-initdb.d

root@mariadb:/docker-entrypoint-initdb.d# mysql -uroot -p$MYSQL_ROOT_PASSWORD << 'EOF' || exit 1
> DROP DATABASE IF EXISTS `camundabpmn`;
> CREATE DATABASE `camundabpmn`;
> DELETE FROM mysql.user WHERE User='camundauser';
> CREATE USER 'camundauser';
> GRANT ALL on camundabpmn.* to 'camundauser' identified by 'camunda123' with GRANT OPTION;
> FLUSH PRIVILEGES;
> EOF
ERROR 1396 (HY000) at line 4: Operation CREATE USER failed for 'camundauser'@'%'
exit
command terminated with exit code 1


On Fri, Jan 4, 2019 at 6:55 PM <minsang.yoon@...> wrote:
Hello,

We had the same issue and figured out this is because mariadb is not initialized properly. Mariadb is not installed as secure mode so it denied accessing with the password. The problem is mariadb script access to mysql using password so database could not be initialized properly. 
If you cannot access to mysql with below command and see the same error message, it will be the same issue.
       [root@mariadb]mysql -u root -ppassword
       ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)


Try to run below command and set the password for 'root' user. (Password: 'password')

[root@mariadb] mysql_secure_installation
nter password for user root: 

The existing password for the user account root has expired. Please set a new password.

New password: password

Re-enter new password: password

Estimated strength of the password: 100 
Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : Y
By default, a MySQL installation has an anonymous user,
allowing anyone to log into MySQL without having to have
a user account created for them. This is intended only for
testing, and to make the installation go a bit smoother.
You should remove them before moving into a production
environment.

Remove anonymous users? (Press y|Y for Yes, any other key for No) : Y
Success.


Normally, root should only be allowed to connect from
'localhost'. This ensures that someone cannot guess at
the root password from the network.

Disallow root login remotely? (Press y|Y for Yes, any other key for No) : N
Success.

By default, MySQL comes with a database named 'test' that
anyone can access. This is also intended only for testing,
and should be removed before moving into a production
environment.


Remove test database and access to it? (Press y|Y for Yes, any other key for No) : Y
 - Dropping test database...
Success.

 - Removing privileges on test database...
Success.

Reloading the privilege tables will ensure that all changes
made so far will take effect immediately.

Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Y
Success.

All done! 
If you can login with the password with below command, you can initialize the DB by running the scripts. 

Test mysql secure login setting.
    [root@mariadb] mysql -u root -ppassword

Run Scripts
    [root@mariadb] cd docker-entrypoint-initdb.d
    [root@mariadb:/docker-entrypoint-initdb.d] ./01-create-camundabpmn.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./02-create-requestdb.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./03-create-catalogdb.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./04-create-so-user.sh
    [root@mariadb:/docker-entrypoint-initdb.d] ./05-create-so-admin.sh


 


Re: [clamp] [DCAE] ClossedLoop deployment failure

Raju
 

Hi Vijay,

Please find attachment of the blue print,

1. In blueprint tca_k8s is hardcoded?, because if i am using any other name it is giving below error,

image.png

2. The output of plugin and deployment list are given below,

[root@dcaegen2-dcae-bootstrap-77bdfc5cf6-4bjcd /]# cfy plugin list
Listing all plugins...

Plugins:
+----+--------------+-----------------+--------------+--------------------+----------------------+-------------+--------------+-------------+------------+
| id | package_name | package_version | distribution | supported_platform | distribution_release | uploaded_at | availability | tenant_name | created_by |
+----+--------------+-----------------+--------------+--------------------+----------------------+-------------+--------------+-------------+------------+
+----+--------------+-----------------+--------------+--------------------+----------------------+-------------+--------------+-------------+------------+

[root@dcaegen2-dcae-bootstrap-77bdfc5cf6-4bjcd /]#
[root@dcaegen2-dcae-bootstrap-77bdfc5cf6-4bjcd /]# cfy deployment list
Listing all deployments...

Deployments:
+--------------------------------------------------------------+--------------------------------------------------------------+--------------------------+--------------------------+--------------+----------------+------------+
|                              id                              |                         blueprint_id                         |        created_at        |        updated_at        | availability |  tenant_name   | created_by |
+--------------------------------------------------------------+--------------------------------------------------------------+--------------------------+--------------------------+--------------+----------------+------------+
| closedLoop_cbaa5527-2635-4ec3-a8aa-80da27964feb_deploymentId | closedLoop_cbaa5527-2635-4ec3-a8aa-80da27964feb_deploymentId | 2019-01-02 11:32:42.383  | 2019-01-02 11:32:42.383  |    tenant    | default_tenant |   admin    |
| closedLoop_ce0f0e04-ae85-433d-97eb-a5538e5da85a_deploymentId | closedLoop_ce0f0e04-ae85-433d-97eb-a5538e5da85a_deploymentId | 2019-01-02 11:48:55.627  | 2019-01-02 11:48:55.627  |    tenant    | default_tenant |   admin    |
| closedLoop_5056e4e7-9c2c-492f-be25-eb672ed516c3_deploymentId | closedLoop_5056e4e7-9c2c-492f-be25-eb672ed516c3_deploymentId | 2019-01-02 12:03:24.937  | 2019-01-02 12:03:24.937  |    tenant    | default_tenant |   admin    |
| closedLoop_bd333c62-79f2-471a-9394-be9fc13944b1_deploymentId | closedLoop_bd333c62-79f2-471a-9394-be9fc13944b1_deploymentId | 2019-01-02 13:37:00.755  | 2019-01-02 13:37:00.755  |    tenant    | default_tenant |   admin    |
| closedLoop_17b2962e-46ef-41bf-8fe0-06e847224613_deploymentId | closedLoop_17b2962e-46ef-41bf-8fe0-06e847224613_deploymentId | 2019-01-02 13:57:24.070  | 2019-01-02 13:57:24.070  |    tenant    | default_tenant |   admin    |
| closedLoop_8310f2ce-5833-4d0f-82b1-0270a70f4214_deploymentId | closedLoop_8310f2ce-5833-4d0f-82b1-0270a70f4214_deploymentId | 2019-01-04 05:54:44.689  | 2019-01-04 05:54:44.689  |    tenant    | default_tenant |   admin    |
| closedLoop_ee9d78d9-2885-4a82-824e-e4290217ddcb_deploymentId | closedLoop_ee9d78d9-2885-4a82-824e-e4290217ddcb_deploymentId | 2019-01-04 06:39:03.010  | 2019-01-04 06:39:03.010  |    tenant    | default_tenant |   admin    |
+--------------------------------------------------------------+--------------------------------------------------------------+--------------------------+--------------------------+--------------+----------------+------------+


Thanks & Regards,
Thamlur Raju


On Sat, Jan 5, 2019 at 1:05 AM VENKATESH KUMAR, VIJAY <vv770d@...> wrote:

Hi Thamlur,

The error indicates the plugin specified is not loaded into cloudify.

 

Can you run below command from bootstrap container and share the o/p along with the blueprint you are attempting to deploy?

 

cfy plugin list

cfy deployment list

 

Regards,

Vijay

 

From: Thamlur Raju <thamlurraju468@...>
Sent: Friday, January 04, 2019 4:18 AM
To: onap-discuss@...; VENKATESH KUMAR, VIJAY <vv770d@...>
Subject: [onap-discuss] [clamp] [DCAE] ClossedLoop deployment failure

 

Hi DCAE Team,

 

I am not able to deploy the Closed loop Casablanca environment

 

Looks like issue for Deployment Handler to talk with Cloudify  

 

 

error logs from deployment-handler:

 

2019-01-04T06:43:34.953Z|fc4f9f5c-58ee-4de7-9a09-3dd44f41327b||PUT /dcae-deployments/closedLoop_ee9d78d9-2885-4a82-824e-e4290217ddcb_deploymentId|10.42.76.40|cloudify-manager||ERROR|502|Cloudify Manager API error|maximum repetitions reached: 10 Error: maximum repetitions reached: 10,     at exports.createDispatcherError (/opt/app/dh/lib/dispatcher-error.js:42:10),     at normalizeError (/opt/app/dh/lib/deploy.js:90:7),     at /opt/app/dh/lib/deploy.js:162:23,     at process._tickCallback (internal/process/next_tick.js:109:7)

 

 

Please find Attachments for the logs of Clamp and Cloudify.

 

 

[root@dcaegen2-dcae-cloudify-manager-7588dc4898-wlb6t /]# cfy status

Retrieving manager services status... [ip=localhost]

 

Services:

+--------------------------------+---------+

|            service             |  status |

+--------------------------------+---------+

| InfluxDB                       | running |

| Logstash                       | running |

| AMQP InfluxDB                  | running |

| RabbitMQ                       | running |

| Webserver                      | running |

| Management Worker              | running |

| PostgreSQL                     | running |

| Cloudify Console               | running |

| Manager Rest-Service           | running |

| Riemann                        | running |

+--------------------------------+---------+


Please suggest me something on this issue.


Thanks & Regards,
Thamlur Raju.,_._

8421 - 8440 of 23234