As per the community goal of migrating the policy file 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 documentation and release notes.
[1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: I9ca5459a6968d93dee1bf24b3e0012a4cc7020b5
Babel is no longer a requirement for OpenStack projects. We can remove
it and save some disk space.
Change-Id: I83a8632b004b6b94d5a99e00f9f4e193081eaba9
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build; fix build warnings
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Raise oslo.utils version, 3.36.5 introduced uuidsentinel.
Change-Id: I8c81e0c1944c239e460befbf886993270902ee04
This patch adds microversion support so that it is possible to make
minor changes to the APIs as required to fix Launchpad bug #1740091.
Change-Id: I7ea48be72897a77fc8424a57f4ce2d4798daf4eb
Related-Bug: #1740091
Blazar called placement to delete reservation inventory on reservation
resource provider *before* blazar asks nova to delete the instance.
This caused inventory in use 409 conflict error in placement.
This patch re-orders it to call placement after instance delete and
adds a function to ensure the deletion is completed not to cause the
error.
Change-Id: I3b4a892a783140b4a25810aeed71c79f6207e155
Depends-On: https://review.openstack.org/#/c/633408/
Closes-Bug: #1813252
This adds basic framework for blazar-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: I6f40be87eb7e20fb396191e60af023923eb9019a
Story: 2003657
Task: 26121
This patch starts to prepare base methods for placement client
in a new class, ``BlazarPlacementClient``.
Change-Id: I58712bd9dd243daed0e616792e0ba11b80cd680b
Blueprint: placement-api
A previous patch [1] changed tox environments to use python3 by default,
which makes the pylint test fail.
This patch updates the pylint package version and fixes pylint errors.
[1] https://review.openstack.org/#/c/572948/
Change-Id: I93c4a0c6060960552cc914963f410188eac7f3f4
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.
Uncap eventlet at the same time to make the requirements match the
global list.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: I3d4c66be32a7e5f1bae11fcba9491f9e26b59bb6
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Although we use six directly, it was not included in the requirements
list. We never got any installation failure because several of our
requirements have six as a dependency.
This patch adds six to the requirements list to avoid any installation
failure if our dependencies stop requiring six.
Change-Id: I58cffe0a07f2c850c64795ceb5148daf7fc239f1