Commit Graph

41 Commits

Author SHA1 Message Date
Lance Albertson 59189b5bed Updates for rocky
- Replace git.openstack.org with opendev.org
- Update some documentation
- Move README.md to README.rst for better rendering
- Drop obsolete bootstrap.sh script

Change-Id: If94bd0673690681837f25d76fa28139406945e71
2019-12-06 11:31:16 -08:00
Lance Albertson 0a6f1d840a Remove deprecated api service
The API service for Ceilometer was deprecated in Ocata [1] and apparently we
missed that. This removes all references to the API service which is no longer
needed.

[1] https://docs.openstack.org/releasenotes/ceilometer/ocata.html#deprecation-notes

Change-Id: I7a888a4aaadaa8213d6763854b39d78910fad0db
Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-11-19 09:47:11 +00:00
Lance Albertson 2fc511323f Create attribute for setting options passed to ceilometer-upgrade
I ran into a problem similar to this one [1] where testing gnocchi
commands did not work properly. The key problem is the fact that
`--skip-gnocchi-resource-types` was included in the ceilometer-upgrade
command.  To allow an easy work around, I figure we can just create an
attribute which can add any option to ceilometer-upgrade so you can set
it to '' if you don't want it.

It might be debatable on whether to just default to run it with out
ceilometer-upgrade instead.

Some additional fixes include:

- Move the ceilometer-upgrade command to a new setup recipe where it
  makes more sense since it needs to be run after Ceilometer and Gnocchi
  are setup.
- Fix name of gnocchi-metricd_service for RHEL
- Add same apache restart fixes that we implemented in other cookbooks.
  This is needed so that you can properly run ceilometer-upgrade with
  gnocchi enabled.

[1] https://bugs.launchpad.net/openstack-ansible/+bug/1737096

Change-Id: I619ef044b8cb254b23e0c7bc674c46d5dd7e0076
Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-11-18 14:47:26 -08:00
melissaml 81ae259189 Update the url in README.md
Change-Id: Ica910c8761fc9fe0065293b68e3e35b187aba327
2018-09-23 17:22:58 +08:00
Seb-Solon 2e812eb316 Replace ceilometer-dbsync by ceilometer-upgrade
ceilometer-dbsync is removed in pike release
see : https://docs.openstack.org/releasenotes/ceilometer/en_GB/ocata.html

Change-Id: I2d2407e4b0deb38e8fa410c9e96e2d16e69964e3
Closes-Bug: #1727329
2017-10-26 09:19:43 -04:00
Hanxi_Liu 19edd22d7c Stop using old gnocchi reference
Gnocchi is being moved outside OpenStack to gnocchixyz.
Stop using its OpenStack reference.

Change-Id: Ib88dce329309472570d2c857c117f5fb73dd81ed
2017-06-01 14:48:10 +08:00
Jan Klare fd97f0e5bb add new Chef OpenStack Team Logo to README
Change-Id: Ie2c5bfb9f749e4b86e9e0918504624c4346f1a86
2017-05-29 10:53:08 +02:00
Flavio Percoco 6477bbaf3c 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/ab0913d479d473d2ccd2864614f3ce25

Change-Id: Iaa5a4acef8aa4d8162e32971eb6251e6c3175e5f
2016-11-26 12:03:43 +01:00
Christoph Albers 2e00d31d1f use_cookbook-openstackclient/identity_v3
- Now use cookbook-openstackclient to create endpoints role service and
  user
- added domain creation and access granting
- added values to work with identity_v3
- rewrote specs to work again
- updated readme

Change-Id: I6c91c874013190522dd7f1fd6060dc3796dc80fd
Depends-On: I0f8955f05de9b33711c54b9a198f45018cceb8e1
Depends-On: I2d404a424bd79a6e9b282304e21591fa33a48981
Depends-On: If7b4d6e563081a0be9957353d73ef61a9688df56
Depends-On: I84f850f32f25a318c3ed3c7337a0dfa6f641a5fe
2016-09-30 12:00:22 +02:00
Samuel Cassiba 00942d8d8d Style and lint fixes to support newer ChefDK
Change-Id: I9c105163c4425ca53eb26d09e42d6efced43bf6a
Depends-On: I6ce4587caa3ae68ddbd3ef1a521aaf46f4840b2c
2016-07-06 13:39:59 -07:00
Jan Klare faceb7e6e0 initial refactoring step and addition of gnocchi
* applied new template logic and refactored all recipes accordingly
* removed vmware and suse support and specs
* removed alarm ceilometer-alarm notifier and evaluator (needs to be rewritten
  for aodh)
* added recipe for telemetry-metric/gnocchi deployment
* set gnocchi as default dispatcher for ceilometer
* added initial specs for gnocchi recipes

Depends-On: I22114b6d2d46cce561a2f292b92ff5f531cff533
Change-Id: If513cb2715d8266845bd6541d12005edef70f11c
2016-06-20 17:50:16 +02:00
Jan Klare dc78336dd9 move from bundler to chefdk
- deprecated Gemfile
- updated TESTING and README
- updated Rakefile to use chef exec instead of bundle exec
- replaced Runner by SoloRunner in specs

Change-Id: If523a416d87e2f6424923acd9942b44382c67065
2015-04-29 10:45:22 +02:00
lqslan 4e83133835 Enable store_events parameter in notification service
Change-Id: I0075ece1afba2bfdf5cb422249a6f0d9072393ab
2015-04-07 23:28:14 +08:00
root 5feb714c32 Introducing ttl to openstack-telemetry
ttl is the time_to_live value that will be configured against database. This value
indicates the expiry time for ceilometer samples

Implements: bluerprint ceilometer-db-cleanup-configuration

Change-Id: I1c207e15ec0ca23c2fbd0db10842e600e71d69df
2015-03-24 15:15:21 +00:00
lqslan 2d36ef461f Make ceilometer dbsync command timeout to be an optional parameter
The default dbsync command timeout value 3600 seconds may be too small
when there are large data in ceilometer database.
Make timeout to be optional to fix this problem.

Change-Id: Id4e703fab260f8e010ff089e4134e7aab8e21fd2
Closes-bug: #1389111
2014-11-05 17:46:48 +08:00
Mark Vanderwiel d0d8d07afb Cleanup cookbook contact info
* Consistent email across cookbooks
* Add Contributor.md to help out new folks
* Fix broken link in Testing.md
* Readme tweaks

Change-Id: I04e953616aa82781dbdc2fae7dda71b01584f371
Partial-Bug: #1342735
2014-10-14 10:25:20 -05:00
chenxiao 7a188bf3b1 Allow ceilometer auth settings to be configurable
This patch is for allowing cafile, os_cacert, insecure,
memcached_servers, memcache_security_strategy,
memcache_secret_key and hash_algorithms to be
configurable.

Change-Id: I4d8f94195a75f590849e5a1ea948a3837cdf38a0
Closes-Bug: #1372371
2014-09-23 10:21:34 +08:00
gengjh 4529146a83 Support VMware hypervisor inspector
1. If the compute driver is vmwareapi.VMwareESXDriver or
vmwareapi.VMwareVCDriver, set the hypervisor_inspector to vsphere and
add vmware section in conf file.
2. Reuse the vmware related attribute from compute cookbooks since
ceilometer need monitor the same vsphere.
3. Update the testcases

Closes-Bug: #1351619
Change-Id: Ie67e84e5695bd5f9ceaa6ed6682cfe33f7ed0b68
2014-08-04 09:28:36 +08:00
Ionuț Arțăriși 10ce42a987 use new python_packages attributes from -common
*_python_packages attributes are being moved to -common in order to
remove the duplication from all the cookbooks which are using them

Change-Id: I03d0acf12d4c53952498beeaefad9f3b237ccb9d
Implements: blueprint move-python-db-client-attrs-to-common
2014-07-07 17:31:21 +02:00
hill 869ca9824b Add attribute sample_source
The sample_source is used to specific the source name of emitted
samples.It required to use different name if you want to consolidate
the data from different openstack region.
Changed the version to 9.1.2 and modified the change log and readme.

Change-Id: I0c2e0b6d651ad6c4daf724041014582b31337073
2014-07-04 18:13:03 +08:00
Darren Birkett 0d04a07734 Add ability to specify api host/port in config file
Add the ability to override the default listen IP/port for the api
service in the config file.
Use the ['telemetry-api-bind'] namespace to derive these values

Implements blueprint increase-ip-binding-flexibility

Change-Id: Ia51bd1b760563f06ed36ec8190f36f4e03a79695
2014-04-25 16:07:21 +01:00
Jenkins 0bc923e107 Merge "Add DB2 support to ceilometer on redhat platform" 2014-04-04 16:02:01 +00:00
Luis A. Garcia fc302f9550 Add recipes for alarm services
The telemetry cookbook currently lacks recipes for the alarm and the
agent notification services. This patch adds them as well as their
corresponding specs and documentation.

Implements blueprint alarm-sevices

Change-Id: I2896db6e95f52f4488ec8bb9bcb88c697cb712b6
2014-04-03 12:34:53 -07:00
Chen Zhiwei 3d27fb8363 Add DB2 support to ceilometer on redhat platform
Add a new attribute
default['openstack']['telemetry']['platform']['db2_python_packages']

Change-Id: I51c6974956ea5247f31f1d060cc8404610fab1d1
Implements: blueprint db2-support
2014-04-02 20:38:00 -04:00
ericzhou eb15ff73a5 Use the library method auth_uri_transform.
Change-Id: Id4f1cf95aaa96164c7eeae40550dac8857b31800
Imlements: blueprint move-keystone-authtoken-move-auth-uri-logic
2014-03-17 14:17:05 +08:00
Chen Zhiwei c74a5400b7 Rename openstack-metering to openstack-telemetry
update cookbook name, attribute name

Change-Id: Ibd17a61b06769ed03e87bdcf54f394e67fce5bcb
2014-03-12 23:47:26 -04:00
Jenkins e8f2c7d0a7 Merge "Add NoSQL support for metering." 2014-03-09 21:57:40 +00:00
ericzhou e3db2693b5 Create tenant/user and grant admin role for metering.
Create tenant/user and grant admin role for metering.

Change-Id: Ia1803d7b7b34bf48fd1282785967ac82a571a8a9
Closes-Bug: #1288047
2014-03-06 16:29:04 +08:00
ericzhou dc647a3283 Add NoSQL support for metering.
When NoSQL is used, ceilometer db sync is not required.

Change-Id: I568baf73d95311d895cbd59119688495a0b879dc
Implements: blueprint metering-nosql-support
2014-03-05 11:53:24 +08:00
Mark Vanderwiel 1c25bafc37 Add client recipe for metering
Add an explicit recipe for installing client
only packages.
Tests are also included.
Bumped minor version for this new feature.
Added RHEL support and test

Change-Id: Ic4170f0df1a88839e97458ed5cb68237e61d0134
Addresses: blueprint add-client-recipes
2014-02-13 13:53:48 -06:00
Hugh Saunders 387fce5f9e Remove Berksfile.lock from dev branches
blueprint remove-berksfile-lock-from-dev-branches

Change-Id: I4267994ade81fe45dae52c1476d555e19f91705c
2014-01-20 17:30:10 +00:00
Matt Ray c1f4c9b7f8 Filling out initial rubocop support for metadata.rb and the Gemfile.
https://blueprints.launchpad.net/openstack-chef/+spec/lint-and-unit-testing-for-havana
Removing tailor, cleaning up metadata and Gemfile, added TESTING.md and fixed a
broken test.

Addresses: blueprint rubocop-for-metering
Change-Id: I5a712c18033b6586548903dea93c8421050d971e
2014-01-09 17:37:17 -06:00
zyouzhou-cn 07e53e7b21 Fix qpid backend issue in ceilometer.conf
Change rpc_backend for qpid from nova.openstack.common.rpc.impl_qpid to
ceilometer.openstack.common.rpc.impl_qpid.

Change-Id: I6fc89dd218ce9f6daf8fb388372d1a6c116637e5
2013-12-18 00:05:52 +08:00
Ionuț Arțăriși 9423f6110d upgrade to Havana release
also upgrade gems:
- berkshelf, ~> 2.0.10
- chefspec, ~> 3.0.2
- foodcritic, ~> 3.0.3

Change-Id: I732f73d02263e3257167898826dbb8d0f60a064d
2013-12-12 09:42:55 +01:00
salmanbaset 510d2ee279 Adding qpid support to ceilometer
Moving all qpid parameters under default["openstack"]["metering"]
["mq"]["qpid"] so that other qpid options can be added under it.
Rabbit parameters will be brought under "mq" eventually. MQ is
selected through default["openstack"]["metering"]["mq"]["service_type"].
Default is "rabbitmq".

Implements: blueprint qpid-activemq-support
Change-Id: I4dd153a631063ee7c518e2d49fe01aa39a6f261d
2013-11-30 00:35:58 +08:00
Justin Shepherd dc89aea2de Fixing inconsistent auth_token middleware
* Version bump to 7.0.5

addresses: bug #1207504

Change-Id: I5b0360369fa18772c7a488458e271678f465ca8f
2013-11-11 22:36:29 -06:00
Jenkins 16af04fa8b Merge "Added identity_registration recipe" 2013-08-09 20:34:02 +00:00
Jay Pipes c05b833a41 Remove UTF char from README.
Change-Id: I23fdbca9dad251c2523bf6d1ff2b8859b7e219fd
2013-08-08 18:12:03 -04:00
John Dewey 2f736dd4d4 Added identity_registration recipe
Added recipe necessary for metering service & endpoints registration.

Change-Id: Iaa8c4f31dffcb85395bf2fedba8f294849fa0697
2013-08-08 12:05:00 -07:00
John Dewey c9851501b7 Initial add of ceilometer recipes
These were migrated out of `openstack-compute` and into their
own cookbook.  This is an initial best-effort attempt.

Made the following changes, which differ from the recipes imported.
* Moved to openstack["metering"] attribute namespace.
* No longer performing source install.  This was done for folsom.
* No longer writing out an Apache virtualhost.  This was done to
  protect the folsom non-authenticated API endpoint.
* Templates write out as the ceilometer user/group vs nova.
* No longer including nova-common recipe.  It doesn't appear nova.conf
  is necessay (although I may be wrong).  The stackforge puppet manifests
  do not seem to do this [1].
* Added Strainerfile for testing.

  [1] https://github.com/stackforge/puppet-ceilometer).

bug 1187514
Change-Id: Ia97126e13e422037ad1f2c89debd9e4cdfa60b0a
2013-08-02 14:20:06 -07:00
Matt Ray 8542c979f8 initial placeholder README
Change-Id: Id3f6cc9ec45a8ee59a538e7c210f9ff5b2c731c7
2013-05-17 14:45:05 -05:00