OpenStack Image Management (Glance)
Go to file
Dan Smith b1e757884a Fix nonsensical test mocks and assertions
The test_inject_image_metadata test was doing some completely
nonsensical mock behavior, like mocking something after we have
run the method under test, and re-mocking the image repo with the
thing that was supposed to change so that the assertions were not
even checking the actual behavior. None of the three tests were
actually testing the desired behavior.

In the case of the admin_user test, it was also asserting that things
were not run that *should* be, probably because the mocks were done
after the execution and asserting that they *were* run would never
work.

This also wires up the image and image_repo mocks that were in
setUp(), but unused (and incorrect) so that we can assert the calls
are actually as we expect.

Change-Id: Ifc2f49d49ff62c49c7dd1d2174a78bb1451b7bf3
2021-02-10 07:36:24 -08:00
api-ref/source Update docs and renos for os_glance reservation 2021-01-25 12:30:50 -08:00
doc Merge "[goal] Deprecate the JSON formatted policy file" 2021-02-03 14:45:20 +00:00
etc docs: Remove references to XenAPI driver 2020-09-17 17:09:17 +01:00
glance Fix nonsensical test mocks and assertions 2021-02-10 07:36:24 -08:00
httpd Update http deploy docs to be a bit more explicit 2017-11-02 01:19:19 -04:00
playbooks Do not use OSC in infra playbook 2020-09-22 18:07:39 +01:00
rally-jobs Update some url links of rally/README.rst 2018-02-27 00:29:38 -08:00
releasenotes Merge "[goal] Deprecate the JSON formatted policy file" 2021-02-03 14:45:20 +00:00
tools Stream-friendly disk format inspection module 2020-08-05 08:41:55 -07:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 17:09:56 +05:30
.gitignore Move policy defaults into code 2020-01-06 12:56:30 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:45:31 +00:00
.mailmap Add a mailmap entry for myself 2014-02-11 12:00:44 +08:00
.stestr.conf Use group_regex to serialize scrubber tests 2018-06-07 09:25:04 -04:00
.zuul.yaml Merge "Add Python3 wallaby unit tests" 2020-12-15 14:03:48 +00:00
bindep.txt Stream-friendly disk format inspection module 2020-08-05 08:41:55 -07:00
CONTRIBUTING.rst Community Goal: Project PTL & Contrib Docs Update 2020-03-11 06:09:47 +00:00
HACKING.rst Add doc8 to pep8 check for glance project 2018-01-19 08:20:56 +00:00
LICENSE Add a LICENSE file. 2012-01-03 10:14:01 -05:00
lower-constraints.txt [goal] Deprecate the JSON formatted policy file 2021-01-29 15:31:47 -08:00
pylintrc Typo in pylintrc file 2015-03-25 11:21:16 +01:00
README.rst Start README.rst with a better title 2019-11-13 17:03:44 +01:00
requirements.txt [goal] Deprecate the JSON formatted policy file 2021-01-29 15:31:47 -08:00
setup.cfg [goal] Deprecate the JSON formatted policy file 2021-01-29 15:31:47 -08:00
setup.py Cleanup old cruft 2020-03-28 08:18:01 +01:00
test-requirements.txt Update version of doc8 2021-01-06 15:39:52 +08:00
tox.ini Deprecation cleanout Registry and related 2020-06-30 20:41:30 +01:00

OpenStack Glance

The following tags have been asserted for the Glance project:
"project:official",
"tc:approved-release",
"stable:follows-policy",
"tc:starter-kit:compute",
"vulnerability:managed",
"assert:supports-upgrade",
"assert:follows-standard-deprecation".
Follow the link for an explanation of these tags.

Glance is an OpenStack project that provides services and associated libraries to store, browse, share, distribute and manage bootable disk images, other data closely associated with initializing compute resources, and metadata definitions.

Use the following resources to learn more:

API

To learn how to use Glance's API, consult the documentation available online at:

Developers

For information on how to contribute to Glance, please see the contents of the CONTRIBUTING.rst in this repository.

Any new code must follow the development guidelines detailed in the HACKING.rst file, and pass all unit tests.

Further developer focused documentation is available at:

Operators

To learn how to deploy and configure OpenStack Glance, consult the documentation available online at:

In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. You can raise bugs here:

Release notes

To learn more about Glance's new features, optimizations, and changes between versions, consult the release notes online at:

Other Information

During each design summit, we agree on what the whole community wants to focus on for the upcoming release. You can see image service plans:

For more information about the Glance project please see: