@RUNHOME@ /opt/onap/bin
@JAVA_HOME@ /usr/local/openjdk-11
@JAVA@ /usr/local/openjdk-11/bin/java
@JAVA_OPTS@ -Xms256m -Xmx1g
@class_path@ /opt/onap/bin/../lib/animal-sniffer-annotations-1.18.jar /opt/onap/bin/../lib/annotations-2.0.1.jar /opt/onap/bin/../lib/aopalliance-repackaged-2.6.1.jar /opt/onap/bin/../lib/argparse4j-0.8.1.jar /opt/onap/bin/../lib/caffeine-2.8.4.jar /opt/onap/bin/../lib/checker-qual-3.4.0.jar /opt/onap/bin/../lib/classmate-1.5.1.jar /opt/onap/bin/../lib/commons-codec-1.14.jar /opt/onap/bin/../lib/commons-collections-3.2.2.jar /opt/onap/bin/../lib/commons-lang-2.5.jar /opt/onap/bin/../lib/commons-lang3-3.7.jar /opt/onap/bin/../lib/commons-logging-1.1.1.jar /opt/onap/bin/../lib/commons-text-1.8.jar /opt/onap/bin/../lib/dropwizard-configuration-2.0.10.jar /opt/onap/bin/../lib/dropwizard-core-2.0.10.jar /opt/onap/bin/../lib/dropwizard-db-2.0.10.jar /opt/onap/bin/../lib/dropwizard-jackson-2.0.10.jar /opt/onap/bin/../lib/dropwizard-jdbi-2.0.0-rc9.jar /opt/onap/bin/../lib/dropwizard-jersey-2.0.10.jar /opt/onap/bin/../lib/dropwizard-jetty-2.0.10.jar /opt/onap/bin/../lib/dropwizard-lifecycle-2.0.10.jar /opt/onap/bin/../lib/dropwizard-logging-2.0.10.jar /opt/onap/bin/../lib/dropwizard-metrics-2.0.10.jar /opt/onap/bin/../lib/dropwizard-request-logging-2.0.10.jar /opt/onap/bin/../lib/dropwizard-servlets-2.0.10.jar /opt/onap/bin/../lib/dropwizard-util-2.0.10.jar /opt/onap/bin/../lib/dropwizard-validation-2.0.10.jar /opt/onap/bin/../lib/error_prone_annotations-2.3.2.jar /opt/onap/bin/../lib/ezmorph-1.0.6.jar /opt/onap/bin/../lib/failureaccess-1.0.1.jar /opt/onap/bin/../lib/gson-2.8.9.jar /opt/onap/bin/../lib/guava-28.1-jre.jar /opt/onap/bin/../lib/hibernate-validator-6.1.5.Final.jar /opt/onap/bin/../lib/hk2-api-2.6.1.jar /opt/onap/bin/../lib/hk2-locator-2.6.1.jar /opt/onap/bin/../lib/hk2-utils-2.6.1.jar /opt/onap/bin/../lib/holmes-actions-1.4.2.jar /opt/onap/bin/../lib/holmes-rulemgt-1.3.6-SNAPSHOT.jar /opt/onap/bin/../lib/j2objc-annotations-1.3.jar /opt/onap/bin/../lib/jackson-annotations-2.10.4.jar /opt/onap/bin/../lib/jackson-core-2.10.1.jar /opt/onap/bin/../lib/jackson-databind-2.10.1.jar /opt/onap/bin/../lib/jackson-dataformat-yaml-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-guava-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-jdk8-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-joda-2.10.4.jar /opt/onap/bin/../lib/jackson-datatype-jsr310-2.10.4.jar /opt/onap/bin/../lib/jackson-jaxrs-base-2.10.4.jar /opt/onap/bin/../lib/jackson-jaxrs-json-provider-2.10.4.jar /opt/onap/bin/../lib/jackson-module-afterburner-2.10.4.jar /opt/onap/bin/../lib/jackson-module-jaxb-annotations-2.10.4.jar /opt/onap/bin/../lib/jackson-module-parameter-names-2.10.4.jar /opt/onap/bin/../lib/jakarta.activation-1.2.2.jar /opt/onap/bin/../lib/jakarta.activation-api-1.2.2.jar /opt/onap/bin/../lib/jakarta.annotation-api-1.3.5.jar /opt/onap/bin/../lib/jakarta.el-3.0.3.jar /opt/onap/bin/../lib/jakarta.inject-2.6.1.jar /opt/onap/bin/../lib/jakarta.servlet-api-4.0.3.jar /opt/onap/bin/../lib/jakarta.validation-api-2.0.2.jar /opt/onap/bin/../lib/jakarta.ws.rs-api-2.1.6.jar /opt/onap/bin/../lib/jakarta.xml.bind-api-2.3.3.jar /opt/onap/bin/../lib/javassist-3.24.1-GA.jar /opt/onap/bin/../lib/jboss-logging-3.3.2.Final.jar /opt/onap/bin/../lib/jcl-over-slf4j-1.7.30.jar /opt/onap/bin/../lib/jdbi-2.78.jar /opt/onap/bin/../lib/jersey-bean-validation-2.31.jar /opt/onap/bin/../lib/jersey-client-2.31.jar /opt/onap/bin/../lib/jersey-common-2.31.jar /opt/onap/bin/../lib/jersey-container-servlet-2.31.jar /opt/onap/bin/../lib/jersey-container-servlet-core-2.31.jar /opt/onap/bin/../lib/jersey-hk2-2.31.jar /opt/onap/bin/../lib/jersey-media-jaxb-2.31.jar /opt/onap/bin/../lib/jersey-metainf-services-2.31.jar /opt/onap/bin/../lib/jersey-server-2.31.jar /opt/onap/bin/../lib/jetty-continuation-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-http-9.4.24.v20191120.jar /opt/onap/bin/../lib/jetty-io-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-security-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-server-9.4.24.v20191120.jar /opt/onap/bin/../lib/jetty-servlet-9.4.24.v20191120.jar /opt/onap/bin/../lib/jetty-servlets-9.4.29.v20200521.jar /opt/onap/bin/../lib/jetty-setuid-java-1.0.4.jar /opt/onap/bin/../lib/jetty-util-9.4.29.v20200521.jar /opt/onap/bin/../lib/jna-4.5.1.jar /opt/onap/bin/../lib/jna-platform-4.5.1.jar /opt/onap/bin/../lib/joda-time-2.10.6.jar /opt/onap/bin/../lib/json-lib-2.4-jdk15.jar /opt/onap/bin/../lib/jsr305-3.0.2.jar /opt/onap/bin/../lib/jul-to-slf4j-1.7.30.jar /opt/onap/bin/../lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar /opt/onap/bin/../lib/log4j-over-slf4j-1.7.30.jar /opt/onap/bin/../lib/logback-access-1.2.3.jar /opt/onap/bin/../lib/logback-classic-1.2.3.jar /opt/onap/bin/../lib/logback-core-1.2.3.jar /opt/onap/bin/../lib/logback-throttling-appender-1.1.0.jar /opt/onap/bin/../lib/lombok-1.18.4.jar /opt/onap/bin/../lib/metrics-annotation-4.1.9.jar /opt/onap/bin/../lib/metrics-core-4.1.9.jar /opt/onap/bin/../lib/metrics-healthchecks-4.1.9.jar /opt/onap/bin/../lib/metrics-jdbi-4.1.0.jar /opt/onap/bin/../lib/metrics-jersey2-4.1.9.jar /opt/onap/bin/../lib/metrics-jetty9-4.1.9.jar /opt/onap/bin/../lib/metrics-jmx-4.1.9.jar /opt/onap/bin/../lib/metrics-json-4.1.9.jar /opt/onap/bin/../lib/metrics-jvm-4.1.9.jar /opt/onap/bin/../lib/metrics-logback-4.1.9.jar /opt/onap/bin/../lib/metrics-servlets-4.1.9.jar /opt/onap/bin/../lib/msb-java-sdk-1.2.5.jar /opt/onap/bin/../lib/okhttp-3.12.0.jar /opt/onap/bin/../lib/okio-1.15.0.jar /opt/onap/bin/../lib/org.osgi.core-4.3.1.jar /opt/onap/bin/../lib/org.osgi.enterprise-4.2.0.jar /opt/onap/bin/../lib/osgi-resource-locator-1.0.3.jar /opt/onap/bin/../lib/postgresql-42.2.13.jar /opt/onap/bin/../lib/profiler-1.1.1.jar /opt/onap/bin/../lib/reflections-0.9.9.jar /opt/onap/bin/../lib/retrofit-2.5.0.jar /opt/onap/bin/../lib/slf4j-api-1.7.25.jar /opt/onap/bin/../lib/snakeyaml-1.26.jar /opt/onap/bin/../lib/tomcat-jdbc-9.0.35.jar /opt/onap/bin/../lib/tomcat-juli-9.0.35.jar /opt/onap/bin/../lib/waffle-jna-1.9.1.jar
SERVICE_IP=10.233.65.150
DB_PORT=5432
ENABLE_ENCRYPT=true
KEY_PATH=/opt/app/osaaf/local/org.onap.holmes-rule-mgmt.p12
KEY_PASS=YZiSGITnWew4bicSLguSNmBWqq2QdmoG5884gkMx9CyQVpVth2fM8fnPj4xb3QbF
Initializing the holmes rule management database...
--
-- Copyright 2017 ZTE Corporation.
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
--
\c postgres
/******************CREATE NEW DATABASE AND USER***************************/
CREATE DATABASE holmes;
CREATE ROLE holmes with PASSWORD 'JudiTirv3~Kuho' LOGIN;
\encoding UTF8;
/******************DELETE OLD TABLE AND CREATE NEW***************************/
\c holmes;
CREATE TABLE IF NOT EXISTS APLUS_RULE (
RID VARCHAR(30) NOT NULL,
NAME VARCHAR(150) NOT NULL,
CTRLLOOP VARCHAR(150) NOT NULL,
DESCRIPTION VARCHAR(4000) NULL,
ENABLE SMALLINT NOT NULL,
TEMPLATEID BIGINT NOT NULL,
ENGINEID VARCHAR(20) NOT NULL,
ENGINETYPE VARCHAR(20) NOT NULL,
CREATOR VARCHAR(20) NOT NULL,
CREATETIME TIMESTAMP NOT NULL,
UPDATOR VARCHAR(20) NULL,
UPDATETIME TIMESTAMP NULL,
PARAMS VARCHAR(4000) NULL,
CONTENT VARCHAR(20000) NOT NULL,
VENDOR VARCHAR(100) NOT NULL,
ENGINEINSTANCE VARCHAR(100) NOT NULL,
PACKAGE VARCHAR(255) NULL,
PRIMARY KEY (RID),
UNIQUE (NAME)
);
CREATE INDEX IDX_APLUS_RULE_NAME ON APLUS_RULE (NAME);
CREATE INDEX IDX_APLUS_RULE_CTRLLOOP ON APLUS_RULE (CTRLLOOP);
CREATE INDEX IDX_APLUS_RULE_ENABLE ON APLUS_RULE (ENABLE);
CREATE INDEX IDX_APLUS_RULE_TEMPLATEID ON APLUS_RULE (TEMPLATEID);
CREATE INDEX IDX_APLUS_RULE_ENGINEID ON APLUS_RULE (ENGINEID);
CREATE INDEX IDX_APLUS_RULE_ENGINETYPE ON APLUS_RULE (ENGINETYPE);
GRANT ALL PRIVILEGES ON APLUS_RULE TO holmes;
dbname=holmes
user=holmes
password=JudiTirv3~Kuho
port=5432
host=tcp-pgset-primary
You are now connected to database "postgres" as user "holmes".
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:19: ERROR: permission denied to create database
psql:/opt/onap/bin/../dbscripts/postgresql/onap-holmes_rulemgt-createobj.sql:21: ERROR: permission denied to create role
You are now connected to database "holmes" as user "holmes".
CREATE TABLE
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
GRANT
rid | name | ctrlloop | description | enable | templateid | engineid | enginetype | creator | createtime | updator | updatetime | params | content | vendor | engineinstance | package
-----+------+----------+-------------+--------+------------+----------+------------+---------+------------+---------+------------+--------+---------+--------+----------------+---------
(0 rows)
sql_result=0
The database is initialized successfully!
nginx started.
WARN [2022-07-22 05:21:17,910] org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle: Registering org.onap.holmes.common.dropwizard.ioc.annotation.PreLoad service is empty
2022-07-22 05:21:19 210 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering jersey handler with root path prefix: /
2022-07-22 05:21:19 212 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering admin handler with root path prefix: /admin
2022-07-22 05:21:19 234 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Configuration class name:org.onap.holmes.rulemgt.RuleAppConfig
2022-07-22 05:21:19 235 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Configuration class name:io.dropwizard.Configuration
2022-07-22 05:21:19 239 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard Sub Configuration class name io.dropwizard.db.DataSourceFactory
2022-07-22 05:21:19 240 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard environment, class name : io.dropwizard.setup.Environment
2022-07-22 05:21:19 241 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard objectMapper, class name : com.fasterxml.jackson.databind.ObjectMapper
2022-07-22 05:21:19 242 WARN [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.PreBaseService service is empty
2022-07-22 05:21:19 243 WARN [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.BaseService service is empty
2022-07-22 05:21:19 244 WARN [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.PostBaseService service is empty
2022-07-22 05:21:19 245 WARN [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering org.onap.holmes.common.dropwizard.ioc.annotation.PreServiceLoad service is empty
2022-07-22 05:21:19 260 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.CommonUtils
2022-07-22 05:21:19 261 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.Publisher
2022-07-22 05:21:19 263 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-07-22 05:21:19 265 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.RuleAllocator
2022-07-22 05:21:19 269 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.DmaapService
2022-07-22 05:21:19 272 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.Initializer
2022-07-22 05:21:19 274 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-07-22 05:21:19 275 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-07-22 05:21:19 277 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.tools.EngineTools
2022-07-22 05:21:19 278 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-07-22 05:21:19 279 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-07-22 05:21:19 295 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-07-22 05:21:19 310 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-07-22 05:21:19 311 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-07-22 05:21:19 313 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-07-22 05:21:19 317 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.RuleAppConfig
2022-07-22 05:21:19 317 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.MsbRegister
2022-07-22 05:21:19 318 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-07-22 05:21:19 320 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiJsonParserUtil
2022-07-22 05:21:19 322 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-07-22 05:21:19 323 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.SwaggerResource
2022-07-22 05:21:19 324 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.utils.DbDaoUtil
2022-07-22 05:21:19 327 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-07-22 05:21:19 329 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQuery
2022-07-22 05:21:19 330 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiQueryMdons
2022-07-22 05:21:19 331 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl
2022-07-22 05:21:19 333 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.common.aai.AaiResponseUtil
2022-07-22 05:21:19 334 INFO [org.onap.holmes.common.dropwizard.ioc.utils.ServiceBinder][main] invocationID:{InvocationID} - start active class:org.onap.holmes.rulemgt.resources.HealthCheck
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.CommonUtils
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.Publisher
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.RuleAllocator
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.DmaapService
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.Initializer
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.tools.EngineTools
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-07-22 05:21:19 338 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.RuleAppConfig
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.MsbRegister
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.utils.DbDaoUtil
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQuery
2022-07-22 05:21:19 339 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiQueryMdons
2022-07-22 05:21:19 340 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl
2022-07-22 05:21:19 340 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.common.aai.AaiResponseUtil
2022-07-22 05:21:19 340 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard service, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-07-22 05:21:19 341 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.CommonUtils
2022-07-22 05:21:19 342 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.CommonUtils,cost time:0
2022-07-22 05:21:19 342 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.Publisher
2022-07-22 05:21:19 460 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.Publisher,cost time:118
2022-07-22 05:21:19 461 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.transactionid.TransactionIdFilter
2022-07-22 05:21:19 464 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-07-22 05:21:19 464 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAllocator
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.skife.jdbi.cglib.core.ReflectUtils$1 (file:/opt/onap/lib/jdbi-2.78.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.skife.jdbi.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022-07-22 05:21:19 684 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-07-22 05:21:19 684 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.DmaapService
2022-07-22 05:21:19 686 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-07-22 05:21:19 686 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.Initializer
2022-07-22 05:21:19 689 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.Initializer,cost time:3
2022-07-22 05:21:19 689 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2
2022-07-22 05:21:19 689 INFO [org.onap.holmes.rulemgt.Initializer][pool-2-thread-1] invocationID:{InvocationID} - Not ready for MSB registration. Try again after 5 seconds...
2022-07-22 05:21:19 690 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery4Ccvpn2,cost time:1
2022-07-22 05:21:19 690 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper
2022-07-22 05:21:19 690 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper,cost time:0
2022-07-22 05:21:19 690 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.tools.EngineTools
2022-07-22 05:21:19 690 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.tools.EngineTools,cost time:0
2022-07-22 05:21:19 690 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineService
2022-07-22 05:21:19 690 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.bolt.enginebolt.EngineService,cost time:0
2022-07-22 05:21:19 691 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-07-22 05:21:19 691 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources,cost time:0
2022-07-22 05:21:19 691 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleDao
2022-07-22 05:21:19 694 WARN [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} -
org.glassfish.hk2.api.MultiException: A MultiException has 2 exceptions. They are:
1. java.lang.InstantiationException
2. java.lang.IllegalStateException: Unable to perform operation: create on org.onap.holmes.rulemgt.db.CorrelationRuleDao
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:368)
at org.jvnet.hk2.internal.AutoActiveDescriptor.create(AutoActiveDescriptor.java:148)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:455)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:59)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:47)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:74)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:131)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:176)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:98)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2102)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:758)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:721)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:691)
at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.lambda$recordTimeCost$16(AutoConfigBundle.java:359)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$11$1.accept(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.recordTimeCost(AutoConfigBundle.java:356)
at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.registerServices(AutoConfigBundle.java:300)
at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.run(AutoConfigBundle.java:129)
at org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle.run(AutoConfigBundle.java:61)
at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:199)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:43)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
at io.dropwizard.cli.Cli.run(Cli.java:78)
at io.dropwizard.Application.run(Application.java:94)
at org.onap.holmes.rulemgt.RuleActiveApp.main(RuleActiveApp.java:34)
Caused by: java.lang.InstantiationException: null
at java.base/jdk.internal.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1356)
at org.jvnet.hk2.internal.ClazzCreator.createMe(ClazzCreator.java:248)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:342)
... 34 common frames omitted
2022-07-22 05:21:19 694 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper
2022-07-22 05:21:19 695 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper,cost time:0
2022-07-22 05:21:19 695 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper
2022-07-22 05:21:19 695 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.wrapper.RuleQueryWrapper,cost time:0
2022-07-22 05:21:19 695 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.UniqueRequestIdCache
2022-07-22 05:21:19 695 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.UniqueRequestIdCache,cost time:0
2022-07-22 05:21:19 695 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAppConfig
2022-07-22 05:21:19 695 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.RuleAppConfig,cost time:0
2022-07-22 05:21:19 695 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.MsbRegister
2022-07-22 05:21:19 695 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.MsbRegister,cost time:0
2022-07-22 05:21:19 695 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache
2022-07-22 05:21:19 696 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.dmaap.store.ClosedLoopControlNameCache,cost time:0
2022-07-22 05:21:19 696 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiJsonParserUtil
2022-07-22 05:21:19 696 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-07-22 05:21:19 696 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao
2022-07-22 05:21:19 696 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.db.CorrelationRuleQueryDao,cost time:0
2022-07-22 05:21:19 696 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-07-22 05:21:19 696 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.SwaggerResource,cost time:0
2022-07-22 05:21:19 696 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.DbDaoUtil
2022-07-22 05:21:19 697 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.utils.DbDaoUtil,cost time:0
2022-07-22 05:21:19 697 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController
2022-07-22 05:21:19 697 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.controller.EngineInstanceController,cost time:0
2022-07-22 05:21:19 698 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery
2022-07-22 05:21:19 698 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQuery,cost time:0
2022-07-22 05:21:19 698 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQueryMdons
2022-07-22 05:21:19 699 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiQueryMdons,cost time:1
2022-07-22 05:21:19 700 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl
2022-07-22 05:21:19 700 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.engine.service.impl.EngineEntityServiceImpl,cost time:0
2022-07-22 05:21:19 700 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiResponseUtil
2022-07-22 05:21:19 700 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.common.aai.AaiResponseUtil,cost time:0
2022-07-22 05:21:19 700 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - active service, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-07-22 05:21:19 700 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-07-22 05:21:19 707 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - begin Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-07-22 05:21:19 774 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.HealthCheck
2022-07-22 05:21:19 774 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - begin Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-07-22 05:21:19 775 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.SwaggerResource
2022-07-22 05:21:19 775 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - begin Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-07-22 05:21:19 776 INFO [org.onap.holmes.common.dropwizard.ioc.bundle.AutoConfigBundle][main] invocationID:{InvocationID} - Registering Dropwizard resource, class name : org.onap.holmes.rulemgt.resources.RuleMgtResources
2022-07-22 05:21:19 781 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering jersey handler with root path prefix: /
2022-07-22 05:21:19 781 INFO [io.dropwizard.server.SimpleServerFactory][main] invocationID:{InvocationID} - Registering admin handler with root path prefix: /admin
2022-07-22 05:21:19 783 INFO [io.dropwizard.server.ServerFactory][main] invocationID:{InvocationID} - Starting RuleActiveApp
2022-07-22 05:21:19 923 INFO [org.eclipse.jetty.setuid.SetUIDListener][main] invocationID:{InvocationID} - Opened RuleActiveApp@136ccbfe{SSL,[ssl, http/1.1]}{0.0.0.0:9101}
2022-07-22 05:21:19 926 INFO [org.eclipse.jetty.server.Server][main] invocationID:{InvocationID} - jetty-9.4.29.v20200521; built: 2020-05-21T17:20:40.598Z; git: 77c232aed8a45c818fd27232278d9f95a021095e; jvm 11.0.6+10
2022-07-22 05:21:20 617 INFO [org.eclipse.jetty.util.ssl.SslContextFactory][main] invocationID:{InvocationID} - x509=X509@23468512(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@2b53840a[provider=null,keyStore=file:///opt/app/osaaf/local/org.onap.holmes-rule-mgmt.p12,trustStore=null]
2022-07-22 05:21:20 722 INFO [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Enabled protocols: [TLSv1.2, TLSv1.3]
2022-07-22 05:21:20 723 INFO [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Disabled protocols: [SSLv2Hello, SSLv3, TLSv1, TLSv1.1]
2022-07-22 05:21:20 723 INFO [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Enabled cipher suites: [TLS_AES_128_GCM_SHA256, TLS_AES_256_GCM_SHA384, TLS_DHE_DSS_WITH_AES_128_CBC_SHA256, TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, TLS_DHE_DSS_WITH_AES_256_CBC_SHA256, TLS_DHE_DSS_WITH_AES_256_GCM_SHA384, TLS_DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384, TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, TLS_EMPTY_RENEGOTIATION_INFO_SCSV]
2022-07-22 05:21:20 723 INFO [io.dropwizard.jetty.HttpsConnectorFactory][main] invocationID:{InvocationID} - Disabled cipher suites: [TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDH_RSA_WITH_AES_128_CBC_SHA, TLS_ECDH_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_RSA_WITH_AES_256_GCM_SHA384]
2022-07-22 05:21:20 726 INFO [io.dropwizard.setup.AdminEnvironment][main] invocationID:{InvocationID} - tasks =
POST /tasks/log-level (io.dropwizard.servlets.tasks.LogConfigurationTask)
POST /tasks/gc (io.dropwizard.servlets.tasks.GarbageCollectionTask)
2022-07-22 05:21:20 738 INFO [org.eclipse.jetty.server.handler.ContextHandler][main] invocationID:{InvocationID} - Started i.d.j.MutableServletContextHandler@74024f3{/admin,null,AVAILABLE}
2022-07-22 05:21:21 315 INFO [io.dropwizard.jersey.DropwizardResourceConfig][main] invocationID:{InvocationID} - The following paths were found for the configured resources:
GET /api/holmes-rule-mgmt/v1/healthcheck (org.onap.holmes.rulemgt.resources.HealthCheck)
GET /api/holmes-rule-mgmt/v1/rule (org.onap.holmes.rulemgt.resources.RuleMgtResources)
POST /api/holmes-rule-mgmt/v1/rule (org.onap.holmes.rulemgt.resources.RuleMgtResources)
PUT /api/holmes-rule-mgmt/v1/rule (org.onap.holmes.rulemgt.resources.RuleMgtResources)
DELETE /api/holmes-rule-mgmt/v1/rule/{ruleid} (org.onap.holmes.rulemgt.resources.RuleMgtResources)
GET /api/holmes-rule-mgmt/v1/swagger.json (org.onap.holmes.rulemgt.resources.SwaggerResource)
2022-07-22 05:21:21 322 INFO [org.eclipse.jetty.server.handler.ContextHandler][main] invocationID:{InvocationID} - Started i.d.j.MutableServletContextHandler@36ad5f2a{/,null,AVAILABLE}
2022-07-22 05:21:21 352 INFO [org.eclipse.jetty.server.AbstractConnector][main] invocationID:{InvocationID} - Started RuleActiveApp@136ccbfe{SSL,[ssl, http/1.1]}{0.0.0.0:9101}
2022-07-22 05:21:21 355 INFO [org.eclipse.jetty.server.Server][main] invocationID:{InvocationID} - Started @4990ms
2022-07-22 05:21:24 696 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start to register Holmes Service to MSB...
2022-07-22 05:21:24 754 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.65.150","port":"9101","ttl":"","checkType":"","checkUrl":""}],"enable_ssl":true}
2022-07-22 05:21:24 754 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 1
2022-07-22 05:21:25 168 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-2-thread-1] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://msb-iag.onap:443/api/microservices/v1/services
Cause: Not Found
Response body:
404 Not Found
404 Not Found
nginx
2022-07-22 05:21:25 168 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 20s and try again.
2022-07-22 05:21:25 168 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-07-22 05:21:29 765 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:21:45 168 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-07-22 05:21:45 169 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 2
2022-07-22 05:21:45 221 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-2-thread-1] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://msb-iag.onap:443/api/microservices/v1/services
Cause: Not Found
Response body:
404 Not Found
404 Not Found
nginx
2022-07-22 05:21:45 221 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 40s and try again.
2022-07-22 05:21:45 221 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-07-22 05:21:59 689 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:22:20 056 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:22:20 057 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:22:20 057 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 148810f3-4bb5-4ede-9658-319a707b4f45
2022-07-22 05:22:20 058 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:22:20 135 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@378c0ae4
127.0.0.1 - - [22/Jul/2022:05:22:20 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 113
2022-07-22 05:22:20 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:22:20 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:22:20 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 014a87a3-33f2-451a-b563-e564a27fcb67
2022-07-22 05:22:20 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:22:20 274 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:22:20 390 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:22:20 391 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 - - [22/Jul/2022:05:22:20 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 154
2022-07-22 05:22:20 398 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:22:20 398 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:22:25 221 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-07-22 05:22:25 221 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 3
2022-07-22 05:22:25 250 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-2-thread-1] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://msb-iag.onap:443/api/microservices/v1/services
Cause: Not Found
Response body:
404 Not Found
404 Not Found
nginx
2022-07-22 05:22:25 250 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 60s and try again.
2022-07-22 05:22:25 250 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-07-22 05:22:29 692 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:22:49 878 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:22:49 878 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:22:49 878 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2ea7d339-462e-4968-9aa3-b55e8af20a5b
2022-07-22 05:22:49 878 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:22:49 890 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@64f82415
127.0.0.1 - - [22/Jul/2022:05:22:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 15
2022-07-22 05:22:49 984 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:22:49 984 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:22:49 984 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 55fef4b6-b34e-4e5b-90ff-858cb3b4bc91
2022-07-22 05:22:49 985 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:22:49 993 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:22:50 106 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:22:50 107 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 - - [22/Jul/2022:05:22:50 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 125
2022-07-22 05:22:50 110 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:22:50 110 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:22:59 691 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:23:19 935 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:23:19 935 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:23:19 935 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4f9240af-b22a-4766-be58-026936c80a5d
2022-07-22 05:23:19 935 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:23:19 945 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@5c7f7aa7
127.0.0.1 - - [22/Jul/2022:05:23:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 13
2022-07-22 05:23:20 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:23:20 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:23:20 028 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 72c180bc-6f33-4f7f-b4d0-ee870b3d874f
2022-07-22 05:23:20 028 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:23:20 042 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:23:20 120 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:23:20 121 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 - - [22/Jul/2022:05:23:20 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 96
2022-07-22 05:23:20 124 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:23:20 124 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:23:20 270 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:23:20 270 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:23:20 270 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 960d6039-c21e-45b9-b671-2763388b67a7
2022-07-22 05:23:20 271 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:23:20 276 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:23:20 276 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:23:20 276 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8dc4453d-a542-447b-9d5a-27b2b7ac422d
2022-07-22 05:23:20 276 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:23:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 14
10.233.65.136 - - [22/Jul/2022:05:23:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 8
2022-07-22 05:23:25 250 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-07-22 05:23:25 250 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 4
2022-07-22 05:23:25 306 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-2-thread-1] invocationID:{InvocationID} - Failed to get response from the server <404>.
URL: https://msb-iag.onap:443/api/microservices/v1/services
Cause: Not Found
Response body:
404 Not Found
404 Not Found
nginx
2022-07-22 05:23:25 306 WARN [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Failed to register the service to MSB. Sleep 80s and try again.
2022-07-22 05:23:25 306 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Start sleeping...
2022-07-22 05:23:29 688 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:23:30 292 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:23:30 292 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:23:30 292 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6e7978cc-9ceb-4f9f-ba1c-87228980f327
2022-07-22 05:23:30 292 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:23:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:23:40 276 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:23:40 277 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:23:40 277 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2d2e668e-8763-4b67-8331-a3cdc79bc207
2022-07-22 05:23:40 277 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:23:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 8
2022-07-22 05:23:49 852 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:23:49 852 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:23:49 852 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e9a58431-928f-4bdf-a4c4-53ceeeadc326
2022-07-22 05:23:49 852 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:23:49 861 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@7cddb294
127.0.0.1 - - [22/Jul/2022:05:23:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 12
2022-07-22 05:23:49 921 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:23:49 921 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:23:49 921 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 81abc705-8e22-4721-96ac-0d2f25c08a98
2022-07-22 05:23:49 921 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:23:49 930 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-23 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:23:50 001 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:23:50 001 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 - - [22/Jul/2022:05:23:50 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 83
2022-07-22 05:23:50 004 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:23:50 004 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:23:50 258 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:23:50 258 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:23:50 258 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: db9b8e1a-a0b7-4cff-a3e7-464adc9fd71c
2022-07-22 05:23:50 258 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:23:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:23:50 268 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:23:50 268 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:23:50 268 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 7aaa073e-e1b8-4a0e-ae58-2b5d0a6ecd41
2022-07-22 05:23:50 268 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:23:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:23:59 693 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:24:00 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:00 249 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:00 249 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2e6808f2-23e0-4f3e-a2a3-2ac8f81a1ea7
2022-07-22 05:24:00 249 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:24:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:24:10 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:10 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:10 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4c06aac4-2780-4a45-911f-e0be593b8c24
2022-07-22 05:24:10 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:24:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:24:19 833 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:19 833 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:19 833 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a97cace6-2884-44ca-ac69-3b503942a597
2022-07-22 05:24:19 833 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:24:19 845 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@bb26cbf
127.0.0.1 - - [22/Jul/2022:05:24:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 15
2022-07-22 05:24:19 923 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:19 923 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:19 923 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e4d977be-f65f-4696-badd-b51261508516
2022-07-22 05:24:19 923 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:24:19 932 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:24:20 010 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:24:20 010 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 - - [22/Jul/2022:05:24:20 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 90
2022-07-22 05:24:20 013 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:24:20 014 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:24:20 255 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:20 256 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:20 256 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3dbbd5b6-9f86-4ec7-affd-0333c5b1eb05
2022-07-22 05:24:20 256 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:24:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:24:20 262 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:20 262 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:20 262 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e48f5fde-2140-4d35-b957-ae9c8fc17b7c
2022-07-22 05:24:20 262 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:24:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:24:29 693 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:24:30 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:30 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:30 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5e6feff6-6658-4b6c-bd32-81c27449ecff
2022-07-22 05:24:30 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:24:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:24:40 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:40 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:40 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0defdf64-66b9-41b6-919a-4ed673a20143
2022-07-22 05:24:40 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:24:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:24:45 313 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Wake up.
2022-07-22 05:24:45 313 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Holmes Service Registration. Times: 5
2022-07-22 05:24:45 638 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Registration succeeded!
2022-07-22 05:24:45 638 INFO [org.onap.holmes.common.utils.MsbRegister][pool-2-thread-1] invocationID:{InvocationID} - Service registration completed.
2022-07-22 05:24:49 834 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:49 834 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:49 834 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 7b741bc8-202c-4e7c-b9d3-012df6adfbb7
2022-07-22 05:24:49 835 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:24:49 838 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@451224c9
127.0.0.1 - - [22/Jul/2022:05:24:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-07-22 05:24:49 894 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:49 894 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:49 894 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3f24fe12-5b39-489b-8d21-ba4f79cdc76f
2022-07-22 05:24:49 894 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:24:49 911 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:24:50 015 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:24:50 016 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 - - [22/Jul/2022:05:24:50 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 125
2022-07-22 05:24:50 019 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:24:50 019 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:24:50 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:50 249 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:50 249 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d27fe746-ded2-479d-a176-2e11415829c4
2022-07-22 05:24:50 249 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:24:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:24:50 258 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:24:50 258 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:24:50 258 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 74cfc886-0058-40b5-bc2a-82ac3b53a37a
2022-07-22 05:24:50 259 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:24:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:24:59 688 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:25:00 247 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:00 247 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:00 247 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bbce8cf1-146d-40a1-a145-0d1a71c9805a
2022-07-22 05:25:00 247 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:25:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:25:10 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:10 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:10 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c0edd3d4-416b-4ddb-bd2c-d717434109a9
2022-07-22 05:25:10 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:25:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 16
2022-07-22 05:25:19 940 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:19 940 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:19 940 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cab9598e-7c28-4cae-af98-edb4013ec544
2022-07-22 05:25:19 940 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:25:19 945 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@6a6778cf
127.0.0.1 - - [22/Jul/2022:05:25:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-07-22 05:25:20 004 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:20 004 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:20 004 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5ab09648-8b0d-4ea6-9217-c11790325674
2022-07-22 05:25:20 004 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:25:20 017 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:25:20 080 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:25:20 081 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [22/Jul/2022:05:25:20 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 81
2022-07-22 05:25:20 084 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:25:20 084 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:25:20 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:20 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:20 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 82e53933-b6af-4aa7-9dd4-bab4abdaa388
2022-07-22 05:25:20 247 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:25:20 247 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:20 247 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:20 247 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0409ca51-c32a-4e16-acfd-23ff1a88fe18
2022-07-22 05:25:20 247 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:25:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.65.136 - - [22/Jul/2022:05:25:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:25:29 690 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:25:30 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:30 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:30 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8f93707e-d882-4852-ac4e-e4dfb122b658
2022-07-22 05:25:30 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:25:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:25:40 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:40 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:40 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5d6318cc-ad69-4c38-9330-75c38abba38a
2022-07-22 05:25:40 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:25:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:25:49 828 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:49 828 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:49 828 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e37fe008-f8ec-4f7e-a32a-98de5b955a82
2022-07-22 05:25:49 828 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:25:49 832 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@1ed4c63c
127.0.0.1 - - [22/Jul/2022:05:25:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-07-22 05:25:49 881 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:49 881 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:49 881 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0f6be23d-9a99-4962-aee8-f971a30f2cb0
2022-07-22 05:25:49 881 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:25:49 890 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:25:49 946 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:25:49 947 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 - - [22/Jul/2022:05:25:49 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 68
2022-07-22 05:25:49 950 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:25:49 950 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:25:50 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:50 244 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:50 244 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: af07e1df-fc5f-4601-8cd4-c740e9540d69
2022-07-22 05:25:50 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:25:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:25:50 250 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:25:50 250 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:25:50 250 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3cbf7a67-dfe2-40dc-9b10-8d89ade90836
2022-07-22 05:25:50 251 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:25:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:25:59 690 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:26:00 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:00 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:00 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 5975d8a4-0b90-4429-ab83-ca8874accbe5
2022-07-22 05:26:00 242 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:26:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:26:10 242 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:10 242 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:10 242 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b060a7bd-d425-4bfe-ab20-7ab3950fda0f
2022-07-22 05:26:10 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:26:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:26:19 821 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:19 821 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:19 821 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b4c24905-bb37-4747-8032-b5d178bd1917
2022-07-22 05:26:19 821 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:26:19 825 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@6de87d4d
127.0.0.1 - - [22/Jul/2022:05:26:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-07-22 05:26:19 872 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:19 872 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:19 873 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0a0392fd-db35-490b-91b1-b0f16a1d4629
2022-07-22 05:26:19 873 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:26:19 882 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:26:19 953 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:26:19 954 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 - - [22/Jul/2022:05:26:19 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 85
2022-07-22 05:26:19 957 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:26:19 957 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:26:20 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:20 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:20 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0428dc6d-978a-4d41-a24d-07d31a4a4290
2022-07-22 05:26:20 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:26:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:26:20 251 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:20 251 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:20 251 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 24e53d84-b676-4d54-bcce-fcde30967ee5
2022-07-22 05:26:20 251 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:26:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:26:29 690 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:26:30 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:30 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:30 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b6842508-bb3a-47bf-bb5e-494b102f870f
2022-07-22 05:26:30 242 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:26:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 13
2022-07-22 05:26:40 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:40 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:40 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 0e868396-d711-414c-baa0-6dbfbdad27fd
2022-07-22 05:26:40 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:26:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:26:49 822 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:49 822 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:49 822 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3da82f7c-253e-40c6-b640-ed7a7f453966
2022-07-22 05:26:49 822 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:26:49 826 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@566e4864
127.0.0.1 - - [22/Jul/2022:05:26:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-07-22 05:26:49 884 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:49 884 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:49 884 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a3c8e973-930a-4b5d-8482-12c04764af7f
2022-07-22 05:26:49 885 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:26:49 897 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:26:49 979 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:26:49 980 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 - - [22/Jul/2022:05:26:49 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 99
2022-07-22 05:26:49 982 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:26:49 983 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:26:50 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:50 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:50 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 77488bf9-029f-4beb-bbbb-e2cdc232e10f
2022-07-22 05:26:50 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:26:50 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:26:50 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:26:50 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 72b66493-a92e-44b1-821c-181a8503c4ff
2022-07-22 05:26:50 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:26:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.65.136 - - [22/Jul/2022:05:26:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 8
2022-07-22 05:26:59 692 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:27:00 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:00 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:00 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 182ff8fd-9b2a-41af-8619-635d10b601e0
2022-07-22 05:27:00 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:27:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:27:10 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:10 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:10 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: c812fd3c-fc32-406c-bde5-f5401782cc6e
2022-07-22 05:27:10 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:27:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:27:19 851 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:19 851 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:19 851 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f5b59205-211e-47e4-aeb2-7f97953e20f7
2022-07-22 05:27:19 851 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:27:19 856 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@36c2736b
127.0.0.1 - - [22/Jul/2022:05:27:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-07-22 05:27:19 981 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:19 981 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:19 981 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3c511b29-7562-4bbb-9a0d-dff4f96cf5ad
2022-07-22 05:27:19 982 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:27:19 994 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:27:20 058 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:27:20 058 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
2022-07-22 05:27:20 061 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:27:20 061 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 - - [22/Jul/2022:05:27:20 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 89
2022-07-22 05:27:20 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:20 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:20 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f8cfa396-4755-4b31-bb33-81a30b82df90
2022-07-22 05:27:20 247 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:27:20 247 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:20 247 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:20 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 20a86f84-46d3-4cf0-9a5a-37901cc27be5
2022-07-22 05:27:20 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:27:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.65.136 - - [22/Jul/2022:05:27:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-22 05:27:29 697 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:27:30 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:30 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:30 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 73d1719c-3a62-41f4-944f-434d9043c684
2022-07-22 05:27:30 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:27:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 7
2022-07-22 05:27:40 254 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:40 254 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:40 254 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 047cd534-bb77-40b1-bd64-817225dc60e9
2022-07-22 05:27:40 254 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:27:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:27:49 843 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:49 843 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:49 843 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: ef686fcb-2e66-4545-9cfd-f5195274ad85
2022-07-22 05:27:49 843 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:27:49 848 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@1fc65b5c
127.0.0.1 - - [22/Jul/2022:05:27:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-07-22 05:27:49 906 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:49 906 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:49 906 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e5cda7f8-648b-4b02-8196-500d111520cf
2022-07-22 05:27:49 906 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:27:49 915 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:27:49 999 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:27:49 999 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 - - [22/Jul/2022:05:27:50 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 97
2022-07-22 05:27:50 006 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:27:50 006 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:27:50 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:50 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:50 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: defd4ce4-b5d2-4dc8-b1f0-d7898e617f83
2022-07-22 05:27:50 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:27:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:27:50 251 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:27:50 251 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:27:50 251 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3c9ef60b-db63-4c0b-95ad-c2d80194dab4
2022-07-22 05:27:50 252 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:27:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:27:59 694 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:28:00 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:00 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:00 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b2cb8906-9b30-4ba4-aa35-d43fe8aab050
2022-07-22 05:28:00 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:28:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:28:10 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:10 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:10 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 08336eb8-112c-41e4-81ad-80d76bf42014
2022-07-22 05:28:10 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:28:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:28:19 830 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:19 830 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:19 830 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 372fdcdc-1cf7-4ae6-b104-389bea660398
2022-07-22 05:28:19 830 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:28:19 834 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@56e3ee28
127.0.0.1 - - [22/Jul/2022:05:28:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-07-22 05:28:19 886 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:19 886 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:19 886 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 051403a5-b7b7-48a9-ab95-ae497ec69b72
2022-07-22 05:28:19 886 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:28:19 893 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:28:19 946 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:28:19 946 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-07-22 05:28:19 948 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:28:19 948 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 - - [22/Jul/2022:05:28:19 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 64
2022-07-22 05:28:20 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:20 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:20 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4e045340-e4ba-4fd5-a31d-a0f550f912a3
2022-07-22 05:28:20 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:28:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:28:20 251 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:20 253 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:20 253 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 7db9d2e7-3fa7-47cc-b49f-00c0f73f4de7
2022-07-22 05:28:20 253 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:28:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:28:29 698 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:28:30 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:30 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:30 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 52b9f708-7c7b-4b7c-b670-439e6cd96a3c
2022-07-22 05:28:30 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:28:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:28:40 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:40 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:40 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9c39c260-08ee-4104-ab56-3238a4448ca2
2022-07-22 05:28:40 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:28:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-22 05:28:49 820 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:49 820 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:49 820 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 41c9095f-15cf-4867-bfa7-9e88c7d2db43
2022-07-22 05:28:49 820 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:28:49 825 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@9131591
127.0.0.1 - - [22/Jul/2022:05:28:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-07-22 05:28:49 871 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:49 871 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:49 871 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2b67c032-40b2-424b-94eb-c1508d24af24
2022-07-22 05:28:49 871 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:28:49 878 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:28:49 937 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:28:49 938 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 - - [22/Jul/2022:05:28:49 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 70
2022-07-22 05:28:49 940 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:28:49 940 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:28:50 247 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:50 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:50 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bd5cec79-ad1f-40b7-979c-6165501608de
2022-07-22 05:28:50 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:28:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:28:50 260 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:28:50 260 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:28:50 260 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: def6ca67-92e2-43e0-8e7e-00f3d4e64e6d
2022-07-22 05:28:50 261 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:28:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:28:59 692 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:29:00 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:00 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:00 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a60d8662-1d37-48e8-9844-b8ad3ce3929e
2022-07-22 05:29:00 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:29:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:29:10 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:10 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:10 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cfd6ebe9-f25c-4ed9-9ecb-d950b508c41d
2022-07-22 05:29:10 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:29:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:29:19 827 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:19 827 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:19 827 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b390ec41-bd73-4b3d-a619-af1ec47feeeb
2022-07-22 05:29:19 827 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:29:19 831 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@41e9523d
127.0.0.1 - - [22/Jul/2022:05:29:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-07-22 05:29:19 883 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:19 883 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:19 883 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6ceafeba-6282-46b2-b285-072f94b89963
2022-07-22 05:29:19 883 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:29:19 890 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:29:19 999 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:29:19 999 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-24 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [22/Jul/2022:05:29:20 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 134
2022-07-22 05:29:20 017 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:29:20 017 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:29:20 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:20 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:20 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 18014d1b-105d-4a80-86a2-6e7f032e294c
2022-07-22 05:29:20 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:29:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:29:20 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:20 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:20 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: be57776b-ce37-4b8d-8583-3c58caa9c7d9
2022-07-22 05:29:20 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:29:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
2022-07-22 05:29:29 693 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:29:30 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:30 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:30 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bb6e0035-b7b3-4cfb-aa95-7a450b19cb15
2022-07-22 05:29:30 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:29:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:29:40 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:40 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:40 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f30e21d7-b142-4279-81da-973b1b51532f
2022-07-22 05:29:40 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:29:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:29:49 829 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:49 829 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:49 829 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 001588ff-058d-4a7c-ab87-6e22fcdba38e
2022-07-22 05:29:49 830 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:29:49 836 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@1b9190e4
127.0.0.1 - - [22/Jul/2022:05:29:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 9
2022-07-22 05:29:49 885 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:49 885 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:49 885 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6e32a470-eaca-4cf1-9424-75d127db2700
2022-07-22 05:29:49 885 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:29:49 895 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:29:49 981 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:29:49 982 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-07-22 05:29:49 986 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:29:49 986 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 - - [22/Jul/2022:05:29:49 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 104
2022-07-22 05:29:50 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:50 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:50 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 484473ae-ca9c-4583-af1d-f60d1e613d36
2022-07-22 05:29:50 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:29:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:29:50 256 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:29:50 256 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:29:50 256 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 97bd8b7e-c717-4cb0-b593-e079180fac02
2022-07-22 05:29:50 256 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:29:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:29:59 693 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:30:00 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:00 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:00 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b5026ba4-781f-49ee-b1a6-a423fa8379cb
2022-07-22 05:30:00 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:30:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:30:10 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:10 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:10 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 93f1f187-9662-460a-828c-ffd4581667f5
2022-07-22 05:30:10 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:30:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:30:19 815 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:19 815 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:19 815 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 98108e21-59c8-4149-9a41-6e21c60d8ec3
2022-07-22 05:30:19 815 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:30:19 819 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@1668e9ef
127.0.0.1 - - [22/Jul/2022:05:30:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-07-22 05:30:19 860 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:19 860 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:19 860 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e16d2bd1-1225-495f-9212-94686a65c313
2022-07-22 05:30:19 860 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:30:19 868 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:30:19 923 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:30:19 923 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 - - [22/Jul/2022:05:30:19 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 66
2022-07-22 05:30:19 926 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:30:19 926 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:30:20 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:20 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:20 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8ae4c7eb-8bbb-445a-b3bc-8cb6ca415c37
2022-07-22 05:30:20 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:30:20 249 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:20 249 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:20 249 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d93df3d9-3b0f-4d82-9f06-18f221bdaba5
2022-07-22 05:30:20 249 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:30:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.65.136 - - [22/Jul/2022:05:30:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:30:29 693 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:30:30 238 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:30 238 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:30 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b8ca2fe5-e56b-426b-bf41-ff09b5c9783f
2022-07-22 05:30:30 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:30:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:30:40 242 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:40 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:40 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b94472e6-852f-4e0b-b234-671141306033
2022-07-22 05:30:40 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:30:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-22 05:30:49 825 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:49 825 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:49 825 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f4ee50dd-6324-4a98-92d5-8a01dbabccef
2022-07-22 05:30:49 825 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:30:49 830 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@411a915c
127.0.0.1 - - [22/Jul/2022:05:30:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-07-22 05:30:49 871 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:49 871 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:49 871 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cd571170-747c-45e4-ad07-963e71cd2cab
2022-07-22 05:30:49 872 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:30:49 879 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:30:49 926 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:30:49 927 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 - - [22/Jul/2022:05:30:49 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 59
2022-07-22 05:30:49 930 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:30:49 930 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.65.136 - - [22/Jul/2022:05:30:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:30:50 253 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:50 253 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:50 253 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 2b80eb6a-37f7-44d8-bdc1-42ee0a8392c7
2022-07-22 05:30:50 253 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:30:50 257 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:30:50 257 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:30:50 257 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 031fa156-85cb-4730-a3f2-21648bbf0498
2022-07-22 05:30:50 258 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:30:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 9
2022-07-22 05:30:59 693 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:31:00 250 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:00 250 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:00 250 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: fa837ce1-2e48-4a02-9f38-72a5a69ace2a
2022-07-22 05:31:00 251 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:31:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:31:10 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:10 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:10 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1b2ea50f-8620-434b-954c-2b771303238e
2022-07-22 05:31:10 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:31:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:31:19 829 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:19 829 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:19 829 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a9af8461-9c82-4ac8-ae12-ac4aab111a81
2022-07-22 05:31:19 829 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:31:19 834 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@d89ffdf
127.0.0.1 - - [22/Jul/2022:05:31:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-07-22 05:31:19 894 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:19 894 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:19 894 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cec1eccb-5a50-4083-b4a0-8c197261b6c5
2022-07-22 05:31:19 894 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:31:19 901 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:31:19 950 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:31:19 950 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 - - [22/Jul/2022:05:31:19 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 58
2022-07-22 05:31:19 954 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:31:19 954 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:31:20 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:20 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:20 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 29932ad9-6034-42d9-9baa-272484af639e
2022-07-22 05:31:20 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:31:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.65.136 - - [22/Jul/2022:05:31:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 2
2022-07-22 05:31:20 254 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:20 254 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:20 254 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3ff9c371-9b1b-4d9c-b9f9-2a067549a37f
2022-07-22 05:31:20 254 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:31:29 693 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:31:30 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:30 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:30 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 557c1650-df37-4d38-b95e-1092a1a1b911
2022-07-22 05:31:30 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:31:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:31:40 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:40 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:40 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 21eeba97-6455-45f4-9073-74c65e4b9b79
2022-07-22 05:31:40 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:31:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:31:49 902 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:49 902 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:49 903 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 938e28a1-ae39-4b1a-a77a-5385108959bc
2022-07-22 05:31:49 903 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:31:49 907 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@250f9f39
127.0.0.1 - - [22/Jul/2022:05:31:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-07-22 05:31:49 948 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:49 948 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:49 949 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 36c3292e-0ed0-47bf-9de4-3b17943b172b
2022-07-22 05:31:49 949 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:31:49 955 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:31:50 009 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:31:50 010 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 - - [22/Jul/2022:05:31:50 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 65
2022-07-22 05:31:50 012 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:31:50 012 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:31:50 259 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:50 259 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:50 259 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: aade9306-366a-4c6f-a9b0-b0784b20b764
2022-07-22 05:31:50 259 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:31:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:31:50 274 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:31:50 274 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:31:50 274 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: cea4aeef-a450-41a2-8e64-b7727407c540
2022-07-22 05:31:50 274 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:31:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:31:59 693 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
10.233.65.136 - - [22/Jul/2022:05:32:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:32:00 247 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:00 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:00 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 54af283a-8390-4743-baf1-c611f7ba97d0
2022-07-22 05:32:00 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:32:10 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:10 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:10 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e07b6e71-267a-42e7-9cf6-64eeb53e3749
2022-07-22 05:32:10 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:32:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-22 05:32:19 836 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:19 836 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:19 836 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a4c9df94-aed4-4d69-9747-a7dd3c481921
2022-07-22 05:32:19 836 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:32:19 842 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@7afb5d92
127.0.0.1 - - [22/Jul/2022:05:32:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-07-22 05:32:19 893 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:19 893 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:19 893 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4fd9142f-6f88-428b-a987-7f49f4586829
2022-07-22 05:32:19 894 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:32:19 901 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:32:19 951 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:32:19 952 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 - - [22/Jul/2022:05:32:19 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 61
2022-07-22 05:32:19 954 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:32:19 954 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:32:20 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:20 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:20 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 55d6043c-9544-4bbe-8336-36e0298e9112
2022-07-22 05:32:20 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:32:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.65.136 - - [22/Jul/2022:05:32:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:32:20 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:20 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:20 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3f8a0eb7-0e81-4bb5-beb4-0bbbd9fb2fa0
2022-07-22 05:32:20 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:32:29 697 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:32:30 252 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:30 252 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:30 252 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3b0d5e8c-b359-438a-96df-b08a80e2870b
2022-07-22 05:32:30 253 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:32:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-22 05:32:40 243 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:40 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:40 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 23c57c4a-cf13-403a-9d0d-7e31b756b7b3
2022-07-22 05:32:40 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:32:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:32:49 823 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:49 823 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:49 823 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 622c9c61-94f2-457b-b65e-5e74f8ef5e4d
2022-07-22 05:32:49 823 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:32:49 828 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@53f3f2d3
127.0.0.1 - - [22/Jul/2022:05:32:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 6
2022-07-22 05:32:49 870 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:49 870 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:49 870 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bbe76ca3-a3d7-4701-a024-0df107815520
2022-07-22 05:32:49 870 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:32:49 878 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-26 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:32:49 936 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:32:49 937 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 - - [22/Jul/2022:05:32:49 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 69
2022-07-22 05:32:49 940 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:32:49 940 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:32:50 242 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:50 242 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:50 242 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3315ac8d-08c6-435e-a5a0-40962555b8ce
2022-07-22 05:32:50 242 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:32:50 242 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:32:50 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:32:50 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 64e832ff-ddd7-48b4-94f0-2f80cd91ba5c
2022-07-22 05:32:50 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:32:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.65.136 - - [22/Jul/2022:05:32:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 10
2022-07-22 05:32:59 695 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:33:00 242 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:00 242 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:00 242 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: aa83ce91-4c4f-44a6-b0a0-a83fa9325337
2022-07-22 05:33:00 242 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:33:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:33:10 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:10 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:10 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: d7faf2d5-6d6d-48f9-a1ec-61f46079ce67
2022-07-22 05:33:10 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:33:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:33:19 815 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:19 815 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:19 815 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: eaf93c85-5fda-41f8-a031-b8c3f375f3b1
2022-07-22 05:33:19 815 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:33:19 819 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@7bd124f2
127.0.0.1 - - [22/Jul/2022:05:33:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-07-22 05:33:19 864 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:19 864 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:19 864 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 89be22b4-c762-41db-902c-c133327d5354
2022-07-22 05:33:19 864 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:33:19 871 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-27 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:33:19 931 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:33:19 931 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 - - [22/Jul/2022:05:33:19 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 70
2022-07-22 05:33:19 934 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:33:19 935 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:33:20 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:20 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:20 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 227103ac-a094-4c3e-b378-4cce069c414d
2022-07-22 05:33:20 242 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:33:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:33:20 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:20 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:20 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 4b915a69-77d9-401f-99d8-c29ca63b8985
2022-07-22 05:33:20 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:33:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:33:29 695 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:33:30 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:30 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:30 240 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6178eae5-ac9b-4a0b-b670-e3ae720f35b6
2022-07-22 05:33:30 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:33:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:33:40 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:40 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:40 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 337db51f-a77c-4e81-91e3-3feb3abbb5df
2022-07-22 05:33:40 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:33:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:33:49 823 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:49 823 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:49 824 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b3e53e0e-f6b6-4d5a-9d6a-7aaf1e231050
2022-07-22 05:33:49 824 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:33:49 828 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@2d415ec4
127.0.0.1 - - [22/Jul/2022:05:33:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-07-22 05:33:49 952 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:49 952 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:49 952 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e6bca4aa-48ad-4ce7-a2d4-87e32749d97c
2022-07-22 05:33:49 953 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:33:49 966 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:33:50 022 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:33:50 023 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [22/Jul/2022:05:33:50 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 73
2022-07-22 05:33:50 025 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:33:50 026 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:33:50 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:50 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:50 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8545fc2c-3bb7-4510-848c-fcf9ff4fa94b
2022-07-22 05:33:50 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:33:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:33:50 247 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:33:50 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:33:50 248 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: f4d7dc30-d790-4988-9c0d-56f39af0a384
2022-07-22 05:33:50 248 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:33:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:33:59 695 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:34:00 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:00 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:00 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 3e73bfa9-945d-4dc2-954a-24fce0fe501d
2022-07-22 05:34:00 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:34:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:34:10 239 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:10 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:10 239 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 767c7f07-c048-4419-92af-17e427c3d636
2022-07-22 05:34:10 240 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:34:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:34:19 821 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:19 821 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:19 821 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 031c29ad-8901-4c0a-bb52-662a55a8001f
2022-07-22 05:34:19 821 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:34:19 826 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@40d6380b
127.0.0.1 - - [22/Jul/2022:05:34:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-07-22 05:34:19 871 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:19 871 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:19 871 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: db394569-6843-4150-b027-c4a6e4616e9e
2022-07-22 05:34:19 871 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:34:19 879 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-25 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:34:19 939 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:34:19 939 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 - - [22/Jul/2022:05:34:19 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 70
2022-07-22 05:34:19 942 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:34:19 942 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:34:20 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:20 244 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:20 244 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: a426faa0-45ca-4d53-9cf1-89abd4e1d532
2022-07-22 05:34:20 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:34:20 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:20 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:20 246 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 82529caa-a6cd-4bec-ab88-4234e26a9db1
2022-07-22 05:34:20 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:34:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
10.233.65.136 - - [22/Jul/2022:05:34:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 5
2022-07-22 05:34:29 695 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
10.233.65.136 - - [22/Jul/2022:05:34:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 4
2022-07-22 05:34:30 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:30 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:30 241 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 90c29e2e-665b-4c2e-8a92-3bfe581cc046
2022-07-22 05:34:30 241 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:34:40 238 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:40 238 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:40 238 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 90cf59b9-25b3-41b7-acff-57dc977f1172
2022-07-22 05:34:40 238 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:34:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:34:49 817 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:49 818 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:49 818 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 47b8b858-48fd-46dc-8797-862c2fc41f19
2022-07-22 05:34:49 818 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:34:49 822 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@1dc05148
127.0.0.1 - - [22/Jul/2022:05:34:49 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 7
2022-07-22 05:34:49 859 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:49 859 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:49 859 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 49f6d9d4-ecc3-40a8-a78d-ba95b070b928
2022-07-22 05:34:49 860 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-22] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:34:49 872 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:34:49 919 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:34:49 919 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-22 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
2022-07-22 05:34:49 921 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:34:49 921 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 - - [22/Jul/2022:05:34:49 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 62
2022-07-22 05:34:50 242 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:50 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:50 243 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 6ef11446-f369-4857-a52b-06d5c8078230
2022-07-22 05:34:50 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-23] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:34:50 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:34:50 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:34:50 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9fa8e800-0d21-4455-ae5f-a51347d64db0
2022-07-22 05:34:50 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:34:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.65.136 - - [22/Jul/2022:05:34:50 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 6
2022-07-22 05:34:59 695 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:35:00 251 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:35:00 251 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:35:00 251 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: b776a85d-7f43-4408-8521-f30c9688ef5a
2022-07-22 05:35:00 251 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:35:00 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:35:10 245 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:35:10 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:35:10 245 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8cfbb0c0-2ea6-41d9-89a9-a7d469a15eb1
2022-07-22 05:35:10 246 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:35:10 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:35:19 813 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Entering.
2022-07-22 05:35:19 813 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:35:19 814 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: e4010191-7c56-4ef9-88ce-615325b1bad0
2022-07-22 05:35:19 814 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-26] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:35:19 817 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@33942b4e
127.0.0.1 - - [22/Jul/2022:05:35:19 +0000] "GET /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 200 38 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 8
2022-07-22 05:35:19 856 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Entering.
2022-07-22 05:35:19 856 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:35:19 857 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 1323bd44-7429-453e-9287-bb5359264373
2022-07-22 05:35:19 857 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-20] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:35:19 863 INFO [org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - Rule Contents: package org.onap.holmes.droolsRule;
import org.onap.holmes.common.dmaap.DmaapService;
import org.onap.holmes.common.api.stat.VesAlarm;
import org.onap.holmes.common.aai.CorrelationUtil;
import org.onap.holmes.common.dmaap.entity.PolicyMsg;
import org.onap.holmes.common.dropwizard.ioc.utils.ServiceLocatorHolder;
import org.onap.holmes.common.utils.DroolsLog;
rule "Relation_analysis_Rule"
salience 200
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0,
$sourceId: sourceId, sourceId != null && !sourceId.equals(""),
$sourceName: sourceName, sourceName != null && !sourceName.equals(""),
$startEpochMicrosec: startEpochMicrosec,
eventName in ("Fault_MultiCloud_VMFailure"),
$eventId: eventId)
$child : VesAlarm( eventId != $eventId, parentId == null,
CorrelationUtil.getInstance().isTopologicallyRelated(sourceId, $sourceId, $sourceName),
eventName in ("Fault_MME_eNodeB out of service alarm"),
startEpochMicrosec < $startEpochMicrosec + 60000 && startEpochMicrosec > $startEpochMicrosec - 60000 )
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("Relation_analysis_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
$child.setParentId($root.getEventId());
update($child);
end
rule "root_has_child_handle_Rule"
salience 150
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0, $eventId: eventId)
$child : VesAlarm(eventId != $eventId, parentId == $eventId)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_has_child_handle_Rule: rootId=" + $root.getEventId() + ", childId=" + $child.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, $child, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_no_child_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 0, rootFlag == 0,
sourceId != null && !sourceId.equals(""),
sourceName != null && !sourceName.equals(""),
eventName in ("Fault_MultiCloud_VMFailure"))
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_no_child_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
$root.setRootFlag(1);
update($root);
end
rule "root_cleared_handle_Rule"
salience 100
no-loop true
when
$root : VesAlarm(alarmIsCleared == 1, rootFlag == 1)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("root_cleared_handle_Rule: rootId=" + $root.getEventId());
DmaapService dmaapService = ServiceLocatorHolder.getLocator().getService(DmaapService.class);
PolicyMsg policyMsg = dmaapService.getPolicyMsg($root, null, "org.onap.holmes.droolsRule");
dmaapService.publishPolicyMsg(policyMsg, "dcae_cl_out");
retract($root);
end
rule "child_handle_Rule"
salience 100
no-loop true
when
$child : VesAlarm(alarmIsCleared == 1, rootFlag == 0)
then
DroolsLog.printInfo("===========================================================");
DroolsLog.printInfo("child_handle_Rule: childId=" + $child.getEventId());
retract($child);
end
2022-07-22 05:35:19 918 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.70.33:9102/api/holmes-engine-mgmt/v1/rule
Cause: Not Found
Response body: {"code":404,"message":"HTTP 404 Not Found"}
2022-07-22 05:35:19 919 ERROR [org.onap.holmes.rulemgt.resources.RuleMgtResources][dw-20 - PUT /api/holmes-rule-mgmt/v1/rule] invocationID:{InvocationID} - create rule:ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b failed
org.onap.holmes.common.exception.CorrelationException: Failed to verify the rule. The contents of the rule are invalid.
at org.onap.holmes.rulemgt.bolt.enginebolt.EngineWrapper.checkRuleFromEngine(EngineWrapper.java:62)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.deployRule2Engine(RuleMgtWrapper.java:229)
at org.onap.holmes.rulemgt.wrapper.RuleMgtWrapper.addCorrelationRule(RuleMgtWrapper.java:89)
at org.onap.holmes.rulemgt.resources.RuleMgtResources.addCorrelationRule(RuleMgtResources.java:70)
at jdk.internal.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244)
at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
at org.glassfish.jersey.internal.Errors.process(Errors.java:244)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:680)
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:394)
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:366)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:319)
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:205)
at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:50)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:35)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:47)
at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:41)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.onap.holmes.common.utils.transactionid.TransactionIdFilter.doFilter(TransactionIdFilter.java:79)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1604)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:249)
at io.dropwizard.jetty.ContextRoutingHandler.handle(ContextRoutingHandler.java:37)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:717)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:54)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:500)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:543)
at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:398)
at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:161)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)
at java.base/java.lang.Thread.run(Unknown Source)
127.0.0.1 - - [22/Jul/2022:05:35:19 +0000] "PUT /api/holmes-rule-mgmt/v1/rule HTTP/1.1" 499 64 "-" "Jersey/2.31 (HttpUrlConnection 11.0.6)" 64
2022-07-22 05:35:19 921 ERROR [org.onap.holmes.common.utils.JerseyClient][pool-3-thread-1] invocationID:{InvocationID} - Failed to get response from the server <499>.
URL: https://127.0.0.1:9101/api/holmes-rule-mgmt/v1/rule
Cause:
Response body: Failed to verify the rule. The contents of the rule are invalid.
2022-07-22 05:35:19 921 ERROR [org.onap.holmes.rulemgt.dcae.ConfigFileScanningTask][pool-3-thread-1] invocationID:{InvocationID} - Failed to deploy rule: ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b.
2022-07-22 05:35:20 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:35:20 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Entering.
2022-07-22 05:35:20 244 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:35:20 244 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:35:20 244 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 9904d727-8752-4e07-9b1e-b9ffc4e6de65
2022-07-22 05:35:20 244 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: bed405c8-abf0-4939-8236-9df853904ca8
2022-07-22 05:35:20 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-24] invocationID:{InvocationID} - Invoking synchronously ...
2022-07-22 05:35:20 244 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:35:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
10.233.65.136 - - [22/Jul/2022:05:35:20 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:35:29 696 INFO [org.onap.holmes.rulemgt.RuleAllocator][RuleAllocatorTimer] invocationID:{InvocationID} - There are 1 engine instance(s) running currently.
2022-07-22 05:35:30 253 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:35:30 253 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:35:30 253 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 63db2afa-b749-4e9b-b285-561f8ba63b41
2022-07-22 05:35:30 253 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:35:30 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:35:40 238 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Entering.
2022-07-22 05:35:40 238 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:35:40 238 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Request ID (X-TransactionID header) not exist. It was generated: 8b544e4f-8e86-4eda-a5be-6e969a5ee433
2022-07-22 05:35:40 238 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-27] invocationID:{InvocationID} - Invoking synchronously ...
10.233.65.136 - - [22/Jul/2022:05:35:40 +0000] "GET /api/holmes-rule-mgmt/v1/healthcheck HTTP/1.1" 200 4 "-" "kube-probe/1.22" 3
2022-07-22 05:35:49 814 WARN [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - Entering.
2022-07-22 05:35:49 814 INFO [org.onap.holmes.common.utils.transactionid.TransactionIdFilter][dw-25] invocationID:{InvocationID} - This warning has a 'MY_MARKER' annotation.
2022-07-22 05:35:49 814 INFO [org.onap.holmes.common.util