... because these were deprecated during Yoga cycle[1][2][3].
[1] c507b55112d09c80f1598a28fee40c522ff26a14
[2] 3fe4b7d3a0ae0c7f76471a5c230b71caa7f242ef
[3] 16bcc44238bd018c527c87c4cd0542f5cadc5774
Change-Id: If96c5ac9016f799977218b24d9103e8efab093b7
Usage of 0.0.0.0 exposes API endpoint to all networks and can cause
unexpected leakage. This change updates the default to use more
restricted address (127.0.0.1, which is the default defined in Watcher
itself) unless the address is given by a user explicitly.
Change-Id: Ibc895cf2b06d3b0c1b2073d8d6aa90d7d6f299d2
This change introduces a separate class for watcher_clients_auth
parameters, which are currently managed by watcher::api, so that
we follow the best practise to create a class per config section.
Change-Id: I5fb1bb6ceca65c53c6d513db6683dc11f9b42635
... becaushe the auth_uri parameter is ineffective and has never been
implemented in keystoneauth.
Change-Id: Ib2fce8b7ec03b5d2a42a5ab68bcd5734f908677e
Currently when api service is disabled, puppet-watcher doesn't manage
any parameters in the [api] section. However this behavior is not
required since these parameters are just unused, might leave unmanaged
parameters it once configures, and is just redundant.
This change makes the [api] parameters always managed by puppet.
Also, redundant parameter names, prefixed by 'watcher_api_`` are
renamed because it's very clear the parameters in the ``watcher::api``
class is basically for [api] stuff.
Change-Id: I37362094b2d4b13368658ef3e0b0b0b4be415af2
The default project in keystone is named services. In order to keep
it consistent, the default value of project_name is changed to services.
Change-Id: I615989da04d074eb948451ef8d1271f3575bd71c
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: Ic1d30e49dc878f997c4d8e0eb228b2e80da578c0
Adds support to run watcher-api with mod-wsgi[0].
[0]https://review.openstack.org/#/c/450740/
Change-Id: Ie6bbde98bee19ccc4a938bba28b66b759ccd3307
Implements: blueprint wsgi-support
1) Add deps to all that is needed.
2) Fix hooks for external install & svc management.
3) Update releated spec tests.
Change-Id: Id3e0594631579c316c721dd53b0579808571ee95
By default it will use the ::os_workers fact. ::os_workers
is based on the number of processors (currently cpu/4) but is
capped at a maximum of 8 worker processors.
Change-Id: I415794daa6305d675b9341165a3722d2c0760560
Watcher-api doesn't need watcher::db class in service requirements,
because it is handled by deps class.
Change-Id: I61168aa307c3e751d78c979104e38e2cf72e48d2
This change updates the api class to pass the keystone_authtoken options
to the keystone::resource::authtoken now that those options are properly
supported.
Watcher configuration sample file doesn't include all of
keystonemiddleware parameters, but the parameters can be configured in
watcher config file.[1]
[1] - http://docs.openstack.org/developer/watcher/deploy/conf-files.html
Co-Authored-By: Daniel Pawlik <daniel.pawlik@corp.ovh.com>
Change-Id: I31f3b254b3c36fb30cf968195ee3e0520490a04f
Watcher package is available now for RedHat and Debian (experimental
repo).
Note: Watcher package is not available in Ubuntu repository.
Change-Id: Id805f0d3494a858ef43cb2ba396824592847d689