This ensures the dependencies on the monasca roles are deployed
after the initial deploy steps of monasca. This allows us to
install on the host the packages required for the extra roles,
until they are fixed. Moreover, the grafana-ansible role is being
moved to ansible-grafana from cloudalchemy repository.
Change-Id: I9381c4994e38933fd12c02c673bfe409daf2a59c
Co-Authored-By: Guilherme Steinmüller <guilhermesp@lsd.ufcg.edu.br>
Ansible's Jinja2 templater reporting an error when encounters with
non-ascii characters:
An exception occurred during task execution.
To see the full traceback, use -vvv. The error was: UnicodeDecodeError:
'ascii' codec can't decode byte 0xe2 in position 278:
ordinal not in range(128)
fatal: [infra1_monasca_container-ba51ad87]: FAILED! =>
{"failed": true,
"msg": "Unexpected failure during module execution.", "stdout": ""}
Change-Id: I4021b46dfe30cd51656dd4c7c68edd2f04b8f6fd
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: I130bfe3995bc5fbb5d9a2b13c9fcd5dac47c0085
Implements: blueprint deprecate-auth-uri-option
Recent changes added two new columns to the monasca-api database.
This change updates the database creation script accordingly.
Change-Id: I877a0b285dd796847119572d31d2931882bf51eb
This change fixes monasca modules to work with the latest version
of monascaclient.
Other minor changes:
- Use cryptography instead of pycrypto
- Removed duplicate variable for monasca_api_port
- Added static paths for dashboards
Change-Id: Ib4fe27c276413bb2e1e5da3fe532d824745c5b99
This patch refactors the whole monasca role by bringing consistency
with the other openstack-ansible roles. Main changes include:
- Install services on its specific cointainer;
- monasca-thresh, monasca-notification and monasca-persister was
not being installed/configured, now it is;
- Tempest tests are ran for the whole monasca-api;
- The service should be fully functional;
- Added documentation.
The extras directory contains the changes necessary to openstack-
ansible to setup monasca.
Change-Id: Ib53d4311c4b4aa722c7cdf7b18632e23b8639a56
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: Ie14d80dd4134bd7bb9cd5467503e634fb5bd7b9d
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: I619ab58574eedece7e00e323f91aeaec4c5b5a6e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
There was a typo in token cache time that prevented the token
cache time to be set.
This should fix it.
Change-Id: I4765c4b29b1bb6f8db67adec93adb8cb5844c167
- Making role more compatible with keystone v3
- Replacing variable names with more OSA aligned styling
Change-Id: I5b7230301faedfdfa63f12e51ccadcc16c26639a
- This patch returns status code 200 if keystone auth token is
retrieved.
- Minor adjustments to the keystone middleware sections.
- Adjustments in user naming in service endpoint creations.
Change-Id: Ifbb356634b29f1586c44e1135a761bf1f6adddb0
- This patch is to provide monasca backend services and monasca api,log-api
- Adding the use of dictionary for service group mappings.
- Switching to use tested external roles for backend services.
Change-Id: I7f6335f12a4b3a13acf6b644f16587ab1b46745f