glance-tempest-plugin


Nameglance-tempest-plugin JSON
Version 0.12.0 PyPI version JSON
download
home_pagehttp://www.openstack.org/
SummaryTempest plugin tests for Glance.
upload_time2025-03-21 12:09:00
maintainerNone
docs_urlNone
authorOpenStack
requires_python>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==============================
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

2. Install the plugin::

    $ pip3 install -e glance-tempest-plugin

3. Confirm it's installed::

    $ tempest list-plugins

4. 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



5. 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


            

Raw data

            {
    "_id": null,
    "home_page": "http://www.openstack.org/",
    "name": "glance-tempest-plugin",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "OpenStack",
    "author_email": "openstack-discuss@lists.openstack.org",
    "download_url": "https://files.pythonhosted.org/packages/d1/f9/bf1b79114ce0168027901f5e54f66dfb442ea2e2de8ee0f9c3f738640ea5/glance_tempest_plugin-0.12.0.tar.gz",
    "platform": null,
    "description": "==============================\nTempest Integration for Glance\n==============================\n\nThis directory contains additional Glance tempest tests.\n\nSee the tempest plugin docs for information on using it:\nhttps://docs.openstack.org/tempest/latest/plugin.html#using-plugins\n\nTo run all tests from this plugin,\n1. Clone  glance-tempest-plugin repo from github::\n\n    $ git clone https://opendev.org/openstack/glance-tempest-plugin\n\n2. Install the plugin::\n\n    $ pip3 install -e glance-tempest-plugin\n\n3. Confirm it's installed::\n\n    $ tempest list-plugins\n\n4. Create new file tempest.conf inside /etc/tempest directory and run with below\n   content, including rbac enablement\n\n::\n     [identity]\n     auth_version = v3\n     uri_v3 = <Full URI of the OpenStack Identity API>\n\n     [auth]\n     use_dynamic_credentials = True\n     admin_domain_name = Default\n     admin_project_name = admin\n     admin_password = admin\n     admin_username = admin\n     admin_system = True\n\n     [image_feature_enabled]\n     enforce_scope = True\n     os_glance_reserved = True\n     import_image = False\n\n     [enforce_scope]\n     glance = true\n\n\n\n5. Then from the tempest directory run::\n\n    $ tox -e all -- glance_tempest_plugin\n\n\nIt is expected that Glance third party CI's use the `all` tox environment\nabove for all test runs. Developers can also use this locally to perform more\nextensive testing.\n\nAny typical devstack instance should be able to run all Glance plugin tests.\nFor completeness, here is an example of a devstack local.conf that should\nwork. Update backend information to fit your environment.\n\n::\n\n    [[local|localrc]]\n    ADMIN_PASSWORD=secret\n    SERVICE_TOKEN=$ADMIN_PASSWORD\n    MYSQL_PASSWORD=$ADMIN_PASSWORD\n    RABBIT_PASSWORD=$ADMIN_PASSWORD\n    SERVICE_PASSWORD=$ADMIN_PASSWORD\n    LOGFILE=$DEST/logs/stack.sh.log\n    LOGDAYS=2\n    SYSLOG=False\n    LOG_COLOR=False\n    RECLONE=yes\n    ENABLED_SERVICES=g-api,dstat,key\n    ENABLED_SERVICES+=,mysql,tempest\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Tempest plugin tests for Glance.",
    "version": "0.12.0",
    "project_urls": {
        "Homepage": "http://www.openstack.org/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "736709c7dacd9b817fc4c892961eae268472832c48eb9b494842d61b8fe59315",
                "md5": "bad3f99a60ad8be484ddbac3526d5f26",
                "sha256": "e2d82f68d3a98515565542d770b870fd7759022b57ea853504253e9b77b7bb61"
            },
            "downloads": -1,
            "filename": "glance_tempest_plugin-0.12.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bad3f99a60ad8be484ddbac3526d5f26",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 29108,
            "upload_time": "2025-03-21T12:08:58",
            "upload_time_iso_8601": "2025-03-21T12:08:58.859395Z",
            "url": "https://files.pythonhosted.org/packages/73/67/09c7dacd9b817fc4c892961eae268472832c48eb9b494842d61b8fe59315/glance_tempest_plugin-0.12.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1f9bf1b79114ce0168027901f5e54f66dfb442ea2e2de8ee0f9c3f738640ea5",
                "md5": "fb939ab58eb24880636e8ebc0f322cce",
                "sha256": "f6de4e8b124beb0b336dddcb6c19a7a3e1475af92b624637e9e806418d93963c"
            },
            "downloads": -1,
            "filename": "glance_tempest_plugin-0.12.0.tar.gz",
            "has_sig": false,
            "md5_digest": "fb939ab58eb24880636e8ebc0f322cce",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 28485,
            "upload_time": "2025-03-21T12:09:00",
            "upload_time_iso_8601": "2025-03-21T12:09:00.092695Z",
            "url": "https://files.pythonhosted.org/packages/d1/f9/bf1b79114ce0168027901f5e54f66dfb442ea2e2de8ee0f9c3f738640ea5/glance_tempest_plugin-0.12.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-03-21 12:09:00",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "glance-tempest-plugin"
}
        
Elapsed time: 0.41007s