Commit Graph

1378 Commits

Author SHA1 Message Date
OpenStack Release Bot 9232855977 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: I4408676d83bbe836408fefd451ab8a4ddd27a321
2024-04-18 10:44:39 +00:00
Takashi Kajinami f24bb0f7f2 Prepare 2024.1 release
Change-Id: I7f09eeaab1747131a0d0a900b3bfa7ca4ad99551
2024-04-15 22:25:37 +09:00
Zuul e4411de3c5 Merge "reno: Update master for unmaintained/xena" 2024-04-12 13:02:31 +00:00
OpenStack Release Bot 7a57d48cda reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: If12365b39c6cf6dcefeb59c761e2ebdb71a7f6e6
2024-04-12 12:31:15 +00:00
OpenStack Release Bot 0f21d05c72 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Id276b02ee79089b0f038f2900d6a0ca5b7ad7d9d
2024-04-12 12:22:53 +00:00
Takashi Kajinami 0791fbb26c validate maxdelay for cron job
The parameter descriptions says the value should be a positive integer
(or 0). Validate the given value to reject invalid values such as
strings or even negative values.

Change-Id: I63719129644e3723b86d0b63b78c36e151724473
2024-04-08 16:44:42 +09:00
Zuul 58bb9cac0b Merge "Expose rabbit_transient_quorum_queue" 2024-03-14 18:07:50 +00:00
Takashi Kajinami 953143d0b7 Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021
Change-Id: I1ff921226e2b5b2da6f556b7e7ead7bdbfcebaa0
2024-03-14 09:25:42 +09:00
Takashi Kajinami fb29ff5f38 Deprecate support for VMWare Datastore store driver
... because the driver was deprecated during this cycle.

Depends-on: https://review.opendev.org/c/openstack/glance_store/+/893696
Change-Id: If99070067380a1711fb2cef4bcb090540c1ee456
2024-03-08 14:52:02 +00:00
Zuul 6295617007 Merge "Validate cache cron jobs" 2024-03-08 04:44:28 +00:00
Zuul 6966c7de68 Merge "Add support for image_cache_driver option" 2024-03-07 18:03:40 +00:00
Zuul 8e4ccdfe04 Merge "Refactor resource dependencies" 2024-03-05 03:50:52 +00:00
Takashi Kajinami 664f39dc34 Validate cache cron jobs
Depends-on: https://review.opendev.org/911023
Change-Id: If64ffbb0fefa05629a1b78be677f5adf18f52648
2024-03-05 12:38:18 +09:00
Takashi Kajinami e12c8754d2 Add support for image_cache_driver option
... so that users can select non-default drivers such as centralized_db
driver.

Change-Id: I8d9d9161b46c47d09c31baff2f732a532640f208
2024-03-05 11:24:37 +09:00
Takashi Kajinami 8b3054a13f Refactor resource dependencies
This refactors resource dependencies to improve the following points.

 - Avoid unnecessary dependencies across services. For example aodh
   service does not require cinder db.

 - Restart only api service when config files like paste.ini, which
   are used only be api service is changed.

Change-Id: I6a4c65e81b97235d0ce8a142245927c92ab6e48d
2024-03-04 09:49:06 +09:00
Zuul f554f00d12 Merge "Deprecate support for delayed_delete option" 2024-02-29 09:36:06 +00:00
Takashi Kajinami 6b44259135 Deprecate support for delayed_delete option
... because this option was deprecated as part of deprecation of
glance-scrubber.

Depends-on: https://review.opendev.org/910042
Change-Id: I9862d999025dd63dcbac4f33faeaad4fa6c1ada9
2024-02-27 09:05:50 +09:00
Zuul b04c92029a Merge "healthcheck: Expose ignore_proxied_requests parameter" 2024-02-26 02:00:23 +00:00
Takashi Kajinami ff0dae837e healthcheck: Expose ignore_proxied_requests parameter
Depends-on: https://review.opendev.org/909807
Change-Id: Ia7d4a2ff0d229b3c6c5107e0fff22ef20977bc37
2024-02-26 01:25:04 +09:00
OpenStack Release Bot a57ea00192 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I33742bd4fb787bda7bb150e69a1a475db106fd21
2024-02-21 16:44:51 +00:00
Zuul 0dcda53bb3 Merge "Deprecate support for [DEFAULT] location_strategy" 2024-02-17 01:05:17 +00:00
Takashi Kajinami 9d3a285e19 Add support for oslo.reports options
Depends-on: https://review.opendev.org/804804
Change-Id: I11a2d23fb6f28ec619501e19ef6e7579d6659036
2024-01-30 00:39:04 +09:00
Takashi Kajinami c9e79c84cb Deprecate support for [DEFAULT] location_strategy
... because the option was deprecated in glance.

Depneds-on: https://review.opendev.org/c/openstack/glance/+/906317
Change-Id: I44a7ecf52972c88f1ca6b41236f4757e0fcff3f8
2024-01-23 17:24:28 +09:00
Zuul be0ca56798 Merge "rbd: Update description of rados_connect_timeout" 2024-01-22 17:08:09 +00:00
Takashi Kajinami 47690b57c2 rbd: Update description of rados_connect_timeout
Glance treats rados_connect_timeout=-1 differently now. Let's remove
the description about its old behavior and avoid documenting details
in the module parameter descriptions to reduce our future maintenance
effort.

Depends-on: https://review.opendev.org/894514
Change-Id: If4c711ca7b8c9a5167ee48e902811e8353a1fba0
2024-01-20 00:02:50 +09:00
Zuul 23d579d515 Merge "healthcheck: Expose allowed_source_ranges" 2024-01-17 16:13:21 +00:00
Takashi Kajinami 00c8714ccd healthcheck: Expose allowed_source_ranges
... which was added to puppet-oslo recently.

Depends-on: https://review.opendev.org/905557
Change-Id: I1c02af63f31696be7cd9fbd859c81f9f0a919416
2024-01-17 02:56:42 +09:00
Zuul 4a3666c103 Merge "Support image property protections configuration" 2024-01-09 06:06:07 +00:00
Takashi Kajinami d1401c48ad Support image property protections configuration
This allows users to configure the image property protections
feature[1] using this module.

[1] https://docs.openstack.org/glance/latest/admin/property-protections.html

Closes-Bug: 2036732
Change-Id: I3b985b2b280e6d2b678078f4430db02dccca657c
2024-01-03 11:05:00 +09:00
Zuul daf01a83ba Merge "Fix wrong config file name described in type description" 2023-12-24 08:13:24 +00:00
Takashi Kajinami cf09386478 Fix wrong config file name described in type description
Trivial-Fix

Change-Id: I3ce5f8cec7852dbb8124d52df7ef2c429f4a0152
2023-12-24 13:12:01 +09:00
Zuul e57897e843 Merge "glance_image: Enforce correct type for properties" 2023-11-27 10:20:18 +00:00
Takashi Kajinami 89513a4d61 glance_image: Enforce correct type for properties
This property supports only strings or hashes.

Change-Id: Icf25ce9e2d76c726d3299eb3b5833b3bb3dfc4f0
2023-11-26 02:26:10 +09:00
Takashi Kajinami 6c161ee7f8 Use new openstackclient tag
This looses dependency using the new openstackclient tag, which
requires only packages actually related to openstack CLI.

Also, glanceclient is not required by glance itself so the support
package tag can be removed.

Depends-on: https://review.opendev.org/899594
Change-Id: I50f0775a2f20b9b4f3aca51840cb4ab48ab14120
2023-11-20 00:38:34 +09:00
Takashi Kajinami 0c4ecf7f2c Bump supported Debian version to 12 (Bookworm)
Debian 12 was released in June 2023. Recent versions of OpenStack
(actually, 2023.1 and later) no longer support Debian 11.

Change-Id: Iab6f3d89031db5e1104ca7f1ebd07d6677f99e05
2023-11-18 18:09:55 +09:00
Zuul 120b9a0739 Merge "Stop reading keystone_authtoken options" 2023-11-17 19:05:28 +00:00
Takashi Kajinami 50e67be163 Stop reading keystone_authtoken options
Using credentials in keystone_authtoken options for glance_* resources
was deprecated some cycles ago[1].

[1] 17cc71c509

Change-Id: I57a2ecc763ccac52d9122afa86871ad74bca7450
2023-11-16 15:26:30 +09:00
OpenStack Release Bot 7452a37950 Update master for stable/2023.2
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: I0e3832fa00f72ada6471f1272d146049baacfab3
2023-10-16 15:16:12 +00:00
Takashi Kajinami 1317af56d4 Remove usage of deleted manifest_dir
Recent update in rspec-puppet removed some of the config interfaces for
old puppet versions[1]. This drops usage of these interfaces to resolve
the following error in unit tests.

```
An error occurred while loading ./spec/unit/provider/manila_spec.rb.
Failure/Error: c.manifest_dir = File.join(fixture_path, 'manifests')

NoMethodError:
  undefined method `manifest_dir='...
```

This also removes explicit setting of mock module. The definition is
no longer required since we bumped puppetlabs_spec_helper to v 5.0.0.

[1] 316d95923c

Change-Id: I3077eed14d4e4e2e29cb947ec4ec1fa06abd6229
2023-10-11 11:59:09 +09:00
Zuul 730bf27256 Merge "Prepare 2023.2 release" 2023-10-03 17:14:51 +00:00
Takashi Kajinami 2b45ba0a52 Prepare 2023.2 release
Change-Id: I0d0ef51362038304585c2eddef338d49395580c1
2023-10-03 17:02:29 +09:00
Takashi Kajinami cb71609368 Bump upper version of stdlib
... because we are currently using v9.0.0 in CI. Lower version may be
bumped after 2023.2 release.

Change-Id: Id361dc6c92c2e6e2006485a0f7e2a040f904f9b4
2023-10-03 13:08:21 +09:00
Takashi Kajinami 5818316d39 RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: I5830f13c2081033076bb0ed8a2854e2fc32a6725
2023-09-15 10:20:53 +09:00
Takashi Kajinami 30b188b1b9 Add support for store weight option
This introduces the support for the weight option in each store which
is used to sort locations.

Depends-on: https://review.opendev.org/886811
Change-Id: Ia08ab9b396a9f7ba3ee1f41a81cb666e9a80ccde
2023-09-12 10:44:03 +09:00
Zuul b15e90fad8 Merge "Add [DEFAULT] lock_path to glance-cache.conf" 2023-09-11 18:28:13 +00:00
Zuul 3ac36bf615 Merge "Avoid unnecessary service restart after modifying glance-cache.conf" 2023-09-11 16:51:56 +00:00
Takashi Kajinami 29de49f662 Do not restart services after policy file changes
The oslo.policy library has implementations to detect change in policy
rules and reload the new rules without service restart.

Change-Id: I83b2e24fe124b05673372cd832b034b4d3ccc853
2023-09-11 12:27:59 +09:00
Takashi Kajinami 7e75ca5163 Avoid unnecessary service restart after modifying glance-cache.conf
The glance-cache.conf file is not used by glance-api, but it is used
by only CLI commands. So we don't have to restart the glance-api
service when this config file is modified.

Change-Id: I49d5fa3965af0faedd54b6cf21261b66516a3643
2023-09-11 02:14:53 +00:00
Takashi Kajinami b1aaafa39b Add [DEFAULT] lock_path to glance-cache.conf
This option is required to access image data when cinder backend is
used.

Related-Bug: #2034893
Change-Id: Ic5e1d1c55fe31d48b8c9605beaabbc12446682dd
2023-09-11 10:44:08 +09:00
Takashi Kajinami 10d7bbdeef Add all store options to glance-cache.conf
The glance-cache.conf is used by the glance-cache-prefetcher command
which requires access to backend store. Thus all store options should
be added to the glance-cache.conf file so that backend store can be
loaded properly.

Closes-Bug: #2034893
Change-Id: I8f0b2be8b138d267364f20ff81876902b225d29e
2023-09-08 18:56:20 +09:00