Commit Graph

668 Commits

Author SHA1 Message Date
OpenStack Release Bot ea4128a499 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: I6d5232387cfec64b36984ce9d554c2f0dab18d38
2024-03-08 14:00:18 +00:00
Zuul bb13941616 Merge "reno: Update master for unmaintained/xena" 2024-03-05 23:02:49 +00:00
Zuul 9d6e273eb7 Merge "reno: Update master for unmaintained/wallaby" 2024-03-05 23:02:47 +00:00
OpenStack Release Bot ec46cc6661 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

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

Change-Id: Ic5511fdd7ef0e60672bb3432f0937832cccc9366
2024-03-05 18:41:28 +00:00
OpenStack Release Bot 9b40bd7617 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I00f655c176530fa592e082505c6aade884f06296
2024-03-05 18:40:39 +00:00
OpenStack Release Bot 23faa146e9 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ib59b16492b33c90c6495ec60c7f0f7a064a37d93
2024-02-05 14:06:21 +00:00
Zuul 90a9fe3d65 Merge "Add new API - zone pool move" 2024-01-10 01:23:59 +00:00
Zuul d23f3b623c Merge "Remove translation sections from setup.cfg" 2024-01-09 02:43:19 +00:00
Ghanshyam Mann 94789948d5 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: Ib1e33784a6258e8e4f72ef9997e551ed3c00c80a
2024-01-08 11:27:41 -08:00
Takashi Kajinami 4efec172d2 Recordset: Remove deprecated --records argument
The --records argument was deprecated in 2.8.0[1], which was released
during queens cycle. Multiple cycles have passed since then so we can
remove these deprecated options now.

[1] 66e4955408

Related-Bug: #1736161
Change-Id: Ic49d9b350a890d435b525bae611c8ba22cd29339
2023-12-27 23:22:56 +09:00
Takashi Kajinami 39423a98c5 Use --record instead of deprecated --records
The --records argument was deprecated during queens cycle[1], and
the new --record argument should be used.

[1] 66e4955408

Related-Bug: #1736161
Change-Id: Ia4d84e6167d1192fee351d663af3e9f4cda1ea3f
2023-12-27 23:22:53 +09:00
Takashi Kajinami 06c168e200 Remove translation sections from setup.cfg
These translation sections are not needed anymore, Babel can generate
translation files without them.

Also, the options in egg_info section are not necessary and can be
removed. Especially, tag_svn_revision was already removed[1].

[1] https://github.com/pypa/setuptools/issues/619

Change-Id: I965b765dfa8f1865ee27d52fdef9df8267db756f
2023-12-20 11:33:18 +09:00
Zuul 732cd520d4 Merge "pyupgrade changes for Python3.8+" 2023-11-23 18:15:42 +00:00
Erik Olof Gunnar Andersson 28e1674e96 Add coveragerc file
Change-Id: I86b2d7c18df5dc5bdc32fb1818a108a9e34d8d01
2023-11-18 13:53:03 -08:00
Erik Olof Gunnar Andersson b6e78fefdd pyupgrade changes for Python3.8+
Result of running

$ pyupgrade --py38-plus $(git ls-files | grep ".py$")

This was inspired by Nova [1] and Octavia [2]

Fixed PEP8 errors introduced by pyupgrade by running:

$ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
  --in-place designate

and manual updates.

[1]: https://review.opendev.org/c/openstack/nova/+/896986
[2]: https://review.opendev.org/c/openstack/octavia/+/899263

Change-Id: I27d09edb7e75081379002615f4ecdb1aa007dbcf
2023-11-17 09:42:13 -08:00
OpenStack Release Bot 44543113db Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

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

Sem-Ver: feature
Change-Id: I1b9abab3d9186d11a9ae4cf8635e9f81c50fc268
2023-09-08 14:54:18 +00:00
likui 4796812543 Add python3.9 support in testing runtime
In 2023.2 cycle testing runtime, project test in py38 py39 and py10

[1] https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: I2573fdd15c73d1b1a3fe8587bc1a16ecf3fd8ceb
2023-08-04 16:18:24 +00:00
kpdev 84e585dbc2 Add new API - zone pool move
The new API would be v2/zones/<zone_id>/tasks/pool_move
Only POST would be allowed on this API.

Implements: blueprint zone-move
Change-Id: I41525a005e98244c60078e7004c2a75dd170f06e
2023-06-09 09:05:52 +00:00
OpenStack Release Bot d7bca3562e Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

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

Sem-Ver: feature
Change-Id: Ic0e2ee62136de2970dc9cddf83cf0d51689cb23a
2023-03-02 14:06:58 +00:00
Zuul a69db95d07 Merge "Drop explicit queue configuration" 2023-02-21 19:00:43 +00:00
Zuul a95d0920c3 Merge "Add hacking check for line continuation backslash" 2023-02-21 05:29:36 +00:00
Michael Johnson 34292ee649 Add hacking check for line continuation backslash
This patch adds a hacking check for line continuation backslashes and fixes the occurences that existed in the code.

Change-Id: I13cd03e16698b7f1d8036815d12a665bd1156f2f
2023-02-13 21:08:15 +00:00
Igor Malinovskiy bc39d23ff5 Add shared zone commands
Co-Authored-By: Michael Johnson <johnsomor@gmail.com>
Change-Id: Iea92371176d9126205384624a18a9097acb3daef
Partial-Bug: #1714088
Depends-On: https://review.opendev.org/#/c/726334/
2023-02-13 20:51:32 +00:00
Manish Honap 483e0d16c6 Provide option for delete zonefiles on zone delete
This commit provides an header option (hard-delete) for deletion of
zonefiles on backend as part of zone delete API.

Main patch (in Designate) is:
https://review.opendev.org/c/openstack/designate/+/835317

Change-Id: I0080c028466d809f4f5118fec05d9e46b2dfce84
2023-01-30 03:44:37 +00:00
Michael Johnson a4f67bc736 Update tox.ini for tox4
With tox4, we need to pass the environment variables on separate lines as opposed to separated by whitespace. The skipdist setting also breaks the runs.

Change-Id: Iad13eb46c2cd89169c1aa9c39492ef7a29c83161
2023-01-30 03:36:18 +00:00
dekehn 6a8ef57dc7 Update metadata in setup.cfg
we are using some "aliases" that the setuptools docs say
"are supported for compatibility reasons" but their use
is not advised[1].

[1] https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#metadata

Change-Id: I70a62a4ddc59638297814682523e1e802a7fad42
2022-11-14 22:46:23 +00:00
Zuul 49bbe3c6e3 Merge "Include SECONDARY zones into list command output" 2022-11-10 15:49:03 +00:00
Dr. Jens Harbott a692fd546b Drop explicit queue configuration
It will be inherited via the designate-devstack-jobs project template,
so we can drop the explicit setting.

Depends-On: https://review.opendev.org/c/openstack/designate/+/861352
Change-Id: If19c84a5d1311c24c94482483eddb631021f816a
2022-10-14 12:18:45 +02:00
OpenStack Release Bot ece4ed46d3 Add Python3 antelope unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope.

See also the PTI in governance [1].

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

Change-Id: Ia9f6b2ac2fb62ae4f99cd7fc10bf72e02543b745
2022-09-08 07:56:31 +00:00
OpenStack Release Bot f175354132 Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

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

Sem-Ver: feature
Change-Id: I6b1a541ef410217e5a6842a8fdc4740004617dac
2022-09-08 07:56:30 +00:00
niuke 2221fdcee1 Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I946dca0e06f4bd96fb154cde1cc3bb5ee362a8fd
2022-07-26 16:53:31 +08:00
Ekaterina Chernova 435f1e7866 Include SECONDARY zones into list command output
PRIMARY zone type is set by default, so SECONDARY
zones were not included in the command output.
Now all types are in output by default and specific type
can be passed as an argument like before

Closes-Bug: #1940544
Change-Id: Idbba68ebd3f74bde74f0b50ffcb233673dff2303
2022-07-14 20:26:01 +00:00
Dr. Jens Harbott 0d0d339cc6 Fix quota list command for non-admin users
Due to a logic error the all-projects header was being set if no
explicit project was being specified.

Closes-Bug: 1980942
Change-Id: I3c492b4ffd1b75a42a6a152b1dea219e4986f411
2022-07-07 13:09:22 +02:00
Takashi Kajinami 041eda6d83 Update python testing as per zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: I97a07e756bcaea3f38c0390247e0ac6a1187aa08
2022-06-21 22:40:25 +09:00
Michael Johnson fba1354e03 Fix missing --target-project-id for transfer req
The zone transfer request set command was missing the
--target-project-id option so you cannot change the target project ID of
a zone transfer request after creation with the CLI.
This option is supported by the API and documented in the API reference
guide.
This patch adds this option.

Closes-Bug: #1977625
Change-Id: Idd570a5aef57c06971db2450fdfb823cf0c07bfd
2022-06-03 23:31:23 +00:00
Michael Johnson ef2098e654 Update zuul queue configuration
Zuul is changing how queues are declared[1]. This patch updates Designate client for the new way to define the queue.

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

Change-Id: Ibf3bab374ec3a5bec842051c29d18864d42c02b8
2022-05-25 20:05:49 +00:00
Dr. Jens Harbott b7ad25ba98 Update python jobs to zed template
Change-Id: I5eba32440c707107a6a9b69ef94bb47c5a5035fa
2022-05-25 09:27:35 +02:00
Ghanshyam Mann 5f92f9860a 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: I3f72768442b3690f8ec85d5d15102ae6825dddd8
2022-04-30 15:58:30 -05:00
OpenStack Release Bot 2bc8916ff9 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

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

Sem-Ver: feature
Change-Id: I7e320e9e6b298a0200c2f214992ff0f49289da57
2022-03-03 10:51:06 +00:00
Zuul 485cbdd463 Merge "Updating python testing classifier as per Yoga testing runtime" 2022-02-17 00:45:22 +00:00
kpdev 52e9ef4a41 Add profiling support to designateclient
To be able to create profiling traces for Designate, client should
be able to send special HTTP header that contains trace info.

Don't worry no security issue here, trace information is signed by HMAC
key that is setted in api-paste.ini. So only person that knows HMAC key
is able to send proper header.

Main patch (in Designate) is:
https://review.opendev.org/c/openstack/designate/+/773574

Change-Id: I4b84ac1a5d4f84da3a38e4e0cb0990a54c6044ef
2021-12-24 17:53:46 +00:00
wu.shiming 2e26a07fe1 Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: Id58e9e9532c593a211acea497f5928c3689ac333
2021-12-21 10:09:03 +08:00
Erik Olof Gunnar Andersson 87e9b3333b Add basic osc unit tests
We currently have no unit test coverage for the
cli (openstack) implementation. This adds some very
basic coverage that we can later expand upon.

Change-Id: Ibf06cfcbf4f7c12957cf5aa0ba8de66e0554f4d0
2021-12-07 08:33:15 +00:00
Michael Johnson 15a0070d96 Add Designate hacking checks to the client
This patch adds the Designate hacking checks to also run against
the Designate client code to maintain consistent style
checking across the Designate repositories.

It also resolves one style check failure.

Change-Id: I09786482b2e7fecaa3d4484c9b1a017fae04cfea
2021-11-29 21:54:22 -08:00
Zuul 01d1e7db5b Merge "Remove edit-managed from unsupported commands" 2021-11-29 05:40:31 +00:00
Michael Chapman 94e7e97e50 Remove edit-managed from unsupported commands
--edit-managed sets a header x-designate-edit-managed-records
that indicates the current request wishes to modify managed records
such as the SOA or NS record created for a zone. This is only used
by the recordset update and delete API methods so can be removed
elsewhere.

Closes-Bug: 1928411

Change-Id: I18bfdae045c8b5e589075865eb024cee4852d8f9
2021-11-25 01:38:25 +00:00
zhangboye fa615f779e Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update
this at each new cycle.

Change-Id: If96047f90eaddf313534d9a9652d665ff26b206a
2021-11-24 21:57:18 +00:00
Zuul 5951a78dda Merge "Clarify that name or ID can be used on TLDs" 2021-11-24 21:48:02 +00:00
Zuul 30c5950167 Merge "Remove H402 hacking as it is deprecated" 2021-11-24 21:47:59 +00:00