Commit Graph

10 Commits

Author SHA1 Message Date
Guilherme Steinmüller 1f61130240 Retire openstack-ansible-os_watcher
Change-Id: I0dfd5318a7b953618673eb4ffd17f89a1cf900c4
2019-04-24 16:51:54 -04:00
Andy Smith cbe8947272 Update to use oslo.messaging service for RPC and Notify
This introduces oslo.messaging variables that define the RPC and
Notify transports for the OpenStack services. These parameters replace
the rabbitmq values and are used to generate the messaging
transport_url for the service.

This patch:
* Add oslo.messaging variables for RPC and Notify to defaults
* Add transport_url generation to conf template
* Add oslo.messaging to tests inventory and update tests
* Update readme
* Install extra packages for optional drivers
* Add release note

Change-Id: Ie43bcf4c5a8414072f1917ab8b30a034a514c51b
2018-07-26 09:16:46 +00:00
melissaml f9a9b304bc Update auth_uri option to www_authenticate_uri
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: Ib417c8a3ad87a8cfa7cab905db2ff08cc00ca691
2018-04-17 04:52:36 +08:00
ZhongShengping 92146602e6 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: I22b9d0f06d2c547bc7ee6ae47a0bb0393ddede3d
Implements: blueprint deprecate-auth-uri-option
2018-04-03 14:16:53 +08:00
ZhongShengping def63e48c6 Deprecate rabbit_use_ssl option
Option "rabbit_use_ssl" from group "oslo_messaging_rabbit" is deprecated.
Use option "ssl" from group "oslo_messaging_rabbit".

Change-Id: Ic881e5dfecb4a48acc1fae09272880ba3803ab77
Implements: blueprint deprecate-rabbit-use-ssl
2017-05-23 10:37:29 +08:00
Jesse Pretorius 7cfbf9f424 Reduce init restart/kill times
The systemd unit 'TimeoutSec' value which controls the time
between sending a SIGTERM signal and a SIGKILL signal when
stopping or restarting the service has been reduced from 300
seconds to 120 seconds. This provides 2 minutes for long-lived
sessions to drain while preventing new ones from starting
before a restart or a stop.

The 'RestartSec' value which controls the time between the
service stop and start when restarting has been reduced from
150 seconds to 2 seconds to make the restart happen faster.

These values can be adjusted by using the *_init_config_overrides
variables which use the config_template task to change template
defaults.

Change-Id: I8b220ca95512dcaccce5524f51c044b16c09b1b4
2017-05-16 11:44:39 +00:00
Kevin Carter 539cc073ee Ensure the components are isolated from the system
This creates a specific slice which all OpenStack services will operate
from. By creating an independent slice these components will be governed
away from the system slice allowing us to better optimise resource
consumption.

See the following for more information on slices:

* https://www.freedesktop.org/software/systemd/man/systemd.slice.html

See for following for more information on resource controls:

* https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html

Tools like ``systemd-cgtop`` and ``systemd-cgls`` will now give us
insight into specific processes, process groups, and resouce consumption
in ways that we've not had access to before. To enable some of this reporting
the accounting options have been added to the [Service] section of the unit
file.

Change-Id: I1edfb6bd1896f8c2b6f26c77ba02923e69fb2f37
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-03-30 15:07:48 +00:00
ZhongShengping 9612036d58 watcher_keystone_auth_plugin does not take effect
Change-Id: Ic6b957c40a9c6d24206e29491a309832cb2f60c6
Closes-Bug: #1674874
2017-03-22 11:30:54 +08:00
ZhongShengping 84e224aec6 Remove pki support
Change-Id: Iffa4f0e4a8f3dc43bb898827ad4fcec6fc428ae2
Implements: blueprint remove-pki
2016-12-29 13:49:33 +08:00
Michael Gugino 76a013f814 Initial commit
This is the initial commit for the watcher role.
2016-08-22 13:37:00 -04:00