The contents of this repository are still available in the Git source
code management system. To see the contents of this repository before it
reached its end of life, please check out the previous commit with
"git checkout HEAD^1".
For any further questions, please email
openstack-discuss@lists.openstack.org or join #openstack-telemetry on OFTC.
Change-Id: Ic8a7001e708d8da7cf8951eefd0a96762ea5fa46
Setuptools v54.1.0 introduces a warning that the use of
dash-separated options in 'setup.cfg' will not be supported
in a future version [1].
Get ahead of the issue by replacing the dashes with underscores.
Without this, we see 'UserWarning' messages
like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I446f303e37007f0d3f2ee73a6f87e3a7766b8e56
Add file to the reno documentation build to show release notes for
stable/wallaby.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.
Sem-Ver: feature
Change-Id: I4b4e33a5ad5054d933470bd85d1a4247794ce3db
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: Ie6e22b0b47c5148290f7b76c95967cd9a343343c
This commit updates the policies for all policies in panko to support
enhanced token scope checking and default roles, but implementing
support for a reader role for read-only APIs.
This is part of a broader change to provide a more consistent and secure
authorization experience for operators and users across OpenStack.
Change-Id: Ia0daee7d909f31e7f8f9e75fa52dca9254441559
This commit adds a new constant to base.py that models a common persona
being implemented across OpenStack called system-reader. We can use this
persona in future patches to update the default policies for the
appropriate APIs.
Change-Id: I12074fe328db71895bbdfda3c9e7c56cc6b6f40d
This commit updates the versions of oslo.policy, keystonemiddleware, and
oslo.log to new versions that aid in implementing secure RBAC through
default roles and scope checking.
This commit also includes a dependency on oslo.context, which provides
pythonic context objects based on request environments. This is useful
in implementing authorization decisions because we can just pass context
objects to oslo.policy's Enforcer() object instead of building a
dictionary of authorization information manually.
These dependencies will be used in a subsequent patch set to update
Panko's default policies.
Change-Id: I222155c8c6b757fd80b30173fd300e2a7240c107
This function has been deprecated for a long time, let's finally
remove it. It is only generating a warning anyway.
Depends-On: https://review.opendev.org/c/openstack/panko/+/764418
Change-Id: I6f120922c5101987a0eea08bf7e0b2b05332fddd
Add file to the reno documentation build to show release notes for
stable/victoria.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.
Change-Id: I685b71a290444de381503eab10bb170da03d7008
Sem-Ver: feature
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: Ia3dd1f0e08ff3f6ec0e75e2256588d6842b09542
This patch adds a /healthcheck URL by default, using oslo.middleware,
so that operators can use it to configure haproxy / monitoring.
Change-Id: Idf9a184f969e5f77de0c2f2a2b99c2931f5647e0
When thare're a lot of events in the database panko-expire
consumes a lot of memory to delete all records with a single
call. To avoid this behaviour a new config option
`events_delete_batch_size` was introduced.
Change-Id: Icf83ffe089301b3782273923f18efd4d209131c2
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Remove docs requirements from test-requirement, it's enough to have them
in doc/requirements.txt.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I8d4234212ecceb639e40eae423af72d2d08b010d
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.
Change-Id: Ied79c449a8bd0c53a7392afb1dee18b5e7e5d619
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: Id796126b87bb1fba8053c48fa2c0bf4e3e69a3bb
Sem-Ver: feature
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I92f240b2b2fbb8a0a7ac188ff9bed8b0d11209b3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Cleanup docs building:
- Remove obsolete sections from setup.cfg
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version, use apidoc for
API docs
- Fix doc problems found
Change-Id: I1f92444a145030e7715a8d357870d712c5d3cfb1
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:
* Wheel is not needed for python 3 only repo
* Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore
Change-Id: I551d8eada6764516dd0612037d9e9e9e5a677347
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Update local hacking checks to work with new flake8 version.
Change-Id: Id5d224358b44fd7ab4bd3d08f1db6b6faf54042f
Tempest's service_availability config option includes all the service
availability which is further used by tests to take decision of skip
or run the test.
For example, [service_availability].panko is true then, panko test will run
or if [service_availability].panko is false then, all panko related tests either
in telemetry tempest plugin or any other plugins will be skipped.
This commit add the setting of panko service[1] on panko devstack plugin.
Closes-Bug: #1743688
[1] https://github.com/openstack/telemetry-tempest-plugin/blob/master/telemetry_tempest_plugin/config.py#L23
Change-Id: I57e182850fbf7fcab5df75c05f0ef95a8c23e923