@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.0.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.66.30
DB_PORT=5432
ENABLE_ENCRYPT=true
KEY_PATH=/opt/app/osaaf/local/org.onap.holmes-rule-mgmt.p12
KEY_PASS=UPTopPcw7vJHlMemFMHFL3lFo6Dtdp5wZ3g8B27Trs1M1velTYz3gUg4mkjTYpMM
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-04-29 05:09:05,138] org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle: Registering org.onap.holmes.common.dropwizard.ioc.annotation.PreLoad service is empty
2022-04-29 05:09:06 458 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering jersey handler with root path prefix: /
2022-04-29 05:09:06 460 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering admin handler with root path prefix: /admin
2022-04-29 05:09:06 482 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Configuration class name:org.onap.holmes.rulemgt.RuleAppConfig
2022-04-29 05:09:06 483 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Configuration class name:io.dropwizard.Configuration
2022-04-29 05:09:06 487 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Sub Configuration class name io.dropwizard.db.DataSourceFactory
2022-04-29 05:09:06 489 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard environment, class name : io.dropwizard.setup.Environment
2022-04-29 05:09:06 490 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard objectMapper, class name : com.fasterxml.jackson.databind.ObjectMapper
2022-04-29 05:09:06 493 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-04-29 05:09:06 493 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-04-29 05:09:06 494 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-04-29 05:09:06 494 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-04-29 05:09:06 512 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.CommonUtils
2022-04-29 05:09:06 515 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.Publisher
2022-04-29 05:09:06 517 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-04-29 05:09:06 520 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.RuleAllocator
2022-04-29 05:09:06 523 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.DmaapService
2022-04-29 05:09:06 526 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.Initializer
2022-04-29 05:09:06 528 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-04-29 05:09:06 529 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-04-29 05:09:06 531 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.tools.EngineTools
2022-04-29 05:09:06 532 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-04-29 05:09:06 533 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-04-29 05:09:06 547 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-04-29 05:09:06 560 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-04-29 05:09:06 562 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-04-29 05:09:06 563 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-04-29 05:09:06 567 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.RuleAppConfig
2022-04-29 05:09:06 567 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.MsbRegister
2022-04-29 05:09:06 568 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-04-29 05:09:06 570 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiJsonParserUtil
2022-04-29 05:09:06 572 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-04-29 05:09:06 573 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.SwaggerResource
2022-04-29 05:09:06 574 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.DbDaoUtil
2022-04-29 05:09:06 585 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-04-29 05:09:06 588 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQuery
2022-04-29 05:09:06 588 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQueryMdons
2022-04-29 05:09:06 590 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl
2022-04-29 05:09:06 591 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiResponseUtil
2022-04-29 05:09:06 592 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.HealthCheck
2022-04-29 05:09:06 595 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.CommonUtils
2022-04-29 05:09:06 595 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.Publisher
2022-04-29 05:09:06 595 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-04-29 05:09:06 595 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.RuleAllocator
2022-04-29 05:09:06 595 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.DmaapService
2022-04-29 05:09:06 595 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.Initializer
2022-04-29 05:09:06 595 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-04-29 05:09:06 595 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-04-29 05:09:06 595 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.tools.EngineTools
2022-04-29 05:09:06 596 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-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-04-29 05:09:06 596 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-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.RuleAppConfig
2022-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.MsbRegister
2022-04-29 05:09:06 596 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-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil
2022-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.DbDaoUtil
2022-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQuery
2022-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQueryMdons
2022-04-29 05:09:06 596 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-04-29 05:09:06 596 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiResponseUtil
2022-04-29 05:09:06 597 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-04-29 05:09:06 598 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.CommonUtils
2022-04-29 05:09:06 599 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.CommonUtils,cost time:1
2022-04-29 05:09:06 599 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.Publisher
2022-04-29 05:09:06 727 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.Publisher,cost time:128
2022-04-29 05:09:06 728 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-04-29 05:09:06 731 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:3
2022-04-29 05:09:06 731 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-04-29 05:09:06 951 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAllocator,cost time:220
2022-04-29 05:09:06 952 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.DmaapService
2022-04-29 05:09:06 953 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.DmaapService,cost time:1
2022-04-29 05:09:06 953 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.Initializer
2022-04-29 05:09:06 960 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.Initializer,cost time:7
2022-04-29 05:09:06 960 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-04-29 05:09:06 960 INFO [org.onap.holmes.rulemgt.Initializer][pool-2-thread-1] invocationID:{InvocationID} - Not ready for MSB registration. Try again after 5 seconds...
2022-04-29 05:09:06 963 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2,cost time:3
2022-04-29 05:09:06 963 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-04-29 05:09:06 963 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-04-29 05:09:06 963 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.tools.EngineTools
2022-04-29 05:09:06 963 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-04-29 05:09:06 964 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-04-29 05:09:06 964 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-04-29 05:09:06 964 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-04-29 05:09:06 964 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-04-29 05:09:06 965 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-04-29 05:09:06 969 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-04-29 05:09:06 969 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-04-29 05:09:06 969 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-04-29 05:09:06 969 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-04-29 05:09:06 969 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-04-29 05:09:06 969 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-04-29 05:09:06 969 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-04-29 05:09:06 970 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAppConfig
2022-04-29 05:09:06 970 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-04-29 05:09:06 970 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.MsbRegister
2022-04-29 05:09:06 970 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-04-29 05:09:06 970 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-04-29 05:09:06 970 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-04-29 05:09:06 970 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil
2022-04-29 05:09:06 970 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil,cost time:0
2022-04-29 05:09:06 971 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-04-29 05:09:06 971 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-04-29 05:09:06 971 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-04-29 05:09:06 971 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-04-29 05:09:06 971 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.DbDaoUtil
2022-04-29 05:09:06 971 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-04-29 05:09:06 971 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-04-29 05:09:06 972 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController,cost time:1
2022-04-29 05:09:06 972 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery
2022-04-29 05:09:06 972 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-04-29 05:09:06 973 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQueryMdons
2022-04-29 05:09:06 975 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-04-29 05:09:06 975 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-04-29 05:09:06 975 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-04-29 05:09:06 975 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiResponseUtil
2022-04-29 05:09:06 975 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-04-29 05:09:06 975 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-04-29 05:09:06 975 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.HealthCheck,cost time:0
2022-04-29 05:09:06 983 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-04-29 05:09:07 076 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-04-29 05:09:07 077 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-04-29 05:09:07 078 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-04-29 05:09:07 078 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-04-29 05:09:07 079 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-04-29 05:09:07 085 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering jersey handler with root path prefix: /
2022-04-29 05:09:07 085 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering admin handler with root path prefix: /admin
2022-04-29 05:09:07 087 INFO [io.dropwizard.server.ServerFactory][main] invocationID:{InvocationID} - Starting RuleActiveApp
2022-04-29 05:09:07 279 INFO [org.eclipse.jetty.setuid.SetUIDListener][main] invocationID:{InvocationID} - Opened RuleActiveApp@61874b9d{SSL,[ssl, http/1.1]}{0.0.0.0:9101}
2022-04-29 05:09:07 281 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-04-29 05:09:07 996 INFO [org.eclipse.jetty.util.ssl.SslContextFactory][main] invocationID:{InvocationID} - x509=X509@3caafa67(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@64b0d1fa[provider=null,keyStore=file:///opt/app/osaaf/local/org.onap.holmes-rule-mgmt.p12,trustStore=null]
2022-04-29 05:09:08 098 INFO [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Enabled protocols: [TLSv1.2, TLSv1.3]
2022-04-29 05:09:08 098 INFO [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Disabled protocols: [SSLv2Hello, SSLv3, TLSv1, TLSv1.1]
2022-04-29 05:09:08 098 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-04-29 05:09:08 098 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-04-29 05:09:08 101 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-04-29 05:09:08 114 INFO [org.eclipse.jetty.server.handler.ContextHandler][main] invocationID:{InvocationID} - Started i.d.j.MutableServletContextHandler@2e1b374c{/admin,null,AVAILABLE}
2022-04-29 05:09:08 701 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-04-29 05:09:08 709 INFO [org.eclipse.jetty.server.handler.ContextHandler][main] invocationID:{InvocationID} - Started i.d.j.MutableServletContextHandler@4044589a{/,null,AVAILABLE}
2022-04-29 05:09:08 733 INFO [org.eclipse.jetty.server.AbstractConnector][main] invocationID:{InvocationID} - Started RuleActiveApp@61874b9d{SSL,[ssl, http/1.1]}{0.0.0.0:9101}
2022-04-29 05:09:08 734 INFO [org.eclipse.jetty.server.Server][main] invocationID:{InvocationID} - Started @5127ms
2022-04-29 05:09:11 968 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start to register Holmes Service to MSB...
2022-04-29 05:09:12 043 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.66.30","port":"9101","ttl":"","checkType":"","checkUrl":""}],"enable_ssl":true}
2022-04-29 05:09:12 043 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 0
2022-04-29 05:09:12 463 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-04-29 05:09:12 463 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 5s and try again.
2022-04-29 05:09:12 464 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-04-29 05:09:17 025 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:09:17 464 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-04-29 05:09:17 464 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 1
2022-04-29 05:09:17 521 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-04-29 05:09:17 521 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 10s and try again.
2022-04-29 05:09:17 521 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-04-29 05:09:27 521 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-04-29 05:09:27 521 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 2
2022-04-29 05:09:27 546 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-04-29 05:09:27 546 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 15s and try again.
2022-04-29 05:09:27 546 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-04-29 05:09:42 546 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-04-29 05:09:42 546 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 3
2022-04-29 05:09:42 574 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-04-29 05:09:42 574 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-04-29 05:09:42 574 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-04-29 05:09:46 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:10:02 574 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-04-29 05:10:02 575 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 4
2022-04-29 05:10:02 596 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-04-29 05:10:02 597 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 25s and try again.
2022-04-29 05:10:02 597 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-04-29 05:10:07 330 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:10:07 331 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:10:07 331 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e56ad218-f0e8-4746-a599-487e3109f581
2022-04-29 05:10:07 332 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:10:07 410 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@42f9c56d
127.0.0.1 - - [29/Apr/2022:05:10:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 116
2022-04-29 05:10:07 514 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:10:07 514 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:10:07 514 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9d6c4486-9104-41b6-bffd-a110df904bbc
2022-04-29 05:10:07 514 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:10:07 543 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-04-29 05:10:08 244 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:10:08 245 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 - - [29/Apr/2022:05:10:08 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 738
2022-04-29 05:10:08 251 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-04-29 05:10:08 251 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-04-29 05:10:16 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:10:27 597 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-04-29 05:10:27 597 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 5
2022-04-29 05:10:27 621 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-04-29 05:10:27 621 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 30s and try again.
2022-04-29 05:10:27 621 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-04-29 05:10:37 153 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:10:37 153 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:10:37 153 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 695b9636-7f00-445b-9764-489f8330f2f2
2022-04-29 05:10:37 153 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:10:37 167 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@62e2faaf
127.0.0.1 - - [29/Apr/2022:05:10:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 17
2022-04-29 05:10:37 235 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:10:37 235 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:10:37 235 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e6fc9f1b-57ce-4cf4-9db5-20254b0103b2
2022-04-29 05:10:37 235 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:10:37 245 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-04-29 05:10:37 343 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:10:37 344 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 - - [29/Apr/2022:05:10:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 113
2022-04-29 05:10:37 348 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-04-29 05:10:37 348 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-04-29 05:10:46 956 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:10:57 621 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-04-29 05:10:57 621 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Retry: 6
2022-04-29 05:10:58 001 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Registration succeeded!
2022-04-29 05:10:58 001 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Service registration completed.
2022-04-29 05:11:02 048 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:02 048 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:02 048 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8a41f419-f218-4ccc-8176-68d80ceab0db
2022-04-29 05:11:02 048 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:11:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 15
2022-04-29 05:11:07 155 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:07 155 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:07 155 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d52625e1-ee5f-406e-8308-9921e82e9c12
2022-04-29 05:11:07 155 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:11:07 175 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@5c7fe760
127.0.0.1 - - [29/Apr/2022:05:11:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 22
2022-04-29 05:11:07 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:07 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:07 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 674167b3-10f8-412e-952b-5d86b0a88d16
2022-04-29 05:11:07 247 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:11:07 264 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-04-29 05:11:07 335 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:11:07 336 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)
2022-04-29 05:11:07 340 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 - - [29/Apr/2022:05:11:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 92
2022-04-29 05:11:07 340 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-04-29 05:11:12 045 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:12 045 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:12 046 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: fce5bd10-d7d6-49d0-8044-a6d1c8254ae9
2022-04-29 05:11:12 046 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:11:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:11:16 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:11:22 039 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:22 039 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:22 039 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a36551bd-2530-4647-93c8-c95470c4bbdd
2022-04-29 05:11:22 039 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:11:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:11:22 049 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:22 049 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:22 049 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c6e0f8c3-439d-4146-9db8-a4d94ff428d9
2022-04-29 05:11:22 049 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:11:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:11:32 038 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:32 038 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:32 038 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 027ccc54-9cf3-40b5-ae77-4f59d55a35ba
2022-04-29 05:11:32 039 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:11:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-04-29 05:11:37 144 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:37 144 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:37 144 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: dc84fb0e-4654-4cf2-bc77-dec51c233693
2022-04-29 05:11:37 144 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:11:37 158 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@49814d4d
127.0.0.1 - - [29/Apr/2022:05:11:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 18
2022-04-29 05:11:37 222 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:37 222 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:37 223 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1c2effbc-fba4-40d5-9932-27f6dbf48875
2022-04-29 05:11:37 223 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:11:37 231 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-04-29 05:11:37 321 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:11:37 322 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 - - [29/Apr/2022:05:11:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 102
2022-04-29 05:11:37 324 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-04-29 05:11:37 325 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-04-29 05:11:42 039 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:42 039 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:42 040 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 614b6458-a696-46d8-97b9-880b25c150c3
2022-04-29 05:11:42 040 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:11:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-04-29 05:11:46 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:11:52 040 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:52 040 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:52 040 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c4c13f09-416f-4c10-a337-62b9c1fc0014
2022-04-29 05:11:52 040 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:11:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-04-29 05:11:52 048 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:11:52 048 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:11:52 048 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c176f3a0-5b86-45f2-b10d-860abc08f73d
2022-04-29 05:11:52 048 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:11:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:12:02 041 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:02 041 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:02 041 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0d2ce5d9-71c6-4408-9cb9-a6519ce528d6
2022-04-29 05:12:02 041 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:12:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:12:07 154 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:07 154 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:07 154 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 96331d98-eac1-42e8-af83-3fffe26981d8
2022-04-29 05:12:07 155 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:12:07 165 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@402b2543
127.0.0.1 - - [29/Apr/2022:05:12:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 17
2022-04-29 05:12:07 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:07 244 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:07 244 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 805e0a96-a90b-4c78-a1e2-0cf679a752c9
2022-04-29 05:12:07 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:12:07 257 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-04-29 05:12:07 334 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:12:07 334 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 - - [29/Apr/2022:05:12:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 92
2022-04-29 05:12:07 338 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-04-29 05:12:07 339 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-04-29 05:12:12 077 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:12 077 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:12 077 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9ffad85b-e57b-4b2d-848a-7a77b8079b43
2022-04-29 05:12:12 077 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:12:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-04-29 05:12:16 956 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:12:22 051 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:22 051 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:22 051 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: dc360aa3-bb21-4644-a4fa-402107052203
2022-04-29 05:12:22 052 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:12:22 055 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:22 056 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:22 056 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: fcc8b5b1-312c-436a-8e60-6bccb0f4d75c
2022-04-29 05:12:22 056 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:12:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.66.23 - - [29/Apr/2022:05:12:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:12:32 042 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:32 042 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:32 042 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 061b225f-01ac-4e7a-9bb4-6b4672408867
2022-04-29 05:12:32 042 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:12:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:12:37 141 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:37 141 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:37 141 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 51c2eeab-ec63-457b-a0ad-729916283ec7
2022-04-29 05:12:37 141 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:12:37 146 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@2dd9ce59
127.0.0.1 - - [29/Apr/2022:05:12:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-04-29 05:12:37 207 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:37 207 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:37 207 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 59157ef4-c174-47f9-806c-12b8a6433ad1
2022-04-29 05:12:37 207 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:12:37 222 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-04-29 05:12:37 295 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:12:37 296 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 - - [29/Apr/2022:05:12:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 92
2022-04-29 05:12:37 300 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-04-29 05:12:37 300 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-04-29 05:12:42 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:42 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:42 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 87f17523-d74d-4f1c-b19d-d5be2a7be947
2022-04-29 05:12:42 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:12:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:12:46 956 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:12:52 049 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:52 049 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:52 049 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ba8cc47c-f3f0-4d52-8467-106472636a59
2022-04-29 05:12:52 050 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:12:52 050 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:12:52 050 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:12:52 051 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2699f4b3-9ad1-4e40-bbad-aa6b5fe4f49f
2022-04-29 05:12:52 051 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:12:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.66.23 - - [29/Apr/2022:05:12:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:13:02 041 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:02 041 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:02 041 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c183e6c7-0e0b-41f8-9ed7-7a1ccff528b6
2022-04-29 05:13:02 042 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:13:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 9
2022-04-29 05:13:07 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:07 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:07 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cab9fd00-deb6-4369-ab15-54e21af8b8ae
2022-04-29 05:13:07 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:13:07 255 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@54a1eb7
127.0.0.1 - - [29/Apr/2022:05:13:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 9
2022-04-29 05:13:07 317 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:07 317 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:07 317 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e641eec1-1768-473e-b979-fbd1b0e8f813
2022-04-29 05:13:07 317 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:13:07 334 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-04-29 05:13:07 399 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:13:07 399 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 - - [29/Apr/2022:05:13:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 85
2022-04-29 05:13:07 403 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-04-29 05:13:07 403 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-04-29 05:13:12 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:12 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:12 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 04fe4cd9-0df6-44fb-8138-9bb115656ad8
2022-04-29 05:13:12 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:13:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:13:16 957 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:13:22 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:22 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:22 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 04afe695-0496-4eba-8302-a7b6fcd0358a
2022-04-29 05:13:22 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:13:22 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:22 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:22 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bb10e561-89f9-428d-b7bc-73f858e49809
2022-04-29 05:13:22 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:13:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
10.233.66.23 - - [29/Apr/2022:05:13:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:13:32 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:32 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:32 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 92e9028e-7787-4f9f-aa5d-0c9af4667ff3
2022-04-29 05:13:32 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:13:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:13:37 150 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:37 150 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:37 150 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1a593488-9842-4a9b-a797-04e04536049b
2022-04-29 05:13:37 150 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:13:37 154 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@366531bb
127.0.0.1 - - [29/Apr/2022:05:13:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-04-29 05:13:37 215 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:37 215 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:37 215 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0ede7c7c-5c39-48c7-8acb-c46b15005dd5
2022-04-29 05:13:37 215 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:13:37 229 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-04-29 05:13:37 294 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:13:37 294 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 - - [29/Apr/2022:05:13:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 81
2022-04-29 05:13:37 298 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-04-29 05:13:37 298 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-04-29 05:13:42 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:42 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:42 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5b6a6b10-bba6-482e-a216-ab2ef5a62e63
2022-04-29 05:13:42 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:13:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:13:46 956 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:13:52 047 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:52 047 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:52 047 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8a6b4000-f3c5-4a5e-b01a-4af41cd96938
2022-04-29 05:13:52 047 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:13:52 054 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:13:52 054 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:13:52 054 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8b69d992-ffb8-42c4-8f21-59c2b61cc8c9
2022-04-29 05:13:52 055 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:13:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 12
10.233.66.23 - - [29/Apr/2022:05:13:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 24
2022-04-29 05:14:02 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:02 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:02 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 82193bb5-3dbd-4b3a-b645-8621a2235035
2022-04-29 05:14:02 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:14:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:14:07 136 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:07 136 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:07 136 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e9701a96-5fc2-403b-b961-523daacc6c72
2022-04-29 05:14:07 136 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:14:07 141 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@3aad73d6
127.0.0.1 - - [29/Apr/2022:05:14:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-04-29 05:14:07 189 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:07 189 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:07 189 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5a7b8374-edc0-440e-98e5-7ee056c032dd
2022-04-29 05:14:07 190 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:14:07 197 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-04-29 05:14:07 266 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:14:07 267 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 - - [29/Apr/2022:05:14:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 80
2022-04-29 05:14:07 269 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-04-29 05:14:07 269 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-04-29 05:14:12 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:12 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:12 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 91fb7fd1-f497-40b3-8b3e-194831dc2d75
2022-04-29 05:14:12 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:14:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:14:16 956 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:14:22 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:22 035 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:22 035 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 63b59f4e-b816-4c57-941d-891492f8c54c
2022-04-29 05:14:22 035 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:14:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:14:22 045 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:22 045 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:22 045 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b2aec28f-a985-4140-9b20-8c6982d720eb
2022-04-29 05:14:22 045 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:14:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:14:32 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:32 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:32 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 52f1de6d-0d22-4346-a0bc-51819f86c51d
2022-04-29 05:14:32 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:14:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:14:37 124 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:37 125 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:37 125 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: fc813a5e-1af6-4cd9-aa29-65440ed0a6bd
2022-04-29 05:14:37 125 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:14:37 131 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@1a184821
127.0.0.1 - - [29/Apr/2022:05:14:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 9
2022-04-29 05:14:37 181 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:37 182 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:37 182 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 327ec3ec-99b3-4963-94af-e098bcbaccdb
2022-04-29 05:14:37 182 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:14:37 189 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-04-29 05:14:37 255 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:14:37 255 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 - - [29/Apr/2022:05:14:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 76
2022-04-29 05:14:37 258 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-04-29 05:14:37 258 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-04-29 05:14:42 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:42 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:42 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3b818a90-3e4c-4c29-b501-366e8fda080f
2022-04-29 05:14:42 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:14:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 8
2022-04-29 05:14:46 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:14:52 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:52 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:52 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6b04d713-8d4d-47fa-9975-7fec5f4c5b0c
2022-04-29 05:14:52 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:14:52 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:14:52 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:14:52 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: aed12573-412d-49a6-9938-0c7ab830784a
2022-04-29 05:14:52 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:14:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.66.23 - - [29/Apr/2022:05:14:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:15:02 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:02 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:02 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3d4fc200-c63a-4bf9-a45b-ddb87dd5e195
2022-04-29 05:15:02 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:15:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:15:07 159 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:07 159 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:07 159 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e83c0f6e-00ee-45af-84a2-31bfd4d1b62f
2022-04-29 05:15:07 159 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:15:07 166 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@3af25024
127.0.0.1 - - [29/Apr/2022:05:15:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 11
2022-04-29 05:15:07 296 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:07 297 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:07 297 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6306e4ea-c3ad-4a9b-af21-e7ee5d0709b4
2022-04-29 05:15:07 297 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:15:07 304 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-04-29 05:15:07 363 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:15:07 364 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)
2022-04-29 05:15:07 367 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-04-29 05:15:07 367 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 - - [29/Apr/2022:05:15:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 71
2022-04-29 05:15:12 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:12 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:12 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f80492e7-1554-4bb5-8463-044dfeb5f167
2022-04-29 05:15:12 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:15:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:15:16 956 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:15:22 044 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:22 044 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:22 044 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 71a5883f-b8a3-4f67-b5e9-ca0ffd9e8958
2022-04-29 05:15:22 044 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:15:22 046 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:22 046 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:22 046 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c8c14114-d86a-4530-a223-c33bbc69b1dc
2022-04-29 05:15:22 046 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:15:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.66.23 - - [29/Apr/2022:05:15:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 9
2022-04-29 05:15:32 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:32 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:32 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 29f996cd-4165-4c6c-9b9a-c22abcafb017
2022-04-29 05:15:32 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:15:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:15:37 123 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:37 123 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:37 123 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8c504cfa-f3e7-414f-a247-aa90051f191a
2022-04-29 05:15:37 123 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:15:37 127 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@217d60cf
127.0.0.1 - - [29/Apr/2022:05:15:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-29 05:15:37 172 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:37 172 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:37 172 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: aaf582f7-d097-4fed-a337-b2b3786dcb07
2022-04-29 05:15:37 172 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:15:37 200 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-04-29 05:15:37 274 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:15:37 274 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 - - [29/Apr/2022:05:15:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 104
2022-04-29 05:15:37 276 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-04-29 05:15:37 277 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-04-29 05:15:42 037 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:42 037 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:42 037 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 206677ab-0f76-4584-adb8-f2407da48a3c
2022-04-29 05:15:42 037 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:15:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:15:46 957 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:15:52 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:52 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:52 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 786430e3-d784-409d-8a99-eefe19a1fbc2
2022-04-29 05:15:52 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:15:52 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:15:52 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:15:52 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 942b8d31-b49d-4e57-bc14-f947ebff8706
2022-04-29 05:15:52 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:15:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.66.23 - - [29/Apr/2022:05:15:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:16:02 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:02 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:02 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a7b9d3da-f268-4902-aad3-3b7e503147a5
2022-04-29 05:16:02 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:16:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:16:07 127 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:07 127 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:07 127 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5de37e25-5aef-4f10-8af0-1373340ec65f
2022-04-29 05:16:07 128 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:16:07 132 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@3903b20e
127.0.0.1 - - [29/Apr/2022:05:16:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-04-29 05:16:07 184 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:07 185 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:07 185 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ee4d8d30-72a6-4da8-8b35-42c2f280718b
2022-04-29 05:16:07 185 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:16:07 194 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
127.0.0.1 - - [29/Apr/2022:05:16:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 67
2022-04-29 05:16:07 248 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:16:07 249 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-04-29 05:16:07 252 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-04-29 05:16:07 252 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-04-29 05:16:12 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:12 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:12 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cc22cc7c-21bf-4ddb-8751-ba333592b888
2022-04-29 05:16:12 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:16:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:16:16 957 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:16:22 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:22 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:22 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6535c284-4d6f-4339-a657-ea7e9cb3b337
2022-04-29 05:16:22 035 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:16:22 037 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:22 037 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:22 037 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a699b15e-916e-4069-8e45-f79686934be6
2022-04-29 05:16:22 038 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:16:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
10.233.66.23 - - [29/Apr/2022:05:16:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:16:32 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:32 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:32 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9e4197d9-716b-4485-bc4e-fa0914a079da
2022-04-29 05:16:32 035 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:16:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:16:37 123 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:37 123 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:37 123 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 38f56697-a5e2-4e6c-b0b5-e61100df7822
2022-04-29 05:16:37 123 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:16:37 127 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@d4425e2
127.0.0.1 - - [29/Apr/2022:05:16:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-29 05:16:37 172 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:37 172 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:37 172 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2688ffca-c26f-4fdd-b615-eb5cba217028
2022-04-29 05:16:37 172 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:16:37 179 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-04-29 05:16:37 231 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:16:37 232 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 - - [29/Apr/2022:05:16:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 61
2022-04-29 05:16:37 234 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-04-29 05:16:37 235 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-04-29 05:16:42 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:42 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:42 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4563408f-3aa7-4f75-bb60-79a33089fb9e
2022-04-29 05:16:42 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:16:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:16:46 959 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:16:52 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:52 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:52 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e45c15e9-ef16-4e98-a68f-9254dd2102fd
2022-04-29 05:16:52 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:16:52 035 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:16:52 035 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:16:52 035 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5310267b-6781-430b-8408-5d4c571898ac
2022-04-29 05:16:52 036 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:16:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
10.233.66.23 - - [29/Apr/2022:05:16:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:17:02 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:02 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:02 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 96deba68-972a-47d7-9595-e1ee0a7d658d
2022-04-29 05:17:02 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:17:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-04-29 05:17:07 141 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:07 141 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:07 141 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6f93304b-c9b6-4139-85fb-26cba1ac263b
2022-04-29 05:17:07 142 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:17:07 146 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@3ea7a937
127.0.0.1 - - [29/Apr/2022:05:17:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-04-29 05:17:07 202 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:07 203 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:07 203 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c2ed7948-5d43-4413-b384-78234738ccdc
2022-04-29 05:17:07 203 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:17:07 210 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-04-29 05:17:07 375 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:17:07 375 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 - - [29/Apr/2022:05:17:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 175
2022-04-29 05:17:07 378 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-04-29 05:17:07 378 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.66.23 - - [29/Apr/2022:05:17:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:17:12 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:12 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:12 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0f169903-731b-45ab-9f72-167367201460
2022-04-29 05:17:12 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:17:16 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:17:22 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:22 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:22 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: eb94c5a6-09fe-45f5-a3f4-7f7c9740409f
2022-04-29 05:17:22 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:17:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:17:22 039 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:22 039 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:22 039 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c1fdfdae-1e91-46e6-8816-0b8f3a0c5c95
2022-04-29 05:17:22 039 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:17:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:17:32 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:32 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:32 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 34f27eec-40ae-4c5e-b62f-708a6b02d355
2022-04-29 05:17:32 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:17:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:17:37 125 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:37 126 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:37 126 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6b1bd6ac-37ff-414b-a0de-6e93b38e8855
2022-04-29 05:17:37 138 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:17:37 153 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@4598dcc5
127.0.0.1 - - [29/Apr/2022:05:17:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 31
2022-04-29 05:17:37 206 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:37 206 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:37 206 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e6b448c2-f703-47b9-8aa2-b9f503ca58d6
2022-04-29 05:17:37 206 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:17:37 215 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-04-29 05:17:37 270 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:17:37 270 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 - - [29/Apr/2022:05:17:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 66
2022-04-29 05:17:37 272 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-04-29 05:17:37 272 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-04-29 05:17:42 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:42 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:42 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d2a36efa-e216-4536-a61a-05633c7918fb
2022-04-29 05:17:42 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:17:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:17:46 959 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:17:52 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:52 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:52 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3adac1a2-abab-4849-97f1-6462b8c31d26
2022-04-29 05:17:52 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:17:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:17:52 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:17:52 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:17:52 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 961688c3-070a-4d26-acb5-e12f744846a4
2022-04-29 05:17:52 035 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:17:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:18:02 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:02 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:02 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a19d230c-bf32-4a46-befa-98acfe4c96b4
2022-04-29 05:18:02 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:18:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:18:07 121 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:07 121 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:07 121 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8aa63baa-8f07-4e12-adf2-ffd94316dc62
2022-04-29 05:18:07 121 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:18:07 126 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@5ab0e54b
127.0.0.1 - - [29/Apr/2022:05:18:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-29 05:18:07 170 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:07 170 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:07 170 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2638092b-f1ce-46d9-b495-9685240204b0
2022-04-29 05:18:07 171 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:18:07 185 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-04-29 05:18:07 240 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:18:07 241 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 - - [29/Apr/2022:05:18:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 74
2022-04-29 05:18:07 244 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-04-29 05:18:07 244 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-04-29 05:18:12 026 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:12 026 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:12 026 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d65c87c4-81f8-42aa-84ca-e23c86d825cb
2022-04-29 05:18:12 026 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:18:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:18:16 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:18:22 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:22 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:22 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ea9c2fbe-e389-4169-88cc-a4c0f0146c71
2022-04-29 05:18:22 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:18:22 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:22 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:22 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f9595c8e-8f65-4760-be5c-111a8f2c01bf
10.233.66.23 - - [29/Apr/2022:05:18:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.66.23 - - [29/Apr/2022:05:18:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:18:22 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:18:32 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:32 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:32 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 81ec14d0-fc40-4568-a63e-915a2fc218b0
2022-04-29 05:18:32 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:18:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:18:37 128 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:37 128 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:37 128 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 47485cc4-25cd-4887-98da-7e566f0eed96
2022-04-29 05:18:37 128 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:18:37 137 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@75357a91
127.0.0.1 - - [29/Apr/2022:05:18:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 11
2022-04-29 05:18:37 184 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:37 184 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:37 184 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c3e68cf6-94a5-43f2-ba8a-52696c19cf41
2022-04-29 05:18:37 184 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:18:37 192 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-04-29 05:18:37 249 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:18:37 249 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)
127.0.0.1 - - [29/Apr/2022:05:18:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 68
2022-04-29 05:18:37 252 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-04-29 05:18:37 252 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-04-29 05:18:42 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:42 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:42 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 999b8783-55b4-4ef6-a4e2-00a9c7685c90
2022-04-29 05:18:42 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:18:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:18:46 959 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:18:52 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:52 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:52 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e0bb1c82-3ccb-4ce7-b06d-d99cb6b58110
2022-04-29 05:18:52 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:18:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:18:52 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:18:52 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:18:52 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e09ecf24-ad3a-476b-910a-4a269dbd95fe
2022-04-29 05:18:52 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:18:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:19:02 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:02 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:02 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5466bb71-17e9-4fdf-9e39-aa9d076ca026
2022-04-29 05:19:02 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:19:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:19:07 124 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:07 124 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:07 124 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 095c8201-0ce5-48aa-a88d-22ef36129072
2022-04-29 05:19:07 124 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:19:07 129 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@3b1f991
127.0.0.1 - - [29/Apr/2022:05:19:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-04-29 05:19:07 169 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:07 169 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:07 169 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 14517be9-78ce-4a44-9b6a-eb23f8533b02
2022-04-29 05:19:07 169 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:19:07 186 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-04-29 05:19:07 245 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:19:07 245 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 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 - - [29/Apr/2022:05:19:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 80
2022-04-29 05:19:07 249 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-04-29 05:19:07 249 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-04-29 05:19:12 035 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:12 035 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:12 035 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 96071775-e86a-4da8-96cd-4a63b20f4848
2022-04-29 05:19:12 035 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:19:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:19:16 959 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:19:22 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:22 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:22 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3d804b9c-d3dd-4456-b237-5818a9075c19
2022-04-29 05:19:22 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:19:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.66.23 - - [29/Apr/2022:05:19:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:19:22 044 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:22 044 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:22 044 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6c6e88e4-c406-410e-af4f-4260d0832dfc
2022-04-29 05:19:22 044 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:19:32 093 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:32 094 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:32 094 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8a4685e1-6752-4387-95e6-f972a7761b28
2022-04-29 05:19:32 094 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:19:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:19:37 118 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:37 118 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:37 118 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 799a2161-f10f-4adc-8a0a-88bcd75c26ff
2022-04-29 05:19:37 118 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:19:37 122 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@50bd216f
127.0.0.1 - - [29/Apr/2022:05:19:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 5
2022-04-29 05:19:37 159 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:37 159 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:37 159 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 31a6da47-73aa-4954-b339-b1b9adef03c6
2022-04-29 05:19:37 159 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:19:37 166 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-04-29 05:19:37 213 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:19:37 213 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 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 - - [29/Apr/2022:05:19:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 56
2022-04-29 05:19:37 216 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-04-29 05:19:37 217 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-04-29 05:19:42 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:42 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:42 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 89a8d165-2355-4777-b008-84620b1a8ab1
2022-04-29 05:19:42 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:19:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:19:46 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:19:52 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:52 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:52 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e7d293de-cf10-4f8e-bceb-305025ce9d71
2022-04-29 05:19:52 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:19:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
10.233.66.23 - - [29/Apr/2022:05:19:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
2022-04-29 05:19:52 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:19:52 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:19:52 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b32227c1-37d0-4d3d-9631-d5c61d1c27b1
2022-04-29 05:19:52 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:20:02 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:02 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:02 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1de6ac30-6b97-449c-9150-3ec87c5995f7
2022-04-29 05:20:02 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:20:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:20:07 128 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:07 128 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:07 128 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 201a5c68-ec93-4472-8d42-ae9db7f4841d
2022-04-29 05:20:07 128 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:20:07 132 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@4f6653af
127.0.0.1 - - [29/Apr/2022:05:20:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 5
2022-04-29 05:20:07 195 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:07 195 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:07 195 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3e2770fa-3cc9-4c16-add8-530bb943707e
2022-04-29 05:20:07 195 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:20:07 202 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-04-29 05:20:07 255 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:20:07 255 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 - - [29/Apr/2022:05:20:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 62
2022-04-29 05:20:07 257 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-04-29 05:20:07 257 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-04-29 05:20:12 025 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:12 025 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:12 026 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 27f4dee6-f84b-43fc-941c-52c55176939a
2022-04-29 05:20:12 026 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:20:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:20:16 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:20:22 026 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:22 026 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:22 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0fdf7db2-6061-4d71-9d4f-d13a56a2f5d8
2022-04-29 05:20:22 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:20:22 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:22 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:22 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4678838d-6614-4853-9f1a-3cb417c54f63
2022-04-29 05:20:22 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:20:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.66.23 - - [29/Apr/2022:05:20:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:20:32 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:32 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:32 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9bc48567-c64a-4c57-92e0-6fe7566b2e4f
2022-04-29 05:20:32 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:20:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:20:37 118 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:37 118 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:37 118 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ba2fc4ac-a3b3-4471-8933-e2e26bf9fc76
2022-04-29 05:20:37 119 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:20:37 123 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@3e5c684d
127.0.0.1 - - [29/Apr/2022:05:20:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-29 05:20:37 159 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:37 160 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:37 160 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8aec5d85-b952-4bd1-b11e-dd549b336342
2022-04-29 05:20:37 160 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:20:37 167 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-04-29 05:20:37 215 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:20:37 216 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 - - [29/Apr/2022:05:20:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 58
2022-04-29 05:20:37 218 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-04-29 05:20:37 218 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-04-29 05:20:42 036 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:42 036 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:42 036 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e648268f-9551-4e7f-b8af-638d5b5d5c0f
2022-04-29 05:20:42 036 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:20:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 8
2022-04-29 05:20:46 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:20:52 067 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:52 067 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:52 067 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cb7020bf-dda5-48ed-b2b4-b833d2016c68
2022-04-29 05:20:52 067 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:20:52 068 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:20:52 068 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:20:52 068 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c5447f93-25f8-458f-b4d7-bb5cc6cea4ba
2022-04-29 05:20:52 068 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:20:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.66.23 - - [29/Apr/2022:05:20:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 11
2022-04-29 05:21:02 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:02 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:02 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e25eb327-dc39-42fa-a2e5-5509cc0bc3c9
2022-04-29 05:21:02 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:21:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:21:07 125 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:07 125 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:07 125 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 87c8e890-0508-4138-b8db-7980f8a5e597
2022-04-29 05:21:07 125 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:21:07 129 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@1e275070
127.0.0.1 - - [29/Apr/2022:05:21:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 5
2022-04-29 05:21:07 169 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:07 169 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:07 169 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 726b0636-e592-47d4-a3ff-4bfdda1506fc
2022-04-29 05:21:07 169 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:21:07 176 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-04-29 05:21:07 226 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:21:07 227 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)
127.0.0.1 - - [29/Apr/2022:05:21:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 60
2022-04-29 05:21:07 229 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-04-29 05:21:07 229 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-04-29 05:21:12 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:12 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:12 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 671c77d2-70ee-4489-8eb7-c032f5c1a717
2022-04-29 05:21:12 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:21:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 8
2022-04-29 05:21:16 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:21:22 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:22 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:22 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a4f815bd-5154-4d08-9767-0442d86cc25a
2022-04-29 05:21:22 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:21:22 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:22 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:22 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f2fd6b42-e397-4599-9b4e-dd533702e23c
2022-04-29 05:21:22 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:21:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.66.23 - - [29/Apr/2022:05:21:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
2022-04-29 05:21:32 046 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:32 046 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:32 046 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 28144b93-b7e6-40c6-8331-536cff8b10c6
2022-04-29 05:21:32 046 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:21:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:21:37 120 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:37 120 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:37 120 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 84297c0e-0aff-4e3f-ae93-d87edcb2864a
2022-04-29 05:21:37 120 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:21:37 124 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@1e5e8f43
127.0.0.1 - - [29/Apr/2022:05:21:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-29 05:21:37 229 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:37 229 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:37 229 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 457668e4-5801-41b2-96d6-01dc1d87f669
2022-04-29 05:21:37 229 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:21:37 237 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-04-29 05:21:37 285 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:21:37 286 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 - - [29/Apr/2022:05:21:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 58
2022-04-29 05:21:37 289 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-04-29 05:21:37 289 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-04-29 05:21:42 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:42 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:42 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 12f8f51b-7d54-417f-a7ae-79c43944db44
2022-04-29 05:21:42 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:21:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:21:46 959 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
10.233.66.23 - - [29/Apr/2022:05:21:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:21:52 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:52 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:52 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 17d71fa5-bc6c-422f-af5d-404819a5a8ee
2022-04-29 05:21:52 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:21:52 033 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:21:52 033 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:21:52 034 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8c99cafa-6ebc-4348-974f-dca3c766bd1a
2022-04-29 05:21:52 034 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:21:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:22:02 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:02 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:02 031 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d9a4ead6-ff13-469e-a6ce-76639094d93b
2022-04-29 05:22:02 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:22:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:22:07 120 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:07 120 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:07 120 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f95f5f15-6dff-4a87-8687-7c821afe46b7
2022-04-29 05:22:07 120 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:22:07 125 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@2d937255
127.0.0.1 - - [29/Apr/2022:05:22:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-04-29 05:22:07 163 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:07 163 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:07 163 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bb25761d-12b8-4733-b006-6fc1ed52d899
2022-04-29 05:22:07 164 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:22:07 171 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-04-29 05:22:07 215 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:22:07 215 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 - - [29/Apr/2022:05:22:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 55
2022-04-29 05:22:07 218 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-04-29 05:22:07 218 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-04-29 05:22:12 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:12 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:12 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 48d16ba9-80b9-4d4a-a92f-c05d14b44f8c
2022-04-29 05:22:12 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:22:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:22:16 961 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:22:22 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:22 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:22 032 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 17531fd1-00b6-497f-8bdc-0dae15890ada
2022-04-29 05:22:22 032 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:22:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:22:22 038 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:22 039 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:22 039 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1e046544-db1e-4f53-bd3b-e4c39bc5680e
2022-04-29 05:22:22 039 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:22:22 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-04-29 05:22:32 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:32 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:32 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 85e7b846-f8ce-4af8-b63e-142528ef1184
2022-04-29 05:22:32 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:22:32 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:22:37 132 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:37 132 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:37 132 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8a9c0d38-0ac9-4b91-9901-b7f9d8709ad5
2022-04-29 05:22:37 132 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:22:37 137 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@20e31506
127.0.0.1 - - [29/Apr/2022:05:22:37 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-04-29 05:22:37 177 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:37 177 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:37 177 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: be38fd39-5200-48d6-b5bb-df9766c5ca46
2022-04-29 05:22:37 177 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:22:37 184 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-04-29 05:22:37 231 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:22:37 232 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 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 - - [29/Apr/2022:05:22:37 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 57
2022-04-29 05:22:37 234 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-04-29 05:22:37 234 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-04-29 05:22:42 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:42 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:42 030 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bb864a29-ac5b-40a5-92b0-2ae0b6e0d672
2022-04-29 05:22:42 031 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:22:42 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-04-29 05:22:46 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:22:52 038 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:52 038 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:22:52 038 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:52 039 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1f8df352-532c-41cb-8cbb-a91459d4776b
2022-04-29 05:22:52 039 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:22:52 039 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:22:52 039 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f211d90c-d0da-4b19-915a-7ce4f92b6ff6
2022-04-29 05:22:52 039 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:22:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.66.23 - - [29/Apr/2022:05:22:52 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:23:02 027 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-04-29 05:23:02 027 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:23:02 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cf121147-972f-4009-be40-c358a917cccf
2022-04-29 05:23:02 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:23:02 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:23:07 124 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:23:07 124 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:23:07 124 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 29309cf3-8705-4c5f-bc87-04aba1748322
2022-04-29 05:23:07 124 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:23:07 129 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@51b288f8
127.0.0.1 - - [29/Apr/2022:05:23:07 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-04-29 05:23:07 173 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-04-29 05:23:07 173 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:23:07 173 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4f33095d-2cf3-4da0-bf66-b7090e1e5505
2022-04-29 05:23:07 173 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-04-29 05:23:07 182 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-04-29 05:23:07 246 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.68.210:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-04-29 05:23:07 246 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 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 - - [29/Apr/2022:05:23:07 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 75
2022-04-29 05:23:07 249 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-04-29 05:23:07 249 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-04-29 05:23:12 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-04-29 05:23:12 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-04-29 05:23:12 029 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 27b73a4d-e060-47bd-9f87-e0d9ec80a48a
2022-04-29 05:23:12 029 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.66.23 - - [29/Apr/2022:05:23:12 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-04-29 05:23:16 958 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-04-29 05:23:22 030 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter