- 10 Mar, 2022 1 commit
-
-
Zuul authored
-
- 09 Mar, 2022 1 commit
-
-
Dmitry Galkin authored
When a new Bind9 is added to the pool, Designate will trigger 'modzone' rndc command that will fail, unless zone is already present on the backend. This change will first verify that the zone is present on the backend, before an update attempt. If zone is not present - zone creation will be triggered. Closes-Bug: 1958409 Co-authored-by:Kiran Pawar <kinpaa@gmail.com> Change-Id: I782bf38a68f24a2e7133ff2afad7c96e2ae6b7f0
-
- 03 Mar, 2022 1 commit
-
-
Erik Olof Gunnar Andersson authored
This patch adds a new status value for floating ips called inactive that is used to indicate if there is not a dns record assosciated with a floating ip. Partial-Bug: #1932026 Change-Id: Ieca3cb06b99ba4556f4e6e770f82ec594d1ab1b6
-
- 01 Mar, 2022 1 commit
-
-
Michael Johnson authored
This patch updates Designate to be compatible with oslo.context>=4.0.0. Oslo.context has removed support for "tenant" in the context. Change-Id: I49ed7df40bdd2dfbdc4b21817b23e4e21c8ce400
-
- 28 Feb, 2022 1 commit
-
-
Michael Johnson authored
Devstack is using poor settings when generating certificates when tls-proxy is enabled[1]. These settings do not work at all on CentOS 9 Stream causing devtack to fail[2]. This patch will make the CentOS 9 Stream job non-voting until devstack can be fixed. [1] https://opendev.org/openstack/devstack/src/branch/master/lib/tls#L304 [2] https://zuul.opendev.org/t/openstack/build/1d90b22a39c74e24a8390861b3c5f957/log/job-output.txt#5535 Change-Id: I9ea2bdb73854b10c155a44f6025f07b433d407c3
-
- 23 Feb, 2022 1 commit
-
-
Zuul authored
-
- 22 Feb, 2022 1 commit
-
-
Zuul authored
-
- 18 Feb, 2022 12 commits
-
-
Zuul authored
-
Zuul authored
-
dekehn authored
Adds new field check method DenyListFields to validate the pattern string. in addition, check for a zero length string as well. Closes-Bug: #1934252 Change-Id: I2b69025fc11125bb73a4e0f8c0dedad951399cbf
-
Michael Johnson authored
This patch updates the grenade job to migrate from using Apache mod_wsgi to using uwsgi for the Designate API when upgrading from Xena to Yoga. It also splits out the wsgi devstack configuration into a library file. Change-Id: Icf8ee4a8e7e2dff67257b0e5f82fbeab6cb7e0b8
-
Erik Olof Gunnar Andersson authored
This patch adds a message to OverQuota containing information on the actual quota reached and fixes a minor visual bug with QuotaResourceUnknown. Change-Id: Ibd01f6ad3046ca29eec02032e9115183f89a6a4b
-
Erik Olof Gunnar Andersson authored
Closes-Bug: #1960764 Change-Id: Ib91e49081855e5f4ec9f46a060d1587dcfeaac29
-
Erik Olof Gunnar Andersson authored
Removed unnecessarily complex threading code. Change-Id: If00b37e72dabd1bc66a78d9a832c3847c12f6692
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
Zuul authored
-
- 17 Feb, 2022 4 commits
- 14 Feb, 2022 3 commits
-
-
Erik Olof Gunnar Andersson authored
This logic is already handled by the sqlalchemy abstraction. Change-Id: I6ee2db46fcec466d123f6c535670306942bb5dbd
-
Erik Olof Gunnar Andersson authored
The following unused rpc calls were removed. - create_record - update_record - delete_record - sync_record - sync_zone - sync_zones - touch_zone Change-Id: Iaccdb9b7d586ee04270dad656924a8867f8f7c2c
-
Zuul authored
-
- 11 Feb, 2022 1 commit
-
-
zhouhenglc authored
First I set recordset_records=3, and I can create recordset with 4 records successfully. Now enforce record quota by count records in database. when create recordset the number in database is 0., and quotas will not work no matter how much quota recordset_records are set. And once the excess quota is created successfully, it can not be updated. Unless quotas are updated. Closes-Bug: #1847200 Change-Id: If8bc6043d95f52f67899a5ac69a2f72c8fd4de17
-
- 07 Feb, 2022 1 commit
-
-
kpdev authored
*) Add osprofiler wsgi middleware This middleware is used for 2 things: 1) It checks that person who want to trace is trusted and knows secret HMAC key. 2) It start tracing in case of proper trace headers and add first wsgi trace point, with info about HTTP request *) Add initialization of osprofiler at start of serivce. You should use python-designateclient with this patch: https://review.opendev.org/#/c/773575 Run any command with --os-profile SECRET_KEY $ openstack zone create --email <email_id> <zone_name> \ --os-profile SECRET_KEY # it will print <Trace ID> Get pretty HTML with traces: $ osprofiler trace show --html <Trace ID> --connection-string \ <connection_string> --out <output.html> e.g. --connection-string can be redis://localhost:6379 Note that osprofiler should be run from admin user name & tenant. Implements: blueprint designate-os-profiler Change-Id: I2a3787b6428d679555a9add3a57ffe8c2112b6d3
-
- 06 Feb, 2022 2 commits
-
-
Zuul authored
-
Erik Olof Gunnar Andersson authored
In this patch we revise the workflow after the zone api has finished updating the upstream dns servers after a change. The goal is to fix issues with actions that would overwrite other actions, potentially causing zone change notifications to not be sent in a timely manner. Additional changes. - Changed update_status method args - Improved unit test coverage of multiple code paths. Change-Id: I5d566588be66e9ed0df9484e36504a69b4f4b5a9
-
- 05 Feb, 2022 1 commit
-
-
Takashi Kajinami authored
Since setuptools v54.1.0[1], the parmeters with dash have been deprecated in favor of the new parameters with underscore. This change updates the parameters accordingly to avoid the warnings like the example below. UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb Change-Id: I0c8e6a3a474a5cfa029b741b1a26b7d48d244206
-
- 04 Feb, 2022 2 commits
- 03 Feb, 2022 1 commit
-
-
Michael Johnson authored
This patch adds a non-voting job that runs the Designate unit tests with the latest release of the dnspython package. Change-Id: Ief33213ab5cc549b7fa4babc4eabf72aaeb98b6b
-
- 26 Jan, 2022 1 commit
-
-
Erik Olof Gunnar Andersson authored
This fixes a race-condition when creating multiple PTR records under the same zone. There is a brief window when creating two identical zones can cause an error. This adds a fallback that should prevent the error. I also added a threaded test that caught multiple additional bugs in this code. - Wrong find_recordset used caused the wrong exception to be thrown. - The transaction workflow would break error handling. Change-Id: Ia1194ab838c52d5d91cb1d26c4556c73b4f3a745
-
- 25 Jan, 2022 1 commit
-
-
Zuul authored
-
- 24 Jan, 2022 1 commit
-
-
Michael Johnson authored
CentOS 9 Stream is part of the yoga release PTI[1] so we should have a job that tests with it. [1] https://governance.openstack.org/tc/reference/runtimes/yoga.html Change-Id: I3ae4a8c9c964290cd790df186ae45bc9f2ee38ec
-
- 22 Jan, 2022 1 commit
-
-
Christian Rohmann authored
This patch allows for +subaddress to be used for the local part of mail urls used for CAA records. While there are more characters allowed in email addresses, using subadresses for incoming email to role accounts is quite common. Closes-Bug: 1958533 Change-Id: Id265fa1dfa5c0703d8e95b5de1334d4ca716fbc0
-
- 13 Jan, 2022 1 commit
-
-
michaeltchapman authored
in the sudo context unit test: DeprecationWarning: Property 'tenant' has moved to 'project_id' in version '2.6' and will be removed in version '3.0' oslo_context is deprecating the tenant field, so move to using project_id. This does leave a less than ideal state where both project_id and tenant are referenced (since all_tenants remains untouched) but replacing 'tenant' with 'project' across the entire codebase is a much larger task. Change-Id: Id78112b49d5c0e99064fcb271aaded871da3f633
-
- 06 Jan, 2022 1 commit
-
-
Erik Olof Gunnar Andersson authored
This patch addresses a few problems with the manage command for pools and NS records. - Fixed an issue where having multiple NS records would break the pool command. - Fixed a scenario where manually (non-managed) NS records could break the pool command. - Fixed a potential edge case that could break the pool command. The biggest change is that we now only manage the NS record for the zone itself. This was always the case, but because we didn't check for this specifically, other NS records would conflict with the command. Change-Id: I4e6ea0b6b717d2a1b5cc420874d1bb8fb290e04b
-