Commit Graph

2156 Commits

Author SHA1 Message Date
Zuul 3e870d8260 Merge "Fix typo in Python docstrings" 2024-04-02 11:26:35 +00:00
Dmitriy Rabotyagov edd5997f3b Return back grenade jobs and make datasources voting
Change-Id: I8e15473eb97d9020bfb9ed2b3559a72e45216ddd
2024-04-02 10:12:09 +02:00
xfrnk2 3f3bc5765b Fix typo in Python docstrings
Fix typo in the get_json_graph function
within the networkx_graph file located
in the driver folder inside the graph directory.

Change-Id: I674b4cd6b8e81aa2f6513fcbb530f2c05c568cce
2024-04-01 12:43:26 +09:00
Zuul 8d7da8b33f Merge "Replace use of LegacyEngineFacade and adopt to werkzeug>3.0" 2024-03-30 11:22:07 +00:00
Dmitriy Rabotyagov d6b5247dbb Replace use of LegacyEngineFacade and adopt to werkzeug>3.0
We aren't passing context objects around, hence this looks more like
ironic's use of oslo.db than e.g. nova or cinder. Nothing complicated
though.

This also replaces deprecated werkzeug.http.parse_authorization_header
with Authorization.from_header

Change-Id: I32a1417c001cdb6be0719baeb186f79609875f4d
2024-03-30 09:15:36 +00:00
OpenStack Release Bot ef6daecd1b 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: I23ad87286e094ada419990635eec949b7a042a0c
2024-03-14 11:54:16 +00:00
Zuul 383844437a Merge "reno: Update master for unmaintained/xena" 2024-03-06 12:46:23 +00:00
Zuul 07a4810063 Merge "reno: Update master for unmaintained/wallaby" 2024-03-06 12:45:46 +00:00
OpenStack Release Bot c248100698 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I1799b56455bdd94bee0e1b2216ac4e6b775438ba
2024-03-06 11:52:38 +00:00
OpenStack Release Bot 9fc2266318 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Ie7f2bae17170e9887813575ab63bf9eb544a3f7c
2024-03-06 11:52:06 +00:00
OpenStack Release Bot 6c837e0a3a reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I2cb74acb690a474ae57a2d5bf80c619b4710fd1b
2024-03-06 11:51:33 +00:00
OpenStack Release Bot 193be50bf8 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I53a16e34aa1e120f310e07b287a005d96c247972
2024-02-19 12:25:29 +00:00
Ghanshyam Mann 689e6d0f39 Update python classifier in setup.cfg
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg

Depends-On: https://review.opendev.org/c/openstack/vitrage-tempest-plugin/+/901480
Change-Id: I78f8ca5973eafad2e5675d9b3adae64068558772
2024-01-16 10:16:03 +00:00
Dmitriy Rabotyagov 2f5b4dc8f9 Return tempest test back
Depends-On: https://review.opendev.org/c/openstack/vitrage-tempest-plugin/+/901480
Change-Id: Ief24752da51bc631e39feb1d10764663e46e274f
2024-01-16 08:00:14 +00:00
Dmitriy Rabotyagov c4eb31490c Do not use whitespace separator in coordination ID
Some coordination backends, like memcached, do not support whitespaces
in keys. To avoid issues with such backends let's join with underscore
rather then whitespace

Change-Id: I9f8b835f695575cc10675b5e0d064daaf32ce319
2024-01-16 07:55:48 +00:00
Dmitriy Rabotyagov 0d1d6cd548 Install pymemcache in devstack when needed
In case VITRAGE_COORDINATION_URL is set to memcached, we need to
ensure that all dependencies are met inside the venv.

Change-Id: I78353ccec3074a10e10dad5c6583456016d962a1
2024-01-15 12:30:21 +01:00
Dmitriy Rabotyagov f200b8df2a Adopt for networkx 3.1
With release of networkx 3.0 tree_data does replaced  `attrs` argument with
keyword only arguments.

Version of networkx was bumped in U-C to 3.1 for 2023.2 release.

Change-Id: I26ae8e1eec25b75ebdc5e58a065ec241fb00c50d
2024-01-15 09:22:24 +00:00
Dmitriy Rabotyagov c8280dc1fd Temporary disable tempest jobs
In order to resolve circular conflict in jobs we need to disable tempest
ones and merge required changes to the tempest plugin.

Needed-By: https://review.opendev.org/c/openstack/vitrage-tempest-plugin/+/901480
Change-Id: Ib49b025e75acddfbbdca4c5fd885f0dc615c4185
2024-01-15 10:22:05 +01:00
OpenStack Release Bot 289301fdad 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: I5674cf03dcb369e71efc48cfee527749767cf372
2023-09-15 13:54:21 +00:00
Takashi Kajinami ad67ad3906 [coordination] backend_url should be secret
The backend_url option can sometimes contain secrets.

For example when redis coordination backend is used and authentication
is enabled in redis, the plain redis password is put as an URL element.

[coordination]
backend_url=redis://:password@127.0.0.1:6379

Change-Id: I30e796a81fe0bb58023b98ffd10f7db269518ac5
2023-03-20 18:40:10 +09:00
OpenStack Release Bot 5cfaf80278 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: Ia39b405e31175ec184a97214516603fc0fb1db59
2023-03-03 11:22:38 +00:00
Eyal f3feec4264 Fix tox 4 changes
Change-Id: Ia015800c59e46ae1cdae4510b8f51132585f92d0
2023-02-17 07:55:50 +00:00
Zuul 6450d9cc44 Merge "Fix missing oslo.messaging options" 2023-02-04 09:52:28 +00:00
Takashi Kajinami 5935f89f61 Fix passenv format unaccepted by tox 4
tox 4 does not accept updated its INI rules and the current format
violates the new rules.

https: //github.com/tox-dev/tox/blob/main/docs/upgrading.rst#changed-ini-rules
Change-Id: I9eb9d03d33661ed2bfc6ce5e57dba9656483c51e
2023-02-03 16:40:29 +00:00
Takashi Kajinami d5d348f326 Fix missing oslo.messaging options
This ensures the oslo.messaging options are rendered into the config
file generated by oslo-config-generator.

Change-Id: I753d2287fc56ca3ab8c00883ea691d347ed9b1d3
2023-02-03 13:20:13 +09:00
OpenStack Release Bot 43e8e5f18a 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: I3fff56eaeb17da1d231bdbf9e7809e7d41bc6963
2022-09-20 11:24:00 +00:00
OpenStack Release Bot df1e042cb6 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: I379343eaab7f4da53923cd6fb63e7b6e0e20beef
2022-09-20 08:57:40 +00:00
Zuul dba5e63e4f Merge "Remove Ceilometer datasource" 2022-08-27 08:27:58 +00:00
Takashi Kajinami df3c414919 Remove Ceilometer datasource
... because it depends on Ceilometer API and ceilometerclient, which
were already retired.

Change-Id: I9f99eaf637d1250140059e17e140dda5925dd700
2022-08-21 02:55:03 +09:00
Eyal 45f9cd82aa make datasource voting again
Change-Id: Ifc5231bace7aaad38b3f9b835d9ac1e938952d6f
2022-08-11 12:11:11 +03:00
Zuul a7a485d57f Merge "Get rid of warning caused by [service_credentials] region_name" 2022-08-09 14:00:04 +00:00
Takashi Kajinami 7f2098610a Get rid of warning caused by [service_credentials] region_name
oslo.config automatically replaces - in option names by _. Because of
this behavior now we get the following warning always if
the [service_credentials] region_name parameter is set.

Deprecated: Option "region_name" from group "service_credentials" is
deprecated. Use option "region_name" from group "service_credentials".

Change-Id: I2a8d09aaef4621d3f99d1d7025db9b357c44398e
2022-08-09 11:30:57 +00:00
leiyuehui 9a9710558b Update python testing as per zed cycle teting runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Removing the py36 centos8 job as well as
updating the python classifier also to reflect the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
Change-Id: Ib31f65192581861a28f0bdeffc7a524f6bec2c86

Change-Id: If558502c54c8f090ecaaf6fe4949e86cac2fedad
2022-06-04 11:28:17 +08:00
Eyal f538c886b3 move queue to project level
Change-Id: Ic24401643abdac246b4f54f8c0295985ae345059
2022-05-22 17:29:36 +00:00
Zuul ad2506395c Merge "Add Python3 zed unit tests" 2022-03-15 05:33:13 +00:00
Zuul a7cd8e8c0b Merge "rename tenant to project_id" 2022-03-14 22:13:04 +00:00
Eyal a3a84cb4d4 rename tenant to project_id
was changed in oslo.context > 4.0.0

Change-Id: I3327f5743d47d83441f4a6607d762043ce753e8e
2022-03-14 21:18:56 +02:00
OpenStack Release Bot 31b2ac7ccb 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: I7d85f03a07ccfa1dece068ddf907c0b6500ee9a6
2022-03-14 17:00:46 +00:00
OpenStack Release Bot baaa92f4ff 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: I73175d1a7cfbc0bd1effd2c5a4257b26f3263e5c
2022-03-14 17:00:44 +00:00
Zuul 43091cd457 Merge "Updating python testing classifier as per Yoga testing runtime" 2022-01-05 17:15:28 +00:00
Eyal a0ee94a6c8 remove cielometer client, not used any more
Depends-On: I287572e604fe86ea8a78f37a2c1b1c158d3bf8b0
Change-Id: I8a8e7f83e156f67900fd68a02945e1749a3e3c9b
2022-01-05 12:33:46 +00:00
wu.shiming 3547663c23 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: Ief7d055c55fc8846aeed14c820cb0b2116ce264d
2021-12-22 11:09:04 +08:00
OpenStack Release Bot 95b33dbf39 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: I9b7d553240fd623f362cf5ffe1e3cebdbc7a38e8
2021-09-20 15:39:39 +00:00
OpenStack Release Bot 612bb9b22a 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: I2824b0ebecd1a564d11152038d5f75c92e4ac767
2021-09-20 15:39:37 +00:00
wu.shiming 6a2374a675 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: Ieaefe4dcc6e8aade4a0022f4c632c6787fab3f9d
2021-09-18 11:57:04 +08:00
Q.hongtao 7630444db2 update install doc
Change-Id: I16ed3672ac85a9f4df4553dfe01783f111d1dbc3
2021-08-06 14:45:44 +08:00
wu.chunyang 7035e09f08 docs: Update Freenode to OFTC
see: http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022718.html
Change-Id: Ib8f10878ceb1ae222fffa1e9e29ea13cc019e9f6
2021-06-08 23:08:47 +08:00
zhangboye 30f67bb2e2 Dropping lower constraints testing
We facing errors related to the new pip resolver, this
topic was discussed on the ML and QA team proposed to
to test lower-constraints [1].

I propose to drop this test because the complexity and recurring pain needed
to maintain that now exceeds the benefits provided by this mechanismes.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html

Change-Id: I53f3d2e4581d46abe150c80550b3875bb9ec73b4
2021-05-03 09:14:28 +08:00
maaoyu e0f8bbaef4 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I0a185f1f5d64760be42be4b21f1d154b1807e4c4
2021-04-27 15:02:04 +08:00
zhangboye f3b867b967 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: I61a58b0e66bcf47a24abd8d0539c92ee93da2020
2021-04-20 11:22:12 +08:00