This change updates the module to use the rspec-puppet-facts as defined
in the puppet-openstack_spec_helper.
Change-Id: I2bcbe18556567ea4138e73977e3c291d8fc51cb4
Depends-On: I03303214096ea657078b27aff6bbbd96b119ba30
Depends-On: Ieb49449c92249dc886669d62d3ea6d38669033be
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
Because of [1], we need to set some ordering, like we did in
puppet-openstack-integration.
[1] https://bugs.launchpad.net/aodh/+bug/1557154
Change-Id: Ifb1e90cdb9e92ea400524384285b8b70fba94444
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
Add aodh_api_paste_ini type/provider for aodh.
Also add the capability to configure api_paste.ini with config.pp.
Closes-Bug:1483371
Change-Id: Ia083df99901ccae646d5cc3c6414a3f126f1eac2
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
If we want Aodh able to talk to Gnocchi API, we need to configure
DEFAULT/gnocchi_url parameter in Aodh configuration.
This patch aims to do that.
Change-Id: Ib818b5ae4fa301c6c496fe800ae45c9b0a73222c
mock is not used anywhere in the module, let's drop it.
This patch will help to hit this bug:
https://launchpad.net/bugs/1492636
Change-Id: Ia4f85ce2088759ec6e07bda994f0c011a0886b36
* Add puppet-openstack_spec_helper to Gemfile
* Use puppet-openstack_spec_helper/defaults in spec_helper
* Delete spec/defaults.rb, useless now
Change-Id: Iba85d84a1dfec3721a3e5c76d4633aad2806af18
This change updates the test that currently do Debian/RedHat sets of
tests to use on_supported_os from rspec-puppet-facts. This improves the
over all coverage with the specific CentOS, Debian, RedHat and Ubuntu
flavors of facts.
Change-Id: Ibd7e2914419a492363de70d1e93c86abeeabc357
This change adds the rspec-puppet-facts gem to the spec helper so that
we can centralize the management of the base operating systems that we
support. rspec-puppet-facts allows us to simplify our unit tests and
provides a more complete list of Operating Systems and their associated
facts for the unit tests. With this change we can now loop over and
test CentOS, Debian, Fedora, RedHat, and Ubuntu by simply providing a
list of supported os to rspec-puppet-facts.
Additionally this change includes a central object for managing our
supported os list for rspec-puppet-facts and providing our default facts
like os_service_default. This central object should replace the usage of
@default_facts within the unit tests for each module.
Change-Id: I977b9f2fd1558d45128d8a0bd161faba982dda4e
This change adds the ability to use the python-pymysql library as the
backend for MySQL connections.
Change-Id: I7604cca9e2d7bf0b93c820adec5f937f72b64fa8