Commit Graph

3281 Commits

Author SHA1 Message Date
Zuul dd59f94f57 Merge "Remove deprecated nova::periodic_interval" 2024-04-26 03:37:51 +00:00
Zuul 1aa4cce270 Merge "Remove deprecated cells v1 upgrade_levels parameters" 2024-04-25 15:20:39 +00:00
Zuul 1ebe4ac2c8 Merge "Use secret_ceph resource in nova::compute::rbd" 2024-04-25 15:20:38 +00:00
Zuul 96acc50a11 Merge "Add nova::compute::libvirt::secret_ceph resource" 2024-04-25 15:20:36 +00:00
Tobias Urdin d033bb39de Use secret_ceph resource in nova::compute::rbd
This migrates the libvirt secret handling in the
nova::compute::rbd class to using the new
secret_ceph definition.

We also deprecate the rbd_keyring approach were
we now require the usage of libvirt_rbd_secret_key
if manage_libvirt_secret is set to true (the default)
and we have a libvirt_rbd_secret_uuid given.

Change-Id: I8be56ebfc7c7ed6fb6d1d92f0ffec4a6d714a5d1
2024-04-23 09:10:04 +00:00
Tobias Urdin a7498d6dbc Add nova::compute::libvirt::secret_ceph resource
This adds the nova::compute::libvirt::secret_ceph
resource definition that can be used to define
libvirt secrets of ceph type.

Before this patch one could only handle one libvirt
secret by configuring the parameters in the
nova::compute::rbd class and with this one can
configure multiple.

This adds a new manage_libvirt_secret parameter
defaulting to true in the nova::compute::rbd class
so that one can disable the creation of the libvirt
secret from that class.

Change-Id: Ief031f5dd4b0648d5629789cb7d6d2f6f946fbf8
2024-04-23 11:09:51 +02:00
Zuul 7040f189ef Merge "libvirt: Support array for log_filters and log_outputs" 2024-04-23 08:05:18 +00:00
Takashi Kajinami b23268b083 Remove deprecated nova::periodic_interval
The parameter was deprecated in 23.0.0 release (2023.1)[1] and has had
no effect since then.

[1] 9d97a00634

Change-Id: Icc1b7f412c49f350c35be7f4a2fe9278808f6e15
2024-04-23 16:22:30 +09:00
Takashi Kajinami 1faa288038 Remove deprecated cells v1 upgrade_levels parameters
These were deprecated during 2023.2 cycle[1] so can be removed now.

[1] adbb5ce857

Change-Id: If10406a2e5872277ca56638f35d5bfaa44458ec9
2024-04-23 16:19:53 +09:00
Zuul ddde8befa8 Merge "Add missing test coverage about [quota] driver option" 2024-04-22 14:53:53 +00:00
Zuul 958b162911 Merge "Remove deprecated nova::scheduler::filter parameters" 2024-04-22 14:53:51 +00:00
Zuul 6ed6d7ba7e Merge "Remove deprecated api class parameters" 2024-04-22 14:44:20 +00:00
Zuul 4d2702016a Merge "virtlockd: Remove redundant pick" 2024-04-22 13:50:01 +00:00
Zuul 23aa10026a Merge "Improve test coverage of virtlockd class" 2024-04-19 16:19:40 +00:00
Takashi Kajinami 05db6ce121 Add missing test coverage about [quota] driver option
Change-Id: If37facbca2fd5d0592b7f5472b317bc96f71eab3
2024-04-19 14:19:54 +09:00
Takashi Kajinami cf2e04dda2 libvirt: Support array for log_filters and log_outputs
log_filters and log_outputs accept multiple items separated by single
spaces.

Change-Id: I58cbbf5ead4da9f36f9b1f2d2cf79e266d373134
2024-04-19 14:14:50 +09:00
Takashi Kajinami 94bf78b04e Remove deprecated nova::scheduler::filter parameters
These were deprecated during the previous cycle because of shortened
parameter names.

Change-Id: I2a3e3ce2a9961258895ed20cddad7c4aa37d775f
2024-04-19 02:07:37 +00:00
Takashi Kajinami 17b3724ec8 Remove deprecated api class parameters
These parameters were deprecated during the previous cycle and have
had no effect.

Change-Id: I3c1ef0de244d6a40ed2af89615748abdbaf3fdfe
2024-04-19 02:07:31 +00:00
Takashi Kajinami dea69138aa virtlockd: Remove redundant pick
Change-Id: Ia990b052ea9ea41dc27cfb35ddfb50d82250b570
2024-04-19 10:09:58 +09:00
Takashi Kajinami 9d6f46d1cf Improve test coverage of virtlockd class
Change-Id: I4d430fe072deb86d0043e2fd5e23a8f5f612fc5b
2024-04-19 10:09:54 +09:00
OpenStack Release Bot 685e33aa47 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: Ib322810b94af80e7bef166d78083b0b2f39785d4
2024-04-18 10:48:08 +00:00
Takashi Kajinami f011966893 Prepare 2024.1 release
Change-Id: I0b4ae6e96fbae47d65d93b781c66a04c0a9d6ae2
2024-04-15 22:31:13 +09:00
Zuul 8633ef31ac Merge "reno: Update master for unmaintained/xena" 2024-04-12 13:02:47 +00:00
OpenStack Release Bot bbef641b55 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I387c33574c0af18604879da86e5a454cb9094770
2024-04-12 12:33:33 +00:00
OpenStack Release Bot f3c10a34b5 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I12600c328cad4946e96d0cf8bd5d0c98cc705899
2024-04-12 12:25:49 +00:00
Zuul 57d31d0fbd Merge "Set show_diff to false for Nova SSH private key" 2024-04-11 15:33:55 +00:00
Zuul c35529dcd3 Merge "ironic: Support options to distribute baremetal management" 2024-04-11 15:33:53 +00:00
Zuul da0093fbb2 Merge "Avoid deprecated live_migration_uri if possible" 2024-04-11 15:30:43 +00:00
Tobias Urdin 75fbe61987 Set show_diff to false for Nova SSH private key
The private key is currently being leaked into
the diff output.

Change-Id: I94170f76257c77d1eabeeb3d373c05c50413c53d
2024-04-08 20:11:51 +00:00
Takashi Kajinami 7c7f60cc84 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: Ib0937e1c3f6f97959b59e2c5812e3dfe696b6dba
2024-04-08 16:43:50 +09:00
Takashi Kajinami d452e60c7c ironic: Support options to distribute baremetal management
The ironic driver now provides a few options to distribute baremetal
node management among multilple nova-compute.

Change-Id: I7fbceb00422c2bd6ae7d594321fe09789fe0a3f3
2024-04-08 10:45:58 +09:00
Takashi Kajinami 34f0c8c722 Avoid deprecated live_migration_uri if possible
The live_migration_uri option was deprecated in favor of the new
live_migration_(scheme|inbound_addr) options.

Note that the new options does not allow customizing some parameters
for ssh, which were possible by the deprecated _uri option, so
the legacy option is still used if a user requests any of the options
currently not configurable by the new options.

Related-Bug: #1680729
Change-Id: I88c9777999cb091b8570c642e75b0332fb103294
2024-04-06 12:13:26 +09:00
Takashi Kajinami 83c9e4b17b Add consoleauth option support
Change-Id: Ic77b0a4aa0715344ed32c74cc11c114a6232af73
2024-04-04 09:30:44 +09:00
Zuul c990ec28c3 Merge "placement: Require password" 2024-04-03 20:44:24 +00:00
Zuul 5ec1ef579c Merge "nova_flavor: Fix broken idempotency with properties" 2024-04-03 11:37:13 +00:00
Takashi Kajinami 820695b463 nova_flavor: Fix broken idempotency with properties
Make sure that nova_flavor resource is idempotent when the "properties"
property is set. Also fix the typo causing undefined method error.

Closes-Bug: #2059949
Change-Id: I17a9d92c44b8dfe329b22b309d7a0408df707d1a
2024-04-02 17:05:11 +09:00
Takashi Kajinami 798ae4bdd9 placement: Require password
The parameter description says the option is required, but it hasn't
been actually required at the interface layer.

Change-Id: Ieabd550ebbb3e1407969866ba280ced7d4db2663
2024-04-02 10:34:07 +09:00
Tobias Urdin cc00e708de Consolidate boolean config opts in nova::compute
Make them more consistent by reducing the logic
and grouping them together.

Change-Id: I7c1dc27edaedb1d8835434f93ea5f6a2bf1b45eb
2024-03-20 20:08:55 +01:00
Tobias Urdin fb73d45b03 Add nova::compute::flat_injected parameter
This adds a parameter to the nova::compute class
for the flat_injected configuration option.

Change-Id: Idb6b9ce7e21a96e8c63e1c2976e4088a307b1c25
2024-03-20 20:02:33 +01:00
Zuul d18827eca2 Merge "mdev: Simplify handling of device_addresses" 2024-03-19 04:17:53 +00:00
Zuul 69a538fe9e Merge "mdev: Add support for max_instances" 2024-03-19 04:06:45 +00:00
Zuul f211a97cbd Merge "Replace usage of uriescape" 2024-03-18 16:26:40 +00:00
Takashi Kajinami 2dcad6d8dc Replace usage of uriescape
The uriescape function from puppetlabs-stdlib is no longer functional
in Puppet 8, because the URI.escape, which is internally used by that
function, is no longer available in Ruby 3+.

This replaces the function by own function to avoid the failure in
Puppet 8.

Closes-Bug: #2057860
Change-Id: I7b4db4c1e64416e20d8470cbff0b8497c6a0cfc9
2024-03-15 23:05:08 +09:00
Takashi Kajinami 1fbdef7ac6 mdev: Simplify handling of device_addresses
The device_addresses option defaults to an empty list ([]), so we don't
have to replace an empty string value by the os_service_default fact.

Change-Id: I244e80ff8a5d393fb94e8a4e635401eb88936b39
2024-03-15 18:36:10 +09:00
Takashi Kajinami f483df8d99 mdev: Add support for max_instances
... which was added during this cycle.

Depends-on: https://review.opendev.org/c/openstack/nova/+/899625
Change-Id: I85d6e8369359e82eda94029ad2c17067f22124ed
2024-03-15 18:35:09 +09:00
Zuul 7a8ad323dc Merge "Expose rabbit_transient_quorum_queue" 2024-03-15 04:05:57 +00:00
Takashi Kajinami 2c134f98cf Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021
Change-Id: Iafc91bdc229ab99f84f3a0dbc5fde2a6ecdc6583
2024-03-14 09:50:53 +09:00
Zuul 25d1d9c2a8 Merge "Refactor resource dependencies" 2024-03-09 06:58:36 +00:00
Takashi Kajinami cdd408392a cache: Support new redis options
The oslo.cache 3.7.0 release introduced some options for redis backend
and redis sentinel backend. This introduces for these parameters.

Depneds-on: https://review.opendev.org/910629
Change-Id: I0e7fa1e2134ec2cfcf1ae078e3fcf75b946dd699
2024-03-07 23:05:14 +09:00
Takashi Kajinami b47116d7aa 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: Id4916244bdf4cd4ff2b45a45ec3e25fb0d115249
2024-03-05 10:35:17 +09:00