Commit Graph

83 Commits

Author SHA1 Message Date
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 4e185d4e26 Merge "Make sqlalchemy-2x tests voting again" 2023-11-10 17:56:21 +00:00
Zuul 136006387d Merge "Fix Zuul warnings with regexps" 2023-11-10 13:24:11 +00:00
Erik Olof Gunnar Andersson 16798494f3 Make sqlalchemy-2x tests voting again
Depends-on: https://review.opendev.org/c/openstack/requirements/+/900517
Change-Id: I9709cdf3e7cf1efef52c92f1e116544a4cbe9b70
2023-11-09 16:27:54 +00:00
Michael Johnson 35a66e3d7e Fix Zuul warnings with regexps
zuul now reports warnings when using perl-style regexp:
| The RE2 syntax error is: invalid perl operator: (?!
for
| branches: ^(?!stable)

This commit fixes it by using the correct RE2 syntax

Change-Id: I7efbce549a3ee673431018635c2f568f46df0449
2023-11-07 23:38:31 +00:00
Erik Olof Gunnar Andersson 30d8c70814 Disable tox sqlalchemy tests until fixed in oslo
Related-Bug: #2042886
Change-Id: I6afafb225a970777dfff6447d42d1ac027b4795a
2023-11-07 16:21:07 +00:00
Erik Olof Gunnar Andersson bd726d75e8 Always run all tests when changing default config
Change-Id: I48f6516145a8c076e742f8e5d25eda429c728a01
2023-10-05 09:10:32 -07:00
Michael Johnson 9c6ed29135 Add a tempest test job with sqlalchemy 2.x
Now that nova removed the use of "migrate" we can add a tempest test job
with sqlalchemy 2.x.

Change-Id: Ibc6b1a67a14c8a83c1f679a9e3302e9c2eb25983
2023-07-18 19:22:43 +00:00
Stephen Finucane b77934beb7 Add job to test with SQLAlchemy master (2.x)
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: Idcf698e7266c10f468123489a964404e9a68a7be
2023-07-18 01:33:01 +00:00
Michael Johnson 9c46364483 Fix zone list with system scoped tokens
If you used a system scoped token to list zones and the zone is not shared,
you could see more zones than expected.
This patch corrects that edge case.

Change-Id: I1be68b27dc052cc273fcfdf53940b38a7661e73b
2023-06-02 21:11:59 -07:00
Michael Johnson aacea51715 Re-enable test jobs
This patch re-enables some test jobs that were disabled to resolve a circular
dependency issue.

Change-Id: Ib5eb9d43bdaae31bfdd28a9d3e4d89a1c2c241e1
2023-06-01 21:56:31 -07:00
Michael Johnson 5b7ee8899d Fix zone list/show for shared zones
Previously projects that had a zone shared with them were unable to view the
shared zone. This patch corrects that issue.

Change-Id: Ia3ede57ac2249a1bcd49512aa36452b2b9ffd827
2023-05-31 20:18:30 +00:00
Michael Johnson c2e51939b4 Update designate for RBAC "direction change"
The RBAC goal has changed[1] and system scope is no longer going to be
used. This patch updates Designate to align to this change in direction
by removing the system scope from the policies.
It also updates the functional tests to be ready for the switch to using
the new keystone roles by default.

[1] https://governance.openstack.org/tc/goals/selected/consistent-and-secure-rbac.html#direction-change

Depends-On: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/879111
Change-Id: I1937e215dbd072b0a095df659c75f17a3f48c937
2023-03-31 00:38:50 +00:00
Erik Olof Gunnar Andersson fbfb1b0dd8 [CI] Reduce workers and disable cinder to save on memory
Change-Id: I677ac79047286fb92343d3d895c38cf1a1076556
2023-02-18 16:19:03 -08:00
Michael Johnson ebed418cb4 Enable fail-fast on the gate queue
With this set, if any one of the voting jobs fails, zuul
will report a build failure immediately and abort the remaining
jobs.

This patch enables fail-fast on the gate pipeline as any one
failing job means the patch will not merge.

Change-Id: Ib1872ed973079224f8245eef826399a0b0850f0b
2023-02-16 06:46:49 +00:00
Dr. Jens Harbott c1a826ac2c Migrate Designate jobs to run on Ubuntu 22.04 (Jammy)
This matches the currently supported LTS platform according to the TC.

Change-Id: I7a5d2fce52841ab057ef1678c6cfb96205033101
2022-10-26 05:17:58 +00:00
Dr. Jens Harbott c907cfa1e6 CI: Move queue configuration into project-template
With this it can be reused by the other designate repos and we can
reduce the replication everywhere.

Change-Id: I1fe73145e4a4699939244bc857600efa264f2340
2022-10-14 12:15:56 +02:00
OpenStack Release Bot b0bff602ed Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I9fb95106665bff1c1c0e323f49afa1a630d4dd0a
2022-09-16 09:19:18 +00:00
Michael Johnson 9ac6458066 Fix FIPS job - nslookup_target
This patch sets a zuul variable "nslookup_target" to 'opendev.org' to fix the FIPS jobs due to a new zuul-job change[1].

[1] https://review.opendev.org/c/zuul/zuul-jobs/+/844704

Change-Id: Ic6b3a3c6d2f5b648f00813191c30d03132e31503
2022-06-22 21:40:00 +00:00
Takashi Kajinami f0ccec1212 Do not declare queue at a pipeline level
Zuul deprecated declaring shared queues at a pipeline level with
release 4.1.0[1]. This removes pipeline-level declarations to use only
top-level ones.

See [2] for details.

[1] https://zuul-ci.org/docs/zuul/latest/releasenotes.html#relnotes-4-1-0-deprecation-notes
[2] http://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html

Change-Id: I606fcc1d8f8f4fe74eecfc261f01f1b785f29f6e
2022-06-13 10:02:28 +09:00
Michael Johnson fe9fb45c21 Update zuul queue configuration
Zuul is changing how queues are declared[1]. This patch updates Designate for the new way to define the queue.

[1] https://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html

Change-Id: I94324104a7ed89e757d48bb250d8b1132026ce46
2022-05-19 16:11:33 +00:00
Zuul 9a7299ec67 Merge "Switch CentOS jobs over to CentOS 9 Stream" 2022-05-05 16:12:46 +00:00
Michael Johnson f81a16dbe9 designate-tox-dnspython-latest irrelevant files
Fix the dnspython "latest" job to not run on docs only jobs.

Change-Id: Ib77d30d95f0126b21a9c58e6aa8e35aa68254c0e
2022-05-04 22:31:35 +00:00
Zuul 6e6a4537f2 Merge "Drop lower-constraints.txt and its testing" 2022-05-02 17:05:22 +00:00
Ghanshyam Mann 081a76a926 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I452a1149f417089a4b87f05b78c94c7a31fcbd66
2022-04-30 15:48:07 -05:00
Nate Johnston 278b39c2fc Add a grenade job for bind9
The current grenade job tests only with pdns4, but it would be valuable
to also test with bind9 to discern upgrade issues when bind9 is in use.

Change-Id: I118cc92e3950540d725f433dfe5d9590cbdab616
2022-04-27 22:33:45 +00:00
Michael Johnson 6388f75049 Switch CentOS jobs over to CentOS 9 Stream
Since Devstack is dropping CentOS 8 Stream[1], we need to move our jobs over to CentOS 9 Stream. Now that there is a "devstack-single-node-centos-9-stream" nodeset we can remove our local CentOS 9 Stream nodeset.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2022-April/028321.html

Change-Id: I1c8dfec7bd2b5f80b12d7229e47ef8ff70bd283b
2022-04-26 23:14:00 +00:00
OpenStack Release Bot 89864d458f Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ibcee66e9100121035ace7e4166be19fc3a07c6e5
2022-03-10 08:16:43 +00:00
Michael Johnson 694d189f36 Make CentOS 9 Stream job non-voting
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
2022-02-28 16:41:22 +00:00
Zuul 8966e65dd4 Merge "Add non-voting dnspython latest release unit test" 2022-02-04 02:37:33 +00:00
Michael Johnson 07a8a9d693 Add non-voting dnspython latest release unit test
This patch adds a non-voting job that runs the Designate unit tests
with the latest release of the dnspython package.

Change-Id: Ief33213ab5cc549b7fa4babc4eabf72aaeb98b6b
2022-02-03 23:40:36 +00:00
Michael Johnson 0275aaad55 Add a BIND9 job on CentOS 9 Stream
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
2022-01-24 23:31:31 +00:00
Michael Johnson 5f87d207b4 Fix support for scoped tokens and default roles
This patch is the base patch to enable support for Keystone
scoped tokens[1] and default roles[2] in the Designate API.

It also migrates to using project_id in the context objects instead of
the deprecated tenant_id.

[1] https://docs.openstack.org/keystone/latest/admin/tokens-overview.html#authorization-scopes
[2] https://docs.openstack.org/keystone/latest/admin/service-api-protection.html

Depends-On: https://review.opendev.org/c/openstack/designate-tempest-plugin/+/821632

Change-Id: I43bb76dc4dc1d167d86fd5ea139a50f95f3b0b4a
2021-12-14 01:02:50 +00:00
Zuul bee8dc032e Merge "Add fips jobs" 2021-11-22 20:10:24 +00:00
Zuul 8ad35d9b5a Merge "Run neutron integration job in gate" 2021-11-16 01:44:54 +00:00
Dr. Jens Harbott 1e36644346
Run neutron integration job in gate
The job has been voting for half a year now, add it into the gate
pipeline to reduce the risk of regressions.

Change-Id: I331fb10b73e148a620fa89a55c1e999c17ac3545
Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
2021-11-13 16:10:26 +01:00
Erik Olof Gunnar Andersson 4b58446d37 Revert "Move back to mod_wsgi for devstack"
This reverts commit 185d92d230.

Reason for revert: Lets try to move back to uwsgi, as logging is a lot cleaner in the CI with uwsgi. Switches uwsgi from using uwsgi over socket to over localhost HTTP.

This patch also bumps the API_WORKERS setting for devstack from 2 to 4.
This will bump the uwsgi processes and threads from two to four.

Change-Id: I126133564e2ada32448ad36e0d021790939425d4
2021-11-13 01:33:50 +00:00
Ade Lee 604fd8cf74 Add fips jobs
Added job to test whether things work when fips is enabled.
The job appears to be passing successfully.

Change-Id: I43dcc43309b7da8ca077fce2d1950940971a3dbe
2021-11-05 18:10:48 +00:00
OpenStack Release Bot ef15d07a4b Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: If10b860b8da515d54c008f75ecb410dd73ab1fd8
2021-09-17 16:08:00 +00:00
Michael Johnson 057dd2b3c6 Re-enable the tempest scenario jobs
This patch re-enables the tempest scenario jobs after the gate fix
patch has merged.

Change-Id: I4f97559cbbd5bc360850571b94f58aa296467ae8
2021-06-14 21:45:29 +00:00
Michael Johnson fba57ab1ca Fix migration for sqlalchemy 1.4
This patch fixes a database migration for sqlalchemy 1.4.
It also removes some unused functions from that migration.

Note: This patch temporarily disables the scenario jobs to allow
this gate fix to merge while the tempest test issue is being
resolved.
A direct follow up patch will re-enable the tests.

Change-Id: I4fee32f9be080eea6eef38fcecbdb2dd3940b9e6
2021-06-14 21:43:55 +00:00
OpenStack Release Bot 05343d4226 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I7db9ad45d719db4912a365043bfea5944bb71dfd
2021-03-26 10:33:07 +00:00
OpenStack Release Bot 53dcbe8584
Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I8a3fc6e4801607895871296cb5b250f2014f1487
2020-10-14 06:09:56 -06:00
Luigi Toscano 8cbfafdb8d Native Zuul v3 designate-grenade-pdns4 job
It matches the feature of the existing legacy job.

Depends-On: https://review.opendev.org/747579
Change-Id: I306599c0321ea40334750db57f39d9e3a237f13e
2020-08-23 16:54:43 +02:00
OpenStack Release Bot bd2ddd0e14 Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ie22926df4818b6413426ade03f67f35436d50086
2020-04-23 15:33:37 +00:00
Zuul 2a05203c69 Merge "Make the postgres job experimental" 2020-03-12 10:09:06 +00:00
Dr. Jens Harbott 28b7d2ede0 Make the postgres job experimental
Work on fixing the postgres job has stalled for more than half a year
now, so stop running this known-broken job on every patch. This can be
reverted once the job is fixed.

[0] https://review.opendev.org/668493

Change-Id: I6e958d0a61e0b8327be719d312f1b990ff9fe2e8
2020-02-10 09:09:19 +00:00
Ghanshyam 4f3883775d Use Tempest 'all' tox env
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
2020-02-09 22:19:38 +00:00
Ghanshyam Mann cdac0fc2f9 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Designate is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I5a5bdc859f87f82097b95b2ebb31edb6e9b72b3a
2019-12-13 18:49:14 +00:00
pengyuesheng d8c2718e4f Switch to Ussuri jobs
Change-Id: Iaeae4497e3eb1ebe5888e9646acbf409c5332d9b
2019-10-22 10:54:58 +08:00