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.
[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: I9028875399b54ab961ae46ca13f9cf6e6fc7ad89
This patch brings some pip packages up to date
and also introduces changes to tox to make sure
that constraints are always respected.
Change-Id: I7f794386b47ae9fd43db2278ee214e015d5b335b
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
Also removing the hacking and other related dep from lower-constraints file
as theose are blacklisted requirements and does not need to be present
there.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: Idd108d9575b276f3d78a7c3c6dbc5f3ed3205411
hacking already pins flake8, so do not add it, especially in conflict
with the hacking version. hacking also pins pycodestyle, so remove that
as well.
The repo is Python 3 now, so update hacking for a python3 version.
Blacklist new failures or fix them.
Convert own hacking checks to new flake8 API, update lower-constraints
for this.
Change-Id: I2928b9d764f61a53a549a9eb850c7809bdbb6f74
A recent change to the loadbalancer code requires version 0.42.0 of the
SDK to function.
LB Change:
https://review.opendev.org/#/c/710464/
SDK Patch:
7fbc27e3c0
Change-Id: I02ecf62b17dcfe95142cd7db862e06b26e457593
Oslo Reports enables OpenStack projects to dump Guru Meditation
Reports with useful debugging information on live services
to files or stderr.
Change-Id: I901a622c470dc191864e33996986f176d40e439d
This adds basic framework for senlin-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.
Change-Id: Ic890a04156abf201ac618ce71ccddcc4544d0acf
Story: 2003657
Task: 26154
upper-constraints.txt already has openstacksdk==0.17.2. This will set
Senlin lower-constraints.txt and requirements.txt to match that version.
The newer version will avoid the unittest failure reported in the bug.
Change-Id: I222f6d05b408656dbbc641d6017ee4ccca5f4379
Closes-Bug: 1789310
This commit is a follow-up of "switch to using stestr"
which was merged already [1].
After switch to using stestr, testrepository is unnecessary
and should be removed.
[1] https://review.openstack.org/#/c/570808/
Change-Id: I41e98c69839909727968f98b52905a370d0ea626
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: Ia63e48a8ffee765a2d0ae43ff0054e3c5f61c992
Signed-off-by: Charles Short <zulcss@gmail.com>
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.
Amend lower constraints according to tools/fix-lower-constraints.py and
removed qpid-python from requirements.txt to fix requirements job.
Change-Id: I47d55fc608ae9890eeb6022aa445b304e0a1b95b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: Ia137d8db4e627d431c2dba3d1925faff33cd482f
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>