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.
Reviewed: https:/ /review. opendev. org/c/openstack /oslo.concurren cy/+/835111 /opendev. org/openstack/ oslo.concurrenc y/commit/ 11210a957c7f21d efbbc46826210d9 3b295cce18
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 11210a957c7f21d efbbc46826210d9 3b295cce18
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> 7eae4faee15a660 85a9ef7f6d2
Change-Id: Idee6987739917c