Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 2126400

Summary: Metadata LSP port, northd warning about "Unknown chassis '' set as options:requested-chassis"
Product: Red Hat Enterprise Linux Fast Datapath Reporter: Rodolfo Alonso <ralonsoh>
Component: ovn22.06Assignee: Ales Musil <amusil>
Status: CLOSED CURRENTRELEASE QA Contact: Jianlin Shi <jishi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: FDP 22.ACC: amusil, ctrautma, ihrachys, jiji
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn22.06-22.06.0-59.el8fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-18 08:58:28 UTC 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 Rodolfo Alonso 2022-09-13 11:15:17 UTC
Launchpad reference: https://bugs.launchpad.net/neutron/+bug/1989155

This issue has been spotted in U/S. It refers to U/S OVN 22.03.

The OpenStack metadata LSP port does not have a "requested-chassis" assigned [1]. northd is writing the following warning message in the logs: [2]

If I'm not wrong, the metadata port should not have a requested chassis. If that is needed, then we'll need to change the code in Neutron. If not, then this could be a bug in core OVN.


[1]https://paste.opendev.org/show/bMrn2yB1IlofdalP1jx9/
[2]https://paste.opendev.org/show/beW65e7s4KZWchp90FSl/

Comment 1 Rodolfo Alonso 2022-09-13 11:18:16 UTC
My bad, this change seems to be in 22.06, not in 22.03.

Comment 2 Ales Musil 2022-09-14 11:02:17 UTC
Hi,

this problem appears only before 22.06.0-45, it was fixed as side effect of "Support LSP:options:requested-chassis as a list" [0].

I would suggest updating past that version if possible, if not there is a workaround:

ovn-nbctl remove logical_switch_port <lsp> options requested-chassis

It would be probably even better if OpenStack did not set requested-chassis to empty string. 
It is also possible to update the 22.03 and below to ignore the empty value. 

[0] https://github.com/ovn-org/ovn/commit/eaf9832be248daca6d96202d504cc789d6dfec6d

Comment 3 Ihar Hrachyshka 2022-09-15 19:05:48 UTC
@Ales, do you think that perhaps making OVN 22.03 ignore an empty requested-chassis be an option? I understand it's not a master material but since 22.03 is LTS, perhaps we could patch it to ignore the value?

We can of course also make neutron not set the option when not needed. I'd think we could do both. Thoughts?

Comment 4 Ales Musil 2022-09-16 09:22:39 UTC
That sounds reasonable, patch posted https://patchwork.ozlabs.org/project/ovn/patch/20220916092155.888975-1-amusil@redhat.com/

Comment 5 OVN Bot 2022-09-29 04:05:18 UTC
ovn22.03 fast-datapath-rhel-8 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2130757
ovn22.03 fast-datapath-rhel-9 clone created at https://bugzilla.redhat.com/show_bug.cgi?id=2130758

Comment 6 Ales Musil 2022-10-18 08:58:28 UTC
Closing this one as CURRENTRELEASE as it was opened against 22.06 which has the indirect fix already.