From a4568d33a698b3f84f7cafac4710e854b255f76e Mon Sep 17 00:00:00 2001 From: Sagi Shnaidman Date: Tue, 28 Dec 2021 23:19:08 +0200 Subject: [PATCH] Add pattern for OCI runtime error Change-Id: I7bc0dc52ae2e8751e485f112b7c36b7b9f2229f0 --- output/elastic-recheck/1954918.yaml | 4 ++++ output/sova-pattern-generated.json | 11 +++++++++++ samples/errors-testing.err | 1 + src/data/queries.yml | 7 +++++++ 4 files changed, 23 insertions(+) create mode 100644 output/elastic-recheck/1954918.yaml diff --git a/output/elastic-recheck/1954918.yaml b/output/elastic-recheck/1954918.yaml new file mode 100644 index 0000000..901ad24 --- /dev/null +++ b/output/elastic-recheck/1954918.yaml @@ -0,0 +1,4 @@ +msg: OCI runtime error. +query: 'message:"stderr: Error: OCI runtime error:"' +suppress-graph: false +suppress-notification: false diff --git a/output/sova-pattern-generated.json b/output/sova-pattern-generated.json index 899b0e5..1b70e36 100644 --- a/output/sova-pattern-generated.json +++ b/output/sova-pattern-generated.json @@ -883,6 +883,13 @@ "msg": "Overcloud node provision failed", "pattern": "node_provision_failed", "tag": "infra" + }, + { + "id": "OCI_runtime_error", + "logstash": "", + "msg": "OCI runtime error.", + "pattern": "OCI_runtime_error", + "tag": "code" } ], "registry_log": [ @@ -1436,6 +1443,10 @@ { "name": "galaxy_failure", "regex": "Unknown\\ error\\ when\\ attempting\\ to\\ call\\ Galaxy" + }, + { + "name": "OCI_runtime_error", + "regex": "stderr:\\ Error:\\ OCI\\ runtime\\ error:" } ] } diff --git a/samples/errors-testing.err b/samples/errors-testing.err index 7611453..d440eba 100644 --- a/samples/errors-testing.err +++ b/samples/errors-testing.err @@ -136,3 +136,4 @@ No key/value pairs provided, at least one is required for this action to succeed RuntimeError: Ansible execution failed. playbook: /usr/share/ansible/tripleo-playbooks/cli-overcloud-node-growvols.yaml, Run Status: failed, Return Code: 2, To rerun the failed command manually execute the following script: /tmp/tripleochmvd4sh/ansible-playbook-command.sh FATAL | Container image prepare | undercloud | error={"changed": false, "error": "Not found image: http://173.231.253.124:5001/v2/tripleowallaby/openstack-memcached/manifests/dc5370295002b29156cdd2c432f90807", "msg": "Error running container image prepare: Not found image: http://173.231.253.124:5001/v2/tripleowallaby/openstack-memcached/manifests/dc5370295002b29156cdd2c432f90807", "params": {}, "success": false} ERROR! Unknown error when attempting to call Galaxy at 'https://galaxy.ansible.com/api/v2/collections/openvswitch/openvswitch/': The read operation timed out +stderr: Error: OCI runtime error: set propagation for `bin/epmd`: Invalid argument diff --git a/src/data/queries.yml b/src/data/queries.yml index e920bf5..79c9d64 100644 --- a/src/data/queries.yml +++ b/src/data/queries.yml @@ -767,3 +767,10 @@ queries: pattern: "Unknown error when attempting to call Galaxy" sova_tag: console url: https://bugs.launchpad.net/tripleo/+bug/1955646 + - error_type: code + id: OCI runtime error + logstash: 'message:"stderr: Error: OCI runtime error:"' + msg: "OCI runtime error." + pattern: "stderr: Error: OCI runtime error:" + sova_tag: logstash + url: https://bugs.launchpad.net/tripleo/+bug/1954918