Commit Graph

37 Commits (a446693bae2dc8b9f309fc6cc37b3766993a0d9b)

Author SHA1 Message Date
Alex Schultz a446693bae Add rspec-puppet-facts to the spec_helper
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
2016-01-11 21:27:50 -07:00
Jenkins d7ca4c17be Merge "Support of PyMySQL driver for MySQL backend" 2016-01-08 18:42:24 +00:00
Iury Gregory Melo Ferreira 05e2098434 update Setup section
This patch update the Setup section:
-add Installing aodh
-remove stackforge reference in Beginning with aodh

Change-Id: Icf53bc02456fc775a3cb6ef6005bf60eb12fa82c
2016-01-07 15:56:28 +00:00
Alex Schultz a18c7f87d9 Support of PyMySQL driver for MySQL backend
This change adds the ability to use the python-pymysql library as the
backend for MySQL connections.

Change-Id: I7604cca9e2d7bf0b93c820adec5f937f72b64fa8
2016-01-05 07:57:53 -07:00
Emilien Macchi 9e3e5aa160 unit tests: make Keystone_endpoint match service by name/type
Since a chance in puppet-keystone (1], we now match an endpoint with a
service name/type.
This patch reflects this change for 'alarming' service endpoint.

Closes-Bug: #1528308

Change-Id: I663009b445c43868908f4c62e860647032cb647a
2015-12-22 18:04:42 +01:00
Gael Chamoulaud 86d3e7e214 Switch aodh to use os_service_default fact
This change switches the aodh module to use the os_service_default
fact for configuration options that default to '<SERVICE DEFAULT>'.

Related-bug: #1515273
Change-Id: I05488c8bdcb5f54976a17aa25bf8a3b9d46627bb
Signed-off-by: Gael Chamoulaud <>
2015-12-08 10:31:29 +01:00
Jenkins 6104ddc586 Merge "Remove qpid messaging support" 2015-12-07 23:55:33 +00:00
Denis Egorenko c86dd9741a Remove qpid messaging support
Qpid messaging driver is removed from Oslo.messaging [1]
Therefore, we cannot support it anymore.

[1] I4a9cba314c4a2f24307504fa7b5427424268b114

Change-Id: I9c4c04cbe4451380f67be067b5831d80fad48524
2015-12-07 20:19:32 +03:00
Javier Pena a0b22ffe0a Support MongoDB as backend db
states that MongoDB is the recommended storage backend for Aodh,
adding support for it.

Change-Id: I3542d01e2b294506d6d311a3e996a5f9ed4b9953
2015-11-26 17:11:58 +01:00
Emilien Macchi 3ebecd1a6f Checkout openstack-integration from master
Since stable/liberty was created, let's now checkout master to prepare
the next release (Mitaka).

Change-Id: I1ac93ebcac29b4f884cc12a6d968b9bfa1de9d16
2015-11-26 10:49:02 +00:00
Emilien Macchi 01ea2d51db metadata: fix module name
Change-Id: Id543abc5f1e775be57d96ca851ff3c10fd574b5f
2015-11-26 10:18:24 +01:00
Emilien Macchi a09301ab15 release: prepare 7.0.0 (liberty)
This patch prepares this Puppet module to be released in 7.x series (Liberty)
with 7.0.0.

Change-Id: I4197df608de51cca828aced39e9be3531967253c
2015-11-24 10:11:20 +01:00
Jenkins fd27b60ce5 Merge "Remove class_parameter_defaults puppet-lint check" 2015-11-24 08:58:25 +00:00
Emilien Macchi f601fedb7c Acceptance: use common bits from puppet-openstack-integration
Change-Id: Ie9eeefcbdcb27a92a49fcc6ce76b7e6ae817ef7b
2015-11-18 17:45:33 +01:00
Gael Chamoulaud bf7daddae7 Remove class_parameter_defaults puppet-lint check
Change-Id: I64d2559e86f5d116b648a9251baf2c24746781d9
Signed-off-by: Gael Chamoulaud <>
2015-11-12 11:28:59 +00:00
Emilien Macchi cd0920ff96 Tag all Aodh packages
Tag evaluator, listener and notifier.

Change-Id: I2a581c186d1bd70b1a1657b4282953a59634ea10
2015-11-04 20:38:06 +00:00
Emilien Macchi 42c34763bb Implement Listener service
* Manifest
* Unit tests
* Acceptance tests
* Example manifest

Change-Id: Ib4a65547fee27f1d7dedf0c508ef544a5347b2e6
2015-11-04 20:37:29 +00:00
Emilien Macchi 6e30e9f410 Implement Notifier service
* Manifest
* Unit tests
* Acceptance tests
* Example manifest

Change-Id: Ib0b82245fa9ffeb2c23bd26e2e7f3db6a0b6fe41
2015-11-03 15:47:56 +00:00
Emilien Macchi 78af0f02c3 Implement Client class
Install ceilometerclient (aodhclient does not exist yet):

* manifest
* unit tests
* acceptance tests
* example manifest

Change-Id: Ib644bd0896af71b5fd0379236c7650588fd407b2
2015-11-03 15:47:42 +00:00
Emilien Macchi 9510ce46e4 Implement Evaluator service
* Manifest for evaluator and auth
* acceptance
* example
* unit tests
* Fix dbsync command and run it to make evaluator work

Change-Id: I3e9f43ebeceaf62abed9412959c067c4bd4409da
2015-11-03 10:46:55 -05:00
Jenkins ea89099ff7 Merge "auth: fix doc for default port" 2015-10-30 06:25:41 +00:00
Jenkins 2f4dca98d2 Merge "api: fix default port to bind API service" 2015-10-29 14:23:39 +00:00
Sebastien Badia 1eeba2001b db: Use postgresql lib class for psycopg package
This patch introduce the same design than mysql for postgresql
by requiring dedicated lib::python class instead of declaring
a new resource package within aodh module.

This patch also add unit tests for aodh::db class.

Change-Id: I3f9ed49b44a9a7c89be06f40a5823cc24a66066e
2015-10-26 16:42:40 +01:00
Emilien Macchi 3c50874c7a auth: fix doc for default port
Make sure the doc is default to 8042 port.

Change-Id: I5cd963dbcb69ad09d51d25cc2ca809a09344c02a
2015-10-22 16:05:16 -04:00
Emilien Macchi fb8be80002 api: fix default port to bind API service
Due to a wrong copy paste, the default port was 8777 which is already
used by Ceilemeter API service. Let's use the default Aodh: 8042.

Change-Id: I5b51f7337f4381035849d2f2032e1063b428540d
2015-10-22 15:18:59 -04:00
Emilien Macchi 54f857d36b Implement API service
* Manifests to deploy Aodh API service
* WSGI support
* unit tests
* acceptance tests
* example manifest

Change-Id: I648310ae05bae37b1790514d0e7fe0bbc5a7bdde
2015-10-21 10:00:29 -04:00
Emilien Macchi 5a2607a7d1 Update aodh::logging
Synchronize logging class with other modules.

Change-Id: I4b13bf8de4cf51ab64ef6e9fd92732e1a5023bcf
2015-10-21 09:57:44 -04:00
Emilien Macchi 17a835e2e3 First implementation of init class
* Introduce basic parameters in init.pp
* Rspec tests
* Documentation
* Beaker tests

Change-Id: I61c4f1ca1571558490925f2874a274e3b427c3f0
2015-10-21 09:57:04 -04:00
Emilien Macchi 6b23e54129 Update rspec tests for keystone has been merged, we need to
drop the 'tenant' parameter to Keystone_user resource.

Change-Id: I5299c02874d7b2a984718ced087284e9cb325112
2015-10-21 09:44:13 -04:00
Jenkins 226fc0120c Merge "metadata: Fix openstacklib module namespace" 2015-10-21 10:15:28 +00:00
Sebastien Badia c62901e0cd metadata: Fix openstacklib module namespace
This patch update the forge namespace for openstacklib module, and fix
the dependency version.

Change-Id: I502db1d41f8079749a75a701392ae46c60023ce6
2015-10-20 14:23:27 +02:00
Emilien Macchi 2ed4efcabb acceptance: add basic manifest
Add a basic manifest so we can iterate by adding the services.

Next patches will follow the same pattern:

* manifests
* rspec tests
* documentation
* beaker tests

Change-Id: Ice2dccf8104f66e3ce0084f656aac610dcda1e3c
2015-10-19 18:26:23 -04:00
Emilien Macchi 51bada5009 auth: refactor to use *_url
Be consistent with other modules and use *_url parameters.

Change-Id: I2aea954d1246d3d70b7da33c5860da71560a8c59
2015-10-19 18:22:35 -04:00
Emilien Macchi 2cbfc044a7 params: add aodh package & service names
Add RDO & UCA packages and services names.

Change-Id: I58fc3f202ca439bc6b89a40d4977ae1fc0b25be2
2015-10-19 18:12:48 -04:00
Emilien Macchi 5fe889fdf5 Try to use zuul-cloner to prepare fixtures
In OpenStack Infra, we would like to run Puppet unit tests that
sometimes depends on other Puppet OpenStack modules.
Example: a patch in puppet-openstacklib that needs to be tested in puppet-nova.

This patch modifies the Rakefile to:
* clean spec_prep and spec_clean Rake tasks
* use openstack/puppet-openstack-integration/ script
  to clone modules.
* do not use .fixtures.yaml file to clone modules and rely on
  zuul-cloner or git.
* Add openstack/ in gitignore so we never commit the
  puppet-openstack-integration repository (can happen when spec_clean
  did not run but you want to submit the patch anyway)
* Allow to run a custom Puppetfile if PUPPETFILE env is exported. It
  will allow people to test the module with the dependencies they like,
  feature we had with .fixtures.yaml.

Also add 'r10k' to Gemfile.

That way, we will be able to use zuul dependencies and run tests accross
modules like we do with functional testing.

Change-Id: I22ce72a855bc9a2fce396a1d3f109c1f97615d4c
2015-10-08 14:43:15 -07:00
Emilien Macchi ca85542cc2 puppet-aodh: Initial commit
This is the initial commit for puppet-aodh.
It has been automatically generated using cookiecutter[1] and msync[2]


Change-Id: I17611e8608931cf69b8d9891620e901a8936e19e
2015-10-01 09:35:49 -04:00
OpenStack Project Creator 67198dcec2 Added .gitreview 2015-09-18 05:38:03 +00:00