Commit Graph

259 Commits

Author SHA1 Message Date
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
Ghanshyam Mann 1c87ebf9a8 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and tests.

CONF object needs to be initialized before policy enforcer(). That
need to remove cfg.CONF.unregister_opts from TestAuthUtils cleanup
as this is taken care by cfg.clear() with proper workflow otherwise
it end up with error
"oslo_config.cfg.ArgsAlreadyParsedError: arguments
already parsed: reset before unregistering options"

- https://b132754ee7062a9ab187-9add4719a9922a9385555a8552fc2366.ssl.cf5.rackcdn.com/768520/5/check/openstack-tox-py38/7964354/testr_results.html

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: I1b6c6485bc651fd0b87244a68204036dd4aa37f4
2021-03-07 17:50:48 -06:00
Erik Olof Gunnar Andersson 7dd31ad63b Fix lower-constraints
The lower-constraints job is currently broken since the new
release of pip. This patch resolves all of the issues uncovered
by the new version of pip.

We also add new constraints to fix slow installations
due to pip trying to resolve the ideal candidates.

Change-Id: Id2364b046080c50e122f89d0a7b2d914b1bedbfd
2021-01-19 00:00:39 -08:00
Sharma-Ritika 91a58c5763 Murano testing to Ubuntu Focal
As per victoria cycle testing runtime and community goal,
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Bump lower constraints to make testing work for Focal.

Change-Id: I1fc6b0c67d767bc698e12f0e79fadd19bb7d0a8d
Story: #2007865
Task: #402198
2020-09-19 01:46:40 +00:00
zhurong fc12a87932 Fix requirements-check job
Change-Id: I169a7e5fc5d5562aac4f8c02f5ceb1843122696e
2020-08-05 09:22:03 +00:00
Hervé Beraud 572ac87be8 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: Id51aa2e9e0e47cdecfdc4f3b967bee85cc8ef61c
2020-05-26 21:53:15 +02:00
zhurong 9931c35dfe Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove babel.cfg, this is not needed here at all
- Update requirements, no need for python_version anymore
- Use newer openstackdocstheme and Sphinx versions
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete

Change-Id: Ic40d3fdaac00791fb150c1dc68a35d53ec30043d
2020-05-11 11:25:07 +08:00
zhurong fc15882b98 Remove six usage
Depends-On: https://review.opendev.org/#/c/720855/
Depends-On: https://review.opendev.org/#/c/720856/
Depends-On: https://review.opendev.org/#/c/720857/
Depends-On: https://review.opendev.org/#/c/720860/
Depends-On: https://review.opendev.org/#/c/720861/
Depends-On: https://review.opendev.org/#/c/720864/
Depends-On: https://review.opendev.org/#/c/720865/
Depends-On: https://review.opendev.org/#/c/720866/

Change-Id: I36cde6010e287b5b071a2291180c0e14df2e3667
2020-04-17 20:30:00 -07:00
zhurong 0ce2ad12d0 Update semantic_version to 2.8.2 and remove multiattach in volume template
Change-Id: I7fedbcf85ee9c4dbacf1fc50cec25380c3b3e93d
2019-09-19 02:45:34 +00:00
pengyuesheng f0e022dc13 Blacklist eventlet 0.21.0,0.23.0,0.25.0
more details https://review.opendev.org/#/c/678078/

Change-Id: I25ef24147514026b4f3e5f24b000214b3f73ac64
2019-09-06 11:01:36 +08:00
Hervé Beraud 6ec7a4ce45 Cap Bandit below 1.6.0 and update Sphinx and jsonschema requirement
Bandit 1.6.0 accidentally changed how the exclusion list option is
handled and breaks our use of it. Cap to the previous version until
Bandit has fixed the problem.

Sphinx 2.0 no longer works on python 2.7, so we need to start capping
it there as well.

Remove the jsonschema >3.0.0 version.

Co-Authored-By: zhurong <aaronzhu1121@gmail.com>
Change-Id: I34a53bf6b9389af8530f5806841814cc035eae99
2019-05-14 18:58:00 +08:00
akhiljain23 4341093b14 Add framework for murano-status upgrade check
This commit adds the functionality of murano-status CLI for performing
upgrade checks as part of the Stein cycle upgrade-checkers goal.
It only includes a sample check which must be replaced by real checks in
future.

Change-Id: If7987cdf5d9a686abbcad5960b8f391f8b9518a3
Story: 2003657
Task: 26143
2018-10-24 09:31:33 +00:00
Doug Hellmann 8ff048d8b5 uncap eventlet
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Fixing the eventlet entry also requires making the lower-constraints
list match the requirements range.

Change-Id: I69a895bfa4f4caa6dff3109375503f7a7bcbd626
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-18 12:11:22 -04:00
OpenStack Proposal Bot 2670b434a7 Updated from global requirements
Change-Id: Ia440ccee7660b75e94bfd9f3206c6dd58e3d9e0e
2018-03-26 08:09:43 +00:00
OpenStack Proposal Bot 312b47dce9 Updated from global requirements
Change-Id: I65a3d05db8d0d0a323c8657626697f1e5fec77bc
2018-03-17 08:40:18 +00:00
OpenStack Proposal Bot 2d6a9f2dd2 Updated from global requirements
Change-Id: I6bc615c81ebbf14a6eea566909bb78925026e2c1
2018-03-14 05:39:13 +00:00
OpenStack Proposal Bot 835029125b Updated from global requirements
Change-Id: If4bbcab34ee7dd4c57a66638814f5fd2cdb0c10c
2018-03-04 10:10:29 +00:00
OpenStack Proposal Bot e9bee70572 Updated from global requirements
Change-Id: I0b3d4e2d0405b0eb0a941f9e09e1f8f3d90b013e
2018-02-17 09:42:56 +00:00
OpenStack Proposal Bot 539313cd1d Updated from global requirements
Change-Id: I29f9ab19b3237b0d0cf375f882030dc532bb06dd
2018-01-18 03:04:48 +00:00
Zuul d9cb56fe5b Merge "Updated from global requirements" 2018-01-17 02:32:30 +00:00
Zuul c1613c2bc8 Merge "Murano-engine side implementation of agent message signing" 2018-01-17 02:32:27 +00:00
OpenStack Proposal Bot de70aece6d Updated from global requirements
Change-Id: Ibe3ae944c31d9b2424d6c192a54a888397b759a3
2018-01-16 12:34:34 +00:00
Stan Lagun 6f6897c132 Murano-engine side implementation of agent message signing
Change-Id: I1a23d185ac19f10c98d66f29a6930dfd17793954
Partial-Blueprint: message-signing
2018-01-15 16:56:54 +00:00
OpenStack Proposal Bot d9e7e91acf Updated from global requirements
Change-Id: I0442279247574f103ccab028f09d88e594ca89ce
2018-01-15 10:43:33 +00:00
OpenStack Proposal Bot 39dec8cccd Updated from global requirements
Change-Id: I7fb873a2f9e5fe78180400f41613c8406d15e0f0
2017-12-19 01:43:07 +00:00
OpenStack Proposal Bot 50ade74aa4 Updated from global requirements
Change-Id: I69ce63b97548173ff470cc4ef5cc8c8216f02d13
2017-12-15 21:41:01 +00:00
OpenStack Proposal Bot be6896e3df Updated from global requirements
Change-Id: I8071ea2ccb8bb137ae9219324e68727dbec842d7
2017-12-07 13:29:34 +00:00
OpenStack Proposal Bot 0e9dbd13bc Updated from global requirements
Change-Id: I94b266b6fd4b568d56ae20cc27aa28158d2d996d
2017-12-05 16:34:13 +00:00
OpenStack Proposal Bot 8c5f8a8c96 Updated from global requirements
Change-Id: I759ca3e59752a705c080a647cb40c3789c6cfcc0
2017-11-29 09:02:26 +00:00
OpenStack Proposal Bot d88acc23b0 Updated from global requirements
Change-Id: I64f255e327f55521b956f022199778ccd696a75d
2017-11-16 11:11:30 +00:00
OpenStack Proposal Bot 5c9d7c0020 Updated from global requirements
Change-Id: I96d6a74e857b23571d3b27101f6bb27cffe5ee57
2017-11-14 04:02:21 +00:00
OpenStack Proposal Bot 0fe67a326b Updated from global requirements
Change-Id: Ib5a4e921f9d533a68d917279cdabd427c62de382
2017-11-03 17:54:26 +00:00
OpenStack Proposal Bot 3831a9d603 Updated from global requirements
Change-Id: Ie3b02dcd176f058d52ec3718dea5d8abc5005628
2017-10-15 17:01:45 +00:00
OpenStack Proposal Bot ef1e978093 Updated from global requirements
Change-Id: I3770e6de1481eb734bbcb00a53611c587471ecf1
2017-09-26 03:28:32 +00:00
OpenStack Proposal Bot 9944c39fc8 Updated from global requirements
Change-Id: I174c8a283a5aaec2496becac8e3265c3fa101cec
2017-09-21 03:42:32 +00:00
OpenStack Proposal Bot 324a278c7c Updated from global requirements
Change-Id: Ia8f2b6897f2fa3df2e5ed55592e862b48777090c
2017-09-20 03:36:25 +00:00
OpenStack Proposal Bot 3b03ccb7ed Updated from global requirements
Change-Id: Icfdb61ac16e79af1efb9cf094707afcc53535dbf
2017-09-13 12:53:37 +00:00
OpenStack Proposal Bot a9f6d63e96 Updated from global requirements
Change-Id: I42448c32e0d65d5df88bda071aa05991c1595e85
2017-09-01 12:38:56 +00:00
OpenStack Proposal Bot 2b8301a26a Updated from global requirements
Change-Id: Ia36b94b529397e3eecccd8ef2bacc8285a208cdb
2017-08-24 11:40:53 +00:00
OpenStack Proposal Bot 5b97d64363 Updated from global requirements
Change-Id: Iee5450641bc6a85c71a4f0b29954d0ffff136896
2017-08-18 04:43:44 +00:00
Jenkins 85bd657277 Merge "Add decryptData yaql function to murano engine" 2017-07-31 05:53:19 +00:00
OpenStack Proposal Bot 84e50d1442 Updated from global requirements
Change-Id: Icd8b96b6650da33ad28118769a9b38faaf8c87d7
2017-07-28 02:40:15 +00:00
OpenStack Proposal Bot f4c58cc0a3 Updated from global requirements
Change-Id: If9fb402e654cc149c9f59ce561d2e73afc639a03
2017-07-23 13:44:40 +00:00
Paul Bourke 9248605e67 Add decryptData yaql function to murano engine
Adds a new yaql function 'decryptData' which pairs with 'encryptData' on
the dashboard side.

Requires a valid secret storage backend (e.g. Barbican) to be configured
via Castellan in murano.conf, e.g.

    [key_manager]
    auth_type = keystone_password
    auth_url = <auth_url>
    username = <username>
    password = <password>
    project_id = <project_id>
    user_domain_name = <user_domain_name>

Murano will still work fine without this config but the encrypt/decrypt
functions will be unavailable.

Partially-Implements blueprint: allow-encrypting-of-muranopl-properties
Depends-On: I1be3a1e11e3f4c2170062927ad359bf679eb25d9
Change-Id: I09416b6d35ed2dafa823eca98262a4e23081e6eb
2017-07-21 13:32:13 +01:00
OpenStack Proposal Bot b3fcce96bc Updated from global requirements
Change-Id: I8ec37ea37a4fd83c37e91d4faf1a895c275d2cb9
2017-07-18 01:48:58 +00:00
OpenStack Proposal Bot 26c05f37c6 Updated from global requirements
Change-Id: I28ca61987a0edecedd33ad7cb6125458655ec688
2017-07-13 13:02:38 +00:00
OpenStack Proposal Bot 6fd43bf81c Updated from global requirements
Change-Id: I59a6308bcb2425e7c78a3ebc19a95c8eec51e46e
2017-06-19 21:05:29 +00:00
OpenStack Proposal Bot e18c7bc2ed Updated from global requirements
Change-Id: Ibb53d962b7751f90ba3223fab5eac1175faee280
2017-06-15 16:26:23 +00:00
OpenStack Proposal Bot a790aac162 Updated from global requirements
Change-Id: I5ff6817f9710234e980ea71f157790ea83e354ce
2017-06-10 21:40:06 +00:00
OpenStack Proposal Bot 4873eaf6af Updated from global requirements
Change-Id: Id5f003cf314beb357b6a8fb542843f5784984d6b
2017-06-05 17:23:10 +00:00