Commit Graph

178 Commits

Author SHA1 Message Date
OpenStack Release Bot 0c4f1873db 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: Ie4b79f78ee6b08a5b9ecfa74e20cb309ec8842a8
2024-03-14 07:14:12 +00:00
Zuul 3a563d44aa Merge "reno: Update master for unmaintained/victoria" 2024-03-06 07:16:44 +00:00
Zuul f375775694 Merge "reno: Update master for unmaintained/wallaby" 2024-03-06 07:16:43 +00:00
OpenStack Release Bot b18768cd15 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I431c60236d877091bc876048fa48bc7d08a56187
2024-03-05 18:27:37 +00:00
OpenStack Release Bot 7b5a47fe55 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Ia9d6a0f315ceb7c3852291d3c52cbfe21c89d3c3
2024-03-05 18:26:56 +00:00
OpenStack Release Bot 40131fc039 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I78abeae6ed8d4adb1e3d10cada67543a72ae2b2b
2024-03-05 18:26:16 +00:00
Matt Crees 86f5b9012e Support SSL verification in creating Blazar client
Adds support for SSL verification when ``OPENSTACK_SSL_CACERT`` is set.
Explicitly skips verification if ``OPENSTACK_SSL_NO_VERIFY`` is set.

This also switches to Session-based instantiation for the Blazar client,
away from the deprecated url+token method.

Closes-Bug: #2045281

Change-Id: I94aad7590b1e42ddfa1a20fdb184ca4d73587cd6
2024-02-13 23:18:40 +00:00
Matt Crees 6c6caa3be6 Fix removed Django function calls
``ugettext_lazy`` and ``ungettext_lazy`` have been removed in Django
v4.0 [1].

1. https://docs.djangoproject.com/en/dev/internals/deprecation/#deprecation-removed-in-4-0

Change-Id: Iaa809aa3698bb0a32293c1de430b57f33d7e6104
2024-02-12 15:37:48 +00:00
OpenStack Release Bot 23e711d5cb reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ic3083b9cf92e5ced23a05473d782e4614cb987b7
2024-02-05 16:59:41 +00:00
Ghanshyam Mann 18b215ac32 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: Ibfab7a8f6ee5595484198d4df0017cbffe3cabe0
2024-01-03 21:23:16 -08:00
OpenStack Release Bot 84bd480b64 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: Ib59ce3050bebf1c03fad47a4799f41564c40a236
2023-09-15 13:54:20 +00:00
Pierre Riteau fa1a31a448 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

Change-Id: Ib425c4791477803224460b536fe88c506e36d623
2023-09-14 18:49:00 +02:00
Pierre Riteau 4bec9288e3 Update copyright date for release notes
This is a small change to force refresh of release notes.

Change-Id: I08e494d1e0becea3b7aa7a756a514a9c3974deb9
2023-03-20 15:49:33 +01:00
OpenStack Release Bot 5363e624c9 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: I5cd78fadf94425d247d4adb7b8a14dde4477a0c3
2023-02-28 13:31:05 +00:00
manchandavishal 58acda9e06 Update tox.ini for tox4
OpenStack CI now uses tox4 by default. This patch
drop "skipsdist = True". When skipsdist=True is specified,
a target application is not installed into a tox env, but
there seems no reason to do so. In various other OpenStack
projects, a target applicatin needs to be installed into a
tox venv, for example, in docs and/or linter jobs and it
causes failures with tox4. So dropping it would avoid potential
future failures.

Change-Id: I18d5ee7f96e77e345f304536bbc385d87bb859f2
2023-01-17 20:56:13 +00:00
Pierre Riteau 323ee3da5d Ignore release note from yoga
This release note is showing up in zed, maybe because it was in the
commit used to tag the yoga release.

Change-Id: I97273807b1e2237f2d836597a861cb0aedc3df49
2022-09-22 14:28:21 +02:00
OpenStack Release Bot bac857f3cf 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: Ife0ef9c6a82cc8eb58c9933f63aa07926d85d3f5
2022-09-16 09:26:00 +00:00
OpenStack Release Bot 8699314b30 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: I18567bf8ad810631ce8c2e2e1fa4d45bb4cfb622
2022-09-16 09:25:58 +00:00
manchandavishal 837eb58428 Address RemovedInDjango40Warning
In Django 3.1, django.conf.urls.url() is deprecated
in favor of django.urls.re_path(). For more info see [1]
These were already replaced in Horizon repo by [2].

[1] https://docs.djangoproject.com/en/4.0/releases/3.1/#id2
[2] https://review.opendev.org/c/openstack/horizon/+/827093

Change-Id: I71e21300e6c072f790ae0517bb40d18b01a4a23b
2022-04-29 22:00:57 +05:30
Hervé Beraud be5b93831f Remove unnecessary unicode prefixes
Change-Id: Ibc10c61ee39731501867196ac6fa95b9d6d6c91d
2022-04-20 13:16:50 +02:00
OpenStack Release Bot cdf302f853 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: Ia2d4a7336e573fd26f57f13b5eab907935b9d122
2022-03-08 11:54:49 +00:00
OpenStack Release Bot 80b9177a75 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: Ie57d6b7dadca91c38d468b0398146304c9d0b96d
2022-03-08 11:54:48 +00:00
Pierre Riteau fb9ae6e2c2 Display error details
The red error box will now show why a lease failed to be created or
updated, for example if not enough resources are available.

Also remove "Please try again" which is not a helpful message.

Change-Id: Id0b39fd151956ae6b08ab503a7ae0c5dc09af7f6
2022-02-15 12:35:58 +01:00
Zuul d30f9f45aa Merge "Updating python testing classifier as per Yoga testing runtime" 2022-02-10 16:26:09 +00:00
Mark Powers 96b3921d77 Add documentation for configuring availability calendar
This adds documentation explaining how to enable, configure the
calendar attribute, and what permissions are needed to use the
calendar.

Change-Id: I80026407ab537b7967ccbd2965d66f40018c4c0e
2022-01-31 10:03:46 -06:00
manchandavishal f03cd5b3dc 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: I189ac002fcd7b1950ed15626e04cdf8e941aa690
2022-01-31 10:42:21 +05:30
Mark Powers d6398f5e7a Add a resource availability calendar for hosts
This adds a calendar view where users can see a timeline of resources,
showing when each resource is reserved.

Implements: blueprint calendar-view
Change-Id: I4f2649d6c9538037dff4747ef4a8210da3666354
2022-01-27 16:06:50 +01:00
OpenStack Release Bot eda400f1ec 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: I63e4653cfb8c068a2ea7d053ea6a50af6f4ae5c1
2021-09-17 13:48:00 +00:00
OpenStack Release Bot 563ad1aed9 Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

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

Sem-Ver: feature
Change-Id: Ib879910f6837b5a54921b661c015581367a38505
2021-09-17 13:47:58 +00:00
Takashi Natsume 5876f70d95 Change minversion of tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace whitelist_externals with allowlist_externals option.
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Change-Id: I8799f81b3bb6c305e14d589066bb8127b7f556fa
2021-05-31 12:19:19 +02:00
Pierre Riteau 46ac7b8c7d Fix PDF docs build
Update tox config to include upper-constraints as dependencies. This
resolves issues with building PDF docs.

Change-Id: I1d83437079f224a0d560dd3cc339bf3ce5213534
2021-05-31 11:52:51 +02:00
OpenStack Release Bot c33709700f 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: I978b4edde3c0d31051fcc13868196371c60cf8a7
2021-03-24 13:07:06 +00:00
OpenStack Release Bot 2de6bc0794 Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

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

Sem-Ver: feature
Change-Id: Ic35d7ac19477f40d02dd83c57d8416d8885c8ef5
2021-03-24 13:06:44 +00:00
Zuul f90eac95dd Merge "Change dashes to underscore in setup.cfg" 2021-03-11 13:51:08 +00:00
Pierre Riteau c6db787140 Change dashes to underscore in setup.cfg
Recent versions of setuptools are warning that usage of dash-separated
keys will not be supported in future versions.

Change-Id: I40e09327f4d3d9db183aaea8eaedc52e1d5e9233
2021-03-11 06:23:59 +01:00
Zuul aefcb17f2f Merge "Use TOX_CONSTRAINTS_FILE" 2021-02-16 16:47:30 +00:00
manchandavishal 99d7832230 Fix lower-constraints job
This patch bumps PyYAML version to 3.13 to fix the lower-constraints
job.

Change-Id: Ibf10dcc2a4551762d68ed47f3ec6cf8635225a15
2021-02-16 14:43:37 +01:00
manchandavishal 63012469a0 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>.
For more info. please refer [1].

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file

Change-Id: Id062b4014a61adf75fd9917a6928c0521739fc01
2021-02-16 12:32:21 +00:00
Zuul 9120374151 Merge "Configure bandit security linter" 2020-10-08 23:51:12 +00:00
Pierre Riteau 0a184a0a05 Configure bandit security linter
Change-Id: I4c3b4fec50e7b2aedd8cb3b7dfa5dacd0d44c329
2020-10-02 16:48:11 +02:00
Lukas Euler 33c58438ab Use json.loads instead of eval for JSON parsing
Also fixed error messages.

Change-Id: I998d6929ad05d9b5bc4e07f27f3f9cbf2dd64c68
Closes-Bug: #1895688
2020-09-30 19:07:43 +02:00
OpenStack Release Bot 3dac655641 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: Ia4d5752dffddb9374f65a3b970ef8e69445e4f8f
2020-09-22 14:13:21 +00:00
OpenStack Release Bot ccafbb5574 Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

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

Change-Id: I9a37c63b6600f32db80eba60a970762b2e572809
Sem-Ver: feature
2020-09-22 14:13:19 +00:00
manchandavishal f494ec1941 Cleanup for Refactor-error-messages
This patch is a clean-up patch for refactor-error-messages bp
which remove the exception message from base message otherwise
the same exception message display twice like
this https://ibb.co/XyFWMdz .

Change-Id: Ia9b66536afe2c0122b652c58d9e11235f962a71c
2020-08-26 11:45:59 +00:00
Zuul 9b5ea99863 Merge "drop mock from lower-constraints and requirements" 2020-06-23 09:28:23 +00:00
Zuul 1cd8b09e60 Merge "Stop to use the __future__ module." 2020-06-23 09:22:53 +00:00
Zuul a5a603cac0 Merge "Switch to newer openstackdocstheme and reno versions" 2020-06-09 09:22:39 +00:00
Hervé Beraud 1bc2c223b1 drop mock from lower-constraints and requirements
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints and requirements.

These changes will help us to drop `mock` from openstack/requirements

Change-Id: I310cb8deafdd85498d3f425257506e11332c298c
2020-06-08 22:24:24 +02:00
Hervé Beraud daf0e0d40c Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I3c11cfe1e5e87cd74e2b679aac906898ffdb1b27
2020-06-02 19:35:42 +02:00
Zuul 4b66dd64ca Merge "Add Python3 victoria unit tests" 2020-05-26 09:47:00 +00:00