Commit Graph

15 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 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 67a614a46e Do not test authtoken parameters directly
The authtoken parameters are not managed directly but managed by
the keystone::resource::authtoken class. Thus we should avoid testing
parameters directly otherwise any change in the resource type can
cause test failures.

Change-Id: I57471c563a4a72ada8f8611b94a8e2a1e7b2df3e
2022-01-24 11:35:53 +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
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
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
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
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
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