
Changes in python packaging tooling mean that the wsgi_scripts functionality via PBR may not longer function. This patch switches Designate from using the PBR wsgi_scripts method to using a new wsgi module that provides the same behavior as the generated wsgi scripts provided. A related devstack patch enables devstack to setup uWSGI to use the new module path instead of the generated wsgi scripts. This also aligns Designate to a new proposed OpenStack goal[1]. [1] https://review.opendev.org/c/openstack/governance/+/902807 In order to make the CI work, this patch was merged with: zuul: Drop centos9 and make grenade non-voting The requirements repo has dropped upper-constraints for python3.9, so the centos9-based jobs are no longer working on master, let's drop them. Also the grenade jobs are broken due to the referenced bug, make them temporarily non-voting, so that we can merge the fix[0] on master first, backport it, and then re-enable them. [0] https://review.opendev.org/c/openstack/designate/+/902846 Related-Bug: 2109577 Depends-On: https://review.opendev.org/c/openstack/devstack/+/902758 Change-Id: If90056ae1de4a6a3557fc870497e6233088bfb02
Enabling in Devstack
WARNING: the stack.sh script must be run in a disposable VM that is not being created automatically, see the README.md file in the "devstack" repository. See contrib/vagrant to create a vagrant VM.
Download DevStack:
git clone https://opendev.org/openstack/devstack.git cd devstack
Add this repo as an external repository:
> cat local.conf [[local|localrc]] enable_plugin designate https://opendev.org/openstack/designate
Note: Running with a multipool option: Perform the above step, and in addition set the backend driver and scheduler filters:
SCHEDULER_FILTERS=attribute,pool_id_attributes,in_doubt_default_pool DESIGNATE_BACKEND_DRIVER=multipool-bind9
run
stack.sh