Tempest plugin tests for Glance.
Project description
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
Install the plugin:
$ pip3 install -e glance-tempest-plugin
Confirm it’s installed:
$ tempest list-plugins
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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file glance_tempest_plugin-0.15.0.tar.gz.
File metadata
- Download URL: glance_tempest_plugin-0.15.0.tar.gz
- Upload date:
- Size: 32.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d683f38b59d95b0e063e3bbc9ffa04c75b273c8e550e3c31fdde2e17623541d
|
|
| MD5 |
6db608105e86d1aaefc4c30cc39a1bf0
|
|
| BLAKE2b-256 |
5d9f154ea54fd9364d7d603f04696be9e3ce02bacd47a0f05ddf1d243d579a84
|
File details
Details for the file glance_tempest_plugin-0.15.0-py3-none-any.whl.
File metadata
- Download URL: glance_tempest_plugin-0.15.0-py3-none-any.whl
- Upload date:
- Size: 37.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a89c2a2e22a588eff0f19fd424434de55e78202ee578d7d859aa2c2a2ae636a
|
|
| MD5 |
a20adeaa57d37646bf75ef2f366438d0
|
|
| BLAKE2b-256 |
445019b8dae9d5816429c42cc39f6f0e8a7a4928a9a27a0670461878e229066a
|