4170 Commits

Author SHA1 Message Date
michaeltchapman
6e8080e82d Remove broken and outdated related doc page
The ubuntu PPA was for havana and there appears to be no
more modern equivalent

The nova and neutron designate plugins both link to github
repositories that are now deleted.

The chef cookbook, debian packages and example plugin have no
updates in the last 7 years

The bug and blueprint links are current and are already on the
getting-started page

The git repo has been added to the getting started page as that
was the only remaining link

Change-Id: I5d93ffdbeac54a396fc34d13a96636b23c5845e1
2020-06-29 14:51:32 +10:00
OpenStack Proposal Bot
eac003cb3a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3e3fcff958044d0e3557025fa6af0031b4068aca
2020-06-20 06:13:26 +00:00
Zuul
5e6caba489 Merge "Imported Translations from Zanata" 2020-06-17 17:54:02 +00:00
OpenStack Proposal Bot
78e9b2868e Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I623feaeabbf730edb8c6e625050a88c2c1b66620
2020-06-17 06:50:32 +00:00
Jens Harbott
839d8b54e4 Fix uwsgi path
Devstack is switching back to using distro installed uwsgi, which will
not reside in the same directory as the python binaries. Make sure to
use the right path for it. See also [0].

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

Change-Id: Ic1b67c9d0ebfbf444f5ee096d6478fbe0c073329
2020-06-13 11:38:45 +00:00
Zuul
7869cc9df0 Merge "Use unittest.mock instead of third party mock" 2020-06-03 14:44:11 +00:00
Zuul
fe0bf99fc3 Merge "Switch to uwsgi as default for devstack" 2020-06-02 21:27:56 +00:00
Zuul
656ebb88c9 Merge "pdns4 backend: check if zone exists before attempting delete" 2020-06-02 17:55:14 +00:00
Zuul
9b1bb026ad Merge "Add examples using the OpenStack CLI" 2020-06-02 17:40:04 +00:00
Zuul
5827ec6401 Merge "Monkey patch original current_thread _active" 2020-06-02 17:40:03 +00:00
Andrew Bogott
5acba9443e pdns4 backend: check if zone exists before attempting delete
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
2020-06-02 11:03:21 -05:00
Nicolas Bock
cbae0a8b9e
Add examples using the OpenStack CLI
In case a user wants to use the CLI add the appropriate invocations.

Change-Id: I49272ea9631dc142e80f7a2376fc1f2c3c9e0a61
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
2020-06-01 11:23:39 -06:00
Zuul
b9c4e9962e Merge "Fix some spelling" 2020-06-01 16:04:04 +00:00
Nicolas Bock
92ae4a9456
Fix some spelling
Change-Id: Iaf11303ac43879ffaee0782a0910280e932e7d04
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
2020-06-01 09:11:07 -06:00
Sean McGinnis
4b2c732df7
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I4bd0de2f553c43a805670a424c44455d691891ac
2020-05-29 11:35:40 -05:00
Zuul
59a2cdc240 Merge "Cap jsonschema 3.2.0 as the minimal version" 2020-05-29 12:30:46 +00:00
OpenStack Proposal Bot
79f06bef81 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic0f120df3bcbd6f5c73c12d64f0435817e278503
2020-05-29 06:05:53 +00:00
Erik Olof Gunnar Andersson
453a853391 Switch to uwsgi as default for devstack
Change-Id: I5b9abc3b71bd30dc9a0a546d64d77c7922a3718c
2020-05-26 20:26:04 +00:00
Hervé Beraud
0a411a5097 Cap jsonschema 3.2.0 as the minimal version
Previous versions of jsonschema (<3.2.0) doesn't support python 3.8 [1].
Python 3.8 is part of the victoria supported runtimes [2] so we now force
to use jsonschema version 3.2.0 to avoid issues, remove ambiguity and ensure
that everything works with python 3 in general.

[1] https://github.com/Julian/jsonschema/pull/627
[2] https://governance.openstack.org/tc/reference/runtimes/victoria.html#python-runtimes-for-victoria

Change-Id: I8a1efc079591da32f9b1cb200b6507e5ed968673
2020-05-26 21:48:12 +02:00
zhangboye
7428bcef5b Add py38 package metadata
Change-Id: I89d4d36748bc053291493298f70a5c6819d43aa6
2020-05-26 10:34:50 +00:00
Zuul
28515ea876 Merge "Update contributor docs" 2020-05-25 16:25:58 +00:00
OpenStack Proposal Bot
da48d94dcb Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I814e8f7d70425f234905e418d27001731f3972a4
2020-05-25 06:14:11 +00:00
Zuul
64cb7e5714 Merge "Fix hacking min version to 3.0.1" 2020-05-24 10:26:17 +00:00
Andreas Jaeger
663e420643 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Set openstackdocs_auto_name to use 'project' as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

Add openstackdocstheme options to api-ref.

Change-Id: I0cf71327ca5d9da1d88a826225374c8801849c36
2020-05-20 08:13:38 +02:00
zhangbailin
d5ee2ede93 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: I8881b891d062703d8136ee8eb459ca293cba8c35
2020-05-18 01:36:01 +00:00
Zuul
9a52ea1cdf Merge "Adding the option to set the zone quota to unlimited" 2020-05-15 18:28:22 +00:00
Zuul
d6a020a50b Merge "Switch to dnspython package" 2020-05-14 14:26:59 +00:00
hamza alqtaishat
12d50c7f5b Adding the option to set the zone quota to unlimited
by assigning negative value for the resource like -1

Change-Id: Iaeca2be8b38075e3e7e8f79621b4b41cbe9934f7
Closes-Bug: #1876198
2020-05-14 08:25:18 +00:00
Dr. Jens Harbott
577641e61e Update contributor docs
- Drop reference to weekly meeting
- Use https when possible
- Update comment about devstack plugin
- Need to use Ubuntu 18.04 or newer
- Change deprecated option in example

Change-Id: Icdff59fb24fde99b02b9d5e85e3b6d17d5f3434e
2020-05-14 06:28:26 +00:00
Zuul
0f7c6adc0b Merge "Fix slow zone imports." 2020-05-13 13:48:41 +00:00
Dr. Jens Harbott
31884f77d5 Fix issues with newer flake8
The updated flake8 seems to have fixed a check for .format() issues that
discovered a bug in one of our tests, which is fixed here.

Also get rid of using "l" as a variable name and tag the imports that
need to stay in order after setting an environment variable.

Change-Id: I28de0ffa68f9bff4685d81fe7b5a5d8909e2313c
2020-05-12 14:39:03 +00:00
Sean McGinnis
57858d9121
Switch to dnspython package
The dnspython3 package is no longer needed as py3 support has been added
to dnspython, and dnspython3 just installs dnspython now as a
dependency.

Depends-on: https://review.opendev.org/#/c/726353/

Change-Id: Ic488ccebee6d3206d6b38eededbb27fcb46694a4
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-08 14:27:59 -05:00
Zuul
814cc0aa51 Merge "Add Python3 victoria unit tests" 2020-05-08 10:07:26 +00:00
Erik Olof Gunnar Andersson
3c4d9f6711 Fix designate-sink shutdown issue
If no notification handler is configured the
designate-sink may not shutdown properly.
This is because the listener was created but never
started. This caused oslo.messaging to hang on
waiting for a successful start before stopping.

Depends-On: https://review.opendev.org/725977
Closes-Bug: #1877201
Change-Id: Ie51f7c3d64cbb48ae359256b6fa5a0196fb3f248
2020-05-07 06:35:02 +00:00
OpenStack Proposal Bot
1da9e434ad Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If12d539e888ff45375cae1340ec60fd4f67f79c3
2020-05-05 06:11:26 +00:00
Corey Bryant
68dc62b738 Monkey patch original current_thread _active
Monkey patch the original current_thread to use the up-to-date _active
global variable. This solution is based on that documented at:
https://github.com/eventlet/eventlet/issues/592

Change-Id: I8c2ffea3c31b3009c87455d9c54dc233367f0d3d
Closes-Bug: #1863021
2020-05-04 14:45:06 -04:00
Zuul
af165c9235 Merge "Update master for stable/ussuri" 2020-04-30 06:21:18 +00:00
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
20b81c168e Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

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

Change-Id: Ifaf75a60fa59a073eea00d44cc339c371151465e
Sem-Ver: feature
2020-04-23 15:33:34 +00:00
Erik Olof Gunnar Andersson
7ff2f3956d Simplify Coordination implementation
This patch attempts to simplify the coordination
implementation. It also removes some unnecessary
exception handling that could hide valid issues, e.g.
the use of unsupported drivers.

- Use inbuilt heartbeat.
- Fixed bug with etcd3 driver requiring name to be encoded.
- Only use grouping if it is used by the service.
- Remove unnecessary exception handling.

Closes-Bug: #1872858
Related-Bug: #1872205
Change-Id: Ic659c52bf3adca2e97c8b669fe4fa1b5ed992e90
2020-04-22 20:54:07 +00:00
Dmitry Galkin
0f4fc8c6fa Fix slow zone imports.
The use of shallow copy for _create_recordset_in_storage along with
lower sleep time (50ms vs. 150ms) between retries gives about 60-80
times faster zone import performance on big zones and reduces the RAM
utilisation of central by 50%.

Change-Id: I7d21b14779e98284bb77046a19ce180ac5686fa5
Closes-Bug: #1554130
2020-04-22 12:30:05 +02:00
OpenStack Proposal Bot
846f919ec8 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I6cf36dbe8cd2c2e5c36deec011e38f32e7f3c55d
2020-04-19 07:31:30 +00:00
OpenStack Proposal Bot
beaf0de79f Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I099aada4f6842cffecb278187255b22917cc2aea
2020-04-16 08:27:37 +00:00
Zuul
cc650d6ea2 Merge "Community Goal: Project PTL & Contrib Docs Update" 2020-04-15 12:10:24 +00:00
Nicolas Bock
161c6d5a5d
Community Goal: Project PTL & Contrib Docs Update
This patch standardizes the CONTRIBUTING.rst file and adds information
from the required doc/source/contributor/contributing.rst.

Change-Id: I4a47ef22c70c6f6b225ea779227627d7f3078f4e
Story: #2007236
Task: #38520
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
2020-04-14 14:17:15 -06:00
OpenStack Proposal Bot
ea56d1b000 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3d135b12c89bfbdde530d05dfcff23f8e1a8b49f
2020-04-11 07:37:29 +00:00
Zuul
9ed2623a60 Merge "Imported Translations from Zanata" 2020-04-08 14:55:15 +00:00
Zuul
1c37e78573 Merge "Adding distributed locking to central" 2020-04-08 14:55:13 +00:00
OpenStack Proposal Bot
b0ea2a5f47 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I1dd50848a1f02fc858f262d27ad429a612613f6c
2020-04-08 09:35:07 +00:00
Erik Olof Gunnar Andersson
f6090d885c Adding distributed locking to central
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
2020-04-08 00:18:33 -07:00