]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/log
puppet-modules/puppet-ceilometer.git
8 years agoAdd event_pipeline.yaml management
Michael Chapman [Wed, 24 Feb 2016 02:46:08 +0000 (13:46 +1100)]
Add event_pipeline.yaml management

Allow event_pipeline.yaml to have publishers specified. This is
required to support aodh event alarms by pushing notifications
to an alarm queue as described here:

http://docs.openstack.org/developer/aodh/event-alarm.html

Change-Id: If367192f9c0214b3b4462788024dd9222dff558e
Signed-off-by: Michael Chapman <woppin@gmail.com>
8 years agoInclude openstacklib defaults manifest.
Sofer Athlan-Guyot [Tue, 5 Jul 2016 11:15:17 +0000 (13:15 +0200)]
Include openstacklib defaults manifest.

This provides a mechanism for setting defaults across all modules.

Change-Id: Id894a58c11112a65e3dcaaa829ecef8ee7e2ff5f
Related-Bug: 1599113
Depends-On: I9d0a10d48124ee71ea80134ceef96436c8ee196e

8 years agoPrepare 9.1.0 (newton-2) 9.1.0
Emilien Macchi [Thu, 7 Jul 2016 13:07:18 +0000 (09:07 -0400)]
Prepare 9.1.0 (newton-2)

Prepare the second milestone of Newton cycle.

Change-Id: Id1339b318ea6a3a144f71eda2d58c01d0a7a0216

8 years agoMerge "Add memcached_servers for keystone authtoken"
Jenkins [Fri, 1 Jul 2016 10:36:42 +0000 (10:36 +0000)]
Merge "Add memcached_servers for keystone authtoken"

8 years agoAdd memcached_servers for keystone authtoken
Alex Schultz [Thu, 30 Jun 2016 17:09:01 +0000 (11:09 -0600)]
Add memcached_servers for keystone authtoken

This change adds the abiltity to manage the memcached servers for the
keystone authtoken configuration in ceilometer::api

Change-Id: I5fe1ec35630a67fe08b5c7b475593c34044110e8

8 years agoRemove 12.04 and add 16.04 to metadata
Iury Gregory Melo Ferreira [Wed, 29 Jun 2016 23:45:57 +0000 (20:45 -0300)]
Remove 12.04 and add 16.04 to metadata

Change-Id: I1ae7b8472bd7375e86351efad622fbc369ad0bbf

8 years agoRemove mitaka release prelude note
Emilien Macchi [Tue, 28 Jun 2016 19:07:23 +0000 (15:07 -0400)]
Remove mitaka release prelude note

We had a prelude note when releasing Mitaka. This note
keep showing-up at every release while we're on Newton now.

We don't need a prelude release note, we already have nice sections
for every note we push.

This patch aims to remove this prelude starting from Newton.

Change-Id: I6eaa1ef4daa65895d0d7681b9016239275802612

8 years agoDon't print sensitive information to stdout during run.
Fabian Zimmermann [Tue, 28 Jun 2016 08:11:31 +0000 (10:11 +0200)]
Don't print sensitive information to stdout during run.

Closes-Bug: #1596840

Change-Id: I864d25f60fdf03f1683f6bcda6e1886baa01eb6c

9 years agoAdd nodepool-xenial.yml file
Emilien Macchi [Fri, 10 Jun 2016 17:30:14 +0000 (13:30 -0400)]
Add nodepool-xenial.yml file

To run Beaker jobs in OpenStack Infra, we need this file so we run tests
on the right nodeset

Change-Id: I7cea550a2502130d84be0857789c104fff57e4b6

9 years agofix variable name in comment
Benedikt Trefzer [Thu, 9 Jun 2016 07:31:05 +0000 (09:31 +0200)]
fix variable name in comment

Change-Id: I09a9267640c2f673d732792fd103ff850ff0945f

9 years agoMerge "Provide default service_name for keystone endpoint"
Jenkins [Wed, 8 Jun 2016 15:29:37 +0000 (15:29 +0000)]
Merge "Provide default service_name for keystone endpoint"

9 years agoProvide default service_name for keystone endpoint
Alex Schultz [Tue, 7 Jun 2016 16:52:42 +0000 (10:52 -0600)]
Provide default service_name for keystone endpoint

This change updates the ceilometer::keystone::auth class to include a
default service_name of 'ceilometer' so that if a user changes the
auth_name, the service is still created as being related to
'ceilometer'.  This improves the user experiance when they want to
customize the usernames for services.

Change-Id: I472dd78c1b4fd8d3d4667aede56358cf6254617d
Closes-Bug: #1590040

9 years agoFix facts for policy test
iberezovskiy [Tue, 7 Jun 2016 16:53:38 +0000 (19:53 +0300)]
Fix facts for policy test

Change-Id: I350c01bc39842d29143b0841f3637812051e7123

9 years agoMerge "Test multiple operating systems for policy"
Jenkins [Tue, 7 Jun 2016 12:40:04 +0000 (12:40 +0000)]
Merge "Test multiple operating systems for policy"

9 years agoAdd purge_config option
ZhongShengping [Tue, 7 Jun 2016 02:10:06 +0000 (10:10 +0800)]
Add purge_config option

Add the option in order to facilitate management.
User can ensure that only the options they hoped
are configured.

Change-Id: I149224f4035888e6bd2aca16c36af7ab9055a3a1

9 years agoTest multiple operating systems for policy
ZhongShengping [Fri, 3 Jun 2016 16:01:26 +0000 (00:01 +0800)]
Test multiple operating systems for policy

Use on_supported_os function to test multiple
operating systems for class ceilometer::policy.

Change-Id: Iccd2f0cb960a692d37c5ce6e945b43cb37ab73e8

9 years agoMerge "Remove deprecated keystone::auth options"
Jenkins [Mon, 6 Jun 2016 11:36:00 +0000 (11:36 +0000)]
Merge "Remove deprecated keystone::auth options"

9 years agoMerge "Prepare 9.0.0 release" 9.0.0
Jenkins [Fri, 3 Jun 2016 16:45:54 +0000 (16:45 +0000)]
Merge "Prepare 9.0.0 release"

9 years agoMerge "Change wiki to docs"
Jenkins [Fri, 3 Jun 2016 13:42:38 +0000 (13:42 +0000)]
Merge "Change wiki to docs"

9 years agoCleanup README
Denis Egorenko [Fri, 3 Jun 2016 09:29:54 +0000 (12:29 +0300)]
Cleanup README

Change-Id: I567697dea07ad5afb50b94a8f63d431de488e38c

9 years agoRemove deprecated keystone::auth options
Iury Gregory Melo Ferreira [Fri, 3 Jun 2016 04:22:44 +0000 (01:22 -0300)]
Remove deprecated keystone::auth options

Change-Id: Ic1764835e9c06623b1aef788485c9cfd9a01284f

9 years agoChange wiki to docs
Iury Gregory Melo Ferreira [Fri, 3 Jun 2016 01:21:48 +0000 (22:21 -0300)]
Change wiki to docs

Change-Id: Iaa084640398555e1ac9863b53c43bda0275e6361

9 years agoPrepare 9.0.0 release
Emilien Macchi [Thu, 2 Jun 2016 22:33:16 +0000 (18:33 -0400)]
Prepare 9.0.0 release

First release of Newton.

Change-Id: I9772b9988ac4838c6966b89135a6ca6948c1ddd4

9 years agoMerge "Revert "Deprecate use_syslog""
Jenkins [Tue, 31 May 2016 20:07:35 +0000 (20:07 +0000)]
Merge "Revert "Deprecate use_syslog""

9 years agoRevert "Deprecate use_syslog"
Denis Egorenko [Tue, 31 May 2016 13:41:17 +0000 (13:41 +0000)]
Revert "Deprecate use_syslog"

This option is not deprecated and still actual.

This reverts commit 40b84c310e6b78226a08e7c04865c037542dfc54.

Change-Id: Ief1c393e2466ca3ff08d67dcacefc0d1c7dd8121

9 years agoMerge "Add transport_url parameters for oslo.messaging"
Jenkins [Tue, 31 May 2016 10:34:14 +0000 (10:34 +0000)]
Merge "Add transport_url parameters for oslo.messaging"

9 years agoRemove useless parameters
ZhongShengping [Mon, 30 May 2016 16:45:30 +0000 (00:45 +0800)]
Remove useless parameters

Switch db related parameters to oslo, the pymongo_package_name,
pymysql_package_name and sqlite_package_name parmaters are
useless, so delete them.

Change-Id: I67a11f38b2998ee0f29a4aaa179c7d41c10a70cd

9 years agoAdd transport_url parameters for oslo.messaging
Andrew Smith [Mon, 30 May 2016 16:09:59 +0000 (12:09 -0400)]
Add transport_url parameters for oslo.messaging

This commit adds the transport_url parameters for oslo.messaging. The
url is of the form:

  transport://user:pass@host1:port[,hostN:portN]/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 oslo::messaging::notifications resource
* add parameters for transport_url(s)
* update spec tests
* add feature release note

[1] https://review.openstack.org/#/c/317285/

Change-Id: Iaaae758ffc6866e94c63251d2c9bd4af086f32cc

9 years agoMerge "Use 'password' auth_type by default"
Jenkins [Fri, 27 May 2016 15:41:00 +0000 (15:41 +0000)]
Merge "Use 'password' auth_type by default"

9 years agoUse 'password' auth_type by default
iberezovskiy [Tue, 24 May 2016 13:29:46 +0000 (16:29 +0300)]
Use 'password' auth_type by default

It's better to use 'password' keystone auth plugin by default
for the supporting v2 and v3 keystone API instead of ceilometer
legacy keystone loader which supports only v2.
Remove hard-coded API version from auth_url as well.

Actually this legacy loader has been deprecated in Mitaka and
has been already removed in Newton:
https://review.openstack.org/#/c/307053/

Change-Id: Iad68b6c1c29f9d9cd1b41ecc2898732fa030d401

9 years agoDeprecate use_syslog
Iury Gregory Melo Ferreira [Mon, 23 May 2016 00:09:03 +0000 (21:09 -0300)]
Deprecate use_syslog

[DEFAULT/use_syslog] was deprecated in Mitaka [1]
init.pp logging.pp - deprecate use_syslog, add warning, remove reference
tests - remove use_syslog and [DEFAULT/use_syslog] verification.

[1]
http://docs.openstack.org/mitaka/config-reference/tables/conf-changes/ceilometer.html

Change-Id: I352e55586bfb9a030665175dc73a27db35a21fcf

9 years agoAdapt ceilometer tests for a new concat version
iberezovskiy [Tue, 24 May 2016 17:46:13 +0000 (20:46 +0300)]
Adapt ceilometer tests for a new concat version

Change-Id: Ibc816002f3bbe925fcf521ac4a2266b0b97770b2

9 years agoFix syntax error
Dmitry Ilyin [Mon, 23 May 2016 17:32:14 +0000 (20:32 +0300)]
Fix syntax error

'True' becomes a string in puppet3
and is a syntax error in puppet4.

Change-Id: I9b0be57f0889f22ccc5baf214eca3affc71ecb9e

9 years agoAdd other-requirements.txt for bindep
Emilien Macchi [Thu, 19 May 2016 17:03:18 +0000 (19:03 +0200)]
Add other-requirements.txt for bindep

Bindep is a binary automation tool used in openstack-infra.  With it,
projects can better control the default packages installed into the
OS. Because we are using puppet, we actually don't want any packages
installed by default as to better test our manifests.

Change-Id: I16970ad5f2b8cf0305b0554bb1cc3079e49454da
Co-Authored-By: Paul Belanger <pabelanger@redhat.com>
9 years agoMerge "Added support for messaging urls"
Jenkins [Wed, 18 May 2016 23:17:30 +0000 (23:17 +0000)]
Merge "Added support for messaging urls"

9 years agoDeprecate verbose option in logging
Iury Gregory Melo Ferreira [Wed, 18 May 2016 04:26:28 +0000 (01:26 -0300)]
Deprecate verbose option in logging

Option "verbose" from group "DEFAULT" is deprecated for removal.
The parameter has no effect.
-Deprecated verbose for logging and init
-Remove verbose in README
-Remove verbose from tests.
If this option is not set explicitly, there is no such warning

Change-Id: I67f69fb01e748f64015774d58ac7a8057e79a547

9 years agoAdded support for messaging urls
Matthew J Black [Fri, 29 Apr 2016 03:36:30 +0000 (23:36 -0400)]
Added support for messaging urls

Ceilometer supports multiple notifications. The config
entry in ceilometer.conf allows for a multi-value for
notification/messaging_urls.

Change-Id: Ic1791c7021bf2dbb06269317b8495eebc8d6e7ed
Closes-Bug: 1564061

9 years agoMerge "Introduce support for oslo.messaging amqp driver configuration"
Jenkins [Tue, 17 May 2016 14:22:50 +0000 (14:22 +0000)]
Merge "Introduce support for oslo.messaging amqp driver configuration"

9 years agoMerge "metering_secret was renamed to telemetry_secret"
Jenkins [Mon, 16 May 2016 22:50:20 +0000 (22:50 +0000)]
Merge "metering_secret was renamed to telemetry_secret"

9 years agoMerge "Correct service_credentials section"
Jenkins [Mon, 16 May 2016 16:47:33 +0000 (16:47 +0000)]
Merge "Correct service_credentials section"

9 years agoIntroduce support for oslo.messaging amqp driver configuration
Andrew Smith [Tue, 10 May 2016 17:17:42 +0000 (13:17 -0400)]
Introduce support for oslo.messaging amqp driver configuration

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: I2095cee083c9ca2390df703ad6e3216e428989f9

9 years agometering_secret was renamed to telemetry_secret
Matt Fischer [Fri, 13 May 2016 02:32:16 +0000 (20:32 -0600)]
metering_secret was renamed to telemetry_secret

Annoyingly upstream renamed this variable which is used in about two
dozen places. In addition to this we'll need to fix the integration
tests once this lands.

Change-Id: I8c01fac2c984f39e63b116c4a6433b2009a4943c

9 years agoAdd support for db_max_retries param
Carlos Camacho [Mon, 9 May 2016 14:25:48 +0000 (16:25 +0200)]
Add support for db_max_retries param

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>
9 years agoCorrect service_credentials section
Matt Fischer [Sat, 14 May 2016 02:22:16 +0000 (20:22 -0600)]
Correct service_credentials section

The service_credential section variables were renamed at some point
before Mitaka. They are broken in Mitaka and Newton, and possibly
earlier. Additionally some critical variables for dealing with domains
and keystone v3 are missing. This corrects those issues.

A later commit should deprecate some of the naming for things
that have totally different names, like the endpoint_type and
tenant_name, but we need to cleanly (and minimally) backport this to
Mitaka.

Change-Id: I8de5e42102fed2de6bea7bbdd788e86a88f0354c
Closes-Bug: #1581691

9 years agoacceptance: remove scenario without apache
Emilien Macchi [Sun, 15 May 2016 08:34:13 +0000 (10:34 +0200)]
acceptance: remove scenario without apache

The scenario without apache was a transition to test upgrade between non
wsgi with apache to wsgi with apache and was introduced during Liberty
cycle.
The scenario is not useful anymore, as we have a wsgi with apache
scenario working well.
Moreover, we were trying to stop Keystone service, which does not exist
anymore in Mitaka, and removed from distros in Newton. It causes beaker
jobs errors.
Let's remove this test.

Change-Id: I0fc1e758ab41ac47667703b0a305c0871e43f929

9 years agoTest multiple operating systems for db
ZhongShengping [Sat, 30 Apr 2016 01:37:47 +0000 (09:37 +0800)]
Test multiple operating systems for db

This change updates the tests for ceilometer::db::postgresql and
ceilometer::db::sync to test multiple operating systems.

Change-Id: Ia3776f80bbd37981725668a55a76ecd4f20389c0

9 years agoTotally drop Qpid support
Denis Egorenko [Mon, 18 Apr 2016 10:51:15 +0000 (13:51 +0300)]
Totally drop Qpid support

Qpid was removed in Mitaka from Oslo Messaging, so now we can
drop it in manifests.

Change-Id: I1c2682c1650fac8fab492be496ea242f0ed53597

9 years agoConfigure oslo related parameters using puppet-oslo
iberezovskiy [Tue, 29 Mar 2016 12:58:33 +0000 (15:58 +0300)]
Configure oslo related parameters using puppet-oslo

Additonal changes:

  * switch oslo related parameters to $::os_service_default
    as they are used in oslo defines
  * update unit tests
  * update docs for oslo parameters

Change-Id: I4f813444fbf141abe7f10b3aef7d1aa314ac0ac4

9 years agoGemfile: rely on puppet-openstack_spec_helper for dependencies
Emilien Macchi [Wed, 30 Mar 2016 01:35:55 +0000 (21:35 -0400)]
Gemfile: rely on puppet-openstack_spec_helper for dependencies

Rely on puppet-openstack_spec_helper gemspec file for managing Gems
dependencies.

Depends-On: Iaf01f0aed5a34fb83a27678e7e8bb4d2a84d6428
Change-Id: I2f1b7bdd638e2f4742c9e486fec135947c929e6f

9 years agoAdd 'ceilometer-service' tag to collector and agent/notification
Giulio Fidente [Tue, 29 Mar 2016 13:05:59 +0000 (15:05 +0200)]
Add 'ceilometer-service' tag to collector and agent/notification

Set the 'ceilometer-service' tag for the collector and the
notification services as it happens already for the others.

Change-Id: I4c6fe871a1d55ea4dfdfc33edafdcf57bbd91e5e

9 years agoImport release notes from stable/mitaka
Emilien Macchi [Thu, 24 Mar 2016 23:02:09 +0000 (19:02 -0400)]
Import release notes from stable/mitaka

stable/mitaka branch does exist now, let's import the notes from it.

Change-Id: I2fc84d705f85c0d967346bc435a7f9139df77759

9 years agoRelease 8.0.0
Emilien Macchi [Wed, 23 Mar 2016 18:43:54 +0000 (14:43 -0400)]
Release 8.0.0

* Update CHANGELOG with release notes URL.
* Update README with new release number & name.
* Update metadata.json with new tag & dependencies.
* Add release note prelude for Mitaka.
* Update Reno release note to drop prelude.
* Improve release note landing page.

Change-Id: I698d6e4df7b22fce0b157e894050ed80f5a346f9

9 years agoreleasenotes: add notes for Mitaka cycle
Emilien Macchi [Tue, 15 Mar 2016 00:16:56 +0000 (20:16 -0400)]
releasenotes: add notes for Mitaka cycle

Change-Id: Ia94646a859482a27519f2da39871ce010df75e55

9 years agoAdd basic structure for ReNo
Emilien Macchi [Sun, 13 Mar 2016 22:58:36 +0000 (18:58 -0400)]
Add basic structure for ReNo

ReNo [1] is the release management tool in OpenStack.
This patch adds the basic structure to start using it.

* Update .gitignore
* Add a basic note "use-reno"
* Add releasenotes/ dir and basic files
* Add python files: setup.cfg, setup.py, test-requirements.txt and
  tox.ini.

[1] http://docs.openstack.org/developer/reno

Change-Id: Ide7c53a7b25a1c0ef4966f60f6fc6bf07f636c83

9 years agofix filter_project param values
Pradeep Kilambi [Wed, 17 Feb 2016 19:48:40 +0000 (14:48 -0500)]
fix filter_project param values

Current examples and tests make it look like
filter_project param is a boolean, which its not,
Its a string instead.

Change-Id: If5dbb0b1edd122a76dcc10d75f67d8f3a3fd0a7b

9 years agoMerge "Add api_paste type/provider for Ceilometer"
Jenkins [Wed, 9 Mar 2016 00:03:37 +0000 (00:03 +0000)]
Merge "Add api_paste type/provider for Ceilometer"

9 years agoAdd api_paste type/provider for Ceilometer
ZhongShengping [Fri, 26 Feb 2016 23:25:53 +0000 (07:25 +0800)]
Add api_paste type/provider for Ceilometer

Add ceilometer_api_paste_ini type/provider for Ceilometer.
Also add the capability to configure api-paste.ini with config.pp.
Closes-bug: #1483371

Change-Id: I7a5ce9629b9069495e233a4576742aeb171a09c1

9 years agoDeprecate ceilometer alarm classes
iberezovskiy [Fri, 19 Feb 2016 10:07:15 +0000 (13:07 +0300)]
Deprecate ceilometer alarm classes

Alarming services (evaluator and notifier) in Mitaka
were moved to Aodh OpenStack project. Now Ceilometer
doesn't contain any code related to alarms,
so we need to stop usage of Ceilometer alarm classes.

Change-Id: I087545f0e97050521275c8eb096c8e33b71d1a69

9 years agoMerge "Consistent with other core module, auth_uri,identity_uri" 8.0.0b1
Jenkins [Thu, 28 Jan 2016 20:13:38 +0000 (20:13 +0000)]
Merge "Consistent with other core module, auth_uri,identity_uri"

9 years agoConsistent with other core module, auth_uri,identity_uri
nanhai.liao [Tue, 19 Jan 2016 09:32:49 +0000 (17:32 +0800)]
Consistent with other core module, auth_uri,identity_uri

  keystone_auth_ui and keystone_identity_uri parameters are inconsistent
  with other modules, change keystone_auth_ui,keystone_identity_uri to
  auth_uri,identity_uri

Change-Id: I0c606b62678c3c293dc0e15c47825909f0c64ee0
Closes-Bug: #1532920

9 years agocollector: fix dispatcher config
Emilien Macchi [Wed, 27 Jan 2016 21:24:40 +0000 (16:24 -0500)]
collector: fix dispatcher config

It's not *_dispatcher but *_dispatchers. It's a typo from a previous
commit.

Change-Id: I63709c05597e7b5e1410c2815f43cece90127975

9 years agoMerge "Add rabbit_ha_queues option"
Jenkins [Mon, 25 Jan 2016 22:46:34 +0000 (22:46 +0000)]
Merge "Add rabbit_ha_queues option"

9 years agoAdding amqp_durable_queues parameter to ceilometer
luyuan [Sat, 23 Jan 2016 10:39:49 +0000 (18:39 +0800)]
Adding amqp_durable_queues parameter to ceilometer

amqp_durable_queues is an important param for configuring
Rabbitmq HA, When rabbitmq service quits or crashes,it
will forget the queues and messages. To make sure those
messages aren't lost, amqp_durable_quesesneed to added in
ceilometer.

Change-Id: I35b3897bb56ebcc955bb15d19465493549dec69b
Closes-Bug: #1537354

9 years agodrop mock dependency
Emilien Macchi [Fri, 22 Jan 2016 14:31:14 +0000 (09:31 -0500)]
drop mock dependency

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: I000953c7b215454baf9838813c04e94b7ebeca00

9 years agoMerge "Set auth_region to $::os_service_default"
Jenkins [Wed, 20 Jan 2016 06:27:26 +0000 (06:27 +0000)]
Merge "Set auth_region to $::os_service_default"

9 years agoMerge "Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance"
Jenkins [Tue, 19 Jan 2016 22:44:54 +0000 (22:44 +0000)]
Merge "Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance"

9 years agobeaker: stop testing ceilometer-alarm
Emilien Macchi [Mon, 18 Jan 2016 17:30:34 +0000 (12:30 -0500)]
beaker: stop testing ceilometer-alarm

Ceilometer Alarm has been replaced by Aodh, and does not exist anymore
in Mitaka.
This change just stop testing the Puppet classes, but still allow to use
the classes.

Partial-Bug: #1535382

Change-Id: I387273a60e29c4be40a5c9937c077ffdb40b4816

9 years agoUse puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance
Emilien Macchi [Mon, 18 Jan 2016 14:11:13 +0000 (09:11 -0500)]
Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance

Use common code in puppet-openstack_spec_helper in Rakefile and
spec_helper_acceptance.

Change-Id: I4107e22dfaa023ec3a062f276bc846567eb3acf8

9 years agoMerge "Add rspec-puppet-facts to the spec_helper"
Jenkins [Sat, 16 Jan 2016 18:09:10 +0000 (18:09 +0000)]
Merge "Add rspec-puppet-facts to the spec_helper"

9 years agoAdd rabbit_ha_queues option
Xingchao Yu [Sat, 16 Jan 2016 07:35:12 +0000 (15:35 +0800)]
Add rabbit_ha_queues option

There are two ways for setting up RabbitMQ HA:

 1. Configure rabbit_hosts to multi rabbit hosts.
 2. Set up a loadbalancer in front of RabbitMQ cluster,
    provide a unique address in rabbit_host

But rabbit_ha_queues option is controled by rabbit_hosts if conditional
statement. When users try the second method: changing rabbit_ha_queues to true.
If they don't set rabbit_hosts, then current logic will not work.

This patch aims to add an rabbit_ha_queues option, set to undef by
default for backward compatbility.

Change-Id: Id1245002dfbb6f314c6082f554221ee247be630c

9 years agoMove workers options into specific sections.
Liao Penghui [Tue, 12 Jan 2016 16:34:27 +0000 (00:34 +0800)]
Move workers options into specific sections.

The notification_workers/api_workers/collector_workers options are
deprecated and should be set in [notification]/[api]/[collector]
sections separately.

Closes-Bug: #1533276

Change-Id: If1816830affd9de71ae5ee7bc2869eee7eaf8473

9 years agoAdd rspec-puppet-facts to the spec_helper
Alex Schultz [Thu, 7 Jan 2016 04:28:00 +0000 (21:28 -0700)]
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: Ie420cd2599fa3e88e6471bf3e9fce20d48f19805

9 years agoSet auth_region to $::os_service_default
luyuan [Tue, 12 Jan 2016 17:06:21 +0000 (01:06 +0800)]
Set auth_region to $::os_service_default

This patch:
    * sets auth_region to the default value in OpenStack using
      $::os_service_default

Change-Id: I347ecf1f4c7a09c4e59927086a4808463c05f5c7

9 years agoMerge "Improve format of the documentations."
Jenkins [Tue, 12 Jan 2016 11:31:21 +0000 (11:31 +0000)]
Merge "Improve format of the documentations."

9 years agoImprove format of the documentations.
Xingchao Yu [Sun, 10 Jan 2016 12:26:28 +0000 (20:26 +0800)]
Improve format of the documentations.

This patch is aim to unify format of the documentations in all
ceilometer classes.

Change-Id: I8b617a14146a90758fa6b8898637206bff6d2f29

9 years agoAdd required db subclass to README.md
Ben Kero [Fri, 8 Jan 2016 02:41:57 +0000 (18:41 -0800)]
Add required db subclass to README.md

This commit adds the ::ceilometer::db subclass to the example in README.md.
The README.md should contain a working pseudo-minimal example for basic
ceilometer installation. At some point the 'db' subclass was required
for basic usage.

Without this class applying the example in README.md is unusable,
erroring out with this:

> Error: Could not find dependency Class[Ceilometer::Db] for
> Service[ceilometer-api] at
> /etc/puppet/modules/ceilometer/manifests/api.pp:112

Change-Id: Ifd0577e23661bc00b98621a622c44c0a9af70a5d

9 years agoMerge "deprecate mongodb_replica_set parameter"
Jenkins [Tue, 5 Jan 2016 23:08:49 +0000 (23:08 +0000)]
Merge "deprecate mongodb_replica_set parameter"

9 years agoUse identity_uri and auth_uri by default
nanhai.liao [Tue, 29 Dec 2015 06:53:32 +0000 (14:53 +0800)]
Use identity_uri and auth_uri by default

Change-Id: If7cf7412df7666e0787dfc01abe48fddabdcb5ef
Closes-bug: #1528963

9 years agoDrop time_to_live parameter
Emilien Macchi [Wed, 23 Dec 2015 22:38:23 +0000 (23:38 +0100)]
Drop time_to_live parameter

time_to_live was deprecated in liberty, let's drop it so we don't have
the warning anymore.

Change-Id: If36dc4ec2435aa8229b4efa6123fff9bdf668b37

9 years agodeprecate mongodb_replica_set parameter
Emilien Macchi [Tue, 22 Dec 2015 15:41:03 +0000 (16:41 +0100)]
deprecate mongodb_replica_set parameter

mongodb_replica_set parameter has been dropped in Mitaka [1] and has no
effect anymore.
This patch deprecated our interface by sending a warning if the param is
set. If set, it has no effect though, since the param does not exist
anymore upstream.

[1] https://github.com/openstack/ceilometer/commit/a6d608a33235dfa0d4ef91e3a3d69359ceb0263f

Closes-Bug: #1528612
Change-Id: I49123b0f1353e24b217ea6f16f556ab25a6c86b0

9 years agounit tests: make Keystone_endpoint match service by name/type
Emilien Macchi [Mon, 21 Dec 2015 18:29:58 +0000 (19:29 +0100)]
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.
)
[1] http://git.openstack.org/cgit/openstack/puppet-keystone/commit/?id=0a4e06abb0f5b3f324464ff5219d2885816311ce

Closes-Bug: #1528308

Change-Id: I7d4a41b8ac0e9992694ae5508b19187e07d752e4

9 years agoMerge "Ability to configure api, collector and notification workers"
Jenkins [Wed, 16 Dec 2015 21:53:38 +0000 (21:53 +0000)]
Merge "Ability to configure api, collector and notification workers"

9 years agoMerge "Update example to deploy Ceilometer with Gnocchi dispatcher"
Jenkins [Tue, 15 Dec 2015 13:54:17 +0000 (13:54 +0000)]
Merge "Update example to deploy Ceilometer with Gnocchi dispatcher"

9 years agoAbility to configure api, collector and notification workers
Radoslaw Smigielski [Mon, 21 Sep 2015 19:40:55 +0000 (21:40 +0200)]
Ability to configure api, collector and notification workers

We've been missing ability to configure two options:
 - collector_workers, number of workers for collector service.
 - notification_workers, number of workers for notification service.
 - api_workers, number of workers for api service.

Co-Authored-By: Ivan Berezovskiy <iberezovskiy@mirantis.com>
Change-Id: Ifc1f1623289560f873442a702a23a5cc1c831c72

9 years agoMerge "Support of PyMySQL driver for MySQL backend"
Jenkins [Thu, 10 Dec 2015 17:14:49 +0000 (17:14 +0000)]
Merge "Support of PyMySQL driver for MySQL backend"

9 years agoMerge "Configure disable_non_metric_meters for notification agent"
Jenkins [Thu, 10 Dec 2015 17:13:52 +0000 (17:13 +0000)]
Merge "Configure disable_non_metric_meters for notification agent"

9 years agoUpdate example to deploy Ceilometer with Gnocchi dispatcher
Emilien Macchi [Tue, 8 Dec 2015 19:44:52 +0000 (14:44 -0500)]
Update example to deploy Ceilometer with Gnocchi dispatcher

Give a real example of data that you can use to deploy Ceilometer with
Gnocchi dispatcher.

Change-Id: I6fa215e00d59df909e1069132423e30e4d948797

9 years agoMerge "Remove qpid messaging support"
Jenkins [Tue, 8 Dec 2015 02:58:55 +0000 (02:58 +0000)]
Merge "Remove qpid messaging support"

9 years agoRemove qpid messaging support
Denis Egorenko [Thu, 3 Dec 2015 16:17:35 +0000 (19:17 +0300)]
Remove qpid messaging support

Qpid messaging driver is removed from Oslo.messaging [1]
Therefore, we cannot support it anymore.

[1] I4a9cba314c4a2f24307504fa7b5427424268b114

Change-Id: I46f3681963b4a365f2c5cdd7f5f6168adb751551

9 years agoConfigure disable_non_metric_meters for notification agent
iberezovskiy [Fri, 4 Dec 2015 11:14:31 +0000 (14:14 +0300)]
Configure disable_non_metric_meters for notification agent

Change-Id: I17ca231e1f7760cdea347b5466a9fbbe84aa9585

9 years agoMerge "Remove references to puppet-openstack from README"
Jenkins [Mon, 7 Dec 2015 14:17:37 +0000 (14:17 +0000)]
Merge "Remove references to puppet-openstack from README"

9 years agoSupport of PyMySQL driver for MySQL backend
iberezovskiy [Thu, 19 Nov 2015 12:17:03 +0000 (15:17 +0300)]
Support of PyMySQL driver for MySQL backend

Add ability to use python-pymysql library
as backend for MySQL connections.
Update acceptance tests to use pyMySQL.
Docs: https://wiki.openstack.org/wiki/PyMySQL_evaluation
The same implementation as it's done for keystone:
https://review.openstack.org/#/c/242134/

Change-Id: If41a86abc3090dfb439d09cd63ae2ecb9a0b9598

9 years agoImplement Gnocchi dispatcher
Emilien Macchi [Fri, 27 Nov 2015 11:11:01 +0000 (12:11 +0100)]
Implement Gnocchi dispatcher

* Add dispatcher options to ceilometer::collector.
* Create ceilometer::dispatcher::gnocchi class, with current upstream options.
* Add an example of manifest.
* Unit & functional tests.

Note:
This patch implement os_service_defaults only for the new class.
For collector, it will be updated in one patch in another patchset.

Change-Id: Id9364e1e1337708b1e0254b4c6268f1a0b1a42ad

9 years agoMerge "Ceilometer $::os_service_default for db and log"
Jenkins [Tue, 1 Dec 2015 15:07:34 +0000 (15:07 +0000)]
Merge "Ceilometer $::os_service_default for db and log"

9 years agoCheckout openstack-integration from master
Emilien Macchi [Thu, 26 Nov 2015 09:44:59 +0000 (10:44 +0100)]
Checkout openstack-integration from master

Since stable/liberty was created, let's now checkout master to prepare
the next release (Mitaka).

Change-Id: I38ca2182c0d2ca2fb7d06988911457b1374c9f62

9 years agorelease: prepare 7.0.0 (liberty) 7.0.0
Emilien Macchi [Wed, 25 Nov 2015 09:43:51 +0000 (10:43 +0100)]
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: I4d892d41a8d7c8ed1f1a00712afced944c821f92

9 years agoCeilometer $::os_service_default for db and log
Iury Gregory Melo Ferreira [Tue, 24 Nov 2015 11:20:09 +0000 (11:20 +0000)]
Ceilometer $::os_service_default for db and log

Switch to $::os_service_default all params in logging and db.
Changes: logging.pp, db.pp and tests.

Related-bug: #1515273

Change-Id: I412104bf46c4b40fdbd366e3a8a9dc9de5abb5fd

9 years agoFix unit tests against Puppet 4.3.0
Gael Chamoulaud [Tue, 24 Nov 2015 09:41:20 +0000 (10:41 +0100)]
Fix unit tests against Puppet 4.3.0

Change-Id: I25973dc911747eb12e860a515459138d98a6e24c
Related-bug: #1517805
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
9 years agoRemove references to puppet-openstack from README
Nate Potter [Sat, 21 Nov 2015 18:37:05 +0000 (18:37 +0000)]
Remove references to puppet-openstack from README

The README references to the retired puppet-openstack module
should be removed, as they link to the empty github page.

Change-Id: I1e4f5fd79c285b6d7e11eed9619ea26c495798c5
Closes-bug: #1518589

9 years agobeaker: some cleanup
Emilien Macchi [Thu, 19 Nov 2015 10:12:21 +0000 (11:12 +0100)]
beaker: some cleanup

Drop a old TODO which is not useful anymore.

Change-Id: I747592127035480fb4284088b268dbb4b1c701e6