Commit Graph

4154 Commits

Author SHA1 Message Date
OpenStack Proposal Bot c898a310af Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3b60c4f49ccac467bd9a857c2dc7b597e8bdc474
2023-05-09 04:19:01 +00:00
Zuul 9a84d271cb Merge "Imported Translations from Zanata" 2023-04-26 08:11:00 +00:00
zhurong 68d653af0a Fix bandit
Change-Id: I664a6c22b6b68cd2ea0ffcae1b8242fa7d61f14e
2023-04-25 02:46:44 +00:00
OpenStack Proposal Bot 4751b583ef Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I7aed519b8f02ddb7d507bae3bce81d3ec0d12381
2023-03-08 03:32:45 +00:00
OpenStack Release Bot 335829f722 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: I1ab16515d77f360097e57b273fb32897d157121c
2023-03-07 09:03:24 +00:00
zhurong b68a216bb7 Fix tox 4 compatibility
Change-Id: I6bb3ef7ea197a7dfc384991c17e526c23e4b2fed
2023-03-03 01:27:07 +00:00
OpenStack Proposal Bot ada28b3ac6 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I1c529aecbbdb94e688972ea220e039ffd864c4bb
2022-11-05 03:39:14 +00:00
Zuul 8310427a9d Merge "Update master for stable/zed" 2022-10-18 03:56:05 +00:00
OpenStack Release Bot a25b273e46 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: I3e6bf2f28aa0e1b4dc464432ae1986f89f78aa44
2022-10-18 03:00:10 +00:00
OpenStack Release Bot 8cd6e34341 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: If279269f6808d1454074c10baa90975be6c4d39b
2022-10-14 05:11:36 +00:00
Andy Botting 60f305aca5 Fix murano-test-runner help output test
Due to slight differences in the --help output text for the test
runner, the output comparison no longer matches once you get past
python 3.8.

This fix cleans up the help text itself, and modifies the test to
only match on some specific elements, not the whole thing.

This should make the test less fragile going forward.

Change-Id: I7b94d8ae9eb58c43676ae3171c0f6193496c6d4b
2022-10-14 16:05:18 +11:00
Andy Botting dc89e7cf61 Fix compatibility with Python 3.10
Since testing with Python 3.10, the test
  murano.tests.unit.dsl.test_helpers.TestDSLHelpers.test_weak_ref
was failing with
  testtools.matchers._impl.MismatchError: 'weakref' != 'ReferenceType'

This is simply the result of newer Python being more correct about
the name of the weakref ReferenceType.

The fix here is to ask what the name is of the class and use that
instead of the hardcoded 'weakref' name.

Change-Id: I26ea4750f10dedb04a07d188e57fcd391a28f870
2022-10-12 21:25:08 +11:00
ljhuang 98cdff796c Replace abc.abstractproperty with property and abc.abstractmethod
Replace abc.abstractproperty with property and abc.abstractmethod,
as abc.abstractproperty has been deprecated since python3.3[1]

[1]https://docs.python.org/3.8/whatsnew/3.3.html?highlight=deprecated#abc

Change-Id: I953dd0787326ad5e2d0867f6c29e9a3d4c100d22
2022-10-12 04:56:01 +00:00
Zuul 12617f1627 Merge "Fix compatibility with oslo.db 12.1.0" 2022-10-12 03:55:43 +00:00
Zuul ee066ee750 Merge "Update python testing as per zed cycle teting runtime" 2022-10-12 03:04:11 +00:00
Thomas Goirand 46b34c05b0 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.

Note that this patch was written using this one as example:
https://review.opendev.org/c/openstack/magnum/+/858374

Also include Zuul gate fix. Fix as described in [1][2]

[1] https://lists.opendev.org/pipermail/service-announce/2022-September/000044.html
[2] https://lists.zuul-ci.org/pipermail/zuul-discuss/2022-May/001801.html

Change-Id: I963e741078514b1cca6ed0e510cefaeccdd3499a
2022-10-12 13:11:52 +11:00
OpenStack Proposal Bot 4434b57486 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I818e9704c0e0881ffaa545564880b962c9e38fe0
2022-06-21 03:19:18 +00:00
LeopardMa 8c64ac7f91 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.htm

Change-Id: I269d1ca0b763d7806a3cec9d1be425d68f68fa67
2022-06-04 15:41:50 +08:00
Ghanshyam Mann 921a53adf1 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: I76fd7b48f3377fb20b86e1bc6fe7b0b49cf8f2f9
2022-04-30 19:12:14 -05:00
Andy Botting 411d0f85e8 tests: Remove use of 'oslo_db.sqlalchemy.test_base'
The various test cases and mixins in 'oslo_db.sqlalchemy.test_base' have
been deprecated since oslo.db 4.34.0 (March 2018). Remove use of these.

Change-Id: Ic4ba41e61de3a33d6779b53bb0274e5e115e335a
2022-04-19 09:15:59 +10:00
zhurong b0820df23e 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: I0ddd8bc150db1ad9877a8d876a940912de845e80
2022-03-30 05:28:47 +00:00
Jeremy Stanley 398b2d86d5 Tenant to project migration for RequestContext
As of the oslo.context 4.0.0 release, RequestContext objects no
longer have a tenant attribute, instead expecting callers to use
project_id for that purpose. Update all context.tenant references to
context.project_id in order to facilitate this transition.

Change-Id: I2830ccf840bf4d1d8a516287adee51c46d2a5583
2022-03-29 12:43:00 +00:00
OpenStack Release Bot 589f2a11e0 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: I39b4f53523ee21d87ecf42b41f2ee0cd23e9e2f8
2022-03-08 12:05:42 +00:00
Zuul f0258fc843 Merge "Remove the unused paste" 2022-01-18 07:05:58 +00:00
zhurong 9f47209f66 Remove the unused paste
Change-Id: I1c7949349b8871d8476205468cfd943ac08dfaf6
2022-01-17 08:29:06 +00:00
zhurong 4ee6474502 Fix the exceptions import
Change-Id: I804daa0e2b3c8f7a9d421449afcf1e057b8c63c8
2022-01-17 08:18:10 +00:00
Zuul 31d424471c Merge "Update the ssl config" 2022-01-17 03:57:17 +00:00
Zuul 56b36bd03d Merge "Update the murano.conf" 2022-01-17 03:57:15 +00:00
zhurong 31439effe6 Update the ssl config
Change-Id: I3ab30ebb21b52b71e711dc7bcfb498502100eae3
2022-01-17 03:22:38 +00:00
Zuul a630d580ef Merge "Update the openrc info" 2022-01-17 03:17:56 +00:00
Zuul f7529a5ca6 Merge "Remove the warning description" 2022-01-17 03:17:55 +00:00
Zuul 10822a46a8 Merge "Update murano-api description" 2022-01-17 03:17:47 +00:00
Zuul fa2d88c7a2 Merge "Update the Linux Image required package" 2022-01-17 03:16:42 +00:00
zhurong aeef10945d Update the murano.conf
Change-Id: I0a7acd64e8361bce3b318a6c5046a575925deb4a
2022-01-17 03:12:05 +00:00
zhurong 94cf580215 Update the openrc info
Change-Id: I57f2bd0ca628cac16bb9f7721ce30f4e2ab24c13
2022-01-17 02:54:00 +00:00
zhurong 11ced31b20 Remove the warning description
Change-Id: I50034768a534361b3d597b05170beb0f2729d4b7
2022-01-17 02:47:10 +00:00
zhurong b27707a37f Update murano-api description
Change-Id: I7b1bd04f4f0a6aab0e41bf880eda6189cddac5e6
2022-01-17 02:32:06 +00:00
zhurong bad8e8ae0e Update Testing Guidelines
Change-Id: I4dacb5b74f6643c290304f095f224c3ac85f7889
2022-01-17 01:58:49 +00:00
zhurong 8210b2e4e9 Update the Linux Image required package
Change-Id: I0cf170cf7f34ecdddb00e3c3f3fc9f3c72cdb039
2022-01-17 01:49:17 +00:00
zhurong 038274751f Update System requirements
Change-Id: I5c13b62b6b08bc5d19996ca30b940d66aef5503e
2022-01-17 01:24:53 +00:00
Zuul 6c068a7806 Merge "Update the murano_agent description" 2022-01-15 02:47:24 +00:00
zhurong df0bec55b9 Update the murano_agent description
Change-Id: Ib8c08aa9aa598082720a8d2b0f5036ced336cc6c
2022-01-15 02:02:30 +00:00
zhurong dbbe49a542 Update the prepare_lab
Change-Id: Ie679bba82941a41c978826c5eceaa3582d1b36da
2022-01-15 01:48:49 +00:00
zhurong bdc7d53ec7 Fix the error python version
Change-Id: I367ef805fd6ffad77633ced04f64996a2241b1df
2022-01-14 07:59:13 +00:00
Zuul a92c0bce37 Merge "Add tools to tempest job irrelevant-files" 2022-01-06 12:13:04 +00:00
zhurong 9d0e7d5bd7 Fix devstack job failures
Change-Id: Ic63588405326449bd3ae464776b58992a57f56ab
2022-01-06 07:06:49 +00:00
zhurong 89f8cd0b3f Add tools to tempest job irrelevant-files
Change-Id: Ib9ac7b56aa25695d40a3a5c48d0b3385ad7a0722
2022-01-04 09:28:10 +00:00
OpenStack Release Bot 314c85db8a 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: I4c2d453a237d8bd36fdfaa3ef6924b5f60b9d3ee
2021-10-16 03:18:19 +00:00
zhurong af5a48d282 Fix Engine.execute() in func tests
Change-Id: Iaf443954e2e41fb7c03ea3dc81b53f439531742b
2021-10-16 02:30:34 +00:00
OpenStack Release Bot 51b02f9c2d 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: Ic85e7b3008a37eecad3531debebbee6ee27b33bd
2021-09-17 14:16:49 +00:00