Commit Graph

174 Commits

Author SHA1 Message Date
OpenDev Sysadmins 23c7d8911f OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:40:37 +00:00
Samuel Cassiba 971b95954a Migrate Zuul jobs to openstack/openstack-chef
Change-Id: I875e835282415d4127f907db77791f3e75d1e270
2018-08-31 23:28:55 -07:00
Samuel Cassiba ef69c81942 stable/pike release
Change-Id: I28c1c76357a53b4d119e93690c26a7c9e9bdc739
2018-02-26 07:32:42 -08:00
James E. Blair 1f1739a698 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: I53c6bf99a218adb6a14f6fe339caa82a5439541d
2018-02-05 22:02:37 -08:00
Zuul d480d8801f Merge "disable ceilometer events when using gnocchi as backend" 2017-12-22 20:55:18 +00:00
Jan Klare 720ffcb9ed
disable ceilometer events when using gnocchi as backend
Change-Id: I0b9adc6a2ea8d5973c71152dd5d5efa3bbacf2a6
2017-12-15 12:09:55 +01:00
Samuel Cassiba b1c74d581e telemetry refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- moved package_overrides to common cookbook

Implements blueprint modern-chef

Change-Id: I7471f1ca3b2348d76e1fd502f335047053459ff4
2017-12-10 11:38:02 -08:00
Roger Luethi 88c718d574 Remove domain role from ceilometer, gnocchi service users
This patch removes the openstack_user resource with :grant_domain
action. A user is always created within a specific domain; such a
membership cannot be tacked on later. This resource gave the users the
role intended for their project for the domain (i.e., for the Default
domain instead of for the service project).

We add the domain_name attribute that creates the users in the
desired domain. Note that this change needs a sufficiently recent
openstackclient cookbook -- otherwise the domain_name attribute is
ignored (which does not matter as long as the users are to be
created in the Default domain).

Change-Id: Ie793b3d2e0419da90888edbf33ff28d819892dcf
2017-11-13 15:08:49 +00:00
Roger Luethi 9ad24ffd47 Remove superfluous role_name arguments
This patch removes the role_name when using openstack_user's :create
action (it gets ignored by the target method).

Note that the spec test would still pass if only the line in
identity_registration.rb (but not the test) were changed, because the
code that actually does grant the role to the resource is executed right
after user creation and before any tests check the resource for the
existence of the role_name attribute. In other words: if the argument
were required in a call but only supplied in another call, the spec
tests would not catch it. Something to watch out for.

Change-Id: I45754d269598b821f0b86b6257556ebfe74dcd6b
2017-11-13 15:53:27 +01:00
Jens Harbott 7f4f94e57b Add native zuul v3 jobs defined in openstack-chef-repo
Change-Id: I33ff7caf87a3e88434407854b3c37a016e92e5c7
2017-11-02 10:43:46 +00:00
Zuul a2ac02958f Merge "Replace platform_family method and use attribute instead" 2017-10-29 02:57:20 +00: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
Seb-Solon 994abe4551 Replace platform_family method and use attribute instead
Change-Id: I1cc48f0cf67aee76372b69f86323210c933f67fd
Closes-Bug: #1724987
2017-10-25 22:01:55 -04:00
Samuel Cassiba d6736f20ac Initial telemetry Pike updates
- Switched default linter to cookstyle
- Renamed rake tasks to better conform with Chef conventions
- Normalized template banner

Change-Id: If802d82561619a0b7951422dc0e1e913f2c4c8b4
2017-08-25 10:14:01 -04:00
Jan Klare 516a5e7a62
starting pike development patch
Change-Id: I3db326b33dcc3f2149eb5506582683011f2345e5
2017-08-17 14:19:59 +02:00
Samuel Cassiba 76ee6952af Style and lint fixes for chefdk, deprecated Gemfile
- Style and lint fixes for newer chefdk
- Removed ancient Gemfile
- Rewrote metadata.rb for readability

Change-Id: Iba9ba7110dfde7635edc6706ecbbafbdbb161002
2017-08-10 17:50:31 -04:00
Christoph Albers 5578a44ee7 Fixed directory creation
- there was a bug when creating the
  node['apache']['run_dir']}/ceilometer directory
  which won't be created when the enclosing folder doesn't exist.
  This is the case especially on Compute-Nodes in Multi-Node environments

Change-Id: Id7fa2f415b85c83c978cf391c7ad4afe08239250
2017-07-25 12:01:44 +00: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
Samuel Cassiba 128e66eb4b Corrects Ceilometer installation, fixes typo
- corrects deamon_process to daemon_process
- removes duplicate Listen directive in wsgi-template.conf.erb that gets
  emitted in ports.conf that the apache2 cookbook lays down
- adds a run directory for ceilometer api socket

Change-Id: Ia369a50e42453428b0c572659b0c4078920e9890
2017-03-06 18:09:03 -08:00
Jan Klare 30b8f35848 starting ocata development patch
Change-Id: I20539fad7a02aafea734719dc90b757bc5c6bde6
2017-02-23 17:07:20 +01:00
Jenkins 3d4ebe0106 Merge "Add an option variable to gnocchi-upgrade command" 2017-02-20 13:06:11 +00:00
Jens Rosenboom 3b8259871e Add an option variable to gnocchi-upgrade command
When running with Ceph as Gnocchi storage backend, the upgrade may fail
in certain situations, so we need to be able to insert some option into
the call.

Change-Id: I52be4a184be2b0cca2289acce86d8fdf3b807651
2017-02-17 15:29:04 +01:00
Jens Rosenboom 73fa9aa276 Fix gnocchi installation for Newton
- Remove hardcoded old package version, always upgrade to latest
  version instead
- Install python-gnocchiclient needed by ceilometer in order to access
  the gnocchi backend

Change-Id: I6f6af90d3107df86bd0abbaacfca0836f7771cfe
2017-02-15 17:42:45 +01:00
Christoph Albers e5a08068c8 platform fix for rhel (centOS)
- added attributes for both wsgi apps on rhel

Change-Id: I44daf77e2938894e13aae9e5ddeb0f13170f6bb6
2017-01-04 10:41:36 +01:00
Samuel Cassiba 5ffe62cb7d Deprecated python-ceilometerclient / python-gnocchiclient
- deleted client.rb
- deprecated python-ceilometerclient / python-gnocchiclient
  references

Implements blueprint newton-xenial

Change-Id: I94ce3d095349bcf59115c3655b13bccd2932130a
2016-12-20 08:40:14 +00:00
Jenkins a266dc83ee Merge "ceilometer-api and gnocchi-api need to be disabled on Ubuntu" 2016-12-19 18:53:06 +00:00
mbuege fa541f72fd ceilometer-api and gnocchi-api need to be disabled on Ubuntu
Change-Id: I76622053bd792c70b84f1cf358e7ab118ef23390
2016-12-19 12:10:22 +01:00
Christoph Albers 948cf7a4b3 RPC_backend / transport_url workover
- removed deprecated rabbitmq attributes
- added rabbit_transport_url

Change-Id: Iafb0c0644d4e9462aca0ee140aa0d06fa18e5f3e
2016-12-16 17:48:37 +01:00
Christoph Albers dd8c23b596 Now using bind_service instead of node attributes
Change-Id: Iae2f2fc10071e969be905e5eca9401de1fba1c28
2016-12-16 09:35:17 +01:00
Christoph Albers b33c0ca574 Ceilometer-api / Gnocchi-api WSGI refactor
- now using wsgi apps for both apis
- bumped gnocchi package version due to python-openssl bugs

Change-Id: I63636ca8c08660f44433e701c55e1e0e7db5465f
2016-12-09 10:01:43 +00: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 327878ed18 Removes bare-metal cookbook from Berksfile
Change-Id: I659bd14939c4a302f644070ce00d21ec5dd6d2a2
2016-07-26 22:09:33 -07: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 ddbab534e0 initial commit for the newton development cycle
Change-Id: I4594c66bba8bde96562d838b1fbc1f05d7961ab0
2016-06-23 17:00:38 +02: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
Mark Vanderwiel fd677da703 Add integration task
Add missing gate integration task, but use the one from
Common cookbook to make future updates easy.

Change-Id: Ieba36c4c469b29ba60a08ed3b78b7ef69a70d2b2
2015-10-06 09:51:38 -05:00
JJ Asghar 495ae4a088 Initial Liberty Changes
Metadata changes
- Updated maintainer email
- Updated the version

rubocop updates. remove db2 reference

Change-Id: I116801590b438d49f042aa70d94a6fa84670afc5
2015-08-31 16:42:34 -07:00
Yi Ming Yin 76ba93e362 Change os_auth_url to use identity_endpoint in conf template
Current template ceilometer.conf.erb is using auth_uri for os_auth_url
which is not a correct approach. This auth_uri is dedicated to be used
by auth_uri under section [keystone_authtoken]. On the other hand, the
passed in identity_endpoint param is not used. Actually, by comparison
with other cookbooks, identity_endpoint should be used for keystone
identity service connection.

Change-Id: I50c631000efe9c82cd83723c1bf9a7c6ef54556c
Closes-bug: #1479399
2015-07-30 13:07:06 +08:00
Mark Vanderwiel 7b4eed9eb5 Replace deprecated get_secret
Use get_password 'token' instead.

Change-Id: Iab395042c34bceb1ce30e01d264276ef4cc8d251
Partial-Bug: #1467662
2015-06-22 15:49:51 -05:00
Mark Vanderwiel df5bec0b0a Allow rabbit mq kombu ssl configuration
Add the rest of the kombu ssl configuration options.

Change-Id: I720aea02ea26d7a64aeb5c92575a7a6f77458918
Partial-Bug: 1464706
2015-06-16 10:55:41 -05:00
Jenkins 9e62dd901c Merge "Allow oslo rabbit heartbeat configuration" 2015-06-15 17:24:15 +00:00
wenchma d7af4c4088 Sync stackforge/cookbook* to openstack/cookbook* for ceilometer cookbook
Change-Id: I6c8e98340ad2e109fb6b9fb5371b61e7d718c8ee
Partial-Bug: #1465116
2015-06-15 16:15:05 +08:00
Mark Vanderwiel 430f5f7466 Allow oslo rabbit heartbeat configuration
In order to allow components to better handle and respond to mq failures,
oslo has some heartbeat options that are useful.

Change-Id: I02faeba2c10d9c9b8035819156bfdc0759bafcc6
Partial-Bug: #1462438
2015-06-15 03:06:49 +00:00
Jenkins d50d2067f4 Merge "Update .gitreview file for project rename" 2015-06-13 21:57:02 +00:00
Jeremy Stanley 2a1d382c21 Update .gitreview file for project rename
Change-Id: Ia4e01610933555e999198e125228b689b0473519
2015-06-12 23:12:30 +00:00
wenchma ff2d6f597d Add rabbitmq max_retries and retry_interval attributes in ceilometer conf
Oslo.message using rabbit_max_retries and rabbit_retry_interval to
define reconnect rabbitmq server times and interval when can not
connect to rabbitmq server.

Change-Id: I1fd9d4840a55453667eb2ed4c03e4c3cb72442b9
Closes-bug: #1439968
2015-06-12 15:14:47 +08:00
Jenkins a84faad2e3 Merge "Update the deprecated group/name to Kilo release" 2015-06-03 13:21:05 +00:00
wenchma ee190da9e9 Update the deprecated group/name to Kilo release
For Kilo release, there are many deprecated group/name in conf files of openstack,
so we need to change the deprecated group/name to new group/name.

blueprint conf-section-update-for-kilo
Closes-bug: #1436170

Change-Id: Icf361d2132553bbc20b517c8b08f6df2d069e8bb
2015-06-03 10:16:39 +08:00