2faa674e38c39c89971a03481b1daf4c9b366ecf
Commit Graph

33 Commits

Author SHA1 Message Date
iberezovskiy
f808902b73 Add support for oslo privilege separator management
Add oslo::privsep define to configure privsep_${entrypoint}
section of given config resource.
Change-Id: If4d52487f2a97fd6e26edf9c0d5dbc2300c09482
2016年08月19日 12:31:12 +03:00
Emilien Macchi
d028124277 cache: don't hardcode keystone-package tag to memcached package
Do not hardcode keystone-package tag to memcached package because the
resource can already be in catalog with another tag. Keep standard
'openstack' tag.
Change-Id: I3e400a5f64b85f0d374fc02cc5e4080d19d0f2e4
2016年07月27日 14:13:48 -04:00
Denis Egorenko
a6aff52bc8 Add support for ZeroMQ messaging system
This change adds possibility to configure ZeroMQ messaging system
for openstack services.
Change-Id: Ic6a81926545fccb0945ee939c1ba69a62d6fdf5c
2016年06月08日 17:22:06 -03:00
dmburmistrov
79405c9a37 Support pylibmc and memcache cache backend
Install relevant package for pylibmc and
memcache backend.
Depends-on: I4e965b6f5449a7104677f93b00af77ae21cba94b
Change-Id: I2e6a705971761754c59b4069b5dfdfd1dfd7f00f
2016年05月31日 15:35:02 +03:00
Juan Antonio Osorio Robles
a868b0b578 Enable SSL proxy middleware configuration
HTTPProxyToWSGI, from oslo.middleware requires a configuration
parameter to be enabled/disabled. This adds it.
Change-Id: I35256153b2f005e729be9d242f63ff14f393b54a
2016年05月19日 11:52:33 +03:00
Jenkins
869f0c61a9 Merge "Deprecate verbose option in logging" 2016年05月18日 10:17:32 +00:00
Jenkins
defa811af8 Merge "Add oslo.middleware defines" 2016年05月17日 20:21:02 +00:00
Xingchao Yu
cafe848a0a Add oslo.middleware defines
This patch aims to add defines related to oslo.middleware.
oslo.middleware has three sections by now:
 - oslo_middleware
 - cors
Co-Authored-By: Alex Schultz <aschultz@mirantis.com>
Change-Id: Ib9e2936c589ed6d35fe93f962c6e154b56fa2122
2016年05月17日 23:38:21 +08:00
Emilien Macchi
b3d13ee3e3 Deprecate verbose option in logging
Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
If this option is not set explicitly, there is no such warning.
Change-Id: Ic05e3744046be622314f7f16c839d2323818b353
2016年05月15日 23:25:08 +02:00
Denis Egorenko
b79dda880a Totally drop Qpid support
Qpid was removed in Mitaka from Oslo Messaging, so now we can
drop it in manifests.
Change-Id: I4c97e3dbf99465202870f9a6bbaa2daa415da6bf
2016年04月19日 17:31:00 +03:00
Jenkins
32b8e5d164 Merge "Switch oslo to use rspec-puppet-facts" 2016年04月15日 20:58:40 +00:00
iberezovskiy
678fd92d8f Implement oslo::service define
Implement service define to configure oslo.service
parameters from DEFAULT and ssl sections.
Simple unit tests are added as well.
Change-Id: I6259150c78432d31ffad5999693744e790f947c4
2016年04月13日 18:19:20 +03:00
Alex Schultz
93e94704da Switch oslo to use rspec-puppet-facts
This change updates puppet-oslo to use rspec-puppet-facts for all rspec
tests.
Change-Id: I88771a90ff534c6055f2c852ab7e6474bf68c7bd
2016年04月11日 08:39:17 -06:00
Jenkins
054cee1565 Merge "Refactor array values processing" 2016年04月08日 14:24:11 +00:00
Jenkins
0fe2ef36a3 Merge "Add "rpc_response_timeout" to oslo::messaging::default define" 2016年04月08日 11:45:44 +00:00
dmburmistrov
004b813cdb Refactor array values processing
We have different strategies in handling list
values. This patch is bringing the situation
to the consistent state in this question.
Arrays and csv-strings are allowed.
This allows to put this logic inside oslo module
and clean up code duplication in exterior modules
(which can just pass parameters to oslo).
Also patch bring a few updates to top-file docs
and tests.
Change-Id: I37a37d236e643d3cf39b46243119b8393a3feea7
2016年04月08日 13:38:30 +03:00
dmburmistrov
a3853cf50b Add "rpc_response_timeout" to oslo::messaging::default define
* Update docs
* Update unit tests
Change-Id: I0392eb323b03d07f3e2204ff17ae7c4d02245145
2016年04月07日 20:29:42 +03:00
dmburmistrov
b4c9d6a972 Update oslo::policy define
* Fix docs for parameters
* Use only one call of create_resources
* Prepare unit tests
Change-Id: I7310371b5c7e62e5038f5c172b6cbca44e4b2590
2016年04月07日 19:20:32 +03:00
dmburmistrov
f019bba460 Add oslo::messaging::default define
* Add top-file docs
* Prepare/update unit tests
* Set "rpc_backend" in specialized resource (amqp/rabbit)
Change-Id: I87b815253b0a919e86d41434d09655930eb5aaf0
2016年04月07日 14:04:01 +03:00
dmburmistrov
5321163380 Update oslo::concurrency define
* Fix docs for parameters
* Use only one call of "create_resources"
* Prepare unit tests
Change-Id: I6d57d0ddc18dc92caad6fe311617a71a7faa13dd
2016年04月05日 12:57:14 +03:00
Jenkins
415e4ba734 Merge "Update oslo::cache define" 2016年03月31日 17:57:58 +00:00
iberezovskiy
bf40ad3dc6 Update oslo::cache define
* Fix docs for parameter
* Use only one call of create_resources
* 'memcache_servers' and 'proxies' parameter should be
 arrays (list value). So, need to convert them to
 string joined with ','.
* Prepare unit tests
Change-Id: I1a36d39bb40574e1abfb6bad3daf11a043dd0f78
2016年03月31日 18:47:43 +03:00
iberezovskiy
a06fbf0784 Improvements for oslo::db define
* Add support for mongodb backend
* Add tag for db_backend_package resource
* Add unit tests
* Fix create_resources
Change-Id: I4f59dff23e7736f8632f7fc6f3967ac5eb3fc3dc
2016年03月31日 15:30:38 +03:00
Jenkins
6108afc9de Merge "Improvements for oslo::log define" 2016年03月31日 03:16:11 +00:00
Jenkins
0a399e19a3 Merge "Add ability to configure oslo_messaging_notifications" 2016年03月30日 20:09:55 +00:00
iberezovskiy
8ae52af64a Improvements for oslo::log define
* Deprecated options 'use_syslog_rfc_format' and
 'log_format' were removed. It can be done because
 this module wasn't released;
* Call of create_resources was reworked (one common call was left
 with hash of parameters);
* Create unit tests for this define.
Change-Id: Idfd98545e3a1341cf0fd46f7ddad65c11069ff68
2016年03月30日 18:16:16 +03:00
Denis Egorenko
887def4a65 Add ability to configure oslo_messaging_notifications
This patch adds a new class for managing oslo notifications
parameters.
[1] Ib51e2839f9035d0cc0e3f459939d9f9003a8c810
Change-Id: If2bf35c025c6c9a2a69a3f2381f0afd0dc93a2ec
2016年03月30日 12:47:52 +03:00
iberezovskiy
151b16141a Fix define name to oslo::messaging::rabbit
Make define name more clear for users
(similar to oslo::messaging::amqp).
Change-Id: I675b4156e51a89c6a6f75e6a986dd45f51da7189
2016年03月29日 21:20:20 +03:00
iberezovskiy
5b4a439df1 Fix values for rabbit_hosts
When rabbit_hosts parameter isn't set (service_default is used)
we are forming its value in that way: "$rabbit_host:$rabbit_port".
But when host or port or both aren't set (they are also service_default)
we can get rabbit_hosts set to "$rabbit_host:<SERVICE DEFAULT>"
or "<SERVICE DEFAULT>:$rabbit_port" or "<SERVICE DEFAULT>:<SERVICE DEFAULT>".
This patch fixes the issue. rabbit_hosts parameter will be set only if it's passed.
Change-Id: I9aed2b8a8718e0b0cfca3e25ef93fcff2ad8444a
2016年03月24日 14:54:04 +03:00
iberezovskiy
14b9a2d9f6 Rework oslo-messaging-rabbit class
Implement the same logic for rabbitmq parameters
as it's already used in all puppet modules.
Fix 'if' logic according to $::os_service_default.
Additional changes:
* add amqp_durable_queues parameter
* add kombu_compression parameter - new for Mitaka
 https://review.openstack.org/#/c/249215
* add 'secret => true' to rabbit password
* fix doc strings (make them < 80 characters)
* specify types for each parameter
Change-Id: Id41a07ad6a77e956493aca34fc892a51221d0aa2
2016年03月16日 20:45:32 +03:00
Xingchao
e913e8e601 Add define oslo::messaging::amqp
This patch aims to add a new define to manage parameters
in [oslo_messaging_amqp] which belongs to oslo.messaging.
Change-Id: If295b4375900f7f98d78deb7943d58f49fce811f
2016年02月19日 10:53:50 +08:00
Xingchao
83062c3624 Fix multiple bugs in puppet-oslo
This patch aims to make puppet-oslo work:
 - fix oslo::versionedobjects spec
 - fix oslo::policy
 - drop mock dependency
 - add acceptance by msync
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Closes-Bug: #1492636
Change-Id: Icbb1df3498432d2a95342a14ce57b45b65a132c9
2016年01月26日 01:34:40 +08:00
Xingchao Yu
6a8058ca1b Add rspec test for oslo::versionedobjects 2016年01月22日 18:39:32 +08:00