Commit Graph

875 Commits

Author SHA1 Message Date
Zuul 77710a94bd Merge "Support max_password_length config option" 2024-04-17 16:42:58 +00:00
Sam Morrison ac752a4ee1 Support max_password_length config option
Change-Id: Ic00419f12a922d866b490e351d0eb87c96380315
2024-04-17 09:03:25 +00:00
Takashi Kajinami 2c0537d1a6 boostrap: Validate interface
The interface parameter accepts only public, internal or admin. This
enforces this requirement using parameter type.

Change-Id: Iedbf8e2daf3f45232537c01df1c566641a231c79
2024-04-14 00:38:30 +09:00
Zuul cc26f22ff1 Merge "Deprecate support for [DEFAULT] catalog_template_file" 2024-04-11 17:20:54 +00:00
Tobias Urdin de567154f6 Set show_diff to false when configuring Federation
When we configure federation changes in configuration
files that contain sensitive informatio ncan be leaked
into the output.

Change-Id: I797fc8101837fe344c056a032ba98e5fbc8a2bec
2024-04-09 16:37:21 +02:00
Takashi Kajinami f233ad9240 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: I9c60cfe63697632fc816eec3aa2824578f0d3573
2024-04-08 16:46:41 +09:00
Takashi Kajinami 8780840907 Use native interface to inject vhost configuration
puppetlabs-apache provides a native interface to inject arbitrary
contents to vhost configuration files managed by the module.

Change-Id: Ia2489b5c79781a6335eea3ce2f6a19fd1c45b1c2
2024-03-29 04:06:56 +00:00
Zuul aacacdc154 Merge "Allow omitting admin/internal endpoint" 2024-03-18 16:19:17 +00:00
Takashi Kajinami 274ecb90d4 Allow omitting admin/internal endpoint
Keystone v3 API does not require that all the three endpoint types are
given and allows using only specific endpoint types(eg. only public, or
public and internal). This allows users to omit specific endpoint types
by setting endpoint url options to ''.

Change-Id: Ifef2070ad25cadf961466ca9f384965d03c08f81
2024-03-18 16:18:14 +09:00
Zuul 85ea68eecc Merge "Expose rabbit_transient_quorum_queue" 2024-03-15 04:09:17 +00:00
Takashi Kajinami 29a32c74a6 Deprecate support for [DEFAULT] catalog_template_file
The templated catalog driver has been deprecated in keystone, so we
should deprecate support for the driver options.

Change-Id: I5f3482397883e00d447eb08bed4c57821041826c
2024-03-15 01:48:41 +09:00
Takashi Kajinami 5e79239531 Deprecate amqp messaging driver support
... because the driver has been deprecated in oslo.messaging.

Change-Id: I5c55a06b39118156db845c4ee6d415cb4d695ea0
2024-03-14 09:35:53 +09:00
Takashi Kajinami da2bc869a3 Expose rabbit_transient_quorum_queue
Depends-on: https://review.opendev.org/911021
Change-Id: Ibe989d7a9bb10d6dff72b001c0e689bb029960b5
2024-03-14 09:34:06 +09:00
Zuul 50b5260cc6 Merge "openidc: Support more redis cache options" 2024-03-08 15:03:28 +00:00
Zuul c3eed5f9c7 Merge "identity provider: Drop reference to removed parameters" 2024-03-08 15:03:24 +00:00
Takashi Kajinami 3e8788c94e 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: Ie5e6e7b8dfa0753ccca1094f06a745fdb0acb5bc
2024-03-07 22:53:04 +09:00
Takashi Kajinami 7f611fe32d identity provider: Drop reference to removed parameters
The ssl parameters of the keystone class were already removed[1].

Also keystone defines its own defaults for certfile and keyfile so
these options are not actually required.

[1] b99810d6f9

Change-Id: I1adf1d04d575db8a1fbfdefc29700cf9ff27d254
2024-03-05 18:28:33 +09:00
Takashi Kajinami 6469c223f8 openidc: Support more redis cache options
Change-Id: I70cc5c2d0ecf10b4aa4e07e4af91609d1ad7cee3
2024-03-05 17:55:46 +09:00
Zuul 26d0bf2218 Merge "Refactor resource dependencies" 2024-03-04 16:27:14 +00:00
Takashi Kajinami 63696be457 cache: Make parameter description order consistent
... with parameter definition order.

Change-Id: I06b4b87f494be8b945fc866129c7607c7333c622
2024-03-01 10:51:49 +09:00
Takashi Kajinami 9fb48f7526 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 keystone on change in uwsgi only when a standalone service
   is used. uwsgi config is not used when keystone is run by apache.

Change-Id: Ic4f43215ea90c6b71fe4225e2dfa6a6a3abf6869
2024-03-01 10:29:13 +09:00
Takashi Kajinami 76422b5a30 cache: Support options for SASL mechanism in memcached
Depends-on: https://review.opendev.org/910122
Change-Id: Icdee612d5680ff4f0c1f04d236809a423e2817c2
2024-02-29 23:56:48 +09:00
Zuul ea0074dc78 Merge "service_identity: Allow omitting internal/admin endpoints" 2024-02-26 16:54:22 +00:00
Takashi Kajinami 2cc59127e4 service_identity: Allow omitting internal/admin endpoints
Keystone v3 API no longer requires all the three endpoint types are
created and some deployments may use only public endpoints (or public
and internal endpoints).

This looses the validation to allow such deployment architecture.

Change-Id: I3873352dd3ea8556fbaa4ce3c558a912cc5f52e7
2024-02-26 20:15:56 +09:00
Takashi Kajinami 5886b4fe23 healthcheck: Expose ignore_proxied_requests parameter
Depends-on: https://review.opendev.org/909807
Change-Id: I36065f01f7e945596b5d23cd8078381c0dccedf3
2024-02-26 01:21:58 +09:00
Zuul a94f767c0a Merge "federation: Ensure keyston::wsgi::apache is loaded" 2024-02-24 17:56:20 +00:00
Takashi Kajinami 2cc0bfdc74 federation: Ensure keyston::wsgi::apache is loaded
... otherwise the reference to keystone::wsgi::apache::priority fails.

Closes-Bug: #2054306
Change-Id: If33a0f50a071157314bbac820ce13dbd79bc9d3e
2024-02-20 00:20:43 +09:00
Zuul 9fa166a3cc Merge "Drop redundant default of send_service_user_token" 2024-01-23 16:32:41 +00:00
Takashi Kajinami 4261de3feb Drop redundant default of send_service_user_token
The option defaults to False, so we don't need the explicit default and
can replace it by os_service_default fact.

Change-Id: Iba52032d02c70258f79f0aae84a5b6059a0c1281
2024-01-23 14:38:22 +09:00
Zuul 68ae4c5e3d Merge "healthcheck: Expose allowed_source_ranges" 2024-01-18 16:48:30 +00:00
Takashi Kajinami b370f83843 healthcheck: Expose allowed_source_ranges
... which was added to puppet-oslo recently.

Depends-on: https://review.opendev.org/905557
Change-Id: I7a239c556c9e5615ed7668ae2d5ad6c0bf73b624
2024-01-17 15:23:54 +09:00
Zuul 6c202267c5 Merge "service_identity: Fix parameter descriptions" 2024-01-09 06:19:06 +00:00
Takashi Kajinami 3a2ba9a1c7 service_identity: Fix parameter descriptions
Some of the parameters are optional and required only when a specific
resource is created.

This also update the parameter types so that empty strings are rejected
properly.

Change-Id: I2010f079303eb40190908f4a8209ef6e87d1b915
2024-01-03 08:30:35 +00:00
Zuul 322a1e2962 Merge "Support [cache] memcache_pool_flush_on_reconnect" 2023-12-15 18:13:54 +00:00
Takashi Kajinami 30e759b35e Support [cache] memcache_pool_flush_on_reconnect
Depends-on: https://review.opendev.org/902861
Change-Id: Ib488afff91a994791b911d7c2cf79cad9aa99d85
2023-12-14 17:54:57 +09:00
Takashi Kajinami b634ad3eea Debian: Allow keystone without httpd
Debian provides the keystone service using uwsgi, which does not
require httpd.

Change-Id: I7897f4681b95cd047fa5f6d20a9a78c9a5879783
2023-12-12 10:28:41 +09:00
Takashi Kajinami 0d26abb8d5 Use new openstackclient tag
This looses dependency using the new openstackclient tag, which
requires only packages actually related to openstack CLI.

Depends-on: https://review.opendev.org/899594
Change-Id: I803e353ed5f13a98ae264c28810d08ea9e6e985b
2023-11-20 00:36:30 +09:00
Zuul 9836fa69f0 Merge "Add resource to manage implied roles" 2023-11-08 03:43:42 +00:00
Takashi Kajinami 01ffd0e4c3 Add resource to manage implied roles
Keystone supports implied roles, and some of the default roles imply
different roles. (eg. admin implies manager)

This introduces a resource type to manage implied roles, and also
ensures the implied roles are created in bootstrap.

Depends-on: https://review.opendev.org/900138
Change-Id: I36ef3ddfcb2f60bdca8674ea8055b6f57a149512
2023-11-06 14:38:08 +09:00
Takashi Kajinami c4ce6a3919 Debian: Fix missing authn_core when using shibboleth
... otherwise apache2 fails to start with the following error.

Invalid command 'AuthType', perhaps misspelled or defined by a module
not included in the server configuration

Change-Id: I2acf98008a39d44e394a9ac502549df7a07b4e8d
2023-11-06 02:06:55 +09:00
Zuul d53422469f Merge "RabbitMQ: Add support for quorum queue options" 2023-09-15 16:14:06 +00:00
Takashi Kajinami 7a84c30fd1 RabbitMQ: Add support for quorum queue options
Depends-on: https://review.opendev.org/894866
Change-Id: Ia52ed95999a66efdf3eaa0f645d93595392426ac
2023-09-15 11:25:30 +09:00
Takashi Kajinami d607ed74c5 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: I31089fd39ae4415d524f9db4b25e939d9b2e7533
2023-09-11 12:28:48 +09:00
Zuul fa8bad5cf2 Merge "Remove redundant order enforcement about apache installation" 2023-08-17 03:30:23 +00:00
Zuul 6484cce4e0 Merge "Ensure [mapped] remote_id_attribute is purged" 2023-08-16 11:57:13 +00:00
Zuul e38567b501 Merge "Ensure [openid] remote_id_attribute is purged" 2023-08-16 11:57:12 +00:00
Zuul d8c8fbd22f Merge "Remove cleanup of module plugin options" 2023-08-16 08:36:22 +00:00
Takashi Kajinami d1989af67d Ensure [mapped] remote_id_attribute is purged
... otherwise the option can be left even after websso is disabled.

Change-Id: I53afdc8ba16596c80cd6dcd25a1a531fe45ae03d
2023-08-15 17:14:12 +09:00
Takashi Kajinami 581f52dfc0 Ensure [openid] remote_id_attribute is purged
... so that an old value is not left.

Change-Id: Ife69c518416f523e2d8b8c07455e1f1d9d65defc
2023-08-15 15:27:36 +09:00
Takashi Kajinami bd55eb81ba Remove cleanup of module plugin options
These cleanups were added by [1] a while ago so we can assume the old
option has been purged during upgrade.

[1] 73f863e21c

Change-Id: I3b278c7969ca1764aeb4d0e0271d742ed3fea3b2
2023-08-15 15:24:42 +09:00