neutron-ovn-agent fails on do_commit aborted due to error: 'Chassis_Private'

Bug #2012385 reported by Michal Nasiadka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Rodolfo Alonso

Bug Description

neutron-ovn-agent fails on do_commit aborted due to error: 'Chassis_Private'
OVN version 22.09
OpenStack release Antelope (master)

Output:

2023-03-21 11:58:58.703 7 DEBUG ovsdbapp.backend.ovs_idl.event [-] Matched UPDATE: SbGlobalUpdateEvent(events=('update',), table='SB_Global', conditions=None, old_conditions=None), priority=20 to row=SB_Global(external_ids={}, nb_cfg=5, ssl=[], options={'mac_prefix': '8e:fa:67', 'max_tunid': '16711680', 'northd_internal_version': '22.09.2-20.25.0-68.4', 'svc_monitor_mac': '92:8b:3a:35:34:8f'}, ipsec=False) old=SB_Global() matches /var/lib/kolla/venv/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/event.py:43
2023-03-21 11:58:58.705 7 DEBUG ovsdbapp.backend.ovs_idl.transaction [-] Running txn n=1 command(idx=0): DbSetCommand(_result=None, table=Chassis_Private, record=primary, col_values=(('external_ids', {'neutron:ovn-neutron-agent-sb-cfg': '5'}),)) do_commit /var/lib/kolla/venv/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/transaction.py:89
2023-03-21 11:58:58.705 7 ERROR ovsdbapp.backend.ovs_idl.transaction [-] txn n=1 command(idx=0): DbSetCommand(_result=None, table=Chassis_Private, record=primary, col_values=(('external_ids', {'neutron:ovn-neutron-agent-sb-cfg': '5'}),)) aborted due to error: 'Chassis_Private'
2023-03-21 11:58:58.705 7 DEBUG ovsdbapp.backend.ovs_idl.transaction [-] Transaction aborted do_commit /var/lib/kolla/venv/lib/python3.9/site-packages/ovsdbapp/backend/ovs_idl/transaction.py:126

Related Kolla-Ansible change:
https://review.opendev.org/c/openstack/kolla-ansible/+/871297

Logs: https://5e278c36ca3a98df0521-5775ad363b5cad1640e005d0e8356875.ssl.cf5.rackcdn.com/871297/12/check/kolla-ansible-rocky9-ovn/31a8749/primary/logs/kolla/neutron/neutron-ovn-agent.txt

configs: https://5e278c36ca3a98df0521-5775ad363b5cad1640e005d0e8356875.ssl.cf5.rackcdn.com/871297/12/check/kolla-ansible-rocky9-ovn/31a8749/primary/logs/kolla_configs/neutron-ovn-agent/index.html

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/878535

Changed in neutron:
status: New → In Progress
Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/neutron/+/878536

Changed in neutron:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/878535
Committed: https://opendev.org/openstack/neutron/commit/2ccf1e1e90c0643daea19ae3f6c42e59aaac9423
Submitter: "Zuul (22348)"
Branch: master

commit 2ccf1e1e90c0643daea19ae3f6c42e59aaac9423
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Mar 23 09:47:59 2023 +0100

    [OVN] OVN agent should register "Chassis_Private" by default

    The event "SbGlobalUpdateEvent", loaded by default in the Neutron OVN
    Agent, reads from OVN SB "SB_Global" table and writes in the
    "Chassis_Private" table. The last one is missing in the default tables
    that are registered during the SB IDL initialization.

    Closes-Bug: #2012385
    Change-Id: I51d64375e69f27b265fbaba4d05a03a37c65929e

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/878536
Committed: https://opendev.org/openstack/neutron/commit/2a90dc754be91a72ab942311fcb9c5d80e5df7a3
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 2a90dc754be91a72ab942311fcb9c5d80e5df7a3
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Mar 23 09:47:59 2023 +0100

    [OVN] OVN agent should register "Chassis_Private" by default

    The event "SbGlobalUpdateEvent", loaded by default in the Neutron OVN
    Agent, reads from OVN SB "SB_Global" table and writes in the
    "Chassis_Private" table. The last one is missing in the default tables
    that are registered during the SB IDL initialization.

    Closes-Bug: #2012385
    Change-Id: I51d64375e69f27b265fbaba4d05a03a37c65929e
    (cherry picked from commit 2ccf1e1e90c0643daea19ae3f6c42e59aaac9423)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 23.0.0.0b2

This issue was fixed in the openstack/neutron 23.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 22.0.1

This issue was fixed in the openstack/neutron 22.0.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.