← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2078787] Re: [postgresql] CI job randomly failing during "get_ports" command

 

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

commit c7d07b7421034c2722fb0d0cfd2371e052928b97
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Tue Sep 3 10:31:24 2024 +0000

    Protect the "standardattr" retrieval from a concurrent deletion
    
    The method ``_extend_tags_dict`` can be called from a "list" operation.
    If one resource and its "standardattr" register is deleted concurrently,
    the "standard_attr" field retrieval will  fail.
    
    The "list" operation is protected with a READER transaction context;
    however this is failing with the DB PostgreSQL backend.
    
    Closes-Bug: #2078787
    Change-Id: I55142ce21cec8bd8e2d6b7b8b20c0147873699da


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2078787

Title:
  [postgresql] CI job randomly failing during "get_ports" command

Status in neutron:
  Fix Released

Bug description:
  This issue is happening in master and stable branches.

  The Neutron API fails during a "get_ports" command with the following error:
  * Logs: https://1a2314758f28e1d7bdcb-9b5b0c3ad08d4708e738c2961a946a92.ssl.cf1.rackcdn.com/periodic/opendev.org/openstack/neutron/master/neutron-ovn-tempest-postgres-full/ac172f5/testr_results.html
  * Snippet: https://paste.opendev.org/show/boCN2S0gesS1VldBuxpj/

  It seems that, during the port retrieval in the "get_ports" command,
  one of the ports is concurrently deleted along with the
  "standard_attr" related register. This is happening despite of the
  reader context that should protect the "get_ports" command. This is
  not happening with MySQL/MariaDB.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2078787/+subscriptions



References