Skip to content

Commit

Permalink
Add scenario check for LP 2017748 (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
dosaboy authored Sep 26, 2024
1 parent 21571a3 commit f525b07
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
19 changes: 19 additions & 0 deletions hotsos/defs/scenarios/openstack/neutron/bugs/lp2017748.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
checks:
has_2017748:
input:
path: 'var/log/neutron/neutron-ovn-metadata-agent.log'
search:
expr: '([\d-]+ [\d:]+.\d{3}) .+neutron.agent.ovn.metadata.agent \[-\] There is no metadata port for network \S+ or it has no MAC or IP addresses configured, tearing the namespace down if needed'
constraints:
min-results: 1
search-period-hours: 24
search-result-age-hours: 48
conclusions:
lp2017748:
decision:
- has_2017748
raises:
type: LaunchpadBug
bug-id: 2017748
message: >-
neutron-ovn-metadata-agent is impacted by a known bug.
11 changes: 11 additions & 0 deletions hotsos/defs/tests/scenarios/openstack/neutron/bugs/lp2017748.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
target-name: lp2017748.yaml
data-root:
files:
var/log/neutron/neutron-ovn-metadata-agent.log: |
2023-04-18 06:56:09.864 353474 DEBUG neutron.agent.ovn.metadata.agent [-] There is no metadata port for network 9029c393-5c40-4bf2-beec-27413417eafa or it has no MAC or IP addresses configured, tearing the namespace down if needed _get_provision_params /usr/lib/python3.9/site-packages/neutron/agent/ovn/metadata/agent.py:495
copy-from-original:
- sos_commands/date/date
- uptime
raised-bugs:
https://bugs.launchpad.net/bugs/2017748: >-
neutron-ovn-metadata-agent is impacted by a known bug.

0 comments on commit f525b07

Please sign in to comment.