Hi Chaitanya,





To address the problems you mentioned below, I need more information:






For the "Failed to call the rule verification RESTful API" error, the message 
you provided is too anbiguous. It's better you send the complete error stack or 
go to /var/log/ONAP/holmes/zip of the rule management docker, collect all the 
log files under that and send them back to me.


The rules and alarms are always supposed to be stored in the DB unless an 
explicit command is executed to remove the rule(s) or any abating alarms are 
received from DMaaP. I don't know how to reproduce such kind of errors. Could 
you please give me more details, such as the steps to reproduce them.


In order to generate correlation among alarms, you have to modify the rule or 
the alarms to make them match each other. Further more, you have to ensure that 
the rules are deployed into the Drools engine successfully.


As for other errors you high lighted below, they are false positives. The cause 
of the problems is that DCAE is not deployed. Since you're not using HOLMES as 
a DCAE application, you don't have to care about them. This will be optimized 
in R3.





Best Regards,



Guangrong



















原始邮件



发件人:ChaitanyaReddyPullareddygari <[email protected]>
收件人:付光荣10144542;
抄送人:Anandadas Patki <[email protected]>
日 期 :2018年07月02日 17:49
主 题 :ONAP HOLMES issue




Hello Guangrong,


 


How are you doing? Hope this email finds you well.


 


I am hoping that you could help me resolve an issue I have been facing with 
HOLMES. I have tries both Amsterdam and Beijing versions and I am facing the 
same issue with both. I suspect I may be doing something wrong.


 


I am trying to run HOLMES In stand alone mode following the steps detailed in 
the https://wiki.onap.org/pages/viewpage.action?pageId=16002659 page. I ran 
this with Beijing release of HOLMES in the hope that it would have fixed the 
issue i was facing earlier. But unfortunately  i still face the same issue as 
before. Below is the error i get. 


With Beijing release i am also facing the issue of posting the rule to 
rule-engine. Some times it throws "Failed to call the rule verification RESTful 
API"  error. If i rebuild the dockers then it will work again. 


Also, the rules and alarms seem to disappear from the Postgres DB after a 
while. I am not sure if this is designed this way or if its an error. 


 


Are the rules supposed to be posted to engine-mgmt docker as well? I dont see 
any thing happenning once the alarms are posted to DMaaP. i could see the 
alarms reaching the engine-mgmt  and getting saved to DB from the debug log. 
But no correlation happening after that. 


 


Can you please provide any help? 


 


2018-07-02 08:05:01 179 INFO 
[org.glassfish.jersey.process.internal.ExecutorProviders][pool-3-thread-1] 
invocationID:{InvocationID} - Selected ExecutorServiceProvider implementation  
[org.glassfish.jersey.client.DefaultClientAsyncExecutorProvider] to be used for 
injection of executor qualified by 
[org.glassfish.jersey.client.ClientAsyncExecutor] annotation.
 2018-07-02 08:05:01 180 INFO 
[org.glassfish.jersey.client.internal.HttpUrlConnector][pool-3-thread-1] 
invocationID:{InvocationID} - Restricted headers are not enabled using 
[sun.net.http.allowRestrictedHeaders]  system property (setting only takes 
effect on connections created after the property has been set/changed).
 2018-07-02 08:05:01 181 DEBUG [org.jvnet.hk2.logger][Finalizer] 
invocationID:{InvocationID} - Shutdown ServiceLocator 
ServiceLocatorImpl(__HK2_Generated_130,132,1165322451)
 2018-07-02 08:05:01 181 DEBUG [org.jvnet.hk2.logger][Finalizer] 
invocationID:{InvocationID} - ServiceLocator 
ServiceLocatorImpl(__HK2_Generated_130,132,1165322451) has been shutdown
 2018-07-02 08:05:01 182 DEBUG [org.jvnet.hk2.logger][Finalizer] 
invocationID:{InvocationID} - Shutdown ServiceLocator 
ServiceLocatorImpl(__HK2_Generated_126,128,446674383)
 2018-07-02 08:05:01 183 DEBUG [org.jvnet.hk2.logger][Finalizer] 
invocationID:{InvocationID} - ServiceLocator 
ServiceLocatorImpl(__HK2_Generated_126,128,446674383) has been shutdown
 2018-07-02 08:05:01 190 DEBUG [org.jvnet.hk2.logger][Finalizer] 
invocationID:{InvocationID} - Shutdown ServiceLocator 
ServiceLocatorImpl(__HK2_Generated_127,129,1897294039)
 2018-07-02 08:05:01 190 DEBUG [org.jvnet.hk2.logger][Finalizer] 
invocationID:{InvocationID} - ServiceLocator 
ServiceLocatorImpl(__HK2_Generated_127,129,1897294039) has been shutdown
 2018-07-02 08:05:01 189 WARN 
[org.onap.holmes.common.config.MicroServiceConfig][pool-3-thread-1] 
invocationID:{InvocationID} - URI is not absolute
 javax.ws.rs.ProcessingException: URI is not absolute
 at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:264)
 at 
org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684)
 at 
org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681)
 at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
 at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
 at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
 at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
 at 
org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681)
 at org.glassfish.jersey.client.JerseyInvocation$Builder.method(Jer


 


 


2018-07-02 07:49:01 195 INFO 
[org.onap.holmes.common.config.MicroServiceConfig][pool-3-thread-1] 
invocationID:{InvocationID} - The query url is:  
null/service_component/10.53.172.137:9101. The corresponding configurations are 
null
 2018-07-02 07:49:01 195 ERROR 
[org.onap.holmes.rulemgt.dcae.DcaeConfigurationPolling][pool-3-thread-1] 
invocationID:{InvocationID} - Failed to fetch DCAE configurations. Can not 
resolve configurations from DCAE. The configuration string is empty.
 org.onap.holmes.common.exception.CorrelationException: Can not resolve 
configurations from DCAE. The configuration string is empty.
 at 
org.onap.holmes.common.dcae.utils.DcaeConfigurationParser.parse(DcaeConfigurationParser.java:40)
 at 
org.onap.holmes.common.dcae.DcaeConfigurationQuery.getDcaeConfigurations(DcaeConfigurationQuery.java:28)
 at 
org.onap.holmes.rulemgt.dcae.DcaeConfigurationPolling.run(DcaeConfigurationPolling.java:69)


 


 


 


Regards,


Chaitanya



============================================================================================================================


Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at http://www.techmahindra.com/Disclaimer.html externally 
http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.


============================================================================================================================
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10730): https://lists.onap.org/g/onap-discuss/message/10730
Mute This Topic: https://lists.onap.org/mt/23001370/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to