Bug 2216881
| Summary: | 'ovsdbapp.backend.ovs_idl.idlutils.RowNotFound: Cannot find Port with name=tapXXX' occurres some times | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | nkawamot |
| Component: | openstack-neutron | Assignee: | Slawek Kaplonski <skaplons> |
| Status: | ON_DEV --- | QA Contact: | Eran Kuris <ekuris> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 16.2 (Train) | CC: | averdagu, chrisw, ralonsoh, scohen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
nkawamot
2023-06-23 02:58:53 UTC
'Actual results' and 'Expected results' is the opposite. The below is the correct one. ~~~ Actual results: The ERROR messages are output sometimes Expected results: The ERROR messages don't be output ~~~ It seems the ERROR message comes from here: https://github.com/openstack/ovsdbapp/blob/stable/train/ovsdbapp/backend/ovs_idl/idlutils.py#L76-L84 ~~~ def row_by_value(idl_, table, column, match, default=_NO_DEFAULT): """Lookup an IDL row in a table by column/value""" tab = idl_.tables[table] for r in tab.rows.values(): if getattr(r, column) == match: return r if default is not _NO_DEFAULT: return default raise RowNotFound(table=table, col=column, match=match) <=========================== (*) ~~~ |