Commit Graph

73 Commits

Author SHA1 Message Date
gugug 110346a30f Retire the puppet-congress project - Step 2 Remove Project Content
Unfortunately Congress project has been retired already[1], so it is
useless to maintain puppet modules for it.

The annoucement can be found in the following link.
 http://lists.openstack.org/pipermail/openstack-discuss/2020-June/015555.html

[1] https://review.opendev.org/#/c/721742/

Depends-On: https://review.opendev.org/#/c/737133/
Change-Id: I348780c0f6900f06e378ee9117d6ac51749b82e9
2020-06-21 01:42:41 +09:00
Takashi Kajinami e0336e6ced 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: I79f49b3c39283e75a2cfeb753d73dfcb642910aa
2020-05-20 09:13:48 +09:00
Takashi Kajinami 11875c34a9 Replace deprecated drivers parameter by disabled_drivers
The [DEFAULT]drivers parameter was already deprecated in favor of the
new parameter, [DEFAULT]disabled_drivers [1].
This patch replaces the parameter in puppet-congress accordingly.

[1] 82a708abcf72892c0864c9beef1c412cf3b23194

Change-Id: I77bb6e64b6bae7811be73d4a1615764095dcf0cd
2020-05-04 20:39:45 +09:00
ZhongShengping bbe1b14801 Deprecate min_pool_size option
min_pool_size option is not used,see:

https://review.opendev.org/#/c/565090/

Change-Id: Id297ac8406620d6c53216e7c2fd28eaefe685783
Closes-Bug: #1868511
2020-03-25 14:53:40 +08:00
ZhongShengping af0b924955 Remove idle_timeout option
The idle_timeout parameter has been deprecated for two releases.
We can remove it.

Change-Id: I387bee44e53fb7bcfe2d42c2c48c4e319ac51ad3
2020-03-23 14:45:48 +08:00
Tobias Urdin dd9e20b7b6 Convert all class usage to relative names
Change-Id: I81e530a24f90452054229a65a5d32baf96b9848f
2019-12-08 23:04:00 +01:00
ZhongShengping a4b4637fc3 Introduce the new rabbit_heartbeat_in_pthread option
oslo.messaging RabbitMQ driver have now a new option that allow user to
run the RabbitMQ heartbeat over a native python thread.

These change allow user to use this new option.

Change-Id: Ie38832955897dee71ec60276fe30474ce9f4b2bf
Closes-Bug: #1840868
2019-08-21 14:23:19 +08:00
ZhongShengping 483fe8929f Remove deprecated pki related options
The deprecated pki related options check_revocations_for_cached and
hash_algorithms option has been removed.

Change-Id: I4bbfc3149370470ca0133bba2e55fa71dc7d310a
2019-08-15 11:51:37 +08:00
ZhongShengping 49d89d34cd Add openstackclient installation to the client class
The repo is inside the openstackclient plugin commands[1].

[1]https://docs.openstack.org/python-openstackclient/latest/cli/plugin-commands.html

Change-Id: Ifa350a8056df0b5ff75d7755df4f05ed2a187272
2019-05-17 16:31:15 +08:00
ZhongShengping 1f2c317559 Deprecate idle_timeout option
The idle_timeout parameter is deprecated, use connection_recycle_time
instead[1].

[1]https://review.opendev.org/#/c/334182/

Change-Id: I84c45109e8b8b6767c9ede3f5a854e99eba83b30
Depends-On: https://review.opendev.org/656106/
Closes-Bug: #1826692
2019-04-28 15:00:07 +08:00
Zuul f453e34cb0 Merge "Use validate_legacy" 2019-02-25 17:23:46 +00:00
Tobias Urdin 614d13d969 Use validate_legacy
This changes all the puppet 3 validate_* functions
to use the validate_legacy function.

The validate_legacy function has been available since
about three years but require Puppet >= 4.4.0 and since
there is Puppet 4.10.12 as latest we should assume people
are running a fairly new Puppet 4 version.

This is the first step to then remove all validate function
calls and use proper types for parameter as described in spec [1].

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

Change-Id: Ic534a8249e3defc5f33a34580eaba8f478c4755a
2019-02-23 11:01:45 +01:00
ZhongShengping c1e3f13bd7 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: I95abaa0720ad38378dadf6d97114ee4f255d9713
Closes-Bug: 1778198
2019-02-15 10:03:01 +08:00
Tobias Urdin 6e24aa7349 Use puppet 4 compatible mysql functions
These was introduced in 6.0.0 and is required to
support later version of puppetlabs-mysql.

Change-Id: I3942f839d89cc02e695163e68f97cba48b416791
2019-02-08 12:00:49 +01:00
Tobias Urdin 09672d69cc Inherit pyvers from openstacklib::defaults
Change-Id: I3c19214409a7af5925d3d018e64519605d5cb25a
2019-01-17 21:22:40 +01:00
ZhongShengping 9a669562c3 Cleanup documentation
Make sure documentation is the same and follow
the standard which we are trying to enforce on
all modules.

Change-Id: I980dafb976e6b45e8dccaac46562e38f710e6cd3
2018-12-13 17:10:01 +08:00
Zuul 5fa9e36a2a Merge "Install python3 in Fedora or RedHat > 7" 2018-12-12 18:54:09 +00:00
Zuul 7e7cb02fa5 Merge "Dont include logging in init by default" 2018-12-12 01:20:17 +00:00
ZhongShengping 045b2f5c78 Install python3 in Fedora or RedHat > 7
Fedora repo [1] has python3 packages, start consuming those.

[1] http://trunk.rdoproject.org/fedora/puppet-passed-ci/

Change-Id: I333042ff90b5fb3eb9270bdaca1f640c3372dcf2
2018-12-12 08:26:22 +08:00
Tobias Urdin c7ea1a1d5f Dont include logging in init by default
Change-Id: Ibbfe066da8ecdcfb281285483a9622f4695001c1
2018-11-29 10:06:27 +01:00
Tobias Urdin 160e5b2ac3 Remove auth_uri
Change-Id: Ia0d58ab12b64e2079c66417f637d4cef4484d712
2018-11-28 23:54:37 +01:00
ZhongShengping 7936f5f50e 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: I7a5f8e21629ef8db6fec5c8050deb632a09f87c6
Closes-Bug: #1804562
Closes-Bug: #1804720
2018-11-23 10:21:33 +08:00
zhubingbing ad8262be34 Fix annotations
Change-Id: I0e2b700125412cd40ee243e50b9887405c9af94c
2018-06-15 15:07:37 +08:00
Zuul 9b1408ab3a Merge "Replace port 35357 with 5000" 2018-05-28 03:49:59 +00:00
Tobias Urdin aef7941268 Remove deprecated parameters
Removes deprecated parameters that has been
deprecated for one cycle or more.

Change-Id: Ic8a697525dd659dff13e91a00b573890e61a30ff
2018-05-21 23:04:13 +02:00
qiaomin 449593df6a Replace port 35357 with 5000
Now that the v2.0 API has been removed, we don't have a reason to
include deployment instructions for two separate applications on
different ports.

Change-Id: Ic1d30e49dc878f997c4d8e0eb228b2e80da578c1
2018-05-13 01:01:22 +08:00
Zuul 9abdfbdf54 Merge "Debian is using python3-congressclient" 2018-04-13 03:14:59 +00:00
zhubingbing 937174c8e4 Debian is using python3-congressclient
Change-Id: I314960ec65ab05f08ec54493178603a1977af48b
2018-04-12 13:35:33 +08:00
ZhongShengping fc67380b90 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: I4c80914e75e341c939bd765d94eb233441cf0d61
Depends-On: I4c82a63baabd6b9304b302c97cd751a0103d8316
Closes-Bug: #1759098
2018-04-03 16:54:59 +08:00
ZhongShengping 8174fd96e3 Remove deprecated keystone authtoken revocation_cache_time option
Change-Id: I5c09aaa8e0d8caf0fd646fbf37420f49ccbd98c0
2018-03-27 10:33:20 +08:00
ZhongShengping 7f6e61f534 Add pool_timeout option
Add pool_timeout option to configure this value for pool_timeout with
SQLAlchemy.

Change-Id: I3c068e51ebc4a6dd71a53adef63f52676a0cc5ee
Closes-Bug: #1757581
2018-03-22 11:09:50 +08:00
Zuul 9617fd664b Merge "Drop all qpid related explanations" 2018-03-14 02:54:33 +00:00
ZhongShengping be770957ad Add 'openstack-db' tag to db-sync Exec resource
In order to make easy orchestration on all OpenStack db-sync, add this
tag so people can use this tag in composition layer.
A use case it to set some orchestration to make sure MySQL Galera is
ready before running any Exec with this tag.

Change-Id: I901de48e1a8644499a7ab60c7d632cf17eee7e20
Closes-Bug: #1755102
2018-03-12 16:33:06 +08:00
ZhongShengping af668a9313 Drop all qpid related explanations
Qpid was removed in Mitaka from Oslo Messaging, so we
can remove all qpid related explanations.

Change-Id: I55064d134dee5faaeddfd0511e257ad3a3f11a94
2018-03-09 15:04:23 +08:00
ZhongShengping 12815da5bd Add some kombu options
Adds the kombu_failover_strategy option for configuring
oslo.messaging.rabbit. This will determines how the next RabbitMQ node
is chosen in case the one we are currently connected to becomes
unavailable.

Change-Id: I6362858759b3af0e350ac52ffe4f89bba59526fb
Closes-Bug: #1748353
2018-02-09 14:17:17 +08:00
ZhongShengping 2d54e73e66 Add use_journal option for logging configuration
This enables oslo.log to pass logging records to journald.

Change-Id: Ib746f31438dc80f0ae519ee738d54b09d0153e6d
2018-01-15 15:37:11 +08:00
Emilien Macchi 83fcf0a23d Add group to policy management
The move of policy.json into code means the file may not exist. We've
added support to ensure that the file exists in the openstacklib but we
need to make sure the permissions are right for each service. This adds
the group information to the policies so it works right.

Depends-On: I26e8b1384f4f69712da9d06a4c565dfd1f17c9ed
Change-Id: Ic0b3bfee864ad58c7469e9eff2265b700ada9a50
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2018-01-10 14:22:34 -08:00
ZhongShengping 460dadee73 Expose use_json logging option
It enables JSON-formatted logging from oslo.log.

Change-Id: Idb8b76b343c604502fd5b151d92e502bbfad108b
2017-12-01 21:54:10 +00:00
Alex Schultz 9a1b00ce0b Remove ceilometer_driver datasource
It was removed upstream and causes service start failures if included.

Change-Id: Iec384137bc05669938041f3aed26fdf3ef02f5f7
Related-Bug: #1729761
2017-12-01 14:52:56 -07:00
ZhongShengping e5499039ce Configure *_domain_name to Default by default
Keystone v2.0 API was removed so we have no choice but configuring
user_domain_name and project_domain_name otherwise it fallbacks to
Keystone v2.0 and it fails. This patch sets the default value so we make
sure Keystone v3 will be used out of the box for our users.

Change-Id: Id9af211a39a59ee1dab34a800c5be2a7f50d7649
2017-10-13 14:28:52 +08:00
ZhongShengping 4dbb68ee00 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: Ic08c00b15b1fd3d50f88711a7d4057dd13d1d850
Closes-Bug: #1717144
2017-09-14 11:08:17 +08:00
ZhongShengping 714978792e Deprecate oslo.messaging rpc_backend option parameter
Oslo.messaging uses the transport_url to represent the rpc and
notification messaging driver to use and its full configuration. The
rpc_backend configuration option is deprecated for removal and
should not gate oslo.messaging driver configuration options.

This patch:
* deprecate rpc_backend
* remove conditional check
* update spec tests
* add release note

Change-Id: I0ba609ca5c311b52635efd3c3364a258fd197d5f
Closes-Bug: #1708976
2017-08-07 13:49:33 +08:00
ZhongShengping 0e5b333b88 Add api_paste type/provider for congress
Add congress_api_paste_ini type/provider for congress.
Also add the capability to configure api-paste.ini with config.pp.

Change-Id: Ifb7150fb383636efa0dc76a68bafdfd70ee623cb
Closes-Bug: #1483371
2017-07-26 11:31:56 +08:00
ZhongShengping 70101e913f Add notification_driver and notification_topics option
Add notification_driver to configure driver or drivers for handling
sending notifications.
Add notification_topics to configure AMQP topic used for OpenStack
notifications.

Change-Id: If950332037daddba378fc1269ac74e4495c8c383
2017-02-20 20:36:35 +08:00
Dan Radez 7fd796110c Updating service name for Red Hat platform
Change-Id: Ie7952e8963e5fcd897900808da8d842c273b6fa5
2017-02-09 15:33:18 -05:00
ZhongShengping 72d8ea5ec3 Add control_exchange and rpc_response_timeout options
Add control_exchange to configure an exchange name for message.
Add rpc_response_timeout to configure seconds time for waiting
for a response from a call.

Change-Id: If742135eca611bf46b7838a72c20ff1c72b61f00
2017-01-28 13:31:38 +08:00
ZhongShengping 8f860c56e0 Add oslo::db to dependency chain
All db settings should be applied and all releated packages should be
installed before dbsync starts.

Change-Id: Iecbef43471b8ff18858434dbd9dc8b7a8673ec28
2017-01-22 21:35:08 +08:00
Matthew J. Black 32960680f2 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: I84d4edc2ebcee9f10e2248fa9961a5af4e0572a4
2017-01-12 23:10:05 +00:00
ZhongShengping c1554959e6 Remove signing_dir option
The signing_dir is deprecated for removel because PKI token format
is no longer supported.

Change-Id: Iee207a7a7f16ce7eac8b8778621bc9e69acd6b4d
Closes-Bug: #1652700
2016-12-28 08:49:20 +08:00
Dan Radez 90cf1892e9 updating service name
red hat systems refer to the congress service as openstack-congress
updating the params to reflect this.

Change-Id: I300be98d6c6782d882018827aed7aeebc142e617
Signed-off-by: Dan Radez <dradez@redhat.com>
2016-12-22 09:32:28 -05:00