1493 Commits

Author SHA1 Message Date
Takashi Kajinami
95b1acaa36 Fix missing usage of openstack_integration::apache
This patch fixes openstack_integration::apache still missing in beaker
tests, to avoid failures in CentOS8 beaker job.

Change-Id: I3f87fa90944d467997cc9cf34a0942179836d0f1
2020-08-28 14:29:28 +09:00
Tobias Urdin
960c621923 Remove deprecated bind, port and workers parameters
Change-Id: I4291174f58b8cc74a687fa63734d249bcdba31aa
2020-08-18 09:35:02 +02:00
Tobias Urdin
b8b8dfeb78 Remove deprecated token_driver parameter
Change-Id: I7e57d097fb2f4fdb0edee308a45f4099d8098735
2020-08-18 09:25:59 +02:00
Tobias Urdin
35f5e5e520 Remove deprecated database_min_pool_size parameter
Change-Id: Ia1208fc902064ce5cf3dc769e72cade497142e68
2020-08-18 09:23:56 +02:00
Tobias Urdin
ee755ad4ed Remove deprecated validate parameters from init
Change-Id: I926838347e92884f85a92d421e568f079ae7a8d4
2020-08-18 09:21:17 +02:00
Tobias Urdin
5ae2172cbc Remove deprecated keystone cache parameters
Change-Id: Iae8a1263ef40c83e107a08a5d0f2b6f98214a8f0
2020-08-18 09:17:18 +02:00
Tobias Urdin
5181859291 Remove deprecated keystone::service params
Change-Id: I732a1e8ce8ae2500ac4ff0a1a82a6f1d3336fee1
2020-08-14 23:26:35 +02:00
Takashi Kajinami
093e6f16fa Use common class to manage apache service in beaker job
Depends-on: https://review.opendev.org/#/c/745246/
Change-Id: I5fc2b81f8a48e51a60daea311530645ce05f5fc5
2020-08-07 09:42:40 +09:00
Zuul
3184e2079d Merge "Add support for service_type in authtoken config" 2020-07-30 16:03:46 +00:00
Zuul
3b03d50a15 Merge "Unset public_endpoint by default" 2020-07-30 16:03:45 +00:00
Zuul
011f93545d Merge "allow to specify drivername for postgres db" 2020-07-30 15:54:01 +00:00
Zuul
190b35d9c9 Merge "Deprecate ineffective ignore_default_tenant parameter" 2020-07-30 15:39:15 +00:00
ZhongShengping
57e0353fa3 Prepare Victoria M2
Update the version metadata for Victoria milestone M2

Change-Id: Ic2b418f66ca52a8f340fb7c23462b76ddb1aa3ad
2020-07-30 13:35:28 +08:00
Kieran Spear
aba4a00d29 Add support for service_type in authtoken config
This is used to validate tokens that have restricted access rules.

Change-Id: I1ba6aef478592e681887d87380a15ee8667ff006
2020-07-30 10:49:52 +10:00
Takashi Kajinami
72796c30b2 Deprecate ineffective ignore_default_tenant parameter
The keystone::resource::service_identity::ignore_default_tenant has
been ineffective in fact, since tenant parameters were removed from
keystone_user resource[1].
This patch deprecates that useless parameter.

[1] 8461e9acfbf7783e69489a4bdd6a24532bd4e33a

Change-Id: Id90dd6fc5c352f696ecea9a4a98c6b6ba04db3aa
2020-07-29 14:34:45 +00:00
Benedikt Trefzer
7e0ea6b296 allow to specify drivername for postgres db
in newer versions of sqlalchemy a drivername is required to
avoid a warning. For postgres the driver is psycopg2.
The driver is optional.

Change-Id: Iffc84d224fd9891261d787241687991fd97f48f7
2020-07-28 16:23:49 +02:00
Takashi Kajinami
a1a1e62012 Unset public_endpoint by default
When public_endpoint is set but different urls are used for endpoints
(especially for admin endpoint and public endpoint), it can cause
problem with self-url detection in keystone because it always assumes
that the url should be directed to that public_endpoint even when
a request comes from admin endpoint.

This patch makes public_endpoint unset by default to avoid issues in
the deployment where admin endpoint and public endpoint are still
separated.

Related-bug: #1889017
Change-Id: Ia43e9dcd8085bbb0954b64873504398a85771032
2020-07-27 08:56:17 +09:00
Zuul
d5e3a563e6 Merge "Convert more to rspec-puppet-facts" 2020-07-14 18:14:19 +00:00
Tobias Urdin
8f5c6835db Convert more to rspec-puppet-facts
After this it's only the keystone init class and the
keystone ldap backend definition left.

puppet-keystone is the last module then everything
is using rspec-puppet-facts.

Change-Id: I3d22478a6d3f9feeacfa7d6ca9c728f9f9f2b361
2020-07-14 10:22:54 +02:00
Tobias Urdin
fc30737487 Always pass --name when flushing keystone_service
Running "openstack service set <id> --description="
will throw an error [1].

The error occurs because the request to Keystone must include any
of enabled, name or type to satisfy the minProperties of the patch
request.

This patch always sets the --name parameter when calling the openstack
command so that we satisfy this requirement.

[1] http://paste.openstack.org/show/795869/

Change-Id: Ie4e2fe62ee7734f657f765c352ba542360c0e1d7
2020-07-13 19:19:06 +00:00
Tobias Urdin
fec22dbe8e Change to relative includes
Change-Id: Ife77f742fa875ab32040359b917599ec2ef844c0
2020-07-13 21:16:26 +02:00
Zuul
4d0889a3dd Merge "Use relative name for class inclusion" 2020-07-13 05:04:57 +00:00
Takashi Kajinami
d5196dbc6f Use relative name for class inclusion
This patch replces the remaining usage of absolute name in class
inclusion and makes all class inclusion depend on relative name.

Change-Id: I1f4f0ac44acad4831dfacd19de081ff25c6cb159
2020-07-09 15:58:11 +09:00
Zuul
498aca15dd Merge "Add support for trust_flush cron job" 2020-07-06 16:49:59 +00:00
Zuul
b0e2c76684 Merge "Deprecate keystone::cron::token_fush" 2020-07-06 15:44:43 +00:00
Zuul
5504649539 Merge "Remove deprecated bootstrap code" 2020-07-06 15:44:43 +00:00
Takashi Kajinami
4cca2330a2 Add support for trust_flush cron job
This patch introcues a new class, keystone::cron::trust_flush, so that
operators can configure a cron job to flush expired or soft deleted
trusts[1] periodically.

[1] 8232dabcf9

Change-Id: I1b0b66424d98b9181153e98f4b623ef30e8e1d09
2020-07-06 18:59:48 +09:00
Takashi Kajinami
fd8badd39c Deprecate keystone::cron::token_fush
... because ``keystone-manage token_flush`` was already removed from
keystone[1].

[1] 48dcdb5ad3

Change-Id: I8a7abed59468f93d48aa38a47ad4f72d994da79a
2020-07-06 09:59:39 +09:00
Zuul
87499a232a Merge "Prepare Victoria M1" 2020-06-20 10:50:28 +00:00
ZhongShengping
351a390441 Prepare Victoria M1
Update the version metadata for Victoria milestone M1

Change-Id: I4abd47216a52baf0bf335208132ef96bab17c5d7
2020-06-19 10:38:55 +08:00
Tobias Urdin
e421e3ad9c Remove deprecated bootstrap code
Removes all the deprecated code related to
the old admin token and bootstrap usage in
favor of the new keystone::bootstrap class.

Change-Id: Ic339b88708eb98a067530b9741301c3f2dafddd5
2020-06-18 18:25:55 +02:00
Tobias Urdin
5ba56d49bf Ensure fernet keys are created before bootstrap
The bootstrap command will fail if the fernet keys
has not been created/generated or it will fail.

See [1] this output.

[1] http://paste.openstack.org/show/794949/

Change-Id: I560438a9bd402feba425656ba5213a087ab9e663
2020-06-18 16:20:47 +02:00
Zuul
9ebf00d435 Merge "Remove deprecated options for pki token" 2020-06-08 23:14:10 +00:00
Takashi Kajinami
ca063bfd77 Remove deprecated options for pki token
This patch removes the remaining options related to pki token, which
were deprecated a while ago[1]

[1] a25e8ee970e13a71cbcd1842a5b0735251aecc43

Change-Id: I913b9223dc00817423d8eb1866abcfe09cddeb94
2020-06-08 23:48:41 +09:00
Andreas Jaeger
a097b638a1 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I04c9d04d8fe08f8a283c4c8fd7e5250d864f6087
2020-06-02 14:40:41 +02:00
Zuul
e5987885e1 Merge "Update Puppet requirement to >= 6.0.0" 2020-06-01 19:09:47 +00:00
Zuul
a850afcaf2 Merge "Deprecate $service_name = keystone-public-keystone-admin" 2020-06-01 18:59:20 +00:00
Tobias Urdin
c55a59d12d Update Puppet requirement to >= 6.0.0
Change-Id: I938a6adb71255b1ee6586050954420d6759f457c
2020-05-30 09:50:30 +02:00
Thomas Goirand
1569d892cd Deprecate $service_name = keystone-public-keystone-admin
This was for before the admin port was deprecated upstream.
This isn't needed anymore and we can deprecate it.

Change-Id: I2f570183c4dc7d3e1630bba899887bcd7495a8dd
2020-05-29 02:59:52 +00:00
Tobias Urdin
3fa63db938 Install the correct memcache bindings for py3
Change-Id: I51184bb0153f2754dc6bc0d445020d218f6ecc3a
2020-05-27 12:06:26 +02:00
Takashi Kajinami
f4f18ec73b Remove unnecessary puppet-rabbitmq from dependencies
puppet-rabbitmq is not directly included by each puppet modules, so
we don't need it listed in dependencies.

Change-Id: I43dc6d4e3c1e352cd9eab07ddc10857344e190d1
2020-05-26 22:08:10 +09:00
Zuul
a19abefcc8 Merge "Update doc to reflect code" 2020-05-20 11:10:57 +00:00
Zuul
ad45728a47 Merge "Remove password hash generation in each puppet modules" 2020-05-20 05:40:17 +00:00
Takashi Kajinami
8ab7ef4044 Remove password hash generation in each puppet modules
... and migrate it to openstacklib so that all logics about database
configuration are implemented in one common place.

Depends-on: https://review.opendev.org/#/c/728595/
Change-Id: Ie564c3ae6023a36f317b963872059509754970e5
2020-05-19 20:14:26 +09:00
Jake Yip
252e349aae Update doc to reflect code
In Change Ic38e41b31155a7d3a4f1f5fc606421dd525c1025, a behaviour was
changed to default public_endpoint to http://127.0.0.1:5000, instead of
not setting it in keystone.conf. Update document to reflect the change.

Change-Id: Ife5ac322809efa137c9dc2cb5d0dde2d07e979f7
2020-05-19 20:27:28 +10:00
Alex Schultz
99594a0e22 Bump version for the start of Victoria
Bump the major version for the Victoria release afte Ussuir has
been branched.

Change-Id: I471e7e7fd12f5a78931f6f07e58dbfa865eeadaf
2020-05-14 12:26:30 -06:00
Zuul
368683a8d0 Merge "[ussuri][goal] Add CONTRIBUTING.rst" 2020-05-12 12:44:28 +00:00
ZhongShengping
20f804735a Bump reno to 2.5.0
Change-Id: Ie5a33507eb79d6c70afde916cb16d8fd24b24f1c
2020-05-12 10:50:06 +08:00
Zuul
b0381359e8 Merge "Add CentOS8 to nodesets" 2020-05-11 23:06:01 +00:00
Tobias Urdin
004f6158d1 [ussuri][goal] Add CONTRIBUTING.rst
Story: 2007236
Task: 38552

Depends-On: https://review.opendev.org/#/c/726509/
Change-Id: I95289efb746d2904968ac6668c3c87166712a211
2020-05-10 22:40:06 +02:00