Skip to main content

Tempest Integration for Glance

This directory contains additional Glance tempest tests.

See the tempest plugin docs for information on using it: https://docs.openstack.org/tempest/latest/plugin.html#using-plugins

To run all tests from this plugin, 1. Clone glance-tempest-plugin repo from github:

$ git clone https://opendev.org/openstack/glance-tempest-plugin
  1. Install the plugin:

    $ pip3 install -e glance-tempest-plugin
  2. Confirm it’s installed:

    $ tempest list-plugins
  3. Create new file tempest.conf inside /etc/tempest directory and run with below content, including rbac enablement

::

[identity] auth_version = v3 uri_v3 = <Full URI of the OpenStack Identity API>

[auth] use_dynamic_credentials = True admin_domain_name = Default admin_project_name = admin admin_password = admin admin_username = admin admin_system = True

[image_feature_enabled] enforce_scope = True os_glance_reserved = True import_image = False

[enforce_scope] glance = true

  1. Then from the tempest directory run:

    $ tox -e all -- glance_tempest_plugin

It is expected that Glance third party CI’s use the all tox environment above for all test runs. Developers can also use this locally to perform more extensive testing.

Any typical devstack instance should be able to run all Glance plugin tests. For completeness, here is an example of a devstack local.conf that should work. Update backend information to fit your environment.

[[local|localrc]]
ADMIN_PASSWORD=secret
SERVICE_TOKEN=$ADMIN_PASSWORD
MYSQL_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
LOGFILE=$DEST/logs/stack.sh.log
LOGDAYS=2
SYSLOG=False
LOG_COLOR=False
RECLONE=yes
ENABLED_SERVICES=g-api,dstat,key
ENABLED_SERVICES+=,mysql,tempest

Metadata

Release files for glance-tempest-plugin 0.17.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for glance-tempest-plugin 0.17.0
File Size Uploaded Provenance
glance_tempest_plugin-0.17.0.tar.gz 32.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for glance-tempest-plugin 0.17.0
File Interpreter ABI Platform
glance_tempest_plugin-0.17.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.6 kB

Release files / glance_tempest_plugin-0.17.0.tar.gz

Download URL glance_tempest_plugin-0.17.0.tar.gz
Size 32.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1779d2c755f421241edd2b914cb46656a63eda6767830ee51194ff9ea55778f1
BLAKE2b-256 checksum
How to use checksums
8b2bd5b67bd70bb4e41ae919ac1f050c2e07fbf0daec29ce7b88943898f3de99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / glance_tempest_plugin-0.17.0-py3-none-any.whl

Download URL glance_tempest_plugin-0.17.0-py3-none-any.whl
Size 37.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd330803521ab84f24dc477d8e90a9da204240200523dae4704da366729eb80f
BLAKE2b-256 checksum
How to use checksums
4d289c02ba936886f0c2ca4ac9efbd0b48ea7e013634e038744d7b867a82399a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for glance-tempest-plugin 0.17.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page