From ef96ae7db6e3cf15fbca20ff16f0b2dd9da62738 Mon Sep 17 00:00:00 2001 From: Mustafa Kemal GILOR Date: Fri, 26 Apr 2024 18:50:53 +0300 Subject: [PATCH] scenarios/lp1888395: add missing test case (#844) corrected `vifs` with `vif_type` as stated in the LP ticket. logs obtained from https://access.redhat.com/solutions/5916611 Signed-off-by: Mustafa Kemal Gilor --- .../defs/scenarios/openstack/nova/bugs/lp1888395.yaml | 2 +- .../scenarios/openstack/nova/bugs/lp1888395.yaml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 hotsos/defs/tests/scenarios/openstack/nova/bugs/lp1888395.yaml diff --git a/hotsos/defs/scenarios/openstack/nova/bugs/lp1888395.yaml b/hotsos/defs/scenarios/openstack/nova/bugs/lp1888395.yaml index 89bcb017f..cf8979f6f 100644 --- a/hotsos/defs/scenarios/openstack/nova/bugs/lp1888395.yaml +++ b/hotsos/defs/scenarios/openstack/nova/bugs/lp1888395.yaml @@ -2,7 +2,7 @@ checks: has_1888395_pt1: input: path: 'var/log/nova/nova-compute.log' - expr: '([\d-]+) [\d:]+\.\d{3} .+NotImplementedError: Cannot load ''vifs'' in the base class' + expr: '([\d-]+) [\d:]+\.\d{3} .+NotImplementedError: Cannot load ''vif_type'' in the base class' hint: 'NotImplementedError' has_1888395_pt2: apt: diff --git a/hotsos/defs/tests/scenarios/openstack/nova/bugs/lp1888395.yaml b/hotsos/defs/tests/scenarios/openstack/nova/bugs/lp1888395.yaml new file mode 100644 index 000000000..75d01c07a --- /dev/null +++ b/hotsos/defs/tests/scenarios/openstack/nova/bugs/lp1888395.yaml @@ -0,0 +1,11 @@ +data-root: + files: + var/log/nova/nova-compute.log: | + 2023-03-30 12:43:47.278 7 ERROR oslo_messaging.rpc.server NotImplementedError: Cannot load 'vif_type' in the base class + sos_commands/dpkg/dpkg_-l: | + ii nova-common 2:20.1.1-0ubuntu1.1~cloud0 all OpenStack Compute - common files + copy-from-original: + - sos_commands/date/date +raised-bugs: + https://bugs.launchpad.net/bugs/1888395: >- + known nova bug identified