]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/log
puppet-modules/puppet-ceilometer.git
7 years agoDrop -dev version for Pike M3
Alex Schultz [Tue, 25 Jul 2017 14:12:56 +0000 (08:12 -0600)]
Drop -dev version for Pike M3

Prepare version metadata for Pike M3

Change-Id: Ie6fe9561f23988529538de28c4b19409e94b2047

7 years agoMerge "Update URLs in documents according to document migration"
Jenkins [Wed, 19 Jul 2017 17:28:19 +0000 (17:28 +0000)]
Merge "Update URLs in documents according to document migration"

7 years agoUpdate URLs in documents according to document migration
ZhongShengping [Fri, 14 Jul 2017 03:45:40 +0000 (11:45 +0800)]
Update URLs in documents according to document migration

Change-Id: I497fe2c9d448ab3b551ccd3f7b4c29000271d50f

7 years agoFix unit tests
Alex Schultz [Thu, 13 Jul 2017 21:25:29 +0000 (15:25 -0600)]
Fix unit tests

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: I331e99e05357d21f78dd7ee0346598473e5b9791
Depends-On: I9d535ab38afea852559df2b3073bd4b74a2a3947

7 years agoRemove deprecated keystone authtoken signing_dir option
ZhongShengping [Fri, 7 Jul 2017 01:58:16 +0000 (09:58 +0800)]
Remove deprecated keystone authtoken signing_dir option

Change-Id: Ib5569de793dd9922c8f723eaadd96aaec8d34beb

7 years agoMerge "Ensure pipeline yamls are created with correct permissions"
Jenkins [Thu, 6 Jul 2017 18:54:03 +0000 (18:54 +0000)]
Merge "Ensure pipeline yamls are created with correct permissions"

7 years agoMerge "Deprecate store_events config option"
Jenkins [Thu, 6 Jul 2017 15:59:52 +0000 (15:59 +0000)]
Merge "Deprecate store_events config option"

7 years agoDeprecate store_events config option
Jake Yip [Thu, 29 Jun 2017 06:43:32 +0000 (16:43 +1000)]
Deprecate store_events config option

The store_events option has been removed since Newton

Depends-On: I5a906684f6371b0548ac08cacc13aa238f780f78
Change-Id: I0a997d0c7076d2133d20b268b47f0c867a15f106

7 years agoEnsure pipeline yamls are created with correct permissions
Luis Pigueiras [Thu, 29 Jun 2017 09:48:31 +0000 (11:48 +0200)]
Ensure pipeline yamls are created with correct permissions

Right now when you try to manage the `pipeline.yaml` or
`event_pipeline.yaml` via Puppet, notification-agent can't start
because it can't read the file because it has by default root:root
permissions. This enforces to have root:ceilometer and mode rw-r-----
to allow the daemon read the pipeline files

Change-Id: Ia97821135a2d51377514f2bcf389126254209e76

7 years agoFix openstackdocstheme
ZhongShengping [Sun, 2 Jul 2017 05:55:20 +0000 (13:55 +0800)]
Fix openstackdocstheme

See the docs[0] how to use it. Also add the variables for the bug
log feature.

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I5388fc19a91344077d875251671e9b0094702f52

7 years agoAdd rabbit_qos_prefetch_count to oslo_messaging_rabbit options
Jake Yip [Mon, 22 May 2017 03:19:25 +0000 (13:19 +1000)]
Add rabbit_qos_prefetch_count to oslo_messaging_rabbit options

Depends-On: Ib301df384d271da27094376389e981fe51e39e5f
Change-Id: I7dabc2379cbbdfd1fb2fb5d05a6f1f7c6df400e4

7 years agoSwitch from oslosphinx to openstackdocstheme
ZhongShengping [Mon, 26 Jun 2017 01:21:47 +0000 (09:21 +0800)]
Switch from oslosphinx to openstackdocstheme

As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: Iaf59f0dfd9ed6dd20eaa12388672a1bba67df127

7 years agoMerge "Add ensure value for user and group resources"
Jenkins [Fri, 23 Jun 2017 02:26:30 +0000 (02:26 +0000)]
Merge "Add ensure value for user and group resources"

7 years agoMerge "Optimize the link address and correct author"
Jenkins [Fri, 23 Jun 2017 02:23:55 +0000 (02:23 +0000)]
Merge "Optimize the link address and correct author"

8 years agoAdd ensure value for user and group resources
Jake Yip [Wed, 21 Jun 2017 03:35:05 +0000 (13:35 +1000)]
Add ensure value for user and group resources

'ensure' property for user and group type resource has no default value;
if we are managing ceilometer user and group we should set ensure to
'present' so that the resources get created.

Also make user depend on group resource being created first.

Change-Id: Ie5b2704b3ea9a7727c6ff4f06efcbea201e6314a

8 years agoOptimize the link address and correct author
Van Hung Pham [Wed, 21 Jun 2017 03:03:21 +0000 (10:03 +0700)]
Optimize the link address and correct author

Use https instead of http to ensure the safety.
Change author to OpenStack for the sake of
consistent naming convention as other OpenStack projects.

Change-Id: Id4bdd43710925c27e7db8ab36c958ea82cbf485b

8 years agoFix filename of api_paste.ini
Jake Yip [Tue, 23 May 2017 06:04:07 +0000 (16:04 +1000)]
Fix filename of api_paste.ini

The default filename is api_paste.ini, not api-paste.ini. Since we do
not have an option to set the file name using
[DEFAULT]/api_paste_config, we should fix the default to make sure it
works.

Change-Id: I054af2663a376b5ec2a0606437ff3fb90c00934a

8 years agoAdd environment variable
ZhongShengping [Mon, 12 Jun 2017 07:47:43 +0000 (15:47 +0800)]
Add environment variable

Add environment variable {toxinidir} in tox.ini

Change-Id: I69bb27c96eed775d57881b4d6fe8ffde0511eff0

8 years agoMerge "Bump version for Pike M3 Dev"
Jenkins [Fri, 9 Jun 2017 09:25:46 +0000 (09:25 +0000)]
Merge "Bump version for Pike M3 Dev"

8 years agoBump version for Pike M3 Dev
Alex Schultz [Thu, 8 Jun 2017 21:30:57 +0000 (15:30 -0600)]
Bump version for Pike M3 Dev

Pike M2 has been released. Prepare version numbers for M3.

Change-Id: Ib716e3d0b3762bb0f3b65f82d405d4165d23f1e0

8 years agoUpdate global requirements
ZhongShengping [Thu, 8 Jun 2017 02:48:19 +0000 (10:48 +0800)]
Update global requirements

Pin reno version to reno!=2.0.0,!=2.3.1,>=1.8.0
Pin sphinx version to sphinx!=1.6.1,>=1.5.1
reno=2.3.1 and sphinx=1.6.1 break releasenotes and doc tests.

Change-Id: I994689b44dacf76f41224bc60f8b1ae4e31367e3

8 years agoMerge "Missing some parameters to test in db.pp" 11.1.0
Jenkins [Mon, 5 Jun 2017 11:13:43 +0000 (11:13 +0000)]
Merge "Missing some parameters to test in db.pp"

8 years agoDrop -dev in preparation for Pike M2
Alex Schultz [Thu, 1 Jun 2017 14:53:02 +0000 (08:53 -0600)]
Drop -dev in preparation for Pike M2

We're coming up on the Pike M2 release and we need to prepare the
metadata.json and reno configuration for the release.

Change-Id: I17f520309f49b8b7fd7b22fcea0619f9e5a623cf

8 years agoMissing some parameters to test in db.pp
ZhongShengping [Thu, 1 Jun 2017 02:14:29 +0000 (10:14 +0800)]
Missing some parameters to test in db.pp

Add max_pool_size and max_overflow options to test.

Change-Id: I475de3f60f297cde73c3c0d138f2e9dcf31626df
Closes-Bug: #1694871

8 years agoFix unit test
ZhongShengping [Thu, 25 May 2017 03:05:06 +0000 (11:05 +0800)]
Fix unit test

The db_backend_package name has changed in puppet-oslo[0], so fix it.

[0]: https://review.openstack.org/#/c/467582/

Change-Id: I682ca1d1b5879ab201e591a0a82dcc2a9ecbdabe
Closes-Bug: #1693403

8 years agoMerge "oslo policy: check puppet resource instead of actual config in spec"
Jenkins [Wed, 24 May 2017 03:07:59 +0000 (03:07 +0000)]
Merge "oslo policy: check puppet resource instead of actual config in spec"

8 years agoMerge "Deprecate memcached_servers parameter"
Jenkins [Tue, 23 May 2017 18:32:18 +0000 (18:32 +0000)]
Merge "Deprecate memcached_servers parameter"

8 years agooslo policy: check puppet resource instead of actual config in spec
ZhongShengping [Tue, 23 May 2017 05:51:52 +0000 (13:51 +0800)]
oslo policy: check puppet resource instead of actual config in spec

Change-Id: I94e1232dcc00c76a1fbd23fe8a8b5cdec90dba97

8 years agoMerge "expirer: remove the crontab if enable_cron is False"
Jenkins [Tue, 23 May 2017 03:53:00 +0000 (03:53 +0000)]
Merge "expirer: remove the crontab if enable_cron is False"

8 years agoexpirer: remove the crontab if enable_cron is False
Emilien Macchi [Thu, 18 May 2017 20:16:40 +0000 (16:16 -0400)]
expirer: remove the crontab if enable_cron is False

Allow to let Puppet removing the crontab when
ceilometer::expirer::enable_cron is set to False.
It's useful when you want to upgrade from Ocata to Pike and you want the
crontab to be removed, since ceilometer-expirer is deprecated in Pike.

Change-Id: I1eb243be7bbc38ab5977bcf6a649e98eb6ff77f7

8 years agoAdd deprecate warning to ceilometer::client
Pradeep Kilambi [Mon, 15 May 2017 15:22:51 +0000 (11:22 -0400)]
Add deprecate warning to ceilometer::client

With ceilometer api deprecated, we dont need client anymore.
We should encourage using gnocchi, aodh and panko clients
instead.

Change-Id: I53b8fe3c300d3539da2de4a29e9b2b8e432eadc6

8 years agoDeprecate memcached_servers parameter
ZhongShengping [Tue, 16 May 2017 03:54:52 +0000 (11:54 +0800)]
Deprecate memcached_servers parameter

It is 'memcache_servers' in group [cache], not 'memcached_servers'.
For better understanding, deprecate memcached_servers option and
use memcahce_servers instead.

Change-Id: I57d7b45438904387176200c0062b7f33f4268006
Closes-Bug: #1690981

8 years agoUpdate tox configuration
Alex Schultz [Wed, 17 May 2017 14:21:20 +0000 (08:21 -0600)]
Update tox configuration

Update the tox configuration to pull in the openstack
upper-constraints.txt when running releasenotes. This will
fix the releasenotes job that is currently failing due to
a new version of sphinx. Additionally this change includes
updates from puppet-modulesync-configs.

Change-Id: If1b80bbc6fe5bf1c8f49659891add50a5ebcf997

8 years agoFix dependencies of yaml files
Mehdi Abaakouk [Tue, 9 May 2017 10:57:20 +0000 (12:57 +0200)]
Fix dependencies of yaml files

Not all yaml files are part of the configuration step.

This fixes that.

Change-Id: I5cc0a4eb36d94c63bd58c8d50930dcfa189e3a47

8 years agoAllow to configure the polling interval
Mehdi Abaakouk [Tue, 9 May 2017 10:51:31 +0000 (12:51 +0200)]
Allow to configure the polling interval

This change allows the management of polling.yaml. This allow
to configure the polling interval.

Change-Id: I4e63d48e57700146ccfb6685cc1e3ad1c9e6102f

8 years agoSet debug to true
ZhongShengping [Fri, 5 May 2017 07:02:00 +0000 (15:02 +0800)]
Set debug to true

In order to better view log error messages, set log debug to true.

Change-Id: I8445cd211ded5b52d7dc065dc90c5849e4c46ce5

8 years agoExpose snmpd auth params
Pradeep Kilambi [Wed, 3 May 2017 16:23:15 +0000 (12:23 -0400)]
Expose snmpd auth params

Change-Id: I55ac06e1a561d29d7e1c928a1684989c9654b95d

8 years agoBump modules to next minor with -dev
Alex Schultz [Fri, 21 Apr 2017 23:21:43 +0000 (17:21 -0600)]
Bump modules to next minor with -dev

After releasing Pike M1, we need to bump the metadata version
information for the next release with a -dev.

Change-Id: Id4b9b3cbdff2d2de286ea86523ad1936383092d4

8 years agoAdd support to configure publisher in pipeline.yaml
Pradeep Kilambi [Thu, 16 Mar 2017 19:45:45 +0000 (15:45 -0400)]
Add support to configure publisher in pipeline.yaml

pipeline yaml defaults to gnocchi publisher. This wont work
if collector(which is deprecated) is still being used. This
should be set to notifier:// instead. So lets make this
configurable.

Change-Id: I242642035c3d3d6e814f54bcd2d1e15c3a53120b

8 years agoMerge "Update default event publisher" 11.0.0
Jenkins [Mon, 10 Apr 2017 15:58:45 +0000 (15:58 +0000)]
Merge "Update default event publisher"

8 years agooslo db: check puppet resource instead of actual config in spec
ZhongShengping [Sat, 8 Apr 2017 03:24:59 +0000 (11:24 +0800)]
oslo db: check puppet resource instead of actual config in spec

Change-Id: I28dc79777324ffec99f733eb09cd800ab543570d

8 years agoUpdate default event publisher
Pradeep Kilambi [Thu, 6 Apr 2017 21:45:12 +0000 (17:45 -0400)]
Update default event publisher

In pike, the default publisher is gnocchi. Lets use that
as the default. If you are using collector the override
this to notifier:// instead.

Change-Id: Ic6ba909c873bee801843718cc25974abeda9f857

8 years agoDrop -dev for release prep
Alex Schultz [Wed, 5 Apr 2017 16:36:13 +0000 (10:36 -0600)]
Drop -dev for release prep

Removing the -dev from the version to prepare for Pike M1

Change-Id: Ice98309ab7568e12ee97da3f7f0e2acac68e5fb1

8 years agoFix dispatcher params
Pradeep Kilambi [Tue, 4 Apr 2017 19:55:43 +0000 (15:55 -0400)]
Fix dispatcher params

Currently we join the params and pass in a string to the dispatcher
settings. This wont work as ceilometer config expects separate
lines for each value.

Change-Id: I3813f0918c8394ef14959be7580bf026314ba82e

8 years agoFix strict variable errors in ceilometer::agent::polling
Mathieu Gagné [Thu, 30 Mar 2017 16:19:04 +0000 (12:19 -0400)]
Fix strict variable errors in ceilometer::agent::polling

Make sure all variables are defined.

Change-Id: Iaa352f73986be4f79ffac0838bedc0f2eaae01d3

8 years agoMerge "Password should be secured"
Jenkins [Wed, 29 Mar 2017 21:17:14 +0000 (21:17 +0000)]
Merge "Password should be secured"

8 years agodeprecate dispatcher::gnocchi::archive_policy
Mehdi Abaakouk [Wed, 22 Mar 2017 13:50:44 +0000 (14:50 +0100)]
deprecate dispatcher::gnocchi::archive_policy

The archive_policy option of ceilometer::dispatcher::gnocchi is
deprecated and should be removed.

So this change deprecate it for removal.

Depends-On: Ide510f355361737230efcd89ff78ff974bc96134
Change-Id: Ic60b7189c3bfc01f59889ffbd35adaba9c00f559

8 years agoPassword should be secured
ZhongShengping [Tue, 28 Mar 2017 08:21:30 +0000 (16:21 +0800)]
Password should be secured

As messaging_urls option contains rabbit_password value, it should
be secured.

Change-Id: I503180280a5558d27c00368e9949aaed52151e79
Closes-Bug: #1676708

8 years agoMerge "deprecate ceilometer::dispatcher::gnocchi::url"
Jenkins [Tue, 28 Mar 2017 01:33:03 +0000 (01:33 +0000)]
Merge "deprecate ceilometer::dispatcher::gnocchi::url"

8 years agoUpdate test-requirements.txt
ZhongShengping [Thu, 23 Mar 2017 06:37:15 +0000 (14:37 +0800)]
Update test-requirements.txt

This patch brings it in line with the latest global requirements.
By being in line with global requirements, this is a more accurate
list with respect to how things are actually tested in the gate.
The following link[0][1][2] shows the latest reno, oslosphinx, sphinx
packages.

[0]https://github.com/openstack/requirements/blob/master/global-requirements.txt#L263
[1]https://github.com/openstack/requirements/blob/master/global-requirements.txt#L372
[2]https://github.com/openstack/requirements/blob/master/global-requirements.txt#L395

Change-Id: I5ae246aa5047eb06f78abe1306b48b76d1f29145

8 years agodeprecate ceilometer::dispatcher::gnocchi::url
Mehdi Abaakouk [Wed, 22 Mar 2017 13:46:36 +0000 (14:46 +0100)]
deprecate ceilometer::dispatcher::gnocchi::url

The url option of ceilometer::dispatcher::gnocchi doesn't exists anymore
since a while in Ceilometer.

So this change deprecate it for removal.

Change-Id: I2b87de910b73d65111d609b8722183c1852f9c35

8 years agooslo log: check puppet resource instead of actual config in spec
Mykyta Karpin [Thu, 16 Mar 2017 16:40:15 +0000 (18:40 +0200)]
oslo log: check puppet resource instead of actual config in spec

Change-Id: I69498bf80b052b70ea73c0fafc4736678fc3417a

8 years agoMerge "Make skip gnocchi option overridable"
Jenkins [Wed, 15 Mar 2017 23:50:32 +0000 (23:50 +0000)]
Merge "Make skip gnocchi option overridable"

8 years agoMake skip gnocchi option overridable
Pradeep Kilambi [Mon, 23 Jan 2017 13:59:49 +0000 (08:59 -0500)]
Make skip gnocchi option overridable

Since gnocchi is the default backend, We might want to be able to
override this option and let it skip by default for compatibility.
let user set it via extra_params.

Change-Id: I23e43552e14ced5a7da5e16ef323df3b1ec6722d

8 years agoFix typo
ZhongShengping [Mon, 13 Mar 2017 12:08:25 +0000 (20:08 +0800)]
Fix typo

Change-Id: I0694ee0f4f0b03d9d2b71b1585876e63bd188b53

8 years agoMerge "Deprecate ceilometer collector"
Jenkins [Sat, 11 Mar 2017 02:57:48 +0000 (02:57 +0000)]
Merge "Deprecate ceilometer collector"

8 years agorabbitmq SSL: check puppet resource instead of actual config
Juan Antonio Osorio Robles [Fri, 10 Mar 2017 11:47:48 +0000 (13:47 +0200)]
rabbitmq SSL: check puppet resource instead of actual config

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

8 years agoDeprecate ceilometer collector
Pradeep Kilambi [Wed, 8 Mar 2017 16:58:13 +0000 (11:58 -0500)]
Deprecate ceilometer collector

Change-Id: I038e346d602552c449642c71bc30d2b7d2d1b54d

8 years agoPrepare Pike metadata
Alex Schultz [Tue, 7 Mar 2017 21:39:56 +0000 (14:39 -0700)]
Prepare Pike metadata

Bump metadata.json and reno configs for Pike

Change-Id: I6948b460cc8605e45334d7886a287f75d0dfb3cb

8 years agoDeprecate meter_dispatcher and event_dispatcher options
ZhongShengping [Fri, 3 Mar 2017 07:19:07 +0000 (15:19 +0800)]
Deprecate meter_dispatcher and event_dispatcher options

1) meter_dispatcher and event_dispatcher options are now deprecated,
please use meter_dispatchers and event_dispatchers options instead.
2) Switch meter_dispatchers and event_dispatchers parameters to
$::os_service_default fact.

Change-Id: I32dcbf34160906d15c871272e5ce0eba46c02b5e
Closes-Bug: #1668817

8 years agoRemove rpc_backend check for amqp
Alex Schultz [Tue, 28 Feb 2017 15:14:14 +0000 (08:14 -0700)]
Remove rpc_backend check for amqp

I7ccd995ef01c2d54427684718adba054260fdd52 removed the rpc_backend
declaration for amqp so we need to stop checking for it in the unit
tests.

Change-Id: I7ad627f2ec69ea2456830f2ca6e984af6d03ae6a

8 years agoAdd notification_driver option
ZhongShengping [Mon, 13 Feb 2017 09:39:44 +0000 (17:39 +0800)]
Add notification_driver option

Add notification_driver to configure driver or drivers for handling
sending notifications.

Change-Id: Id6450967f8efd30597b0b3a23602fa8d673aec8a

8 years agoUpdate reno for stable/ocata
OpenStack Release Bot [Wed, 8 Feb 2017 11:03:39 +0000 (11:03 +0000)]
Update reno for stable/ocata

Change-Id: Ib764e1de0806edbf5e74e19ba88faf3578c9fce8

8 years agoPrepare ocata-rc1 release 10.3.0
Alex Schultz [Fri, 3 Feb 2017 23:21:52 +0000 (16:21 -0700)]
Prepare ocata-rc1 release

Bump metadata.json and reno configs for ocata-rc1 release

Change-Id: I2d7b431fd5c8546bec694323de5173aecbeee0ce

8 years agoAdd control_exchange and rpc_response_timeout options
ZhongShengping [Sat, 28 Jan 2017 04:59:08 +0000 (12:59 +0800)]
Add control_exchange and rpc_response_timeout options

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

8 years agoMerge "Add oslo::db to dependency chain" 10.2.0
Jenkins [Mon, 23 Jan 2017 18:54:02 +0000 (18:54 +0000)]
Merge "Add oslo::db to dependency chain"

8 years agoAdd oslo::db to dependency chain
ZhongShengping [Sun, 22 Jan 2017 13:29:52 +0000 (21:29 +0800)]
Add oslo::db to dependency chain

All db settings should be applied and all releated packages should be
installed before dbsync starts.

Change-Id: I5194e34d0ffdde335b9f3e242c8924658bdebbd6

8 years agoFix puppet example in README
ZhongShengping [Sat, 21 Jan 2017 04:36:48 +0000 (12:36 +0800)]
Fix puppet example in README

keystone_password is reomved in ceilometer::api, use password instead.
ceilometer::rabbit_host, ceilometer::rabbit_password,
ceilometer::rabbit_userid are deprecated. Use
ceilometer::default_transport_url instead

Change-Id: Iab2341f8e14193616768cdb1787031b89cfa158a

8 years agoMerge "Fix typo in ceilometer_api_paste_ini_spec.rb"
Jenkins [Fri, 20 Jan 2017 20:36:54 +0000 (20:36 +0000)]
Merge "Fix typo in ceilometer_api_paste_ini_spec.rb"

8 years agoFix typo in ceilometer_api_paste_ini_spec.rb
zhangyanxian [Fri, 20 Jan 2017 06:07:37 +0000 (06:07 +0000)]
Fix typo in ceilometer_api_paste_ini_spec.rb

TrivialFix

Change-Id: I7f34f563048a224a266eeeb99cd2285bb4190957

8 years agoConfigure compute params in config
Pradeep Kilambi [Mon, 16 Jan 2017 18:15:03 +0000 (13:15 -0500)]
Configure compute params in config

Add a way to pass instance_discovery_method param to
override in the ceilo compute agent config.

Change-Id: Id7bd49510c0be76ed3f940c91108659beb440afb

8 years agoFix Ubuntu Ocata issues
Alex Schultz [Tue, 17 Jan 2017 22:22:53 +0000 (15:22 -0700)]
Fix Ubuntu Ocata issues

The Ubuntu libvirt package has been updated for Ocata and includes
the Debian name for the libvirt group now. This change updates the
libvirt group to be 'libvirt' and not 'libvirtd' as it was previously.

Additionally, we are not properly waiting for the ceilometer packages to
be installed before attempting to configure apache which under Ubuntu
can lead to a non-idempotent 2nd run if the apache configuration file
is installed after we've already run our apache configuration.

Change-Id: Id191d1a12c84a2bdb305630fd7b10516ac2ba0c2
Closes-Bug: #1657291
Closes-Bug: #1657309

8 years agoDeprecate ceilometer::agent::central
Emilien Macchi [Mon, 16 Jan 2017 20:17:58 +0000 (15:17 -0500)]
Deprecate ceilometer::agent::central

ceilometer::agent::central is deprecated and will me removed in a future
release. Users should declare ceilometer::agent::polling with central
namespace activated.

Change-Id: I52e83ecc3ba2f39a671b2b18a7a9a1c167375088

8 years agoPrepare 10.2.0 release
Alex Schultz [Sat, 14 Jan 2017 00:29:31 +0000 (17:29 -0700)]
Prepare 10.2.0 release

The third release for Ocata.

Change-Id: I4e2330bd3d3992f6901723294b36124bd0a0814d

8 years agoAllow python-memcache install from authtoken class
Matthew J. Black [Wed, 11 Jan 2017 22:18:55 +0000 (17:18 -0500)]
Allow python-memcache install from authtoken class

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

8 years agoAdd deprecation warning to ceilo api
Pradeep Kilambi [Tue, 3 Jan 2017 16:51:20 +0000 (11:51 -0500)]
Add deprecation warning to ceilo api

Change-Id: Ie16ddfe87ad75bb1f2c84a2aead6cd1d406a1bfc

8 years agoDeprecate signing_dir option
ZhongShengping [Tue, 27 Dec 2016 03:50:32 +0000 (11:50 +0800)]
Deprecate signing_dir option

The signing_dir is deprecated for removel because of PKI token format
is no longer supported.
Update warning message and release note.

Change-Id: I9adf3d2a0301c717321a09240a15352f8712b9d9
Closes-Bug: #1652700

8 years agoPin reno version to reno>=0.1.1,!=2.0.0
iberezovskiy [Thu, 22 Dec 2016 11:15:00 +0000 (15:15 +0400)]
Pin reno version to reno>=0.1.1,!=2.0.0

reno=2.0.0 breaks releasenotes test

Change-Id: I784ca8fb667fa52c860555da02ff7b1c919d1fad
Closes-Bug: #1651995

8 years agoAdd customization for wsgi process display name
Xing Zhou [Wed, 21 Dec 2016 04:55:37 +0000 (12:55 +0800)]
Add customization for wsgi process display name

Change-Id: I86495b73f386ff69bacd972947d702ea6861f94c
Related-Bug: #1626550

8 years agoPrepare 10.1.0 release 10.1.0
Alex Schultz [Fri, 9 Dec 2016 16:34:05 +0000 (09:34 -0700)]
Prepare 10.1.0 release

The second release for Ocata.

Change-Id: I4a60a45f07091b7a8dcae84e0febc10dce063a10

8 years agoFix spec test for sync
ZhongShengping [Thu, 1 Dec 2016 08:10:22 +0000 (16:10 +0800)]
Fix spec test for sync

Change-Id: I91d75ba57d72ccdee14993b60c8b2b102bb4558e

8 years agoAdd hooks for external install & svc management
ZhongShengping [Tue, 29 Nov 2016 01:21:48 +0000 (09:21 +0800)]
Add hooks for external install & svc management

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

8 years agoShow team and repo badges on README
Flavio Percoco [Fri, 25 Nov 2016 16:10:33 +0000 (17:10 +0100)]
Show team and repo badges on README

This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/c2ebc8a7e5f3f42ce5a40ca505705cf2

Change-Id: Id067fa732cd696310bdc9daf8b75da4b1360a688

8 years agoMerge "Prepare 10.0.0 release" 10.0.0
Jenkins [Thu, 17 Nov 2016 19:58:22 +0000 (19:58 +0000)]
Merge "Prepare 10.0.0 release"

8 years agoMerge "Fix common options position in params.pp"
Jenkins [Thu, 17 Nov 2016 08:56:28 +0000 (08:56 +0000)]
Merge "Fix common options position in params.pp"

8 years agoMerge "Remove old authtoken options"
Jenkins [Thu, 17 Nov 2016 08:07:43 +0000 (08:07 +0000)]
Merge "Remove old authtoken options"

8 years agoPrepare 10.0.0 release
Alex Schultz [Mon, 14 Nov 2016 23:39:18 +0000 (16:39 -0700)]
Prepare 10.0.0 release

First release of Ocata.

Change-Id: Ibd920b4dd9de61f94e071f027390748f3808d9f6

8 years agoSwitch ceilometer to rspec-puppet-facts
Mykyta Karpin [Fri, 11 Nov 2016 17:03:11 +0000 (19:03 +0200)]
Switch ceilometer to rspec-puppet-facts

Change-Id: I5befcadb924f0896457f3db0b712f6de157e926c

8 years agoFix common options position in params.pp
ZhongShengping [Mon, 14 Nov 2016 03:41:03 +0000 (11:41 +0800)]
Fix common options position in params.pp

These parameters are common for both systems,
they could be moved out from 'case'.

Change-Id: I7ff0caf6330a96cff8cbb58427ae2219293d2760

8 years agoReplace ceilometer-dbsync by ceilometer-upgrade
Alfredo Moralejo [Fri, 11 Nov 2016 11:28:35 +0000 (06:28 -0500)]
Replace ceilometer-dbsync by ceilometer-upgrade

https://review.openstack.org/#/c/388688/ has removed ceilometer-dbsync
and ceilometer-upgrade must be used instead.

Additionally, ceilometer-dbsync enabled option --skip-gnocchi-resource-types
and ceilometer-upgrade doesn't, so i'm setting it by default to
ensure backwards compatibility.

Closes-Bug: #1641076

Change-Id: I383fb7922e7984b067742e10a370b0d2f574dbe9

8 years agoRemove old authtoken options
Iury Gregory Melo Ferreira [Sat, 5 Nov 2016 16:26:35 +0000 (13:26 -0300)]
Remove old authtoken options

Since we are in ocata lets remove all old parameters
in api to configure the keystone_authtoken section

Change-Id: I101d1d38ad405dd8a418cb63f7345f7fd700cebe

8 years agoFix puppet version for requirements in metadata
ZhongShengping [Thu, 3 Nov 2016 02:25:10 +0000 (10:25 +0800)]
Fix puppet version for requirements in metadata

http://logs.openstack.org/08/393008/1/check/gate-puppet-openstack-integration-4-scenario002-tempest-ubuntu-xenial/283f87f/logs/puppet-version.txt.gz

Change-Id: I2af8d48e77f683db28358e2371bc0ec59128c48f

8 years agoDefine libvirt_group for RHEL family
Alex Schultz [Wed, 26 Oct 2016 17:28:59 +0000 (11:28 -0600)]
Define libvirt_group for RHEL family

We use the ceilometer::params::libvirt_group in the ceilometer agents
but since we do not define it for the RHEL family, it results in an
warning about an undefined variable. This change defines it as undef to
cleanup the warnings.

Change-Id: I6d768df0b7f3353171e90ca30b7f0d94fdc5d8dc

8 years agoDeprecate rabbitmq connection parameters
Alex Schultz [Mon, 31 Oct 2016 20:11:52 +0000 (14:11 -0600)]
Deprecate rabbitmq connection parameters

The rabbitmq connection parameters have been deprecated in favor of the
transport_url setting.

Change-Id: I04d9e09d30d4636773b2d64e7be27885cdb8775a
Related-Bug: #1625198

8 years agoMerge "Add test for policy"
Jenkins [Fri, 28 Oct 2016 10:30:13 +0000 (10:30 +0000)]
Merge "Add test for policy"

8 years agoAdd test for policy
ZhongShengping [Thu, 27 Oct 2016 15:20:58 +0000 (23:20 +0800)]
Add test for policy

Change-Id: I5e873dadf6a437f9698df9b67a94c7c1ac2aa5bf

8 years agoRemove verbose
Iury Gregory Melo Ferreira [Tue, 27 Sep 2016 23:38:55 +0000 (20:38 -0300)]
Remove verbose

Since we are in Ocata we should remove the
verbose option that was deprecated

Change-Id: Ie34e021c8a9f1d61be0cc9c6f2f05af76fac24e6

8 years agoFix documentation for log_dir parameter
Mykyta Karpin [Mon, 10 Oct 2016 12:10:27 +0000 (15:10 +0300)]
Fix documentation for log_dir parameter

Change-Id: I283453057845af1ec8e4e1e0419db2e9d5893abf
Partial-Bug: #1600294

8 years agoRelease 9.4.1 (newton)
Emilien Macchi [Fri, 14 Oct 2016 12:37:34 +0000 (08:37 -0400)]
Release 9.4.1 (newton)

Releasing 9.4.1 (newton).

Change-Id: I13ccc44cb90c91e366b4edbf2340bdc40e0db582

8 years agoChange worker defaults to ::os_workers
Maksym Yatsenko [Mon, 10 Oct 2016 13:57:46 +0000 (16:57 +0300)]
Change worker defaults to ::os_workers

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