summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Update zones masters using pool target masters." into stable/trainstable/trainZuul2021-03-045-0/+147
|\
| * Update zones masters using pool target masters.Jorge Niedbalski2020-08-205-0/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enforces the update of the zone masters for all zones that belongs to a particular pool, using the pool's defined target(s) masters and forcing a update_zone call. This change also, moves the backend base class update_zone method as an abstract method, allowing to each backend implementation to create its own update logic. For the case of bind9 its extended to allow running a rndc modzone with the new given masters for the zone fixing the behavior exposed on LP: #1879798. Fixes-Bug: #1879798 Change-Id: I9dddd4130a0cbb29311eeb52e077e216c8c03f3a Signed-off-by: Jorge Niedbalski <jorge.niedbalski@canonical.com> (cherry picked from commit 3756fc51e71aaf0ba7cfb9155ca5d1de26ab78bc)
* | Fix pdns4 devstack pluginJens Harbott2021-02-161-21/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | We no longer need to deal with xenial or older distro versions, so we can assume that we can always install pdns4 from the distro directly and don't need the distro version check any longer. Drop a config option that was removed in pdns 4.2.x. Use mysql credentials correctly. Change-Id: I90af3a092296f943509833608f25522b6f8e9ab6 (cherry picked from commit 6f17fe10bb37d71944e16a422606ccf0f78c6771)
* | Drop lower-constraints testNicolas Bock2021-02-153-177/+0
| | | | | | | | | | | | | | | | This change drops the lower-constraints test. Change-Id: I2b32cec8d6570e990d19046dbbbd764cb4c4e5cc Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com> (cherry picked from commit d08dd621c988fe13b9844c5c44e143907aa74d0c)
* | Merge "fix database sync always get the wrong value" into stable/traintrain-em9.0.2Zuul2021-01-141-1/+3
|\ \
| * | fix database sync always get the wrong valuewu.chunyang2020-09-291-1/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | we create a default pool when exec database sync, and get the default_pool_id from designate.conf, but we did not register this opt before using it, so we always get the default value which is wrong Change-Id: I500c932a502db24332aad95c54713b7056bc1df4 Closes-Bug: 1881277 Related-Bug: https://bugs.launchpad.net/kolla-ansible/+bug/1855877 (cherry picked from commit 609437e73deff55e9f5548538f093d01f0addd1b)
* | [stable-only] Cap bandit to 1.6.2 and fix requirementsElod Illes2021-01-073-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 1.6.3 [1] release has dropped support for py2 [2] so cap to 1.6.2 when using py2. python-memcached versions needed to be fixed to make check-requirements job passed. Contradicting hacking (and thus flake8) lower constraint needed to be fixed to match and make lower-constraints job pass. [1] https://github.com/PyCQA/bandit/releases/tag/1.6.3 [2] https://github.com/PyCQA/bandit/pull/615o Change-Id: I35780af8c858d44c3c5cb780af72d28e85693352
* | pdns4 backend: check if zone exists before attempting deleteAndrew Bogott2020-10-142-7/+40
|/ | | | | | | | | | This should prevent us from obsessing over zones that are in the designate DB but not in the pdns backend due to races/incomplete transactions/etc. Bug: 1880230 Change-Id: I00ae6227edf21007c39a7d55221898ae5c10dda2 (cherry picked from commit 5acba9443e2fc1f6e78f9a32cd85eb168d2a7cb2)
* Merge "Adding distributed locking to central" into stable/trainZuul2020-06-254-5/+35
|\
| * Adding distributed locking to centralErik Olof Gunnar Andersson2020-06-164-5/+35
| | | | | | | | | | | | | | | | | | | | | | | | The current locking implementation is limited to the running process. This introduces distributed locking that will help prevent race conditions when there are many instances of designate-central running. Closes-Bug: #1871332 Change-Id: I98f7f80ce365cdee33528f9964c03274f62a795a (cherry picked from commit f6090d885c8ebe00a89307a1e2f5621de75dcda8)
* | Pin version of designate-tempest-pluginJens Harbott2020-06-241-2/+4
|/ | | | | | Master dropped support for py2 but we still need it for some jobs. Change-Id: Iec79c9cec72e74baab9f002b13d426facff96923
* Merge "Improve sink recordset creation" into stable/train9.0.1Zuul2020-02-133-31/+30
|\
| * Improve sink recordset creationErik Olof Gunnar Andersson2020-02-103-31/+30
| | | | | | | | | | | | | | | | | | | | | | | | Reduced the number of calls we need to make when creating records using the sink by better using the create/update recordset api. This also fixes a bug where the sink could trigger a race condition in the worker causing it to throw a BadAction exception. Partial-Bug: #1768618 Change-Id: Iaf21ec59755375d3c3bc043b16a1b14aa991475e (cherry picked from commit 4869913519e0b7bb12b4ba1ef6b7ce8aabb53825)
* | Fixing services getting stuck on shutdownErik Olof Gunnar Andersson2020-02-1011-52/+62
|/ | | | | | | | | | | The new heartbeat code was causing the service to not exit properly. This patch removes the use of a thread group for handling heartbeats and replaces it with a FixedIntervalLoopingCall instead. Closes-Bug: #1857476 Change-Id: Ida918a2d670a69cc8995983d23e5424bd48de8a9 (cherry picked from commit 136a9f79fafaf94d18b81618943c0f73b38bfdfe)
* Remove unused legacy playbooksGhanshyam Mann2020-02-104-179/+0
| | | | | | | | | | | Legacy jobs except grenade job has been migrated to zuulv3 in - https://review.opendev.org/#/c/644586 But legacy playbooks has been left to remove. Those are unused now and can be removed from master and train branch. Change-Id: I1f432c8c99d6a7e695d00baddb9aab795d8685bb (cherry picked from commit 911f372bbe4f15f295235e17bf4f7f372bc1a62e)
* Use Tempest 'all' tox envGhanshyam2020-02-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | Tempest recently moved tox default to py3 including all-plugin env. -https://review.opendev.org/#/c/703011/ This will fail the py2 jobs which are using all-plugin tox env. Because tox all-plugin env var enable the sitepackages=True. Py2 jobs install the tempest plugins on py2 and all-plugin tox try to find the installed plugins on py3 which cause no test to run and fail the job. tox all-plugin has been deprecated since long and not supposed to use for plugins who already in migrated to separate repo in queens cycle. Using tox 'all' env to fix the issue. Change-Id: Ib1a2be90c0b3dbacc6daf52f0fc6f326ab47fc98 Closes-Bug: 1862240
* Use stable branch scenario jobDr. Jens Harbott2020-01-171-1/+1
| | | | | | | We need to use neutron-tempest-plugin-designate-scenario from the matching stable branch. Change-Id: If57d79e0ac70189f0e387830e5a2473eb472eb12
* Don't install v1 dashboard panelJens Harbott2019-11-141-1/+0
| | | | | | | | | | The panel _1720_project_dns_panel.py has been removed in [0], stop trying to install it in our devstack plugin. [0] Iabf7d396ea6feb0cd7de1c5408a81a7a3ce1efbf Change-Id: I7ebc7991bd4f59579195d337f1787fd8abefbe90 (cherry picked from commit b9e6549ad30b2b06ef6ca409a3a89e1c68ad6a47)
* Set default branches to stable/trainJens Harbott2019-11-111-3/+3
| | | | | | | When installing designate as a devstack plugin, we want to use the matching stable branches for dependencies by default. Change-Id: I6873f89c507f7d3aa70c7ccc63744fa2fc12e7b7
* Update TOX/UPPER_CONSTRAINTS_FILE for stable/trainOpenStack Release Bot2019-09-271-4/+4
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/train branch, tests will continue to use the upper-constraints list on master. Change-Id: I5df32acc04b8b54c4f403d604ad6ca736f342690
* Update .gitreview for stable/trainOpenStack Release Bot2019-09-271-0/+1
| | | | Change-Id: I167cea8312e6c8caa040b5676a6cf28253244da3
* Merge "Adjusted default heartbeat interval and renamed file"9.0.0.0rc19.0.0Zuul2019-09-253-4/+4
|\
| * Adjusted default heartbeat interval and renamed fileErik Olof Gunnar Andersson2019-09-053-4/+4
| | | | | | | | | | | | | | | | | | The current default for heartbeats is a little aggressive, adjusting the default value from 5s to 10s. Also fixed the name of the conf file to make it clearer. Change-Id: I3a699e9c83fab7851636867ef7399fa5fa9c3761
* | Merge "fix get the name servers for a zone not validate zone_id"Zuul2019-09-251-0/+2
|\ \
| * | fix get the name servers for a zone not validate zone_idzhouhenglc2019-09-201-0/+2
| | | | | | | | | | | | | | | | | | | | | now the api of get /v2/zones/{zone_id}/nameservers not validate zone_id, if set zone_id contain spaces, will trigger DBError and return 500. Change-Id: Ia3e07c42dc548207aa7ff9efcc35a215c9660e54
* | | Merge "Removed deprecated powerdns 3 driver"Zuul2019-09-2541-1579/+50
|\ \ \
| * | | Removed deprecated powerdns 3 driverErik Olof Gunnar Andersson2019-09-2441-1579/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver was replaced by the pdns 4 driver many cycles ago and is being permanently removed. Change-Id: Ic34cee5fde21f838b6dd6b54fcdd767ec8b0bc18
* | | | Merge "Removed deprecated pool-manager implementation"Zuul2019-09-2576-4440/+89
|\ \ \ \ | |/ / /
| * | | Removed deprecated pool-manager implementationErik Olof Gunnar Andersson2019-09-2476-4440/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The pool-manager has been deprecated since Newton and is now being removed with the Train release. Change-Id: Ib258043d492bb25e1c061d765b40885317c73804
* | | | Merge "Refactored service layer"Zuul2019-09-2539-474/+564
|\ \ \ \ | |/ / /
| * | | Refactored service layerErik Olof Gunnar Andersson2019-09-2039-474/+564
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Service layer has been simplified by removing abstraction and making the implementation more in line with other OpenStack projects. Moved Heartbeat code out of Service class and into the console scripts. We only need one instance of the Heartbeat Emitter. Cleaned up the WSGI code by making use of the reusable oslo_service.wsgi code. * Added Heartbeat to designate-sink. * Cleaned up and refactored Service layers. * Fixed various bugs e.g. errors on shutdown. * Removed deprecated options host, port etc. * Simplified Heartbeat implementation. Closes-Bug: #1442141 Change-Id: I536b92407bf6ca5bddf4c048909cd13d4e094d26
* | | Merge "fix call obj_reset_changes with recursive=True raise error"Zuul2019-09-252-2/+19
|\ \ \
| * | | fix call obj_reset_changes with recursive=True raise errorzhouhenglc2019-09-252-2/+19
| |/ / | | | | | | | | | | | | | | | | | | | | | when call obj_reset_changes with recursive=True, the function raise: ERROR oslo_messaging.rpc.server AttributeError: 'list' object has no attribute 'ObjectField' Change-Id: I9559a80190eb44475452aac4e3553f921311723b
* | | Set enable_host_header in documentationErik Olof Gunnar Andersson2019-09-243-3/+3
|/ / | | | | | | | | | | | | | | | | | | | | This is better practice and we should recommend this value set in the install guides. Host headers makes use of request host_url provided by Flask, instead of relying on the hard-coded url in the configuration. Change-Id: I9fbb71acd063d2034190e773f69f7a80275b2f3c
* | Merge "Add missing RabbitMQ configuration to install guides"Zuul2019-09-173-0/+36
|\ \
| * | Add missing RabbitMQ configuration to install guidesErik Olof Gunnar Andersson2019-09-133-0/+36
| | | | | | | | | | | | Change-Id: Id7972ca5600a202bc885bf5cdb528b9e335e558d
* | | Merge "Build man pages for the commands that are documented"Zuul2019-09-171-2/+4
|\ \ \ | |/ / |/| |
| * | Build man pages for the commands that are documentedThomas Bechtold2019-09-121-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Running "sphinx-build -b man doc/source doc/build/man" allows the build of man pages which are useful when working from the command line. Change-Id: Ia9e2bb2cc9d68bea71a19ff8296bbf9bd3cd95a4
* | | Merge "Only log zone not found when notifing"Zuul2019-09-121-12/+20
|\ \ \ | |/ / |/| |
| * | Only log zone not found when notifingErik Olof Gunnar Andersson2019-09-051-12/+20
| |/ | | | | | | | | | | | | | | | | We are currently logging zone not found when quering the SOA record. This should only happen when notifing. Change-Id: Iad790593a809a165718d3700cf7325f52208dab1 Closes-Bug: #1671636
* | Merge "Only log unexpected rndc errors"Zuul2019-09-111-1/+2
|\ \
| * | Only log unexpected rndc errorsErik Olof Gunnar Andersson2019-09-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A common false positive when bind is failing to create a zone is the output that the zone already exists. This is usually due to a misconfiguration, and not because the rndc command is failing. We still log the rndc output using debug, and log it in cases where it only would fail due to legit issues talking to bind. Change-Id: If0f6dd84959f67f32394084ea66d54e210dad966
* | | Merge "Standardizing install guides"Zuul2019-09-113-38/+30
|\ \ \
| * | | Standardizing install guidesErik Olof Gunnar Andersson2019-09-053-38/+30
| | | | | | | | | | | | | | | | Change-Id: Ifee7ad3e69b1e40d97ee620a567f1a18773de534
* | | | Merge "Make IPv6 jobs voting"Zuul2019-09-101-4/+4
|\ \ \ \
| * | | | Make IPv6 jobs votingGraham Hayes2019-09-091-4/+4
| | |_|/ | |/| | | | | | | | | | | | | | Change-Id: I0b4d5649c740722af0ab6af8cebeaf785053dd28 Signed-off-by: Graham Hayes <gr@ham.ie>
* | | | Merge "Fix bug in recordset status"Zuul2019-09-093-10/+77
|\ \ \ \
| * | | | Fix bug in recordset statusErik Olof Gunnar Andersson2019-09-053-10/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the status handling of record sets to always report the appropriate status. Closes-Bug: #1842994 Change-Id: Ic2f4f41a9a87440e3849f380ea5989e15f378619
* | | | | Merge "Add pdf-docs env to tox.ini"Zuul2019-09-095-22/+40
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Add pdf-docs env to tox.iniNicolas Bock2019-09-075-22/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Enable PDF documentation. Based on [1]. - Enable table of contents generation for pdf - Removed literalinclude of designate.conf [2] - Removed illegal character (a literal ESC) - Fix incorrect column count in backends summary section - Replace nodes.line() with nodes.paragraph() [1] https://review.opendev.org/601659 [2] https://github.com/sphinx-doc/sphinx/issues/3099 Change-Id: Ie454f8f9ebc8e36347ce33b22f2e6da0257fe4e0 Signed-off-by: Nicolas Bock <nicolas.bock@suse.com>