Commit Graph

7865 Commits

Author SHA1 Message Date
Zuul 95770a25e3 Merge "refectory: fix comments" 2024-05-02 05:20:02 +00:00
Zuul 02fbc47733 Merge "Change DB migration constant to 2024_2" 2024-04-30 13:55:17 +00:00
Zuul 8bf8994428 Merge "Remove the digest_algorithm option" 2024-04-30 13:55:15 +00:00
Zuul 897f0727d8 Merge "doc: Remove non-existing auth parameters of glance-cache.conf" 2024-04-30 13:25:40 +00:00
Zuul a8e60b825b Merge "Remove glossary" 2024-04-30 13:25:38 +00:00
Zuul 4c9aec7349 Merge "Remove allow_additional_image_properties" 2024-04-30 13:25:35 +00:00
Zuul e176ec931d Merge "reno: Update master for unmaintained/zed" 2024-04-30 11:42:36 +00:00
OpenStack Release Bot 1708fd7cdb reno: Update master for unmaintained/zed
Update the zed release notes configuration to build from
unmaintained/zed.

Change-Id: Iac00323daf3872385a9012ab107336ec943bade3
2024-04-30 09:14:09 +00:00
Zuul 79f128746c Merge "Cinder: Remove ambiguous warning" 2024-04-30 03:07:33 +00:00
Takashi Kajinami 2435122933 Remove glossary
This is not really actively maintained and is duplicate of the one
available in openstack-manuals.

Change-Id: I6617397585e49501a20e758877c4071a1f3b9d84
2024-04-30 01:51:31 +09:00
Zuul 7b6e891559 Merge "doc: remove trailing dot from hypervisor_type list" 2024-04-23 21:23:06 +00:00
Cyril Roelandt a7c878eed9 Remove allow_additional_image_properties
This option has been deprecated since Ussuri.

Change-Id: Ib3016f7b4b841543b02710c496e8387e63ed36c3
2024-04-23 18:32:58 +02:00
Zuul b8375913bf Merge "Replace remaining usage of [DEFAULT] sql_connection" 2024-04-19 05:27:57 +00:00
Takashi Kajinami b38a567ad4 Replace remaining usage of [DEFAULT] sql_connection
The previous attempt[1] was incomplete and these was still one usage
left. The deprecated alias was removed from oslo.db[2] and no longer
works.

[1] b6b9f043ff
[2] bf90aed0f7b19441644de2be807ec680ad86b1b1

Change-Id: Ib3b0271057578a64ae556a11224e3b366ddf89bf
2024-04-18 16:51:40 +00:00
Pranali Deore 4b4e36f160 Change DB migration constant to 2024_2
Change-Id: I8b1dcb76d16ebd6a2c90b75b6ad3de34be3cba99
2024-04-18 05:42:40 +00:00
Takashi Kajinami 835e7f36a5 Remove unused run_sql_cmd
The run_sql_cmd method in functional tests is not used. The method uses
Engine.execute() method which was removed in 2.0.

Change-Id: I6f9ea1dfd852a2d311e17964da0ea56c052b3fda
2024-04-15 11:54:16 +09:00
Christian Berendt ccd41b1525 doc: remove trailing dot from hypervisor_type list
This is confusing, because after xen you have a dot which can be read
as belonging to the hypervisor type string.

Change-Id: Ibe5da521d80a895b66084c55a993cceebfb68894
2024-04-12 08:45:22 +00:00
Rajat Dhasmana 3f7b51653a Cinder: Remove ambiguous warning
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
2024-04-08 23:44:20 +05:30
Zuul 0bcd6cd71c Merge "Docs: Add info about the cinder store" 2024-03-28 20:34:02 +00:00
Zuul ff86f9a564 Merge "Update master for stable/2024.1" 2024-03-26 17:34:38 +00:00
Zuul fcdffe22f9 Merge "reno: Update master for xena Unmaintained status" 2024-03-26 17:34:35 +00:00
Zuul f61434ca53 Merge "reno: Update master for wallaby Unmaintained status" 2024-03-26 17:34:32 +00:00
Zuul 9977b04964 Merge "reno: Update master for victoria Unmaintained status" 2024-03-26 17:34:28 +00:00
Takashi Kajinami 3d21c1eb9e doc: Remove non-existing auth parameters of glance-cache.conf
These options were deprecated and then removed when the glance-registry
service was removed[2].

[1] 80fef06497
[2] 3068096199

Change-Id: I519c99afe8bcdfa953c14470670dee690e593ce4
2024-03-25 19:59:36 +09:00
Cyril Roelandt 46a95f77e3 Remove the digest_algorithm option
This option has had no effect since the removal of native SSL support in
06b2465f59 .

Change-Id: I7ad94bd2be45a25c9c1dccc552fa9110fc4862aa
2024-03-19 23:25:02 +01:00
OpenStack Release Bot d9838247d8 Update master for stable/2024.1
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
2024-03-14 19:50:02 +00:00
Youngjun 2862eaef08 refectory: fix comments
- 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>
2024-03-12 14:52:36 +09:00
Michal Arbet 309ca3aec2 Fix glance-api if cache is disabled
This patch fixes glance when cache is disabled.

Change-Id: I3c3560ba9c87c7098d75173a095642bdd1d7c687
2024-03-08 10:36:11 +01:00
OpenStack Release Bot b8f0bd4eb4 reno: Update master for xena Unmaintained status
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
2024-03-07 22:10:42 +00:00
OpenStack Release Bot 6107144789 reno: Update master for wallaby Unmaintained status
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
2024-03-07 22:06:25 +00:00
OpenStack Release Bot 749c8443c3 reno: Update master for victoria Unmaintained status
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
2024-03-07 22:00:51 +00:00
Rajat Dhasmana 81772be899 Docs: Add info about the cinder store
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
2024-03-07 19:13:02 +05:30
Zuul 519ce0b94d Merge "Refresh Glance example configs for caracal m3" 2024-03-07 11:03:30 +00:00
Zuul bc2b5326fa Merge "Require more specific exception" 2024-03-07 09:36:31 +00:00
Pranali Deore 752aab74b1 Refresh Glance example configs for caracal m3
Change-Id: I7490eeaa7352d38fba95c40bbb17bd970887be8b
2024-03-07 07:01:26 +00:00
Pranali Deore 4bfd932266 Release notes for Caracal Milestone 3
Change-Id: I9388014b03e2730587adddffc0939819dc0d1aaa
2024-03-07 06:54:24 +00:00
Zuul 0730be6608 Merge "New grenade job to upgrding cache driver" 2024-03-06 20:56:52 +00:00
Abhishek Kekane c7cc706a15 New grenade job to upgrding cache driver
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
2024-03-06 12:43:28 +00:00
Takashi Kajinami 211fdbab28 Require more specific exception
This is follow-up of 1e683483e7 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
2024-03-06 03:20:39 +00:00
Abhishek Kekane 9b9111f819 Make `centralized_db` cache driver default
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
2024-03-05 19:35:20 +00:00
Zuul bd955b1189 Merge "Use centralized_db cache driver in tempest jobs" 2024-03-05 18:37:55 +00:00
Zuul cd881124ca Merge "Prepare for castellan 4.4.0" 2024-03-04 14:23:16 +00:00
Zuul 6a53883b57 Merge "Deprecate the "glance-cache-manage" command" 2024-03-01 18:35:35 +00:00
Zuul a6b74262a6 Merge "[minor] Fix doc string for class" 2024-03-01 15:21:49 +00:00
Zuul e53e4bdc24 Merge "inject_image_metadata plugin: Fix documentation" 2024-03-01 06:50:03 +00:00
Abhishek Kekane 68c3a80291 Use centralized_db cache driver in tempest jobs
Related blueprint centralized-cache-db
Depends-On: https://review.opendev.org/c/openstack/tempest/+/901525
Change-Id: Icd6d79d563c6b5e8f2158bcad9b4f471d72def90
2024-03-01 05:23:55 +00:00
Brian Rosmaita 9df586a5fe Set a lock_path for tests
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
2024-02-29 16:44:40 -05:00
Abhishek Kekane 5bf2f4e7a0 Fix flaky test related to cache migration
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
2024-02-29 12:35:00 -08:00
Zuul 703cf5ffdd Merge "[docs] Configure centralized_db cache driver" 2024-02-28 17:05:36 +00:00
Zuul 2190d648e7 Merge "Migrate from SQLite to Centralized db" 2024-02-28 16:33:32 +00:00