Commit Graph

133 Commits

Author SHA1 Message Date
Ghanshyam Mann 48c2e02d00 Retire openstack-chef: remove repo content
OpenStack-chef project is retiring
- https://review.opendev.org/c/openstack/governance/+/905279

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/project-config/+/909134
Change-Id: I028dee11bce572e0ceaa8b2f1dab22a1abe00779
2024-02-17 20:49:30 -08:00
Lance Albertson 6d907dedf3 CentOS 8 support
- Update ChefSpec

Depends-On: https://review.opendev.org/c/openstack/openstack-chef/+/814234
Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-common/+/814235
Change-Id: I4593ffcb9700b232a1879a08e6bbd9cdaf76c222
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-22 10:46:43 -07:00
Lance Albertson 8151bc7d69 Chef 17 support
- Require Chef >= 16.0
- Update copyright years

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-common/+/813952
Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-ops-database/+/814032
Change-Id: I237243dd038cd1a27a9710131fb4ed016f6ee20c
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 09:31:08 -07:00
Ghanshyam Mann 3d40d5fe27 Moving IRC network reference to OFTC
Change-Id: Iab96a2416e6cb0e835ae4ad8b8a391cf42648fa5
2021-07-08 08:19:26 -05:00
Lance Albertson da53c9949b Update to Chef Workstation 21.2.303
Depends-On: https://review.opendev.org/c/openstack/openstack-chef/+/779389
Change-Id: Iec7c4bf5905242dc50c8f966b0acef1d66d624f2
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-03-08 16:13:39 -08:00
Lance Albertson 89013931c2 Cookstyle 6.19.5 fixes
Depends-On: https://review.opendev.org/756168
Change-Id: I37569390af252c1270d7e98aa03c062519a46992
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-10-05 17:06:01 -07:00
Lance Albertson b1e81544e9 Chef 16 updates
Update rabbitmq dependency which pulls in fixes for Chef 16.

Depends-On: https://review.opendev.org/740342
Change-Id: Ia1f172fea148aafe910e5185c0427d0ed7815475
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-08-22 21:06:36 -07:00
Lance Albertson c85c7d9e45 Updates for Train
Changed:
- Update release to train

Removed:
- Unused .rubocop.yml

Depends-On: https://review.opendev.org/731851
Change-Id: I73e62794e32bbec2549b4bc34b860591ffd6bd0a
2020-05-29 17:14:35 -07:00
Lance Albertson 08dbb7297d Update to rabbitmq ~> 5.8 cookbook
- Set sensitive=true for all rabbitmq resources being used to improve security
- Remove any default actions

Change-Id: Idf0c386f24df5dd2907fa0db59daf770e9c13f2d
2020-03-30 14:24:20 -07:00
Lance Albertson aeb030b124 Stein fixes
- Cookstyle fixes
- Remove rubocop_todo.yml as it's no longer needed
- Update documentation
- Update delivery configuration to exclude integration cookbooks

Depends-On: https://review.opendev.org/701027
Depends-On: https://review.opendev.org/706101
Change-Id: I470c9240b5ab88971f2f8291b4ec371d6648ff66
2020-03-19 10:59:34 -07:00
Lance Albertson b5ebaa6fa9 Set Berksfile to use ruby solver
This provides much better debugging output.

Depends-On: https://review.opendev.org/702772
Change-Id: Ife1b939c1fac0fc90c30e1d2a425d568ea7e7fd3
2020-01-23 17:17:36 -08:00
Lance Albertson 3d8f183879 Use Ubuntu 18.04 for ChefSpec tests
Change-Id: Ia6b03e3c45770495df0ba322e176f369347b9b7d
2020-01-06 11:42:56 -08:00
Zuul 2e87c304f5 Merge "Improve ChefSpec test speed by enabling caching" 2020-01-06 12:16:05 +00:00
Lance Albertson 3b508052a1 Improve ChefSpec test speed by enabling caching
This updates all references of let(:chef_run) to cached(:chef_run) to speed up
tests. By doing this, we have to create a new cached(:chef_run) block whenever
we need to adjust node attributes for testing.

Speed was improved from 24.75 seconds to 14.75 seconds.

Change-Id: Ib5bea5c649a80677b673099a55c1c965b9d38390
2019-12-07 21:31:34 -08:00
Lance Albertson a841d57454 Add myself to authors and add OSU to copyright
Change-Id: I28d971593ed6939d9dc729f645c8b3d9efd78f42
2019-12-06 11:36:07 -08:00
Lance Albertson 07f6c83a00 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: I21ccc2b022c9123e6449dd8d8639e0405b848711
2019-12-06 11:49:32 +00:00
inspurericzhang 43d5f9d13d Replace git.openstack.org with opendev.org
Change-Id: I29ab7ca7f062847ab919ef4bdf4d654a7e029e85
2019-11-19 18:21:17 +08:00
Lance Albertson 3abf7d79a1 Switch RHEL to using distribution packages for rabbitmq
Installing rabbitmq without using the distro version is failing and it works if
you use the distro version. So let's standardize on that for both ubuntu and
RHEL.

Change-Id: If757cf57574bb8389ae270523bfc3772d8dc08db
Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-06-16 10:48:18 -07:00
OpenDev Sysadmins ce6f3f40b3 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:34:25 +00:00
Christoph Albers afc19bd6ce overriding attributes should be the next logical presedence
- using normal to override the attribute will still give the
  chance to override it.

Change-Id: I24210a953871f37b380eceb297597a6f6629d7af
2019-04-03 10:44:12 +02:00
Christoph Albers 3187b91c8f fix rabbitmq config
- since we are using distro_packages for rabbitmq the default rabbitmq
  config name is broken overriding this attribute fixes this

Change-Id: Ia732d5ac4c64eab2126bbc385998585c96ff23d9
2019-04-02 16:01:50 +02:00
Jens Harbott 818851f790 Soften the rabbitmq version pin
With version 5.7.4 the rabbitmq cookbook should be working for us again.
However, we also learned that with the upcoming 6.x version of the
cookbook only versions >= 3.7.x of rabbitmq will be supported, which
isn't available as distro version at least for Ubuntu LTS releases yet.
So we change this pin into a soft match, allowing for updates within the
5.x stable branch, but blocking 6.x.

Change-Id: Id647f10fd5d4b69b441c4f8de8c325ec0032d9ea
2019-03-21 10:29:26 +00:00
Jens Harbott a37377329f Allow to disable the rabbitmq management plugin
There is a bug in the rabbitmq-server setup for Queens that may cause
the cluster to lock up and stop responding[0]. The workaround for this
issue is to disable the management plugin, so add an option that allows
us to deploy this workaround.

[0] https://bugs.launchpad.net/bugs/1783203

Change-Id: I1d0e6c5fb8eeb35e4e966ef102e46c45c357a1ca
2019-03-12 17:37:40 +00:00
Jens Harbott 300bb041f2 Pin rabbitmq cookbook to avoid broken version
Version 5.7.1 seems to break things when running with the distro version
as in our setup [0]. Pin to 5.7.0 until there is a fix.

[0] https://github.com/rabbitmq/chef-cookbook/issues/508

Change-Id: I10059588716dea49a5a0ad996db20323d458bd43
2019-03-12 13:57:49 +00:00
ZhijunWei 59285c3da4 Change openstack-dev to openstack-discuss
Change-Id: I0beb4a40a29ad844153620c72ae620bd8f6f482b
2018-12-04 23:21:07 -05:00
Samuel Cassiba 4bbfe57c12 Rename openstack-chef-repo references to openstack-chef
Change-Id: I36c71442fe0be6ce0b3975e53c37821946f0d5d9
2018-08-06 21:50:15 -07:00
Samuel Cassiba 5a07ed0d6d starting rocky development patch
Depends-On: I75d827d383f701da8650cd0e9d1f2501e22cf6a2
Change-Id: I6fc0f0f2c1814e5e617acbde1cc76fc43f8aaebb
2018-08-03 06:29:44 -07:00
Samuel Cassiba b8e9a8e89a Add delivery config
Change-Id: I87955650b1de809549815289b38bf6b5fec11ae5
Implements: blueprint deprecate-rakefiles
2018-04-11 22:38:20 -07:00
Samuel Cassiba 6ee7501c83 starting queens development patch and use git.openstack.org
* use git.openstack.org instead of github for berks dependency
resolution
* drop unnecessary test, as TLS is the default install

Change-Id: I58b140b6548eb7f8e3317ce566a7082623c9fc4f
2018-03-06 09:50:37 -08:00
James E. Blair 37be379773 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: I60726c924991f826c2bb121c43e4ba060e39cdee
2018-01-27 01:52:56 -08:00
Samuel Cassiba d41044ce64 ops-messaging refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket access
- updated for the most recent upstream rabbitmq cookbook

Implements blueprint modern-chef

Change-Id: If971a472c1fd9149a891200548a267655620fce2
Depends-On: I143e0ed0a2bdd76269fc0c402052696426d96d81
2017-11-28 17:00:50 +00:00
Jens Harbott 77aad815f7 Add native zuul v3 jobs defined in openstack-chef-repo
Change-Id: Ida7a439c71e42359d80b10bff2fb43727866593a
2017-11-02 10:46:47 +00:00
Samuel Cassiba 7ddc2b7c7f Initial ops-messaging Pike updates
- Switched default linter to cookstyle
- Renamed rake tasks to better conform with Chef conventions

Change-Id: I84ebeb49823b022e85dddea9fcdd358b27be50a3
2017-08-25 10:08:10 -04:00
Jan Klare 7318a42ca1
starting pike development patch
Change-Id: I76c914f68612c0e76dcee8e0557ff62f769533db
2017-08-18 10:07:11 +02:00
Samuel Cassiba 59580431cb Reordered metadata.rb for readability, satisfy foodcritic/rubocop
Change-Id: I0dd19692ae9ca1c403762fa19e4c45e60cc76fcd
2017-08-17 18:04:58 -04:00
Jan Klare 67ff49781c add new Chef OpenStack Team Logo to README
Change-Id: Ifd7b8ef493a1810d01a11fa4c1e77dfae7a4ed14
2017-05-29 12:07:52 +02:00
Jan Klare 0597b9fa53 adapt specs to fit new rabbitmq user username "openstack"
Change-Id: Ic0c6eff8c8d4a75212658140f81eaa7ab70f1be8
2017-05-29 12:06:05 +02:00
Jan Klare 5d67609c1c starting ocata development patch
Change-Id: Ib072d366ae1684efe216ea57511aea1866840543
2017-02-23 17:07:04 +01:00
Jenkins de59aac72e Merge "update cookbook dependencies for next release" 2016-12-08 07:57:30 +00:00
Jan Klare 96ecc7c4f8 update cookbook dependencies for next release
Depends-On: Ib256c315d5439beb8d4ec83c5cc7d7c9b182378a
Change-Id: Ic7a5e1c9191a9083125583c274c08b9335728c39
2016-12-05 16:06:54 +01:00
Flavio Percoco 9eeac56353 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/0ca337ce5662d328b7671072829d33bd

Change-Id: Ib290714a1dbf045de262d43aa95896541d5ad6e1
2016-11-26 11:54:14 +01:00
Jenkins 4c915806b5 Merge "rabbitmq cluster_nodes attributes should be array of hashes" 2016-07-11 15:38:48 +00:00
Jan Klare 2064bd3d98 rabbitmq cluster_nodes attributes should be array of hashes
Change-Id: I471ef78d72adc76848e6c04322918d81093530dd
2016-07-07 09:43:49 +02:00
Samuel Cassiba 82739b2c2d Style and lint fixes to support newer ChefDK
Change-Id: If444be3354ed0f9ec961cc2fe726e53645dba87a
Depends-On: I6ce4587caa3ae68ddbd3ef1a521aaf46f4840b2c
2016-07-03 10:18:50 -07:00
Jan Klare 93507bd15c initial commit for the newton development cycle
Change-Id: I03778774a931e6f22b576322fb3fef398a50740e
2016-05-31 10:44:07 +02:00
Jan Klare 503703fb2b use bind_service instead of endpoints and cluster properly
* rabbitmq should use the bind_service attribute instead of the endpoint one,
  since these could be different
* adapted rabbitmq clustering attributes
* adapted rabbitmq clustering search to point to recipe instead of role

Depends-On: Iae7e302973805af3cb44be1b29d0e61e76eb0aa0
Implements: blueprint cookbook-refactoring
Change-Id: I08ed288e63422078d9beb36d14fd3c05f1cac435
2016-02-16 15:58:10 +01:00
Jan Klare 1e0a81aecd adaptions to work with refactored cookbooks
* adapted rabbitmq-server recipe to fit new endpoint logic
* removed unneeded server recipe
* fixed typo in rabbitmq-server recipe (port -> ssl_port) attribute
* adapted specs to properly check for ssl configuration

Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Implements: blueprint cookbook-refactoring
Change-Id: I80ed8a7892b59f7fd582505445a31b0df8d68752
2016-02-08 10:42:52 +01:00
Mark Vanderwiel 4cbc897422 Add integration task
Add missing gate integration task, but use the one from
Common cookbook to make future updates easy.

Change-Id: I1f2b0737585ae67fe31be6e5e32b94cfb1cbcf61
2015-10-06 09:50:32 -05:00
Mark Vanderwiel efc4821c65 Initial Liberty Changes
Metadata changes
- Updated maintainer email
- Updated the version

Change-Id: Ieb8663d63c8dff92064969b92dce71d7d51376d6
2015-08-30 08:02:21 -05:00
Mark Vanderwiel 8aaf95cdcd Pick up ssl ciphers fix in rabbitmq cookbook
from pull request: https://github.com/jjasghar/rabbitmq/pull/280

Change-Id: Ie803255049b44ceaa7e4715db2a5e4cc70a78c31
Related-Bug: #1465846
2015-07-20 08:55:07 -05:00