OpenStack DNS As A Service (Designate)
Go to file
Erik Olof Gunnar Andersson b1ecf814a8 Fix AXFR loop when updating secondary zone
When a secondary zone is created or updated we trigger an AXFR,
this AXFR then goes ahead and updates the zone. This then causes
the AXFR code to get triggered again as it thinks the masters
has changed.

We fix this by ensuring that when we update the zone from the AXFR
code that we always reset the masters field.

Partial-Bug: #1856442
Change-Id: Ifc2efb5a6d1091ff16373f3cbe3846f5e4371272
(cherry picked from commit ecaff9e6d3)
2023-09-27 14:18:05 +02:00
api-ref/source Implement sharing of zones 2023-02-14 01:54:15 +00:00
contrib Remove non-functional contrib code 2023-08-27 04:10:49 -07:00
designate Fix AXFR loop when updating secondary zone 2023-09-27 14:18:05 +02:00
devstack Add a tempest test job with sqlalchemy 2.x 2023-07-18 19:22:43 +00:00
doc Fix indentation of user documentation code blocks 2023-08-02 13:19:27 +02:00
etc/designate Fix missing oslo.versionedobjects library option 2023-08-08 15:02:20 +09:00
playbooks Add fips jobs 2021-11-05 18:10:48 +00:00
rally-jobs Add validation to improve pep8 check for designate project 2017-11-20 12:26:16 +00:00
releasenotes Imported Translations from Zanata 2023-09-10 03:43:12 +00:00
roles Merge "Stop double compressing pdns logs" 2022-05-12 19:00:02 +00:00
tools Remove references to sys.version_info 2021-09-18 11:05:49 +08:00
.coveragerc Omit hacking from cover 2023-05-25 20:24:49 -07:00
.gitignore Remove testrepository 2018-07-11 17:44:40 +07:00
.gitreview Update .gitreview for stable/2023.2 2023-09-15 14:16:47 +00:00
.stestr.conf Switch to using stestr 2018-06-03 11:32:57 -04:00
.zuul.yaml Add a tempest test job with sqlalchemy 2.x 2023-07-18 19:22:43 +00:00
bindep.txt Replace blockdiag with graphviz 2023-07-28 20:00:07 +00:00
CONTRIBUTING.rst Community Goal: Project PTL & Contrib Docs Update 2020-04-14 14:17:15 -06:00
designate.sublime-project Add __pycache__ to ST2 Ignore 2015-07-09 20:19:53 +01:00
LICENSE Add LICENSE file. 2013-06-18 16:13:03 -04:00
README.rst Update Unit Test README 2023-06-04 20:48:31 -07:00
requirements.txt Use SDK instead of neutronclient 2023-03-25 06:06:30 +00:00
setup.cfg Add python3.9 support in testing runtime 2023-08-01 11:52:27 +08:00
setup.py Cleanup py27 support 2020-04-05 08:11:51 +02:00
test-requirements.txt Bump hacking version 2022-06-16 09:31:18 +02:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/2023.2 2023-09-15 14:16:49 +00:00

Team and repository tags

image

OpenStack Designate

Designate is an OpenStack project, providing DNSaaS.

IRC: #openstack-dns @ oftc

Installation: https://docs.openstack.org/designate/latest/

API

To learn how to use Designate's API, consult the documentation available online at:

For more information on OpenStack APIs, SDKs and CLIs in general, refer to:

Development

Designate follows the OpenStack Gerrit Workflow

Setup

Setup a working environment:

git clone https://opendev.org/openstack/designate
cd designate
virtualenv .venv
. .venv/bin/activate
pip install -r requirements.txt -r test-requirements.txt
pip install -e .

Building Docs

To build the documentation from the restructured text source, do the following:

tox -e docs

Now point your browser at doc/build/html/index.html (the official documentation is published to docs.openstack.org by the maintainers.

Testing

Execute all unit tests

tox -e py3

Execute only backend tests

tox -e py3 -- unit.backend

Execute only a single test

tox -e py3 -- unit.backend.test_pdns4.PDNS4BackendTestCase.test_create_zone_success

Contributing

Install the git-review package to make life easier

pip install git-review

Branch, work, & submit:

# cut a new branch, tracking master
git checkout --track -b bug/id origin/master
# work work work
git add stuff
git commit
# rebase/squash to a single commit before submitting
git rebase -i
# submit
git-review

Other Information