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: I18389ff125c9f116b0f0682371698473e6974ac2
Closes-Bug: #1717144
The rpc_backend option has been removed in puppet-oslo[0], so we should
remove it.
[0]https://review.openstack.org/#/c/489264/
Change-Id: I2899da67ed9da1497904f41f6fa38d59e10a4cf9
Closes-Bug: #1708976
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: Id779b3cc169bee0d30ae16b37a6e03004b2e0dcc
This change configures the Ceilometer project name.
This allow to use Aodh and Gnocchi alarms as non admin user.
Change-Id: I8b8328a87997a3ba4e15bd711d266b564153a2d3
The unit tests were broken by a change to openstacklib
Id09c3358c5843510e6a2a8c0e2d4aeb3607e098b which renamed some of the
resources in the openstacklib classes. The problem is that our tests in
this module should not have been testing what occurs within openstacklib
so this fix updates the tests to only check what we are doing within
this module.
Change-Id: I0daf11f459ceffecd53a1291a700bb7fcfa21483
Depends-On: I9d535ab38afea852559df2b3073bd4b74a2a3947
The configuration is done via the oslo::messaging::rabbit resource
from puppet-oslo. We should be checking for the resource that we're
using instead of the underlying configuration file.
Change-Id: I3472959e0be1e817caaecd36cf4c6c54485c6063
The parameter name used to enforce package state is inconsistent across
manifests and modules. I settle on package_ensure since it's already
widely used.
Change-Id: I4392919b99e51a11896ea88d7de431d01b99f8f3
Closes-Bug: #1668732
I7ccd995ef01c2d54427684718adba054260fdd52 removed the rpc_backend
declaration for amqp so we need to stop checking for it in the unit
tests.
Change-Id: I45209060dc2726cdb7e69450126d7ab242aaddf3
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: I980d8a4532a90b2d94ebcfa06578616f09f23c6c
1) Update Ubuntu wsgi location
The location of the app.wsgi has changed from /usr/share/aodh-common to
/usr/share/aodh.
2) Install packages before apache
The apache module cleans up the vhost configurations and in Ubuntu the
packaging is include a default configuration. To ensure this file is
removed at the right time, we should make sure we install our software
before doing the apache configuration when running under apache.
Change-Id: I272c03f19d7182c4a731a1ef0fcbc2b9c6ca0b97
Closes-Bug: #1657293
Closes-Bug: #1657847
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: I56e335c77e1512acc3432275b2381b10ba919fb0
The signing_dir is deprecated for removel because of PKI token format
is no longer supported.
Update warning message and release note.
Change-Id: I4b60cbf1c48bc344f1ea223afb35d268e9472ac8
Closes-Bug: #1652700
This adds defined anchor points for external modules to hook into the
software install, config and service dependency chain. This allows
external modules to manage software installation (virtualenv,
containers, etc) and service management (pacemaker) without needing rely
on resources that may change or be renamed.
Change-Id: Ibc184a50cf16b7048e0f7249f8894d8661bb76fe
Since we are in ocata lets remove all
old parameters in api to configure
the keystone_authtoken section
Change-Id: I6d023c3092e735d5cc021169c43c847df446b2aa
Aodh is now using the HTTPProxyToWSGI middleware from
oslo.middlware in its default api-paste configuration [1]. This commit
gives us the ability to enable/disable that middlware.
[1] If2ada8a94c8e1ceacd4509605b4cd766a78f71d5
Change-Id: I0981e152700ed4511b797011ebe18e857c1fed71
This patch changes the default worker count from ::processorcount to the
new ::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.
This is a much more reasonable default in general and prevents excessive
resource consumption on systems with a large number of CPUs.
Change-Id: Id7c5f3df32b4f350d93ed85b6293fe69e64c2cc3
Since this module was last updated to use rspec-puppet-facts, a few
additional tests were missed. This change updates the last two tests to
use rspec-puppet-facts.
Change-Id: Idd5f80e797574d0e5661e22ec4d631beba0e358e
In aodh::api, use keystone::resource::authtoken to configure
keystone_authtoken section in aodh.conf, with all parameters
required to configure keystonemiddleware.
This patch will allow to deploy aodh to use Keystone v3 authentification.
Some deprecations:
- aodh::api::keystone_tenant is deprecated in favor of
aodh::keystone::authtoken::project_name.
- aodh::api::keystone_user is deprecated in favor of
aodh::keystone::authtoken::username.
- aodh::api::keystone_password is deprecated in favor of
aodh::keystone::authtoken::password.
- aodh::api::keystone_project_domain_name is deprecated in favor of
aodh::keystone::authtoken::project_domain_name
- aodh::api::keystone_user_domain_name is deprecated in favor of
aodh::keystone::authtoken::user_domain_name
- aodh::api::keystone_auth_type is deprecated in favor of
aodh::keystone::authtoken::auth_type
- aodh::api::keystone_auth_uri is deprecated in favor of
aodh::keystone::authtoken::auth_uri
- aodh::api::keystone_identity_uri is deprecated in favor of
aodh::keystone::authtoken::auth_url
- aodh::api::keystone_auth_url is deprecated in favor of
aodh::keystone::authtoken::auth_url
- aodh::api::memcached_servers is deprecated in favor of
aodh::keystone::authtoken::memcached_servers
Change-Id: Id8b3d8265f3554865fd77b291f235219b147efb9
Related-Bug: #1604463
This change adds the abiltity to manage the memcached servers for the
keystone authtoken configuration in aodh::api
Change-Id: Idaf7728dafb39df71531759cf06029dd44dd39f2
Update service_credentials and keystone_authtoken parameters to support
Keystone v3 by default.
* Add project_domain_name and user_domain_name, default to default
domain.
* Add auth_type default to password.
* Deprecate keystone_identity_uri and add auth_url.
* Update tenant_name to project_name, in a transparent way.
See:
http://www.jamielennox.net/blog/2015/02/23/v3-authentication-with-auth-token-middleware/
Change-Id: I32bc862b2d8f654ba5696e5267fdd5d1d6dda6e0
This change updates the aodh::keystone::auth class to include a default
service_name of 'aodh' so that if a user changes the auth_name, the
service is still created as being related to 'aodh'. This improves the
user experiance when they want to customize the usernames for services.
Change-Id: I9de75cbe7947282739e13e2f397ee7e919f7dc9f
Closes-Bug: #1590040
Add the option in order to facilitate management.
User can ensure that only the options they hoped
are configured.
Change-Id: I6b31aefe35329111323499b70bd8d94bc317c20d
This commit adds the transport_url parameters for oslo.messaging. The url is
of the form:
transport::/user:pass@host:port/virtual_host
Where the transport scheme specifies the rpc or notification backend as one of
rabbit, amqp, zmq, etc. Oslo.messaging is deprecating the host, port and
auth configuration options [1]. All drivers will get these options via the
transport_url.
This patch:
* use oslo::messaging::default resource
* use olso::messaging::notifications resource
* add new parameters for transport_url(s)
* update spec tests for added parameters
* add feature release not
[1] https://review.openstack.org/#/c/317285/
Change-Id: If9e028cbcd0db4b8e472cbcd11407807f2a8c198
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: I03b278415861f58ffee810244b6eeabfa2e2127c
This commit adds support for the oslo.messaging amqp rpc_backend
which enables the AMQP 1.0 driver. A proposed feature for the
Newton oslo.messaging release is an update to the AMQP 1.0 driver
to support a stateless messaging interconnect for RPC traffic [1].
This patch:
* use oslo::messaging::amqp resource
* add new parameters for the oslo_messaging_amqp driver
* update spec tests for amqp as alternate rpc_backend
* add feature release note
[1] https://blueprints.launchpad.net/oslo.messaging/+spec/amqp-dispatch-router
Change-Id: Ica192f3b5da5f02745e25b6a6b7c344dcaf7cc99
Update default values for oslo rabbit parameters to os_service_default.
Also add missed kombu_compression parameter. Update unit tests
Change-Id: I83c811cf1ff17ade60062a39be1e9dcb2b8345ac
This patch will update the parameters class
using the default fact $::os_service_default
Also the parameters order in the class doc
is fixed and ordered according the class
parameters.
Change-Id: Iace9cd7e3706f8c9c500dcb9037e4e93a6217105
The db_max_retries parameter regulates the number of reconnection
attempts performed after an error raised rather than at startup.
Change-Id: Iaf0d5ada30e0ea57d454ab1850cc61ee658cef64
Closes-Bug: 1579718
Co-Authored-By: Giulio Fidende <gfidente@redhat.com>
Qpid support was removed in OpenStack/Mitaka, but deprecated in
puppet-aodh. It's now totally removed in Newton.
Change-Id: Ic78193899d3483b6e28d7701091bb016a592a72b
This change includes the aodh_config configuration of the policy file in
the aodh::policy class.
Change-Id: I1f13db69165dce3d8774ca14b43e2fa095ee881f
Depends-On: I4e24d49ed7e84a3b5cb991e912ed320c393569e4
Patch I6a989915df2529febaf980ddedc11f699d49147e missed release note,
so this commit adds it.
Also updates policy file and cleans params file.
Change-Id: I75a400258f629791b5dc2db6128c7d4107ef9375
This commit switches using of oslo options to a puppet-oslo module:
* oslo messaging notifications;
* oslo messaging rabbitmq;
* oslo log;
* oslo db;
Change-Id: I6a989915df2529febaf980ddedc11f699d49147e