-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add scenario check for LP 2017748 (#972)
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
hotsos/defs/scenarios/openstack/neutron/bugs/lp2017748.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
11
hotsos/defs/tests/scenarios/openstack/neutron/bugs/lp2017748.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |