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.18.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.18.0
File Size Uploaded Provenance Actions
glance_tempest_plugin-0.18.0.tar.gz 32.7 kB Without provenance Details for glance_tempest_plugin-0.18.0.tar.gz

Built distribution (wheel)

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

Total release size: 70.5 kB

Release files / glance_tempest_plugin-0.18.0.tar.gz

Download URL glance_tempest_plugin-0.18.0.tar.gz
Size 32.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0da492662b30c5245cb954f551b4d1df196fd992b8a05351056b1dd7313634a5
BLAKE2b-256 checksum
How to use checksums
7d6870de504730297be672bbc1167144ee57bc303c938f9fe917a2a9c76d2e32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

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

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

Security for glance-tempest-plugin 0.18.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