Comment 2 for bug 1966320

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.concurrency (master)

Reviewed: https://review.opendev.org/c/openstack/oslo.concurrency/+/835111
Committed: https://opendev.org/openstack/oslo.concurrency/commit/11210a957c7f21defbbc46826210d93b295cce18
Submitter: "Zuul (22348)"
Branch: master

commit 11210a957c7f21defbbc46826210d93b295cce18
Author: Thiago Brito <email address hidden>
Date: Thu Mar 24 15:11:57 2022 -0300

    Fix RequiredOptError when missing lock_path

    When lock_file is not present on the [oslo_concurrency] section of the
    config file, we are getting a misleading error saying that it is not
    preset on the DEFAULT group. This commit fixes it by providing the group
    arg to the RequiredOptError constructor.

    Closes-Bug: #1966320

    Signed-off-by: Thiago Brito <email address hidden>
    Change-Id: Idee6987739917c7eae4faee15a66085a9ef7f6d2