Added centralized_db driver for image cache which will use
centralized database for storing cache related information.
Related blueprint centralized-cache-db
Change-Id: Iafaaa86666176cc95f77d85a4ab77286f0042bdd
Added required database API methods for cache related
operations.
Related blueprint centralized-cache-db
Change-Id: Iae1f1927566f4bda74c5aeccf464df820cfae9d4
The properties and values given to the "inject" option must not be
quoted, otherwise the quotes become part of the values themselves.
Change-Id: Ibcb8b8488253f459f40e6d34f4221832b7ff3839
Closes-Bug: #2028895
The stable/yoga branch has been deleted, so reno can't find its
release notes. Use the yoga-eom tag to indicate the end of the
Glance project's maintenance of the Yoga series.
This strategy was agreed upon at the 8 Feb Glance meeting:
https://meetings.opendev.org/meetings/glance/2024/glance.2024-02-08-14.00.log.html#l-58
Change-Id: I806421d268bbd7a0c5ca2d90147c6afb34566094
Added expand script and model to define `cached_images` and
`node_reference` database tables.
Related blueprint centralized-cache-db
Change-Id: I9991a4e945bd4d231e942096445fd5374ff7ff2a
The string "rule:context_is_admin" appears multiple times but these can
be replaced by the constant defined in the policy base class.
There are also a few more policy rules repeated but the same approach
allows us to reduce maintaining the same string in multiple places.
Change-Id: I2ffc7c2cb6d0a2fe595d9c36db29b8c3303178e3
Stream optimized VMDKs are also monolithic disks images, and start
with the same sparse extend header as normal monolithic sparse files,
so we can parse the virtual disk size in the same manner.
See "VMware Virtual Disks Virtual Disk Format 1.1" p. 17.
> Header and Footer
> The header and the footer are both described by the same SparseExtentHeader
> structure shown in Hosted Sparse Extent Header on page 8.
Closes-Bug: #2052291
Change-Id: I7d63951ff080dc699b8d11babc0a5998d90621e4
Co-Authored-By: Rajiv Mucheli <rajiv.mucheli@gmail.com>
The following options set in functional tests do not exist.
[DEFAULT] send_identity_credentials
[DEFAULT] send_identity_headers
Change-Id: Ia739af13e0f88d0861e453a4d54ecc626e32b34b
sqlite cache driver and related configuration options will be
deprecated from this cycle.
Related blueprint centralized-cache-db
Change-Id: I0c1affff05a2a4c2838cfad2b637e7660b056eef
The oslo.limit 2.3.0 release contains the validation to ensure
the [oslo_limit] endpoint_id option is set[1]. This fixes the test
failures caused by that validation by overriding the option in all
test cases where unified quota implementation is used.
[1] https://review.opendev.org/c/openstack/oslo.limit/+/897509
Closes-Bug: #2049064
Change-Id: I704393892799ee0d5edf45fabe07afe01473e38d
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg
Change-Id: I703ff8cdebd2e929ab775f9b601a8542fb413153
This reverts commit caa6e5d965c1467d7df51ceaa29660fe5140f1c3.
Reason for revert:
Sqlalchemy issue is fixed and upper-constraint change is also merged after oslo.utils 6.3.0 release.
Change-Id: I21e3911aaea363dfd2d46974431bf34efd72282d
We expect that the api-paste.ini file contains pipeline definitions for
paste, which are different from service options. Thus we should not
load this file using oslo.config.
Change-Id: Ic03c5f9295e95bd967ab8d305ed8340b6e69e235
zuul now says:
All regular expressions must conform to RE2 syntax, but an expression
using the deprecated Perl-style syntax has been detected. Adjust the
configuration to conform to RE2 syntax.
Do as we're told.
Change-Id: Iffa8ae6102c547184fab4ed0f6860a5a73da150c
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: If5b6515d448578f83bf7b2ff8e6d9799420a94d2