Commit Graph

4885 Commits

Author SHA1 Message Date
Zuul 097ffc6df1 Merge "Bump hacking" 2024-03-18 10:37:22 +00:00
OpenStack Release Bot 2db9b9377d Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: Ic67e02b74367697ae67f86cff60539fcff046be2
2024-03-15 09:55:59 +00:00
Zuul 018c7ee862 Merge "reno: Update master for unmaintained/xena" 2024-03-05 23:02:48 +00:00
Zuul 6cba532831 Merge "reno: Update master for unmaintained/wallaby" 2024-03-05 23:02:46 +00:00
OpenStack Release Bot 2be754cb5c reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Icbd0dd4b4d06f12be4877b9b8d65a69f68cef85f
2024-03-05 18:42:01 +00:00
OpenStack Release Bot f258d0f05e reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I9a0eeb1c6913a71d990a3e29bcbf80d0066d39df
2024-03-05 18:41:16 +00:00
OpenStack Release Bot 3215f42e9e reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I9ccb2a934ae1d23ef9b5e5185ee609ea53e68207
2024-03-05 18:40:27 +00:00
Zuul 54e3ece623 Merge "Add catalog zone support to devstack plugin" 2024-02-27 16:44:15 +00:00
Michael Johnson 4258633ae5 Add catalog zone support to devstack plugin
This patch adds the ability to configure devstack to use catalog zones
when using the BIND9 backend.

It also adds a test job "designate-bind9-catalog-zones" that uses catalog zones
with a BIND9 backend.

Change-Id: Ib618d7850b0a86a8eb10eaa52b0e330cf908883a
Signed-off-by: Jan Hartkopf <jhartkopf@inovex.de>
2024-02-20 18:24:36 +00:00
Zuul 91f7d7d3fb Merge "Add support for catalog zones" 2024-02-14 20:16:54 +00:00
OpenStack Release Bot f540b8795c reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ia1b9291e45ef067ccd213f4ff83877f571742ffb
2024-02-05 14:06:13 +00:00
Zuul dd5993ad1b Merge "Removed unused function and improved Zone Master coverage" 2024-01-30 19:46:53 +00:00
Zuul 69c6b12a8d Merge "Stop using deprecated zake coordination driver" 2024-01-30 02:26:23 +00:00
Erik Olof Gunnar Andersson 75e0b5480f Removed unused function and improved Zone Master coverage
- Removed to_list as it is implemented the same way in the base class.

Change-Id: I74558bd4b1ca4effdbd2475ff7f08a5072e1e44f
2024-01-26 02:03:43 +00:00
Jan Hartkopf 60a6ceed09 Add support for catalog zones
This implements the spec to introduce support for providing catalog zones.

Co-Authored-By: Nico Keller <nico.keller@inovex.de>
Change-Id: Ic9e593d661f2eb1db59a5b235521e0746489f9bb
Signed-off-by: Jan Hartkopf <jhartkopf@inovex.de>
2024-01-22 15:22:13 +01:00
Takashi Kajinami cb47b4e00e Make edgegrid-python optional
The edgegrid-python library is not necessary unless akamai backend is
used, so this library should be an optional dependency to avoid pulling
unnecessary packages.

Note that akamai backend hasn't been updated since it was added 4 years
back. Probably we can deprecate and remove it assuming it's not really
used(or at least it's not maintained).

Change-Id: If13e722e5ec3cdcd11461201ea20b2dc022cce10
2024-01-22 21:47:31 +09:00
Takashi Kajinami f7ab684d1b Stop using deprecated zake coordination driver
The zake driver in tooz was deprecated[1] because the zake library has
been archived[2].

[1] 9acbc5391521155b04aa6654fb91c90b467b5750
[2] https://github.com/yahoo/Zake

Change-Id: I0fabc466c045c2dc20c88932b061422612c48005
2024-01-22 01:22:42 +09:00
Takashi Kajinami 7472f515a6 Bump hacking
hacking 3.0.x is too old. This also removes the note about old behavior
of pip which has been changed in recent versions.

Notes:
- A few errors newly detected are also fixed.

- This also fixes the compatibility with flake8 >= 3.0 because flake8
  is also bumped when we bump hacking.

- pretty_flake8 tool is removed because it's not commonly used but
  needs maintenance effort to keep it in sync with newer releases

Change-Id: I8e91b06199bfbed1d6e9f8d62ddf52fafd60b7f9
2024-01-17 12:37:51 +09:00
Erik Olof Gunnar Andersson 002005a440 Cleanup Heartbeat Emitter abstraction code
Change-Id: Ia53230c6eaac1987c6e7cedc523079ee586dafaf
2024-01-09 16:37:26 -08:00
Zuul d8cd8bf448 Merge "Update python classifier in setup.cfg" 2024-01-09 13:00:07 +00:00
Zuul 9d96f5f955 Merge "Improve Dyntext coverage and removed unusable code" 2024-01-09 00:23:24 +00:00
Zuul e73c03d661 Merge "Improved notification unit test coverage" 2024-01-09 00:04:05 +00:00
Zuul 318a9ce075 Merge "Remove unused validation function" 2024-01-09 00:04:03 +00:00
Erik Olof Gunnar Andersson 755efb1f3c Improve Dyntext coverage and removed unusable code
- Removed poll_response code that wasn't working.
- Removed unused code.
- Fixed non-lazy loaded log lines.

Change-Id: Ib8b0f4d61c1ee94f48b020c70ef260397d358172
2024-01-08 13:43:55 -08:00
Ghanshyam Mann cc5d53fcde Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: Id074752fede10b9422e1e47739ff3ec28f65738b
2024-01-08 11:27:30 -08:00
Erik Olof Gunnar Andersson 2b6b8da818 Improved notification unit test coverage
Change-Id: I8b1283f0d7b884e7f15aab2fd9514c93ed146230
2024-01-07 14:51:00 -08:00
Erik Olof Gunnar Andersson 5c0ef757f5 Remove unused validation function
Change-Id: I30595c472779edccb173b6db0025d7084a192111
2024-01-07 12:14:05 -08:00
Erik Olof Gunnar Andersson ddef40c9b1 Cleanup cross function / unit imports
Change-Id: I741bd5342625dd0617c9d319323a343cbb2f8cc5
2024-01-07 11:53:29 -08:00
Erik Olof Gunnar Andersson 2e2b652419 Increase minimum test coverage to 97%
Change-Id: Id6889aafd1c1a1108ea4bb4dead27d411d05b048
2024-01-07 16:17:15 +00:00
Erik Olof Gunnar Andersson 21ae2fb4ff Improve Scheduler coverage
Change-Id: Iaded56fbdfd06d66b906617259ccbaf7cc21e910
2024-01-07 13:06:33 +00:00
Erik Olof Gunnar Andersson 16e2433d25 Added basic fake network coverage
This code should never be used in production, but it is always
good to have basic test coverage either way to make it easier
to understand the implementation.

Change-Id: I17e74223e5c68fe9d0799dedd94c88e399ff21ba
2024-01-07 13:06:24 +00:00
Erik Olof Gunnar Andersson ff70036bf9 Improve NS1 test coverage
Change-Id: I784acb919790da08c841605c5971a19517c508b1
2024-01-07 13:06:15 +00:00
Erik Olof Gunnar Andersson 39a8c8f116 Improved V2 controller coverage
- Removed code that was impossible to reach.

Change-Id: Ib3c11d792ff1a5c0110ab2263e7a8a6d5f6baae0
2024-01-07 13:06:08 +00:00
Erik Olof Gunnar Andersson 571d902c59 Improved pool move test coverage
Change-Id: I59926b701e375b01dd46fc0fad0ce2db6dd73fe7
2024-01-07 13:05:59 +00:00
Erik Olof Gunnar Andersson 57f2e367bf Restructure testing
- Moved all functional tests to dedicated folder.
- Updated a few tests to use faster oslo tests.
- Renamed fixtures.py to base_fixtures.py.

Change-Id: Ie8c5591dd12a91350173bec2b418b6c9ddea79fe
2024-01-05 15:09:29 -08:00
Erik Olof Gunnar Andersson af940fb6e4 Increase minimum test coverage to 96%
Change-Id: I791295e7500a75a3a1ee28a7d796163a77591a9d
2023-12-16 11:32:50 +00:00
kpdev 8733f8f85b Add new API for zone move
The new API would be v2/zones/<zone_id>/tasks/move
Only POST would be allowed on this API.
This move zone from existing pool and add it in new pool. After zone
pool_id field will be updated in DB, clone-zone will be created on
target pool backend servers. The zone transfer(AXFR/IXFR) will happen
and the zone on target pool gets synced with the Designate DB.
This command serve as replacement to "zone export + zone delete + zone
import" procedure.

Added following things in pool move operation:
  - Add/Update NS servers of new pool in the zone

Implements: blueprint zone-move
Change-Id: I5307de429114b20efd9785c3c0cdb33977418423
2023-12-15 22:31:27 +00:00
Erik Olof Gunnar Andersson f5a034272d Add upgrade test coverage
Adding additional test upgrade coverage. This implementation
tests things like the is_migration_needed flag. In the future
we can also add support for MySQL functional coverage as well.

Change-Id: I9386d1bfbfee1fe8ff41859520cdbe94381ee3fd
2023-12-14 09:13:11 -08:00
Erik Olof Gunnar Andersson d90691f3a2 Improved service coverage
Change-Id: I16ee9a86f64af2d666adc8a5cad5267fc34910b1
2023-12-12 18:43:25 +00:00
Erik Olof Gunnar Andersson 2ffc4902a1 Cleanup Central tests
Multiple tests were failing under some scenarios because of
how we were mocking certain resources in these tests.

- Removed unused code.
- Standardized test code.
- Moved central/test_basic tests to functional tests.

Change-Id: I30870244686b7ce9b0e793da2dd6b67a2cb82246
2023-12-12 18:43:23 +00:00
Erik Olof Gunnar Andersson 7067155a7d Improved Notifications coverage
- Minor cleanup to code to make it easier to read.
- Restructured tests.

Change-Id: Id508f9dfd776a0017bd02db461331983e1f82646
2023-12-12 18:43:20 +00:00
Erik Olof Gunnar Andersson db5766e883 Standardized Service unit tests
A lot of our unit tests don't need to setup a proper RPC
connection. This patch mocks the RPC path for all these
tests and standardizes some of the tests.

Change-Id: Ibdc1d495c8aa15c3e29293aabd2a9641bf12c897
2023-12-12 10:43:02 -08:00
Zuul b68451c076 Merge "Improved worker rpcapi coverage" 2023-12-12 07:50:33 +00:00
Zuul ab5826f116 Merge "Improve API Controllers coverage" 2023-12-12 07:50:31 +00:00
Erik Olof Gunnar Andersson 21f9512875 Improved worker rpcapi coverage
Change-Id: Ib1a907f6377967901b1c079580a10f99d408eb12
2023-12-11 08:39:57 -08:00
Erik Olof Gunnar Andersson 41b4903b18 Improve API Controllers coverage
- Removed unnecessary error handling.

Change-Id: I669b3081bc724d7d30df3cc8ad5e82dcad81889b
2023-12-11 03:58:51 -08:00
Zuul ca4b0ef515 Merge "Cleanup context code" 2023-12-09 16:15:39 +00:00
Zuul c3aedd8811 Merge "Fix incorrect test IP range being used by zonefiles" 2023-12-09 16:15:37 +00:00
Zuul d96f840b42 Merge "Fix occasional failure in Service tests" 2023-12-09 16:15:36 +00:00
Zuul 594ab3fcaf Merge "Fix FloatingIP ttl not allowing zero" 2023-12-08 20:11:30 +00:00