Comment 14 for bug 1991222

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/859865
Committed: https://opendev.org/openstack/neutron/commit/99bce9d055e08d9921ebe14164a36e8d2a47f81c
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 99bce9d055e08d9921ebe14164a36e8d2a47f81c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Sep 28 23:32:20 2022 +0200

    [stable-only] Add writer DB context to "add_provisioning_component"

    To ensure the "standardatributes" register is present during the
    creation of the "provisioningblocks" register, the method
    "add_provisioning_component" is wrapped with a database writer
    context. That will ensure the standard attribute ID, used as a
    foreign key in the "provisioningblocks" table, is present during
    the transaction.

    Closes-Bug: #1991222
    Change-Id: If57d822ff617c2f9b5e5cade7d4ca74065376e55
    (cherry picked from commit 9db730764c3b6bc394c4262e68bfcec7cea65b50)