This is confusing, because after xen you have a dot which can be read
as belonging to the hypervisor type string.
Change-Id: Ibe5da521d80a895b66084c55a993cceebfb68894
In case of Cinder store, when updating location of a legacy image,
we call cinder store to perform the update.
If the operation fails, we log a warning in glance which states:
"Not able to update location url <url> of legacy image due to unknown issues."
Since glance doesn't have knowledge about the actual issue occurred
during the location update, we log this ambiguous warning which is not
useful for operators to debug the actual issue.
The responsibility of logging the warning should be delegated to
glance store (like done here[1]) since it can point to the right
issue as it knows which operation failed exactly.
This patch removes the warning and further warnings should be added
to glance store only.
[1] https://review.opendev.org/c/openstack/glance_store/+/911005
Change-Id: I24b14812a2a15675beacee720d722c2f3a2b252b
These options were deprecated and then removed when the glance-registry
service was removed[2].
[1] 80fef06497c2a1f2e5c7bae4a0e04ab426ec70f7
[2] 30680961994b36ed12713c0f106b661535ce41c6
Change-Id: I519c99afe8bcdfa953c14470670dee690e593ce4
This option has had no effect since the removal of native SSL support in
06b2465f598c014451c244d47c2ded4f1e2c6947 .
Change-Id: I7ad94bd2be45a25c9c1dccc552fa9110fc4862aa
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I4b22aeaae7c01c92d3d463bda4c157c6a415ea8b
- comments that did not match the parameter names have been corrected.
- parameter information included in parameters but remaining in comments has been deleted.
Change-Id: I6bbaaae697f1be560897c7d99234f1e23e710143
Signed-off-by: Youngjun <yj.yoo@okestro.com>
The stable/xena branch has been deleted, so reno can't find its
release notes. Use the xena-eom tag to indicate the end of the
Glance project's maintenance of the Xena series.
This strategy is consistent with the way we handled stable/yoga and
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: I57f167ee0d5a56a0ef2bbd12e4ea683b3b1d7079
The stable/wallaby branch has been deleted, so reno can't find its
release notes. Use the wallaby-eom tag to indicate the end of the
Glance project's maintenance of the Wallaby series.
This strategy is consistent with the way we handled stable/yoga and
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: Ib6ede82ce42168191eaa6a49c09178bf4ae8ec70
The stable/victoria branch has been deleted, so reno can't find its
release notes. Use the victoria-eom tag to indicate the end of the
Glance project's maintenance of the Victoria series.
This strategy is consistent with the way we handled stable/yoga and
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: I9d5d597e6debb1c71d72f0720c34714c516ad91b
This patch mentions the following details about the glance cinder
store:
Single store:
Importance of setting the service credentials with the cinder store
configuration options.
Multi store:
1. Mention warning that during store initialization, we require the
credentials in configuration file to validate volume types.
2. Upgrade scenario where the values of configuration parameters
should remain same in single and multi store before and after the
upgrade.
3. Upgrade scenario when single store doesn't contain credentials
in glance config file and we need to transfer Image-Volumes to
service project.
Change-Id: Iff1320f8a4cf0c614f1a71556957a11ccd010147
This job will verify that upgrading cache driver from sqlite to
centralized database will not have any impact.
Related blueprint centralized-cache-db
Change-Id: Iafed7342753da73efee2c50079505d88fe8ac4d5
This is follow-up of 1e683483e72dfc25da81d9b376cf6963f87b0af7 and
replaces the generic Exception asserted in a unit tests by the specific
castellan exception, according to the 4.4.0 release.
This change does not bump minimum required version of castellan because
the version requirement only affects unit tests.
Depends-on: https://review.opendev.org/c/openstack/requirements/+/911059
Change-Id: Id1ed909f179038713d9da2fd72cf39e7fb7c8dfe
Made `centralized_db` cache driver as default driver so that we
can test it using tempest jobs in gate.
Implements blueprint centralized-cache-db
Depends-On: https://review.opendev.org/c/openstack/devstack/+/907110
Change-Id: Id94e93e3ba3fc207b39c7dbff92495805aa0f6f9
oslo.concurrency 6.0.0 has relocated the lock_path that is required
for external locks from [DEFAULT] to the [oslo_concurrency] config
section. Instead of messing with configuration, we can use the
lockutils.set_defaults() method to set this for tests. So add this
to the BaseTestCase so that it's available for all tests.
Change-Id: I2878b4162dddaf935002c168bc544eb1eff71efd
In cache migration unit tests, I was using same cache.db file name
in the setup method which was used by all the tests, which was
causing a issue of deleting a file by other test and resulted
in random failure.
Using random filename to fix this issue permenantly.
Related blueprint centralized-cache-db
Change-Id: I321982013bdf571741a8ef2d0575f65288fff53f
Documented the usage of centralized_db cache driver and
migration process from SQLite to centralized_db on upgrade.
Related blueprint centralized-cache-db
Change-Id: I4404cd0cb9e7a59ea332b0ad2bac354b53c232d4
In castellan 4.4.0, we fixed the wrong exception MockKeyManager.get
raised in case the requested key does not exist. This change interferes
with the way one unit test case ensure a key is gone.
This replaces the asserted exception by generic Exception so that we
can unblock u-c bump now. We can later replace it by the specific and
correct exception (ManagedObjectNotFoundError) once castellan 4.4.0 is
pulled to u-c.
[1] 2cc410f56e7275d982bca95aa65cd11e22fc7c3c
Change-Id: I8cc1420e8b16ce0bc74314fd7b8aabf6e133abd8
Made provision to migrate existing cache records from
sqlite to centralized db and delete those from sqlite
after successful migration.
Implements blueprint centralized-cache-db
Change-Id: I2a840915bb6d9d72d6379cae09ebec0e51a4a6dd
Temporarily make the openstack-tox-functional-py38-fips
job non-voting till we figure out why its failing.
Change-Id: I8b693a692fc1248c385cfa7d0808ae0283a33781
Moved sqlite connection code in new module so that we can use
the same in migration phase. Once sqlite driver is removed then
we can remove this common module as well.
Related blueprint centralized-cache-db
Change-Id: Id34f9ae7a2639023c8b6a7937487e7af5c2dccad
Made provision to read gloabl glance-api.conf file by
cache-pruner, cache-cleaner command line utility tools
to make those compatible with centralized_db cache driver.
Related blueprint centralized-cache-db
Change-Id: I88d28dd086b6b57bedd9eda73534fa3e05dc8cc6