openstack-designate/devstack
Michael Johnson 8222a36742 Fix uwsgi config for grenade jobs
Openstack moved from using wsgi scripts to directly calling the wsgi module
due to changes in setuptools that stops the pbr wsgi_scripts from working.

This patch adds an upgrade script that reconfigures uwsgi when updating
to Flamingo.

Change-Id: I24609499e96cfcaed866a40fd59146cded26479b
2025-05-30 13:27:34 +02:00
..
designate_plugins Multi-pools implementation 2024-08-09 18:06:54 +02:00
files Switch to apache for designate-api 2019-10-19 07:16:14 +00:00
gate Removed deprecated powerdns 3 driver 2019-09-24 04:26:19 -07:00
lib Add wsgi module to Designate and remove wsgi script 2025-04-29 15:09:33 +00:00
upgrade Fix uwsgi config for grenade jobs 2025-05-30 13:27:34 +02:00
exercise.sh Fix bashate errors 2024-06-01 05:06:51 +00:00
plugin.sh Ignore generated sample config file 2024-11-09 17:38:52 +09:00
README.rst Multi-pools implementation 2024-08-09 18:06:54 +02:00
settings Add wsgi module to Designate and remove wsgi script 2025-04-29 15:09:33 +00:00

====================
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.

1. Download DevStack::

    git clone https://opendev.org/openstack/devstack.git
    cd devstack

2. 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

3. run ``stack.sh``