@RUNHOME@ /opt/onap/bin
@JAVA_HOME@ /usr/local/openjdk-11
@JAVA@ /usr/local/openjdk-11/bin/java
@JAVA_OPTS@ -Xms256m -Xmx1g
@class_path@ /opt/onap/bin/../lib/animal-sniffer-annotations-1.18.jar /opt/onap/bin/../lib/annotations-2.0.1.jar /opt/onap/bin/../lib/aopalliance-repackaged-2.6.1.jar /opt/onap/bin/../lib/argparse4j-0.8.1.jar /opt/onap/bin/../lib/caffeine-2.8.4.jar /opt/onap/bin/../lib/checker-qual-3.4.0.jar /opt/onap/bin/../lib/classmate-1.5.1.jar /opt/onap/bin/../lib/commons-codec-1.14.jar /opt/onap/bin/../lib/commons-collections-3.2.2.jar /opt/onap/bin/../lib/commons-lang-2.5.jar /opt/onap/bin/../lib/commons-lang3-3.7.jar /opt/onap/bin/../lib/commons-logging-1.1.1.jar /opt/onap/bin/../lib/commons-text-1.8.jar /opt/onap/bin/../lib/dropwizard-configuration-2.0.10.jar /opt/onap/bin/../lib/dropwizard-core-2.0.10.jar /opt/onap/bin/../lib/dropwizard-db-2.0.10.jar /opt/onap/bin/../lib/dropwizard-jackson-2.0.10.jar /opt/onap/bin/../lib/dropwizard-jdbi-2.0.0-rc9.jar /opt/onap/bin/../lib/dropwizard-jersey-2.0.10.jar /opt/onap/bin/../lib/dropwizard-jetty-2.0.10.jar /opt/onap/bin/../lib/dropwizard-lifecycle-2.0.10.jar /opt/onap/bin/../lib/dropwizard-logging-2.0.10.jar /opt/onap/bin/../lib/dropwizard-metrics-2.0.10.jar /opt/onap/bin/../lib/dropwizard-request-logging-2.0.10.jar /opt/onap/bin/../lib/dropwizard-servlets-2.0.10.jar /opt/onap/bin/../lib/dropwizard-util-2.0.10.jar /opt/onap/bin/../lib/dropwizard-validation-2.0.10.jar /opt/onap/bin/../lib/error_prone_annotations-2.3.2.jar /opt/onap/bin/../lib/ezmorph-1.0.6.jar /opt/onap/bin/../lib/failureaccess-1.0.1.jar /opt/onap/bin/../lib/gson-2.8.9.jar /opt/onap/bin/../lib/guava-28.1-jre.jar /opt/onap/bin/../lib/hibernate-validator-6.1.5.Final.jar /opt/onap/bin/../lib/hk2-api-2.6.1.jar /opt/onap/bin/../lib/hk2-locator-2.6.1.jar /opt/onap/bin/../lib/hk2-utils-2.6.1.jar /opt/onap/bin/../lib/holmes-actions-1.4.2.jar /opt/onap/bin/../lib/holmes-rulemgt-1.3.6-SNAPSHOT.jar /opt/onap/bin/../lib/j2objc-annotations-1.3.jar /opt/onap/bin/../lib/jackson-annotations-2.10.4.jar /opt/onap/bin/../lib/jackson-core-2.10.1.jar /opt/onap/bin/../lib/jackson-databind-2.10.1.jar /opt/onap/bin/../lib/jackson-dataformat-yaml-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-guava-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-jdk8-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-joda-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-jsr310-2.10.4.jar /opt/onap/bin/../lib/jackson-jaxrs-base-2.10.4.jar /opt/onap/bin/../lib/jackson-jaxrs-json-provider-2.10.4.jar /opt/onap/bin/../lib/jackson-module-afterburner-2.10.4.jar /opt/onap/bin/../lib/jackson-module-jaxb-annotations-2.10.4.jar /opt/onap/bin/../lib/jackson-module-parameter-names-2.10.4.jar /opt/onap/bin/../lib/jakarta.activation-1.2.2.jar /opt/onap/bin/../lib/jakarta.activation-api-1.2.2.jar /opt/onap/bin/../lib/jakarta.annotation-api-1.3.5.jar /opt/onap/bin/../lib/jakarta.el-3.0.3.jar /opt/onap/bin/../lib/jakarta.inject-2.6.1.jar /opt/onap/bin/../lib/jakarta.servlet-api-4.0.3.jar /opt/onap/bin/../lib/jakarta.validation-api-2.0.2.jar /opt/onap/bin/../lib/jakarta.ws.rs-api-2.1.6.jar /opt/onap/bin/../lib/jakarta.xml.bind-api-2.3.3.jar /opt/onap/bin/../lib/javassist-3.24.1-GA.jar /opt/onap/bin/../lib/jboss-logging-3.3.2.Final.jar /opt/onap/bin/../lib/jcl-over-slf4j-1.7.30.jar /opt/onap/bin/../lib/jdbi-2.78.jar /opt/onap/bin/../lib/jersey-bean-validation-2.31.jar /opt/onap/bin/../lib/jersey-client-2.31.jar /opt/onap/bin/../lib/jersey-common-2.31.jar /opt/onap/bin/../lib/jersey-container-servlet-2.31.jar /opt/onap/bin/../lib/jersey-container-servlet-core-2.31.jar /opt/onap/bin/../lib/jersey-hk2-2.31.jar /opt/onap/bin/../lib/jersey-media-jaxb-2.31.jar /opt/onap/bin/../lib/jersey-metainf-services-2.31.jar /opt/onap/bin/../lib/jersey-server-2.31.jar /opt/onap/bin/../lib/jetty-continuation-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-http-9.4.24.v20191120.jar /opt/onap/bin/../lib/jetty-io-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-security-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-server-9.4.24.v20191120.jar /opt/onap/bin/../lib/jetty-servlet-9.4.24.v20191120.jar /opt/onap/bin/../lib/jetty-servlets-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-setuid-java-1.0.4.jar /opt/onap/bin/../lib/jetty-util-9.4.29.v20200521.jar /opt/onap/bin/../lib/jna-4.5.1.jar /opt/onap/bin/../lib/jna-platform-4.5.1.jar /opt/onap/bin/../lib/joda-time-2.10.6.jar /opt/onap/bin/../lib/json-lib-2.4-jdk15.jar /opt/onap/bin/../lib/jsr305-3.0.2.jar /opt/onap/bin/../lib/jul-to-slf4j-1.7.30.jar /opt/onap/bin/../lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar /opt/onap/bin/../lib/log4j-over-slf4j-1.7.30.jar /opt/onap/bin/../lib/logback-access-1.2.3.jar /opt/onap/bin/../lib/logback-classic-1.2.3.jar /opt/onap/bin/../lib/logback-core-1.2.3.jar /opt/onap/bin/../lib/logback-throttling-appender-1.1.0.jar /opt/onap/bin/../lib/lombok-1.18.4.jar /opt/onap/bin/../lib/metrics-annotation-4.1.9.jar /opt/onap/bin/../lib/metrics-core-4.1.9.jar /opt/onap/bin/../lib/metrics-healthchecks-4.1.9.jar /opt/onap/bin/../lib/metrics-jdbi-4.1.0.jar /opt/onap/bin/../lib/metrics-jersey2-4.1.9.jar /opt/onap/bin/../lib/metrics-jetty9-4.1.9.jar /opt/onap/bin/../lib/metrics-jmx-4.1.9.jar /opt/onap/bin/../lib/metrics-json-4.1.9.jar /opt/onap/bin/../lib/metrics-jvm-4.1.9.jar /opt/onap/bin/../lib/metrics-logback-4.1.9.jar /opt/onap/bin/../lib/metrics-servlets-4.1.9.jar /opt/onap/bin/../lib/msb-java-sdk-1.2.5.jar /opt/onap/bin/../lib/okhttp-3.12.0.jar /opt/onap/bin/../lib/okio-1.15.0.jar /opt/onap/bin/../lib/org.osgi.core-4.3.1.jar /opt/onap/bin/../lib/org.osgi.enterprise-4.2.0.jar /opt/onap/bin/../lib/osgi-resource-locator-1.0.3.jar /opt/onap/bin/../lib/postgresql-42.2.13.jar /opt/onap/bin/../lib/profiler-1.1.1.jar /opt/onap/bin/../lib/reflections-0.9.9.jar /opt/onap/bin/../lib/retrofit-2.5.0.jar /opt/onap/bin/../lib/slf4j-api-1.7.25.jar /opt/onap/bin/../lib/snakeyaml-1.26.jar /opt/onap/bin/../lib/tomcat-jdbc-9.0.35.jar /opt/onap/bin/../lib/tomcat-juli-9.0.35.jar /opt/onap/bin/../lib/waffle-jna-1.9.1.jar
SERVICE_IP=10.233.68.133
DB_PORT=5432
ENABLE_ENCRYPT=true
KEY_PATH=/opt/app/osaaf/local/org.onap.holmes-rule-mgmt.p12
KEY_PASS=U7BpxTAH8rwclNPDBs428DpT9yV9x8RJFol3Ok6noKuPbo3LeaM32Om36wkfTq8O
Initializing the holmes rule management database...
--
-- Copyright 2017 ZTE Corporation.
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
\c postgres
/******************CREATE NEW DATABASE AND USER***************************/
CREATE DATABASE holmes;
CREATE ROLE holmes with PASSWORD 'JudiTirv3~Kuho' LOGIN;
\encoding UTF8;
/******************DELETE OLD TABLE AND CREATE NEW***************************/
\c holmes;
CREATE TABLE IF NOT EXISTS APLUS_RULE (
RID VARCHAR(30) NOT NULL,
NAME VARCHAR(150) NOT NULL,
CTRLLOOP VARCHAR(150) NOT NULL,
DESCRIPTION VARCHAR(4000) NULL,
ENABLE SMALLINT NOT NULL,
TEMPLATEID BIGINT NOT NULL,
ENGINEID VARCHAR(20) NOT NULL,
ENGINETYPE VARCHAR(20) NOT NULL,
CREATOR VARCHAR(20) NOT NULL,
CREATETIME TIMESTAMP NOT NULL,
UPDATOR VARCHAR(20) NULL,
UPDATETIME TIMESTAMP NULL,
PARAMS VARCHAR(4000) NULL,
CONTENT VARCHAR(20000) NOT NULL,
VENDOR VARCHAR(100) NOT NULL,
ENGINEINSTANCE VARCHAR(100) NOT NULL,
PACKAGE VARCHAR(255) NULL,
PRIMARY KEY (RID),
UNIQUE (NAME)
);
CREATE INDEX IDX_APLUS_RULE_NAME ON APLUS_RULE (NAME);
CREATE INDEX IDX_APLUS_RULE_CTRLLOOP ON APLUS_RULE (CTRLLOOP);
CREATE INDEX IDX_APLUS_RULE_ENABLE ON APLUS_RULE (ENABLE);
CREATE INDEX IDX_APLUS_RULE_TEMPLATEID ON APLUS_RULE (TEMPLATEID);
CREATE INDEX IDX_APLUS_RULE_ENGINEID ON APLUS_RULE (ENGINEID);
CREATE INDEX IDX_APLUS_RULE_ENGINETYPE ON APLUS_RULE (ENGINETYPE);
GRANT ALL PRIVILEGES ON APLUS_RULE TO holmes;
dbname=holmes
user=holmes
password=JudiTirv3~Kuho
port=5432
host=tcp-pgset-primary
You are now connected to database "postgres" as user "holmes".
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:19: ERROR: permission denied to create database
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:21: ERROR: permission denied to create role
You are now connected to database "holmes" as user "holmes".
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
GRANT
rid | name | ctrlloop | description | enable | templateid | engineid | enginetype | creator | createtime | updator | updatetime | params | content | vendor | engineinstance | package
-----+------+----------+-------------+--------+------------+----------+------------+---------+------------+---------+------------+--------+---------+--------+----------------+---------
(0 rows)
sql_result=0
The database is initialized successfully!
nginx started.
WARN [2022-07-16 05:21:15,009] org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle: Registering org.onap.holmes.common.dropwizard.ioc.annotation.PreLoad service is empty
2022-07-16 05:21:16 598 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering jersey handler with root path prefix: /
2022-07-16 05:21:16 600 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering admin handler with root path prefix: /admin
2022-07-16 05:21:16 641 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Configuration class name:org.onap.holmes.rulemgt.RuleAppConfig
2022-07-16 05:21:16 642 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Configuration class name:io.dropwizard.Configuration
2022-07-16 05:21:16 647 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Sub Configuration class name io.dropwizard.db.DataSourceFactory
2022-07-16 05:21:16 648 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard environment, class name : io.dropwizard.setup.Environment
2022-07-16 05:21:16 649 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard objectMapper, class name : com.fasterxml.jackson.databind.ObjectMapper
2022-07-16 05:21:16 651 WARN [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.PreBaseService service is empty
2022-07-16 05:21:16 652 WARN [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.BaseService service is empty
2022-07-16 05:21:16 652 WARN [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.PostBaseService service is empty
2022-07-16 05:21:16 653 WARN [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.PreServiceLoad service is empty
2022-07-16 05:21:16 670 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.CommonUtils
2022-07-16 05:21:16 672 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.Publisher
2022-07-16 05:21:16 674 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-07-16 05:21:16 677 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.RuleAllocator
2022-07-16 05:21:16 682 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.DmaapService
2022-07-16 05:21:16 686 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.Initializer
2022-07-16 05:21:16 688 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-07-16 05:21:16 690 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-07-16 05:21:16 692 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.tools.EngineTools
2022-07-16 05:21:16 693 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-07-16 05:21:16 693 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-07-16 05:21:16 711 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-07-16 05:21:16 724 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-07-16 05:21:16 725 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-07-16 05:21:16 727 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-07-16 05:21:16 729 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.RuleAppConfig
2022-07-16 05:21:16 730 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.MsbRegister
2022-07-16 05:21:16 731 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-07-16 05:21:16 732 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiJsonParserUtil
2022-07-16 05:21:16 733 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-07-16 05:21:16 734 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.SwaggerResource
2022-07-16 05:21:16 735 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.DbDaoUtil
2022-07-16 05:21:16 738 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-07-16 05:21:16 740 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQuery
2022-07-16 05:21:16 741 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQueryMdons
2022-07-16 05:21:16 742 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl
2022-07-16 05:21:16 743 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiResponseUtil
2022-07-16 05:21:16 746 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.HealthCheck
2022-07-16 05:21:16 754 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.CommonUtils
2022-07-16 05:21:16 754 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.Publisher
2022-07-16 05:21:16 754 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-07-16 05:21:16 754 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.RuleAllocator
2022-07-16 05:21:16 755 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.DmaapService
2022-07-16 05:21:16 755 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.Initializer
2022-07-16 05:21:16 755 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-07-16 05:21:16 755 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.tools.EngineTools
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.RuleAppConfig
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.MsbRegister
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-07-16 05:21:16 756 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-07-16 05:21:16 757 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.DbDaoUtil
2022-07-16 05:21:16 757 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-07-16 05:21:16 757 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQuery
2022-07-16 05:21:16 757 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQueryMdons
2022-07-16 05:21:16 757 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl
2022-07-16 05:21:16 757 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiResponseUtil
2022-07-16 05:21:16 757 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-07-16 05:21:16 760 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.CommonUtils
2022-07-16 05:21:16 761 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.CommonUtils,cost time:0
2022-07-16 05:21:16 761 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.Publisher
2022-07-16 05:21:16 913 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.Publisher,cost time:152
2022-07-16 05:21:16 913 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-07-16 05:21:16 917 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.transactionid.TransactionIdFilter,cost time:4
2022-07-16 05:21:16 917 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAllocator
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.skife.jdbi.cglib.core.ReflectUtils$1 (file:/opt/onap/lib/jdbi-2.78.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.skife.jdbi.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022-07-16 05:21:17 187 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAllocator,cost time:270
2022-07-16 05:21:17 187 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.DmaapService
2022-07-16 05:21:17 192 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.DmaapService,cost time:5
2022-07-16 05:21:17 193 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.Initializer
2022-07-16 05:21:17 198 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.Initializer,cost time:5
2022-07-16 05:21:17 199 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-07-16 05:21:17 200 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2,cost time:1
2022-07-16 05:21:17 200 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-07-16 05:21:17 200 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper,cost time:0
2022-07-16 05:21:17 201 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.tools.EngineTools
2022-07-16 05:21:17 201 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.tools.EngineTools,cost time:0
2022-07-16 05:21:17 201 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-07-16 05:21:17 201 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineService,cost time:0
2022-07-16 05:21:17 201 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-07-16 05:21:17 201 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources,cost time:0
2022-07-16 05:21:17 202 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-07-16 05:21:17 204 INFO [org.onap.holmes.rulemgt.Initializer][pool-2-thread-1] invocationID:{InvocationID} - Not ready for MSB registration. Try again after 5 seconds...
2022-07-16 05:21:17 206 WARN [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} -
org.glassfish.hk2.api.MultiException: A MultiException has 2 exceptions. They are:
1. java.lang.InstantiationException
2. java.lang.IllegalStateException: Unable to perform operation: create on org.onap.holmes.rulemgt.db.CorrelationRuleDao
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:368)
at org.jvnet.hk2.internal.AutoActiveDescriptor.create(AutoActiveDescriptor.java:148)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:455)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:758)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:721)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:691)
at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.lambda$recordTimeCost$16(AutoConfigBundle.java:359)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$11$1.accept(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.recordTimeCost(AutoConfigBundle.java:356)
at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.registerServices(AutoConfigBundle.java:300)
at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.run(AutoConfigBundle.java:129)
at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.run(AutoConfigBundle.java:61)
at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:199)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:43)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
at io.dropwizard.cli.Cli.run(Cli.java:78)
at io.dropwizard.Application.run(Application.java:94)
at org.onap.holmes.rulemgt.RuleActiveApp.main(RuleActiveApp.java:34)
Caused by: java.lang.InstantiationException: null
at java.base/jdk.internal.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
at org.jvnet.hk2.internal.ClazzCreator.createMe(ClazzCreator.java:248)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:342)
... 34 common frames omitted
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper,cost time:0
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper,cost time:0
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.UniqueRequestIdCache,cost time:0
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAppConfig
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAppConfig,cost time:0
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.MsbRegister
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.MsbRegister,cost time:0
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache,cost time:0
2022-07-16 05:21:17 207 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil
2022-07-16 05:21:17 208 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil,cost time:1
2022-07-16 05:21:17 208 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-07-16 05:21:17 208 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao,cost time:0
2022-07-16 05:21:17 208 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-07-16 05:21:17 208 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource,cost time:0
2022-07-16 05:21:17 208 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.DbDaoUtil
2022-07-16 05:21:17 208 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.DbDaoUtil,cost time:0
2022-07-16 05:21:17 208 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-07-16 05:21:17 210 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController,cost time:2
2022-07-16 05:21:17 210 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery
2022-07-16 05:21:17 210 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery,cost time:0
2022-07-16 05:21:17 210 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQueryMdons
2022-07-16 05:21:17 212 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQueryMdons,cost time:2
2022-07-16 05:21:17 212 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl
2022-07-16 05:21:17 212 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl,cost time:0
2022-07-16 05:21:17 212 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiResponseUtil
2022-07-16 05:21:17 212 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiResponseUtil,cost time:0
2022-07-16 05:21:17 212 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-07-16 05:21:17 213 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.HealthCheck,cost time:1
2022-07-16 05:21:17 219 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - begin Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-07-16 05:21:17 311 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-07-16 05:21:17 311 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - begin Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-07-16 05:21:17 312 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-07-16 05:21:17 313 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - begin Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-07-16 05:21:17 314 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-07-16 05:21:17 320 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering jersey handler with root path prefix: /
2022-07-16 05:21:17 320 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering admin handler with root path prefix: /admin
2022-07-16 05:21:17 322 INFO [io.dropwizard.server.ServerFactory][main] invocationID:{InvocationID} - Starting RuleActiveApp
2022-07-16 05:21:17 561 INFO [org.eclipse.jetty.setuid.SetUIDListener][main] invocationID:{InvocationID} - Opened RuleActiveApp@7bdf61ad{SSL,[ssl, http/1.1]}{0.0.0.0:9101}
2022-07-16 05:21:17 565 INFO [org.eclipse.jetty.server.Server][main] invocationID:{InvocationID} - jetty-9.4.29.v20200521; built: 2020-05-21T17:20:40.598Z; git: 77c232aed8a45c818fd27232278d9f95a021095e; jvm 11.0.6+10
2022-07-16 05:21:19 335 INFO [org.eclipse.jetty.util.ssl.SslContextFactory][main] invocationID:{InvocationID} - x509=X509@1859ffda(holmes-rule-mgmt@holmes-rule-mgmt.onap.org,h=[holmes-rule-mgmt, holmes-rule-mgmt.api.simpledemo.onap.org, holmes-rule-mgmt.onap],w=[]) for Server@5ae15[provider=null,keyStore=file:///opt/app/osaaf/local/org.onap.holmes-rule-mgmt.p12,trustStore=null]
2022-07-16 05:21:19 436 INFO [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Enabled protocols: [TLSv1.2, TLSv1.3]
2022-07-16 05:21:19 436 INFO [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Disabled protocols: [SSLv2Hello, SSLv3, TLSv1, TLSv1.1]
2022-07-16 05:21:19 437 INFO [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Enabled cipher suites: [TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, TLS_EMPTY_RENEGOTIATION_INFO_SCSV]
2022-07-16 05:21:19 437 INFO [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Disabled cipher suites: [TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_256_GCM_SHA384]
2022-07-16 05:21:19 440 INFO [io.dropwizard.setup.AdminEnvironment][main] invocationID:{InvocationID} - tasks =
POST /tasks/log-level (io.dropwizard.servlets.tasks.LogConfigurationTask)
POST /tasks/gc (io.dropwizard.servlets.tasks.GarbageCollectionTask)
2022-07-16 05:21:19 453 INFO [org.eclipse.jetty.server.handler.ContextHandler][main] invocationID:{InvocationID} - Started i.d.j.MutableServletContextHandler@5489b1f7{/admin,null,AVAILABLE}
2022-07-16 05:21:20 116 INFO [io.dropwizard.jersey.DropwizardResourceConfig][main] invocationID:{InvocationID} - The following paths were found for the configured resources:
GET /api/holmes-rule-mgmt/v1/healthcheck (org.onap.holmes.rulemgt.resources.HealthCheck)
GET /api/holmes-rule-mgmt/v1/rule (org.onap.holmes.rulemgt.resources.RuleMgtResources)
POST /api/holmes-rule-mgmt/v1/rule (org.onap.holmes.rulemgt.resources.RuleMgtResources)
PUT /api/holmes-rule-mgmt/v1/rule (org.onap.holmes.rulemgt.resources.RuleMgtResources)
DELETE /api/holmes-rule-mgmt/v1/rule/{ruleid} (org.onap.holmes.rulemgt.resources.RuleMgtResources)
GET /api/holmes-rule-mgmt/v1/swagger.json (org.onap.holmes.rulemgt.resources.SwaggerResource)
2022-07-16 05:21:20 124 INFO [org.eclipse.jetty.server.handler.ContextHandler][main] invocationID:{InvocationID} - Started i.d.j.MutableServletContextHandler@541d4d9f{/,null,AVAILABLE}
2022-07-16 05:21:20 149 INFO [org.eclipse.jetty.server.AbstractConnector][main] invocationID:{InvocationID} - Started RuleActiveApp@7bdf61ad{SSL,[ssl, http/1.1]}{0.0.0.0:9101}
2022-07-16 05:21:20 149 INFO [org.eclipse.jetty.server.Server][main] invocationID:{InvocationID} - Started @6772ms
2022-07-16 05:21:22 217 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start to register Holmes Service to MSB...
2022-07-16 05:21:22 366 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Registration information: {"serviceName":"holmes-rule-mgmt","version":"v1","url":"/api/holmes-rule-mgmt/v1","protocol":"REST","visualRange":"0|1","lb_policy":"round-robin","path":"/api/holmes-rule-mgmt/v1","nodes":[{"ip":"10.233.68.133","port":"9101","ttl":"","checkType":"","checkUrl":""}],"enable_ssl":true}
2022-07-16 05:21:22 366 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 1
2022-07-16 05:21:23 079 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-2-thread-1] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://msb-iag.onap:443/api/microservices/v1/services
Cause: Not Found
Response body:
404 Not Found
404 Not Found
nginx
2022-07-16 05:21:23 079 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 20s and try again.
2022-07-16 05:21:23 079 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-07-16 05:21:27 335 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:21:43 080 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-07-16 05:21:43 080 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 2
2022-07-16 05:21:43 127 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-2-thread-1] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://msb-iag.onap:443/api/microservices/v1/services
Cause: Not Found
Response body:
404 Not Found
404 Not Found
nginx
2022-07-16 05:21:43 127 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 40s and try again.
2022-07-16 05:21:43 127 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-07-16 05:21:57 255 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:22:17 672 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:22:17 674 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:22:17 674 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 10bac372-3efa-4e13-8aad-f0eda2b7a84f
2022-07-16 05:22:17 675 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:22:17 914 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@42da435b
127.0.0.1 - - [16/Jul/2022:05:22:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 290
2022-07-16 05:22:18 057 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:22:18 057 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:22:18 057 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cfe76c4e-78ad-4413-9f3e-861905f94c5e
2022-07-16 05:22:18 058 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:22:18 270 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:22:18 419 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:22:18 420 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:22:18 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 373
2022-07-16 05:22:18 429 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:22:18 430 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:22:23 127 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-07-16 05:22:23 127 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 3
2022-07-16 05:22:23 190 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-2-thread-1] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://msb-iag.onap:443/api/microservices/v1/services
Cause: Not Found
Response body:
404 Not Found
404 Not Found
nginx
2022-07-16 05:22:23 190 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 60s and try again.
2022-07-16 05:22:23 190 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-07-16 05:22:27 198 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:22:47 420 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:22:47 421 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:22:47 421 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 15d879b3-74c0-4a7b-acbb-54466d2d27ac
2022-07-16 05:22:47 421 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:22:47 501 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@7795e375
127.0.0.1 - - [16/Jul/2022:05:22:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 84
2022-07-16 05:22:47 594 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:22:47 595 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:22:47 595 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8eb094dc-4773-43b5-a0ee-a0a000c0aeb1
2022-07-16 05:22:47 595 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:22:47 633 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:22:47 718 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:22:47 718 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:22:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 127
2022-07-16 05:22:47 722 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:22:47 722 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:22:57 206 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:23:10 536 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:23:10 536 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:23:10 536 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6e1700d9-5f2f-444c-b7b7-47c66b6302cc
2022-07-16 05:23:10 536 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:23:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 12
2022-07-16 05:23:17 386 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:23:17 386 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:23:17 386 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3eaa8827-4851-4f3f-b0e7-48eff859db53
2022-07-16 05:23:17 387 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:23:17 423 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@70725fb0
127.0.0.1 - - [16/Jul/2022:05:23:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 39
2022-07-16 05:23:17 635 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:23:17 635 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:23:17 635 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a111025f-fef0-4c1d-8874-639b331af91f
2022-07-16 05:23:17 635 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:23:17 688 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:23:17 778 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:23:17 778 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:23:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 146
2022-07-16 05:23:17 781 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:23:17 781 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:23:20 533 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:23:20 533 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:23:20 533 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2bb5e843-19d4-44cf-8e6d-267cb7125d74
2022-07-16 05:23:20 533 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:23:20 540 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:23:20 540 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:23:20 540 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a818bc05-54e2-40f3-8bc3-ef6fa881a838
2022-07-16 05:23:20 540 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:23:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 9
10.233.68.124 - - [16/Jul/2022:05:23:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:23:23 191 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-07-16 05:23:23 191 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 4
2022-07-16 05:23:23 223 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-2-thread-1] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://msb-iag.onap:443/api/microservices/v1/services
Cause: Not Found
Response body:
404 Not Found
404 Not Found
nginx
2022-07-16 05:23:23 224 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 80s and try again.
2022-07-16 05:23:23 224 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-07-16 05:23:27 206 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:23:30 534 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:23:30 535 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:23:30 535 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4e46cd19-00b4-4238-aa0c-742480ad338a
2022-07-16 05:23:30 535 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:23:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 9
2022-07-16 05:23:40 525 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:23:40 526 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:23:40 526 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b7883e9b-ef6b-4b99-8d53-cea2e890a42f
2022-07-16 05:23:40 526 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:23:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:23:47 395 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:23:47 395 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:23:47 395 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b31e86c1-db71-4a74-9767-3a671532d13d
2022-07-16 05:23:47 395 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
127.0.0.1 - - [16/Jul/2022:05:23:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 17
2022-07-16 05:23:47 409 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@2a64ba96
2022-07-16 05:23:47 520 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:23:47 520 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:23:47 520 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c2e93add-5347-48f8-b708-c19b69c0ef18
2022-07-16 05:23:47 520 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:23:47 589 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:23:47 674 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:23:47 675 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:23:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 159
2022-07-16 05:23:47 680 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:23:47 681 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
10.233.68.124 - - [16/Jul/2022:05:23:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:23:50 533 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:23:50 533 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:23:50 533 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a5796b83-5691-4028-8170-1091763c3d96
2022-07-16 05:23:50 533 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:23:50 570 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:23:50 570 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:23:50 570 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 70e1bc9e-0eb2-4d66-b2ac-6cf0c7ae801f
2022-07-16 05:23:50 570 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:23:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:23:57 209 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:24:00 554 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:00 554 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:00 554 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9771a9bb-ef94-40be-9491-c1a20dc1e3eb
2022-07-16 05:24:00 555 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:24:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-07-16 05:24:10 506 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:10 506 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:10 506 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 718977d5-afb4-49f8-a97b-31408bea6b96
2022-07-16 05:24:10 507 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:24:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:24:17 394 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:17 394 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:17 395 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0fed9203-82cc-4267-8651-f379e14eb42c
2022-07-16 05:24:17 395 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:24:17 421 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@54b71183
127.0.0.1 - - [16/Jul/2022:05:24:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 32
2022-07-16 05:24:17 537 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:17 537 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:17 537 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 453d59b2-5914-4676-9f5f-708f2db11c07
2022-07-16 05:24:17 538 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:24:17 563 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:24:17 669 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:24:17 669 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:24:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 136
2022-07-16 05:24:17 673 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:24:17 673 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:24:20 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:20 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:20 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 492d313c-c5af-4363-ab0e-f7b87d1c3282
2022-07-16 05:24:20 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:24:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:24:20 523 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:20 523 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:20 524 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: db13518b-c52e-4449-8503-ed6fe2bccd74
2022-07-16 05:24:20 524 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:24:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:24:27 205 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:24:30 501 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:30 502 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:30 502 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a6399b18-bee7-4b6d-9227-4b878774d107
2022-07-16 05:24:30 502 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:24:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:24:40 524 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:40 525 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:40 525 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ab8d01c5-11b3-4f46-a7c6-81fea2601bcf
2022-07-16 05:24:40 526 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:24:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-07-16 05:24:43 226 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-07-16 05:24:43 227 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 5
2022-07-16 05:24:44 033 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Registration succeeded!
2022-07-16 05:24:44 033 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Service registration completed.
2022-07-16 05:24:47 407 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:47 407 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:47 407 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 513af561-e5c2-41f2-b703-e6d9131eac90
2022-07-16 05:24:47 407 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:24:47 413 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@38069d1a
127.0.0.1 - - [16/Jul/2022:05:24:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-07-16 05:24:47 540 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:47 540 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:47 540 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0ad97c9a-2c71-4733-b399-e1be205fd096
2022-07-16 05:24:47 540 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:24:47 558 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:24:47 638 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:24:47 638 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:24:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 101
2022-07-16 05:24:47 644 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:24:47 644 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:24:50 532 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:50 532 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:50 532 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 78146ab4-3830-4dc5-884f-7768e8089c33
2022-07-16 05:24:50 532 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:24:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-07-16 05:24:50 542 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:24:50 542 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:24:50 542 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f3f71ddd-f802-41e5-aad1-9e70e91708f2
2022-07-16 05:24:50 542 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:24:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 10
2022-07-16 05:24:57 193 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:25:00 519 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:00 520 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:00 520 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ead3d223-b833-4a86-a3a0-9ed9e73a1857
2022-07-16 05:25:00 520 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:25:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 14
2022-07-16 05:25:10 506 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:10 507 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:10 507 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a4575334-3f66-4a22-9f87-ebd0418b7136
2022-07-16 05:25:10 507 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:25:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:25:17 436 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:17 436 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:17 436 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2d6ffcff-0a67-463a-8e31-3cdb270dadbf
2022-07-16 05:25:17 437 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:25:17 451 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@29d5b24e
127.0.0.1 - - [16/Jul/2022:05:25:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 18
2022-07-16 05:25:17 680 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:17 680 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:17 680 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c9180ea9-9e08-4b53-af24-301c28afe46b
2022-07-16 05:25:17 680 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:25:17 818 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:25:17 878 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:25:17 878 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:25:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 202
2022-07-16 05:25:17 882 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:25:17 882 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:25:20 519 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:20 519 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:20 520 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:20 520 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e91ee661-81f2-42f1-aac3-97cd756a500d
2022-07-16 05:25:20 520 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:20 520 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:25:20 520 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 944771f1-88e2-422f-ad34-aeb2ccee203e
2022-07-16 05:25:20 520 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:25:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.68.124 - - [16/Jul/2022:05:25:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:25:27 205 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:25:30 519 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:30 519 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:30 519 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ac5d1178-614f-4aa7-879c-831f503f9a50
2022-07-16 05:25:30 519 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:25:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:25:40 529 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:40 530 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:40 530 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c276e8ca-9c72-4aca-971c-3b3d958ba5e2
2022-07-16 05:25:40 530 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:25:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:25:47 407 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:47 407 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:47 407 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8839d27a-0fa3-4596-a914-661681e96efc
2022-07-16 05:25:47 407 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:25:47 434 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@2e874cc3
127.0.0.1 - - [16/Jul/2022:05:25:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 31
2022-07-16 05:25:47 518 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:47 518 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:47 518 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d2515617-1767-43e1-af86-011e29e959f0
2022-07-16 05:25:47 518 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:25:47 566 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:25:47 649 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:25:47 650 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:25:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 136
2022-07-16 05:25:47 654 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:25:47 654 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:25:50 516 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:50 517 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:50 517 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d00e3f3f-2b9d-4c9d-9605-b8d08ff36746
2022-07-16 05:25:50 518 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:25:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 18
2022-07-16 05:25:50 535 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:25:50 535 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:25:50 535 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ee5baa54-7481-4393-a7a5-5900b8dcfa70
2022-07-16 05:25:50 536 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:25:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-16 05:25:57 213 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:26:00 523 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:00 524 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:00 524 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f8ca6ed6-c293-4332-82eb-6a4c25ad226c
2022-07-16 05:26:00 527 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:26:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 11
2022-07-16 05:26:10 511 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:10 511 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:10 511 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1a99c4f3-1ac8-48c0-a715-bf489e1ba2c5
2022-07-16 05:26:10 512 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:26:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:26:17 393 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:17 393 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:17 393 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6a03f087-61a6-4bbf-9f37-f8c24f7a5012
2022-07-16 05:26:17 394 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:26:17 412 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@53a60759
127.0.0.1 - - [16/Jul/2022:05:26:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 21
2022-07-16 05:26:17 513 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:17 513 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:17 513 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d40f2903-44e9-41bb-852f-cf0ca4fdb02b
2022-07-16 05:26:17 514 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:26:17 605 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:26:17 698 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:26:17 698 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
2022-07-16 05:26:17 703 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:26:17 704 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
127.0.0.1 - - [16/Jul/2022:05:26:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 190
2022-07-16 05:26:20 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:20 505 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:20 505 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0d0d0415-66ee-4b13-9c18-6d9b35058d28
2022-07-16 05:26:20 505 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:26:20 505 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:20 505 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:20 505 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3b845e7b-a8de-4c20-ae33-5e1b6baef165
2022-07-16 05:26:20 506 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:26:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.68.124 - - [16/Jul/2022:05:26:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:26:27 211 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:26:30 513 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:30 513 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:30 513 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6e4eed35-b72e-416b-a6d4-1115d46cf766
2022-07-16 05:26:30 513 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:26:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 12
2022-07-16 05:26:40 506 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:40 506 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:40 506 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 27cdf82f-503f-400f-87ce-06479abae125
2022-07-16 05:26:40 506 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:26:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-07-16 05:26:47 379 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:47 379 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:47 379 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 63802af3-5c46-46e4-af78-f414eb68289b
2022-07-16 05:26:47 379 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:26:47 400 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@658894db
127.0.0.1 - - [16/Jul/2022:05:26:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 24
2022-07-16 05:26:47 476 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:47 476 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:47 476 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 28036e3d-0a88-4c45-9a74-6b032880ff78
2022-07-16 05:26:47 476 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:26:47 668 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:26:47 736 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:26:47 737 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:26:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 264
2022-07-16 05:26:47 740 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:26:47 741 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:26:50 523 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:50 523 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:50 523 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: fe425db1-d1e7-4b1e-bde5-bc237d39e592
2022-07-16 05:26:50 523 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:26:50 528 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:26:50 528 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:26:50 528 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e6841485-9a5b-4b4a-9a07-0bb7aa1de782
2022-07-16 05:26:50 528 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:26:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.68.124 - - [16/Jul/2022:05:26:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:26:57 257 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:27:00 505 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:00 505 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:00 505 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c9660ea5-ce2e-4fe1-9da8-0e417c017e70
2022-07-16 05:27:00 505 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:27:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:27:10 498 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:10 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:10 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c68e6324-532f-4205-a468-67b5b0d4e253
2022-07-16 05:27:10 498 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:27:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-07-16 05:27:17 411 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:17 411 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:17 411 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 71586c91-8045-496a-b152-cb1693edd2da
2022-07-16 05:27:17 412 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:27:17 957 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@44cf8a8c
127.0.0.1 - - [16/Jul/2022:05:27:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 549
2022-07-16 05:27:18 036 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:18 036 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:18 036 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 08e7d448-5ca2-4aea-82a4-be8e9f43f354
2022-07-16 05:27:18 037 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:27:18 367 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:27:18 550 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:27:18 551 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:27:18 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 522
2022-07-16 05:27:18 558 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:27:18 558 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:27:20 508 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:20 508 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:20 508 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 064a5da5-8f56-4223-b004-aa071713ad45
2022-07-16 05:27:20 508 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:27:20 509 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:20 510 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:20 510 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6f2f5272-38c1-473a-9c00-3ed746480ecc
2022-07-16 05:27:20 510 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:27:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
10.233.68.124 - - [16/Jul/2022:05:27:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 10
2022-07-16 05:27:27 193 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:27:30 501 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:30 501 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:30 501 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 29336775-033a-48f3-a7fc-58435b2caaf3
2022-07-16 05:27:30 501 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:27:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:27:40 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:40 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:40 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d795ef90-4403-4eda-a54a-4827058ad9a1
2022-07-16 05:27:40 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:27:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:27:47 387 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:47 387 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:47 388 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 26519a12-285c-416c-920a-761deafb81cb
2022-07-16 05:27:47 388 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:27:47 396 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@49ffa80d
127.0.0.1 - - [16/Jul/2022:05:27:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 12
2022-07-16 05:27:47 483 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:47 483 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:47 483 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 33deb3a9-3b2d-49d6-a2e4-6062f75a039a
2022-07-16 05:27:47 483 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:27:47 500 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:27:47 570 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:27:47 570 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:27:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 91
2022-07-16 05:27:47 576 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:27:47 576 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:27:50 511 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:50 511 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:50 511 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f8a3ea49-aaa8-457f-bada-774b6eb6fd16
2022-07-16 05:27:50 511 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:27:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-16 05:27:50 522 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:27:50 522 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:27:50 522 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f520aa0a-3def-46ac-8dd2-34a50198c27d
2022-07-16 05:27:50 522 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:27:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:27:57 202 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:28:00 502 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:00 502 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:00 502 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d7c8e548-7401-4855-aba6-ed13e81ab859
2022-07-16 05:28:00 502 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:28:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:28:10 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:10 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:10 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c4c69980-9f53-4fa2-ac06-cab8d4af66e4
2022-07-16 05:28:10 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:28:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:28:17 375 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:17 375 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:17 375 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c21eb310-79d6-4d4b-b009-6e881f99e884
2022-07-16 05:28:17 375 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:28:17 383 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@3c79d31
127.0.0.1 - - [16/Jul/2022:05:28:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 11
2022-07-16 05:28:17 450 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:17 450 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:17 450 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5d4a689e-e7c1-4746-b81d-a5665798245b
2022-07-16 05:28:17 451 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:28:17 686 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:28:17 750 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:28:17 751 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:28:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 303
2022-07-16 05:28:17 754 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:28:17 754 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:28:20 498 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:20 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:20 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cd437f5d-91a7-4591-b605-4f6c74e5c50b
2022-07-16 05:28:20 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:28:20 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:20 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:20 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bd48f0fb-5689-4500-929f-4a10ffe5a0de
2022-07-16 05:28:20 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:28:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
10.233.68.124 - - [16/Jul/2022:05:28:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:28:27 204 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:28:30 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:30 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:30 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 080f8875-df89-4a10-98d7-97c502ae537b
2022-07-16 05:28:30 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:28:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-16 05:28:40 506 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:40 507 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:40 507 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: eacd1970-e052-4076-a8e3-e4d1123e40ee
2022-07-16 05:28:40 507 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:28:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 8
2022-07-16 05:28:47 471 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:47 472 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:47 472 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 695dbe59-3282-4ba6-bbdf-0ff4c6282397
2022-07-16 05:28:47 473 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:28:47 531 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@1ebe8cc1
127.0.0.1 - - [16/Jul/2022:05:28:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 65
2022-07-16 05:28:47 630 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:47 630 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:47 631 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8cd4d7af-7ea0-4fb8-9eb1-acd880a5148f
2022-07-16 05:28:47 631 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:28:47 691 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:28:47 818 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:28:47 823 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:28:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 198
2022-07-16 05:28:47 826 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:28:47 826 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:28:50 508 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:50 508 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:50 508 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ebfcdd70-ba67-414e-911d-306172207c27
2022-07-16 05:28:50 508 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:28:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 9
2022-07-16 05:28:50 521 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:28:50 521 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:28:50 521 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: be2b9180-f155-47c8-af4d-3d88163380f9
2022-07-16 05:28:50 521 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:28:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 9
2022-07-16 05:28:57 207 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
10.233.68.124 - - [16/Jul/2022:05:29:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-16 05:29:00 510 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:00 510 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:00 510 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ca6e1fdf-e50d-4a13-a8d4-c81fa0a8d43d
2022-07-16 05:29:00 510 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:29:10 496 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:10 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:10 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 06d17819-b0e5-452c-a8d1-33c304f5af1e
2022-07-16 05:29:10 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:29:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:29:17 430 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:17 430 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:17 430 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3ab259ed-2cad-4ff7-897f-ac41c718bda9
2022-07-16 05:29:17 431 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
127.0.0.1 - - [16/Jul/2022:05:29:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 24
2022-07-16 05:29:17 452 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@27e11f5c
2022-07-16 05:29:17 549 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:17 549 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:17 549 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: df952991-1a0c-4c11-a6f6-b5148c091f25
2022-07-16 05:29:17 551 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:29:17 654 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:29:17 730 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:29:17 730 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
2022-07-16 05:29:17 734 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
127.0.0.1 - - [16/Jul/2022:05:29:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 184
2022-07-16 05:29:17 735 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:29:20 509 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:20 509 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:20 510 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 50f6d3a8-f3d2-4e22-9082-2c58570e86d0
2022-07-16 05:29:20 510 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:29:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 101
2022-07-16 05:29:20 646 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:20 646 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:20 646 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 7a6f4b04-5556-453a-9771-705db03587cc
2022-07-16 05:29:20 646 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:29:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-07-16 05:29:27 215 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:29:30 511 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:30 511 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:30 511 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bbe6a135-e15c-4fb4-b0b9-6a5c86f8e9bb
2022-07-16 05:29:30 511 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:29:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-16 05:29:40 524 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:40 524 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:40 524 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6bfacafc-1ebb-453b-8263-6ba0384f2d49
2022-07-16 05:29:40 524 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:29:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:29:47 411 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:47 411 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:47 412 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b4abda60-1553-4ede-a908-14061c684905
2022-07-16 05:29:47 412 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:29:47 422 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@3bb3630
127.0.0.1 - - [16/Jul/2022:05:29:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 16
2022-07-16 05:29:47 492 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:47 492 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:47 492 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: de0311b2-6912-4519-8d5d-ac5a5919dd26
2022-07-16 05:29:47 492 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:29:47 504 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:29:47 557 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:29:47 558 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:29:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 69
2022-07-16 05:29:47 562 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:29:47 562 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:29:50 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:50 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:50 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 799ac26e-0350-4d47-989c-1017b515fd7f
2022-07-16 05:29:50 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:29:50 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:29:50 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:29:50 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8e3dd578-7539-4a5a-b9ae-7576e6e8e69d
2022-07-16 05:29:50 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:29:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.68.124 - - [16/Jul/2022:05:29:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-07-16 05:29:57 192 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:30:00 505 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:00 505 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:00 505 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4920c169-d196-470e-ac0d-d55d36686474
2022-07-16 05:30:00 505 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:30:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:30:10 498 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:10 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:10 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8b9527c7-7c9e-49c6-96e7-2e85bde296e2
2022-07-16 05:30:10 498 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:30:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:30:17 369 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:17 370 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:17 370 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 009d47f3-e69b-4c07-97ab-f5d47abb65bb
2022-07-16 05:30:17 370 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:30:17 386 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@373a33b7
127.0.0.1 - - [16/Jul/2022:05:30:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 20
2022-07-16 05:30:17 440 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:17 440 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:17 440 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b2f48df9-3892-4b48-8255-d891f3d105af
2022-07-16 05:30:17 440 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:30:17 460 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:30:17 512 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:30:17 513 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:30:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 76
2022-07-16 05:30:17 515 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:30:17 515 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:30:20 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:20 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:20 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 448797f9-e17b-49d6-a7d4-229948e61a36
2022-07-16 05:30:20 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:30:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:30:20 511 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:20 511 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:20 511 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e2b729fe-1a2b-4e24-800f-c7cb6efb0263
2022-07-16 05:30:20 511 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:30:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-16 05:30:27 198 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:30:30 503 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:30 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:30 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 66b2fc52-1326-4f1b-af1a-9dd341429857
2022-07-16 05:30:30 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:30:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:30:40 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:40 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:40 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c6e946d3-8382-4338-97a0-360f3028de88
2022-07-16 05:30:40 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:30:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:30:47 374 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:47 374 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:47 375 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f18f4e87-857e-4d5f-9087-322728a15ff3
2022-07-16 05:30:47 375 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:30:47 393 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@7b226424
127.0.0.1 - - [16/Jul/2022:05:30:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 21
2022-07-16 05:30:47 444 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:47 444 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:47 444 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f4854218-a51f-4e8c-8af1-f8cb44ac108b
2022-07-16 05:30:47 444 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:30:47 462 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:30:47 511 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:30:47 511 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:30:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 69
2022-07-16 05:30:47 513 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:30:47 513 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:30:50 503 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:50 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:50 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d667502e-cba2-4b49-b122-dd861f7e020a
2022-07-16 05:30:50 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:30:50 506 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:30:50 507 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:30:50 507 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ed1cd7c3-77f9-456f-a387-d4ff7f9fdbd7
2022-07-16 05:30:50 507 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:30:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
10.233.68.124 - - [16/Jul/2022:05:30:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
2022-07-16 05:30:57 222 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:31:00 501 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:00 501 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:00 501 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 006b80ba-b22f-4094-a487-ef5908e21825
2022-07-16 05:31:00 501 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:31:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:31:10 507 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:10 508 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:10 509 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6595b26c-9909-4227-88e1-90c5a33569d5
2022-07-16 05:31:10 509 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:31:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 9
2022-07-16 05:31:17 380 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:17 381 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:17 381 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 29eef101-51de-4202-84f9-bac7deb500a5
2022-07-16 05:31:17 381 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:31:17 409 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@61ca2ad8
127.0.0.1 - - [16/Jul/2022:05:31:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 32
2022-07-16 05:31:17 470 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:17 470 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:17 470 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 24d0619e-b9b2-436a-a55f-578b82310d3d
2022-07-16 05:31:17 470 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:31:17 490 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:31:17 546 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:31:17 547 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:31:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 81
2022-07-16 05:31:17 550 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:31:17 550 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:31:20 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:20 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:20 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 68a2d11c-2d44-44f1-bcd4-4db8b39720d4
2022-07-16 05:31:20 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:20 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:31:20 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:20 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 428aa89b-539a-4453-86e4-4b7f65e8e41a
2022-07-16 05:31:20 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:31:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
10.233.68.124 - - [16/Jul/2022:05:31:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-16 05:31:27 194 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:31:30 501 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:30 501 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:30 501 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 73528498-bc36-4140-b377-e0a2814e1587
2022-07-16 05:31:30 502 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:31:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:31:40 501 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:40 501 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:40 501 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 79de876f-6d47-462c-9faf-548e72eb17c9
2022-07-16 05:31:40 501 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:31:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:31:47 449 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:47 449 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:47 449 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3201b3a7-7965-4f08-8f1e-ef3c1d2e49de
2022-07-16 05:31:47 449 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:31:47 481 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@201310a0
127.0.0.1 - - [16/Jul/2022:05:31:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 34
2022-07-16 05:31:47 527 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:47 527 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:47 527 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2969487a-b0a1-488f-b5c4-211deb487e3d
2022-07-16 05:31:47 528 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:31:47 809 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:31:47 881 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
127.0.0.1 - - [16/Jul/2022:05:31:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 356
2022-07-16 05:31:47 881 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
2022-07-16 05:31:47 889 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:31:47 889 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:31:50 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:50 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:50 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b3d94a1e-e181-4b96-80c7-7f7fc049ad11
2022-07-16 05:31:50 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:31:50 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:31:50 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:31:50 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4a512d91-b4d3-4b8e-8912-2ed5bb5eb7fd
2022-07-16 05:31:50 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:31:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.68.124 - - [16/Jul/2022:05:31:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 9
2022-07-16 05:31:57 197 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:32:00 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:00 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:00 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a85698d6-0874-403c-8a36-cca2bacb2ad0
2022-07-16 05:32:00 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:32:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:32:10 494 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:10 494 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:10 494 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6579c814-e228-48c3-a0ea-cb712d9c41b2
2022-07-16 05:32:10 494 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:32:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-16 05:32:17 411 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:17 411 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:17 411 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c9125250-7372-49cf-ba57-7ad7e4dfe770
2022-07-16 05:32:17 411 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:32:17 429 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-27 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@3a0e96be
127.0.0.1 - - [16/Jul/2022:05:32:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 20
2022-07-16 05:32:17 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:17 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:17 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2e43df97-05e0-4302-a5cf-2b8e72038a43
2022-07-16 05:32:17 501 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:32:17 542 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:32:17 660 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:32:17 660 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:32:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 163
2022-07-16 05:32:17 665 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:32:17 665 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:32:20 503 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:20 503 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:20 503 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 99ca842a-1997-4d68-a298-c2f76f104f22
2022-07-16 05:32:20 503 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:32:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:32:20 508 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:20 508 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:20 508 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9b372eaf-a6dd-4d49-adde-b5faab470751
2022-07-16 05:32:20 508 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:32:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-07-16 05:32:27 194 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:32:30 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:30 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:30 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 288ff127-f691-47c6-819b-4c3083936d07
2022-07-16 05:32:30 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:32:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:32:40 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:40 501 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:40 501 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 492fb8c5-38a0-404c-a125-c0d7fe1a740b
2022-07-16 05:32:40 501 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:32:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-16 05:32:47 392 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:47 392 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:47 392 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a59fc4bf-9a4f-4159-b256-ce6145dc1c1a
2022-07-16 05:32:47 392 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:32:47 424 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@1508c098
127.0.0.1 - - [16/Jul/2022:05:32:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 36
2022-07-16 05:32:47 486 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:47 486 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:47 487 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: df204ffe-3268-4dc2-b8c8-7510e93d3856
2022-07-16 05:32:47 488 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:32:47 520 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:32:47 586 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:32:47 587 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:32:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 105
2022-07-16 05:32:47 591 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:32:47 591 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:32:50 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:50 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:50 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: fe4350b8-1471-4430-bc09-be7890ff74ee
2022-07-16 05:32:50 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:32:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-16 05:32:50 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:32:50 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:32:50 505 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6e1385e0-e5cd-4842-9252-ebfcea0eebd6
2022-07-16 05:32:50 505 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:32:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-16 05:32:57 209 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:33:00 505 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:00 506 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:00 506 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 33f2c651-e254-4049-a0f2-537d54b5d29a
2022-07-16 05:33:00 506 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:33:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:33:10 495 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:10 495 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:10 495 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1e6e0d1f-0f12-453d-af67-abf69ae798be
2022-07-16 05:33:10 495 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:33:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-16 05:33:17 371 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:17 371 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:17 371 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1d9d2b55-53a9-4b15-97ef-72f7b7578092
2022-07-16 05:33:17 372 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:33:17 379 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@25f677b5
127.0.0.1 - - [16/Jul/2022:05:33:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 10
2022-07-16 05:33:17 422 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:17 422 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:17 423 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 94143aba-6c47-4ef4-b782-1bad0dcaee24
2022-07-16 05:33:17 423 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:33:17 480 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:33:17 527 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:33:17 528 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:33:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 107
2022-07-16 05:33:17 530 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:33:17 530 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:33:20 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:20 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:20 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0ce22d87-5843-4e34-9ca9-3e21dfaa2f3d
2022-07-16 05:33:20 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:33:20 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:20 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:20 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 63eddbe6-ab85-4948-b49a-04cb51bb099a
2022-07-16 05:33:20 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:33:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
10.233.68.124 - - [16/Jul/2022:05:33:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-07-16 05:33:27 206 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:33:30 502 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:30 502 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:30 502 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5c5e59f2-a5e7-49ac-b91b-23c32c6ed3ad
2022-07-16 05:33:30 502 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:33:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:33:40 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:40 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:40 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 499477ae-efb6-434c-b0ce-2b21df2d8b73
2022-07-16 05:33:40 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:33:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:33:47 382 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:47 382 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:47 382 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: dd515b05-f347-4460-ad28-9d44e75ce8b5
2022-07-16 05:33:47 382 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:33:47 389 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@776e8709
127.0.0.1 - - [16/Jul/2022:05:33:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 11
2022-07-16 05:33:47 447 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:47 448 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:47 448 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3aa14e58-9140-4c42-867b-441c6f47cd0d
2022-07-16 05:33:47 448 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:33:47 524 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:33:47 597 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:33:47 599 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:33:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 154
2022-07-16 05:33:47 603 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:33:47 603 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:33:50 502 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:50 502 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:50 502 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2eea3eb8-a428-471e-9a62-8506784baca2
2022-07-16 05:33:50 502 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:33:50 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:33:50 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:33:50 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 56b00440-e0c5-4702-8029-fe814de1bdfc
2022-07-16 05:33:50 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:33:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
10.233.68.124 - - [16/Jul/2022:05:33:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:33:57 229 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:34:00 509 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:00 509 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:00 509 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 61eb5fcb-deab-4a9f-b0bc-d74c902ad4d9
2022-07-16 05:34:00 509 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:34:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-07-16 05:34:10 498 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:10 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:10 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 87a485d7-2f7a-42a0-9e12-e69f59c25bd4
2022-07-16 05:34:10 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:34:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:34:17 371 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:17 371 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:17 371 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0c63410e-e43b-495d-80e8-a40de9932584
2022-07-16 05:34:17 371 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:34:17 379 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@6c813b46
127.0.0.1 - - [16/Jul/2022:05:34:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 10
2022-07-16 05:34:17 433 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:17 433 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:17 433 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3af1d6e1-c5cf-41c0-9088-d4e94987dc29
2022-07-16 05:34:17 433 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:34:17 445 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:34:17 498 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:34:17 498 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:34:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 69
2022-07-16 05:34:17 502 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:34:17 502 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-16 05:34:20 498 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:20 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:20 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 72e7aea2-ceb8-4898-bff3-a146216c31c1
2022-07-16 05:34:20 498 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:34:20 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:20 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:20 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 81504b70-022e-4beb-9d3f-b042aea7367f
2022-07-16 05:34:20 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:34:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.68.124 - - [16/Jul/2022:05:34:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-16 05:34:27 195 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:34:30 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:30 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:30 504 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c9537b5c-96b8-4729-b869-919d62506503
2022-07-16 05:34:30 504 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:34:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:34:40 503 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:40 503 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:40 503 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d8fb0129-7dee-4753-9013-8a708084bc33
2022-07-16 05:34:40 503 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:34:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:34:47 377 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:47 378 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:47 378 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d50a1ec9-de60-441a-a31e-ebaee103f8b7
2022-07-16 05:34:47 378 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:34:47 383 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-26 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@6ac0336c
127.0.0.1 - - [16/Jul/2022:05:34:47 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-07-16 05:34:47 457 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:47 457 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:47 457 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e5565ff4-2810-4d92-995e-67647a7e1ab1
2022-07-16 05:34:47 457 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:34:47 469 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:34:47 529 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:34:47 529 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [16/Jul/2022:05:34:47 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 75
2022-07-16 05:34:47 532 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:34:47 532 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
10.233.68.124 - - [16/Jul/2022:05:34:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.68.124 - - [16/Jul/2022:05:34:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:34:50 496 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:50 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:50 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5149a95a-98a8-463b-a5ba-a21ec8eb9ec8
2022-07-16 05:34:50 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:34:50 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:34:50 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:34:50 497 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 294bba6f-44ac-46e6-ae2b-1d35b283a304
2022-07-16 05:34:50 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:34:57 193 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:35:00 503 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-16 05:35:00 503 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:35:00 503 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f3589e69-7b74-4d9c-b44d-0b22fdbeccd3
2022-07-16 05:35:00 503 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:35:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-16 05:35:10 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-16 05:35:10 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:35:10 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 57c21f86-b7e4-4eae-be5c-d63df87f0370
2022-07-16 05:35:10 498 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:35:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:35:17 360 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:35:17 360 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:35:17 360 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9b7b98fc-83a2-4383-8b91-29a8386387cf
2022-07-16 05:35:17 361 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:35:17 368 INFO [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - GET /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - query rule successful by condition:org.onap.holmes.rulemgt.bean.request.RuleQueryCondition@46dd058a
127.0.0.1 - - [16/Jul/2022:05:35:17 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 12
2022-07-16 05:35:17 417 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:35:17 417 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:35:17 417 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f4a01f13-ef6e-4cd3-8493-853c84bdb523
2022-07-16 05:35:17 417 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:35:17 425 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-16 05:35:17 476 ERROR [org.onap.holmes.common.utils.JerseyClient][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://10.233.67.54:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-16 05:35:17 477 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
2022-07-16 05:35:17 479 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-16 05:35:17 479 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
127.0.0.1 - - [16/Jul/2022:05:35:17 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 65
2022-07-16 05:35:20 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-16 05:35:20 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:35:20 499 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: efe0f4db-bf9b-4d8a-b940-965b22425c2f
2022-07-16 05:35:20 499 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-16 05:35:20 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-16 05:35:20 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:35:20 500 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9e0ce927-5f5d-4126-9f17-44487cabd664
2022-07-16 05:35:20 500 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:35:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.68.124 - - [16/Jul/2022:05:35:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-16 05:35:27 203 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-16 05:35:30 497 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-16 05:35:30 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:35:30 498 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 97138b00-b6bb-409d-aece-39675b2f7cf0
2022-07-16 05:35:30 498 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.68.124 - - [16/Jul/2022:05:35:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-16 05:35:40 496 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-16 05:35:40 496 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-16 05:35:40