Commit Graph

22 Commits

Author SHA1 Message Date
Takashi Kajinami ced3a19408 Retire puppet-ec2api: Remove Project Content
Depends-on: https://review.opendev.org/c/openstack/project-config/+/912710
Change-Id: If7970a4632ff4bbe7211160f95a4c8b791cd892e
2024-03-13 16:40:36 +09:00
Takashi Kajinami 1d11686c5b Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: I35dced2e96a4aa3ba29a385b4c81062be4feb48c
2023-03-01 16:09:32 +09:00
Takashi Kajinami 630380ce90 Accept system scope credentials for Keystone API request
This change is the first step to support secure RBAC and allows usage
of system scope credentials for Keystone API request.

This change covers the following two items.
 - assignment of system scope roles to system user
 - credential parameters for authtoken middleware

Depends-on: https://review.opendev.org/804325
Change-Id: I3858399136f886841c14c2880918cb8e6ee86756
2022-01-24 13:39:57 +09:00
Takashi Kajinami 3676923863 Add support for the keystone_authtoken/service_type parameter
Change-Id: Ib339a05f90665933784047a5d8c09963a91a7923
2020-11-03 17:48:51 +09:00
ZhongShengping 69e3ae15e4 Add service_token_roles for keystone authtoken config
Add the ability to configure service_token_roles.

Change-Id: I0376fd70a261413621726b82524f57ab59b1c73e
Closes-Bug: #1892284
2020-08-20 10:41:27 +08:00
Lewis Denny 8610a7e5c4 Add support for the interface parameter in authtoken middleware
This patch adds support for [keystone_authtoken] interface parameter,
so that operators can define which endpoint should be used by authtoken
middleware.

Change-Id: I7cdb181057ad8a126fbbdd5d0862827a2ed28062
2020-07-16 10:40:24 +10:00
Tobias Urdin b32c33cb86 Convert all class usage to relative names
Change-Id: I62abdd4c63236a44e0c93d21d82702b930ad2c1b
2019-12-08 23:04:51 +01:00
ZhongShengping 11fdf1b3fd Remove deprecated pki related options
The deprecated pki related options check_revocations_for_cached and
hash_algorithms option has been removed.

Change-Id: I135a206ea8ef22e6761f85a67b8fa752c09cc5df
2019-08-15 11:51:37 +08:00
ZhongShengping 1c40ef70f3 Service_token_roles_required missing in the server config file
Service_token_roles_required missing in the server config file which
allows backwards compatibility to ensure that the service tokens are
compared against a list of possible roles for validity.

Change-Id: Idd23d6b6d3c2bd1d81d9387cacb4471599e56e88
Closes-Bug: 1778198
2019-02-15 10:03:02 +08:00
Tobias Urdin e975540389 Remove auth_uri
Change-Id: Ifc0a8c6dae579ab4d57121f5bcf2d9f6d8a38e1c
2018-11-30 11:09:19 +01:00
ZhongShengping d22c97150e Deprecate pki related options
check_revocations_for_cached and hash_algorithms are deprecated for
removel because of PKI token format is no longer supported.
Update warning message and add a release note.

Change-Id: If6a8d4a55316103b8aad2e65796bfcafe807d231
Closes-Bug: #1804562
Closes-Bug: #1804720
2018-11-23 10:21:52 +08:00
melissaml b81a91f2d8 Replace port 35357 with 5000 for "auth_url"
Based on the change in Keystone Install Guide [1],
this patch replace port 35357 with 5000 for "auth_url".

For more details, please check similar changes which have been done
on other projects: Nova [2], Neutron [3], Cinder [4], Glance [5].

[1] https://review.openstack.org/#/c/541857
[2] https://review.openstack.org/#/c/562812
[3] https://review.openstack.org/#/c/566491
[4] https://review.openstack.org/#/c/565464
[5] https://review.openstack.org/#/c/558932

Change-Id: Id1253df00293fe3b2827cc115bce25c91d924d67
2018-05-21 14:36:00 +08:00
zhubingbing 3b296efc89 neat: missing : in $::os_service_default
Change-Id: If004ddb1ed6567374f843bd3a71d81fab761d69b
2018-05-11 14:02:39 +08:00
ZhongShengping c5697efc43 Deprecate auth_uri option
Option auth_uri from group keystone_authtoken is deprecated[1].
Use option www_authenticate_uri from group keystone_authtoken.

[1]https://review.openstack.org/#/c/508522/

Change-Id: Ie7a5a791f7fafaf9bd60aea2e6bd84e5f9c3f68f
Depends-On: I4c82a63baabd6b9304b302c97cd751a0103d8316
Closes-Bug: #1759098
2018-04-03 16:55:00 +08:00
ZhongShengping 6ed038b1cd Remove deprecated keystone authtoken revocation_cache_time option
Change-Id: Iebec88eb35f6cd53d1a0b8b421c5dd97f31887a7
2018-03-27 10:33:21 +08:00
yatin 43615b4d4a Set *_domain_name vars to 'Default' by default
Keystone v2 api's are removed in [1], so it's required
to set user_domain_name and project_domain_name otherwise
all requests fallbacks to keystone v2.0 and fails.

[1] https://review.openstack.org/#/c/499783/

Change-Id: I820ffe3601733d7e7ea95f09ba0e3c1034a9d44a
2017-10-06 12:37:43 +05:30
ZhongShengping 4045d67e59 Deprecate revocation_cache_time option
The revocation_cache_time is deprecated for removel because of PKI
token format is no longer supported.
Update warning message and add a release note.

Change-Id: I8924ac7b09add0dd81c5df698e9fa46072e8c573
Closes-Bug: #1717144
2017-09-14 13:48:40 +08:00
Matthew J. Black 34e3c96320 Allow python-memcache install from authtoken class
The python-memcache package is required if using memcached. By
default the package is not installed and the define has it set to
false. This change allows managing the python-memcache package
install from the authtoken class.

Change-Id: I020f00b4de2535c72ee459af91058fb15c00daeb
2017-01-11 18:46:46 -05:00
ZhongShengping a6f198abd3 Remove signing_dir option
The signing_dir is deprecated for removel because PKI token format
is no longer supported.

Change-Id: I7707c9e44b3d6ab63e10385f6549c30e2880daf4
Closes-Bug: #1652700
2016-12-28 08:55:08 +08:00
ZhongShengping 313139aeaa Add hooks for external install & svc management
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain.  This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.

Change-Id: Id42ab0d5ff332f169e2843a78c53694836d638fd
2016-12-06 10:02:54 +08:00
Iury Gregory Melo Ferreira 7344155a5b Fix authtoken
- Fix doc in authtoken class
- Fix metadata dependencies

Change-Id: I8a9c664b8de3f831efe5cf6890e51e8c9616941c
2016-08-27 00:54:45 -03:00
Iury Gregory Melo Ferreira 2f00a822b1 Change authtoken to class
Authtoken will be configure by a new class
instead of api class.

Since ec2api does not have release we remove
parameters in api.pp

Change-Id: I5867e2e1d06a4ef2a1c4dcf3d19deb51c14c70a7
Related-Bug: #1604463
2016-08-04 12:16:32 -03:00