Commit Graph

6550 Commits

Author SHA1 Message Date
Zuul 0947762d52 Merge "[DEFAULT] periodic_coordinator_backend_url should be secret" 2023-11-06 04:02:13 +00:00
Zuul 6b9c6c6d9d Merge "Fix bindep.txt for python 3.11 job(Debian Bookworm)" 2023-11-06 03:23:44 +00:00
Zuul 6a43b615c7 Merge "Add unit test for check replace hadoop_version with plugin_version" 2023-11-06 02:32:56 +00:00
zhouxinyong 204a963448 fix the gateway error
Change-Id: I7c0ac8b008b362f1437114bc9f2d364d4c6d4ff0
2023-11-05 21:07:53 +08:00
songwenping 06b03fff14 Fix bindep.txt for python 3.11 job(Debian Bookworm)
Python 3.11 job run on Debian Bookworm which does
not the mysql pkg for example, mariadb-server, libmysqlclient-dev
instead they have mariadb. Updating bindep.txt file
to adjust the pkgs as per Debian bookworm.

Change-Id: Iddd0dc75f335e3422b1cb2b08897911bb2900662
2023-09-25 11:25:41 +08:00
songwenping 019232f541 Add unit test for check replace hadoop_version with plugin_version
Change-Id: Icdc99967532b3df1b20a32333921b77c98e7dd32
2023-09-21 14:00:30 +08:00
OpenStack Release Bot 6e943949f5 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: I5098c5213cc694ef4b3e2d9dbfe76d9e0e156fd5
2023-09-15 14:27:40 +00:00
guolimin.lc f061c30f2b Modify the URL field in the document, uniform case
Change-Id: Ie22a98532953c88de7f4937397b5982281c657fc
2023-09-06 12:42:40 +08:00
guolimin.lc a806a536b6 Remove redundant "=" to imporve doc format
Change-Id: Ia24a706d93fa0d717978b127d53135e225f05da3
2023-08-09 13:48:53 +08:00
guolimin.lc c53639d3b0 Updated links in documentation to be currect links
Change-Id: I256e24dfe6928ffc73dbae42fd494f896747c3f0
2023-08-09 12:20:10 +08:00
guolimin.lc 5bcf186440 Update the correct link in the docs
Change-Id: I8ac88c9095bb426fb454b1ba475de420a26a5e92
2023-07-26 12:26:32 +08:00
Zuul d719543b2e Merge "Add name param for start_tls_proxy funtion" 2023-05-19 07:56:14 +00:00
Zuul c9c6760ed6 Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2023-05-19 07:56:12 +00:00
Zuul c5c638c278 Merge "Update master for stable/2023.1" 2023-05-19 07:04:21 +00:00
zhouxinyong 99865a7b03 Use new get_rpc_client API from oslo.messaging
Use the new API that is consistent with
the existing API instead of instantiating the client
class directly.

This was introduced in release 14.1.0 here [1] and
added into oslo.messaging here [2]

[1] https://review.opendev.org/c/openstack/requirements/+/869340
[2] https://review.opendev.org/c/openstack/oslo.messaging/+/862419

Change-Id: I7452e9b8b6ed07d89bac7d0c1dc188ad0ed25ffa
2023-05-18 14:07:06 +08:00
Takashi Kajinami d7f0c8b299 [DEFAULT] periodic_coordinator_backend_url should be secret
This 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.

[DEFAULT]
periodic_coordinator_backend_url=redis://:password@127.0.0.1:6379

Change-Id: I09040b54f6e2ee4f0e71c601400b601b5de19780
2023-03-21 01:46:23 +09:00
Takashi Kajinami 82885e6229 Adapt to tox4
This fixes the several problems/errors caused by tox 4.

Change-Id: Id945689ba20b33988ef86c920b75cafdeffa4ab6
2023-03-21 01:46:04 +09:00
OpenStack Release Bot 69083a6ea5 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: I97460f7d2bb300d0375a3b8d6c99ea8b1af1ab7f
2023-03-03 14:49:25 +00:00
Alfredo Moralejo 5e7258bcc8 Fix compatibility with oslo.db 12.1.0
oslo.db 12.1.0 has changed the default value for the 'autocommit'
parameter of 'LegacyEngineFacade' from 'True' to 'False'. This is a
necessary step to ensure compatibility with SQLAlchemy 2.0. However, we
are currently relying on the autocommit behavior and need changes to
explicitly manage sessions. Until that happens, we need to override the
default.

Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I5dda36e43caeeb2983cb6a9e0743591fc246d323
2022-12-16 09:40:41 +00:00
OpenStack Release Bot ecc374abc9 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: I0d94b9941a9ab5ee1b03f6ddce84b9c584421d03
2022-12-15 16:14:07 +00:00
Dmitriy Rabotyagov ebc6d74bf8 Make ApiValidator to work with jsonschema>=4.0.0
As of Zed jsonschema version has been bumped to 4.14.0 in
upper-constraints, which means project should support running with
this version. This patch aims to fix ApiValidator that is not compatible
with new jsonschema.

Other deprecations, like FormatChecker.cls_checks decorator are left
intact and must be covered with follow-up patches.

We also move zuul queues to project scope as otherwise jobs do not
run due to config error.

We also replace iteritems with six method as iteritems have been dropped
from Python 3.

Change-Id: Ia8b69587aa9b3d04ffcdea7c6b97a8ae65f67534
2022-12-09 12:29:30 +00:00
OpenStack Release Bot b8509fb60e 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: I3d3c21992e12045dc0df03459d719f2ac0714669
2022-09-13 12:32:32 +00:00
qiufossen 4ac54de863 cannot show the running tox -e pylint command
https://docs.openstack.org/sahara/latest/contributor/development-environment.html

Change-Id: I04fbaa0d69c92da0c8b764d64b848121f82f86f8
2022-09-08 18:10:13 +08:00
LeopardMa c943f4a510 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. 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: I9b5f826863fd913241cb803ef479b890f74fbb6c
2022-07-01 00:46:42 +00:00
zhangbailin b3a20e5f02 Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], 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: I7351b45dff2754b07ab6f0f8a72263f64307e8b4
2022-06-29 15:33:55 +08:00
Zuul 67a56de970 Merge "Bump oslo.* and pbr version to support >=py38" 2022-06-10 12:08:10 +00:00
zhangbailin 0281a77cda Bump oslo.* and pbr version to support >=py38
In zed cycle, OpenStack projects and oslo lib
has dropped the py3.6 and py3.7 support

- https://governance.openstack.org/tc/reference/runtimes/zed.html

I also decrepated oslo-log < 5.0.0, so we should bump oslo.log>=5.0.0.

Because of oslo.log>=5.0.0 depends on oslo.i18n>=3.20.0 as below, so we
also need to upgrade oslo.i18n.

The conflict is caused by:
    The user requested oslo.i18n>=3.15.3
    python-saharaclient 1.4.0 depends on oslo.i18n>=3.15.3
    castellan 0.16.0 depends on oslo.i18n>=3.15.3
    keystonemiddleware 4.17.0 depends on oslo.i18n!=3.15.2 and >=2.1.0
    oslo-config 6.8.0 depends on oslo.i18n>=3.15.3
    oslo-concurrency 3.26.0 depends on oslo.i18n>=3.15.3
    oslo-db 6.0.0 depends on oslo.i18n>=3.15.3
    oslo-log 5.0.0 depends on oslo.i18n>=3.20.0
    The user requested (constraint) oslo-i18n==3.15.3

The conflict is caused by:
    The user requested pbr!=2.1.0 and >=2.0.0
    bashate 0.5.1 depends on pbr>=1.6
    fixtures 3.0.0 depends on pbr>=0.11
    stestr 1.0.0 depends on pbr!=2.1.0 and >=2.0.0
    testresources 2.0.0 depends on pbr>=1.8
    testtools 2.4.0 depends on pbr>=0.11
    python-saharaclient 1.4.0 depends on pbr!=2.1.0 and >=2.0.0
    castellan 0.16.0 depends on pbr!=2.1.0 and >=2.0.0
    keystoneauth1 3.4.0 depends on pbr!=2.1.0 and >=2.0.0
    keystonemiddleware 4.17.0 depends on pbr!=2.1.0 and >=2.0.0
    oslo-concurrency 3.26.0 depends on pbr!=2.1.0 and >=2.0.0
    oslo-context 2.22.0 depends on pbr!=2.1.0 and >=2.0.0
    oslo-db 6.0.0 depends on pbr!=2.1.0 and >=2.0.0
    oslo-i18n 3.20.0 depends on pbr!=2.1.0 and >=2.0.0
    oslo-log 5.0.0 depends on pbr>=3.1.1
    The user requested (constraint) pbr==2.0.0

The conflict is caused by:
    The user requested oslo.serialization!=2.19.1 and >=2.18.0
    python-saharaclient 1.4.0 depends on oslo.serialization!=2.19.1 and >=2.18.0
    keystonemiddleware 4.17.0 depends on oslo.serialization!=2.19.1 and >=1.10.0
    oslo-log 5.0.0 depends on oslo.serialization>=2.25.0
    The user requested (constraint) oslo-serialization==2.18.0

Change-Id: I117657e9861a55a751522dba3e3b1e75a22f9711
2022-06-10 08:05:01 +00:00
Zuul 2d5a65a24b Merge "Python3.6/3.7 are deleted in testing runtime" 2022-06-10 07:23:19 +00:00
qiufossen 9db0ee2b3c Switch openstack-python3-zed-jobs
In Zed, 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: I96076a685482d01ed095803ff716de06afd01816
2022-06-09 17:38:46 +08:00
hejunli 7f3c2dd0b5 Python3.6/3.7 are deleted in testing runtime
Python3.6 and Python3.7 are no longer supported by zed cycle tests, and Python3.9 was added when Python3.6 and Python3.7 were removed.

Change-Id: Ie3f0da2775b59df8d01e560b4e507cd331948ae7
2022-05-13 18:52:40 +08:00
songwenping d7c7217b22 Add name param for start_tls_proxy funtion
Change-Id: Id3f005dc63e0785df2a4cdf2fccd8585ece11d15
2022-04-22 07:20:16 +00:00
Zuul f0e5e995bd Merge "tests: Remove use of 'oslo_db.sqlalchemy.test_base'" 2022-04-21 13:49:59 +00:00
Zuul 204f6dc8d8 Merge "Drop tripleo centos-7 scen3 job definition - not used" 2022-04-20 15:52:52 +00:00
Marios Andreou 144adfcf54 Drop tripleo centos-7 scen3 job definition - not used
This is needed by [1] where this job is being removed. Note
that this job as defined will only run for stable/stein [2].
Also note that this job doesn't appear to be running anywhere
it is not wired up in this repo [3] or anywhere else.

[1] https://review.opendev.org/c/openstack/tripleo-ci/+/838110/2#message-2efaca7aaf100874fd6996f18f0e74ae942149c0
[2] 4daed1b14c/zuul.d/standalone-jobs.yaml (L476)
[3] https://codesearch.opendev.org/?q=sahara-tripleo-ci-centos-7-scenario003-standalone&i=nope&literal=nope&files=&excludeFiles=&repos=

Change-Id: I7a4071e52f68fea7d07bad690f8590cbb3fb4fa4
2022-04-20 13:18:33 +03:00
Luigi Toscano 2627d3433b tests: Remove use of 'oslo_db.sqlalchemy.test_base'
It has been reported that "the various test cases and mixins
in 'oslo_db.sqlalchemy.test_base' have been deprecated since
oslo.db 4.34.0 (March 2018)." so migrate to a more stable
and supported solution.

Change-Id: I89aff35352406c0895d379ef6548b406572d076d
2022-04-19 12:15:46 +01:00
Zuul 3209783d95 Merge "Changed minversion in tox to 3.18.0" 2022-04-15 21:04:39 +00:00
Luigi Toscano f3fea3abb7 Fix Flask 2.1 compatibility, disable unstable job
Since Flask 2.1, the same blueprint cannot be registered multiple
times with different url_prefix values, unless the 'name' parameter
is set. Otherwise the following error is reported: "The same blueprint
cannot be registered with the same name. Use name= when registering
to specify a unique name."

At the same time, disable the openstack-ansible job,
which started to fail again, but at this point the priority
is to unblock the gates.

Change-Id: I50df2fec3fd312082a14ef2a5b6774a2515afb44
2022-04-15 17:17:48 +02:00
Zuul 43bf37f017 Merge "Migrate jobs from CentOS 8 to CentOS 8 Stream" 2022-03-20 23:38:57 +00:00
Jonathan Rosser 010fdbe76f Switch from legacy OSA job to integrated OSA job
This should allow testing of un-merged changes to sahara in the
context of an openstack-ansible deployment

Story: 2009081
Task: 42894

Depends-On: I1bde4186335cb6638d2c90f5eeee1cf7944e1415
Depends-On: I123d32a0967d5196723f57a40ab5acfa7a53a440
Change-Id: Ib6e09ab83b277704a603c02f0927054478cef8a7
2022-03-19 00:53:15 +00:00
Zuul b269b3d1d0 Merge "Remove reference to deprecated RequestContext.user" 2022-03-18 18:43:36 +00:00
Zuul 0263bf2dc5 Merge "Fix compatibility with oslo.context >= 4.0.0" 2022-03-18 16:38:22 +00:00
Takashi Kajinami ab73b8f4a7 Remove reference to deprecated RequestContext.user
The user property of oslo_context.context.RequestContext has been
deprecated in favor of the new user_id property. This change replaces
reference to the deprecated user property.

Change-Id: Ib5ca9b82970d217df5133b2498c3577af0e60dd9
2022-03-16 23:25:36 +09:00
Takashi Kajinami d3ba5357c3 Fix compatibility with oslo.context >= 4.0.0
The tenant argument of RequestContext is no longer available since
oslo.context >= 4.0.0 . This change fixes the compatibility issue
caused by that removal.

NOTE:
Because scenario jobs are still broken with this change, these jobs
are made non-voting temporally to unblock the other jobs. Currently
this issue is blocking package build in RDO.

Story: 2009921
Task: 44779
Change-Id: I1bc81b3c13d2c08bc175d0d4f4365de7b4f71cf9
2022-03-16 23:24:28 +09:00
OpenStack Release Bot 68f91a8d57 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: I19ad0bec22f1715f384a9737bb5d7c5eab14f8a7
2022-03-11 11:54:20 +00:00
Takashi Kajinami 8f8aca1732 Migrate jobs from CentOS 8 to CentOS 8 Stream
CentOS 8 is being removed from CI because of its EOL[1].

[1] http://lists.openstack.org/pipermail/openstack-discuss/2022-January/026621.html

Change-Id: I71b921465c28d5379eec345cbe81b8ef0e9680b1
2022-02-04 11:18:20 +00:00
Zuul f6a4a6e0b7 Merge "Remove the suffix of *console*" 2022-01-27 01:54:51 +00:00
Zuul aff7caef2e Merge "Make unclear code clear in user guide" 2022-01-13 10:18:23 +00:00
Zuul 0da78ddaab Merge "Solve the problem that the code in the xml file is not clear" 2022-01-13 10:13:57 +00:00
Zuul 4ff19a840c Merge "Make hidden code appear in admin guide" 2022-01-13 10:13:55 +00:00
hejunli 4a7f7b462a Solve the problem that the code in the xml file is not clear
https://docs.openstack.org/sahara/latest/user/hadoop-swift.html
cannot show the code clear in xml file, this patch fix that issue.

Change-Id: I7467e3a3665f882587adbaa8e6c50042bc00739c
2022-01-13 15:21:16 +08:00