Commit Graph

135 Commits

Author SHA1 Message Date
OpenDev Sysadmins 61bfff1c5c 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:37:17 +00:00
Samuel Cassiba 9896a6d0b7 Migrate Zuul jobs to openstack/openstack-chef
Change-Id: Ib97a06993ada74ad4029146fc316b8e8273facf7
2018-08-31 23:25:14 -07:00
Samuel Cassiba e0970172e9 stable/queens release patch
Change-Id: I515f4ef9a5ecdea9557e6f7feb1a38bcda6e6c4f
2018-07-26 20:55:31 -07:00
Samuel Cassiba 2fd2b86adb Increase default connect timeout for mariadb
The mariadb cookbook imposes a default connect_timeout of 5 seconds.
This is too aggressive for services to initialize, and they error as a
result. To avoid such problems, mariadb should allow for a higher
threshold before timing out a connecting service. This change raises
that timeout to 30 seconds to be more graceful for services warming up.

Change-Id: I70775929dc49ed8c00a23bc7e354ebf9e9feb7f0
2018-06-14 13:23:19 +00:00
Samuel Cassiba d55863cde8 Add delivery config
Change-Id: Ie428e7872ea1ed02ab080fe7778082f5255bb6ed
Implements: blueprint deprecate-rakefiles
2018-04-11 22:37:10 -07:00
Samuel Cassiba f5e2e58c4e starting queens development patch and use git.openstack.org
* use git.openstack.org instead of github for berks dependency
resolution

Change-Id: I0b73ea2e711d996f886000f584d350c581571610
2018-03-06 09:01:53 -08:00
James E. Blair 18fefbe962 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: Iadc889634b06072846a1607f2ae68c1533742ffe
2018-01-31 22:34:06 -08:00
Jens Harbott 3731993f6a Add receipes for mariadb cluster deployment
After removal of the percona cluster receipes, add support for deploying
a galera-based mariadb cluster instead.

Change-Id: I7e4d0fc804be242302d2e7b7202159d4b7ba8c97
2018-01-12 10:24:20 +00:00
Samuel Cassiba 45a1623cb2 ops-database refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- removed deprecated postgresql support
- removed percona-cluster as the Percona cookbook has not been touched since 2015
- switched default rdbms to mariadb[0]

This change was largely born out of a discussion in #sous-chefs on the Chef
Community Slack. The notion of using the vendor-provided package is preferred
in the Chef Community versus the distro version if possible, due to
inconsistencies in outcome. As a result, this cookbook focuses on MariaDB, and
specifically from mariadb.org.

[0]: https://docs.openstack.org/install-guide/environment-sql-database.html

Implements blueprint modern-chef

Change-Id: I7ee0f5eae4e79e5c70ee8de4a0094a7c34fdd18f
2018-01-11 10:36:09 -08:00
Jens Harbott d84c9a56ef Add native zuul v3 jobs defined in openstack-chef-repo
Change-Id: I0b6e4d83aadbc15782bcb0c0653849937f1d7307
2017-11-02 10:45:03 +00:00
Samuel Cassiba b876cd00e5 Initial ops-database Pike updates
- Switched default linter to cookstyle
- Renamed rake tasks to better conform with Chef conventions
- Normalized template banner

Change-Id: I76bdb4149965ab7b23709762559bd6c71753cc8b
2017-08-25 09:58:14 -04:00
Jan Klare 7d5c0216b1
starting pike development patch
Change-Id: I5955ae670fd4a87a7800203b7a9ba942bd7cc8eb
2017-08-17 14:19:40 +02:00
Samuel Cassiba fe6a3d552c Style and lint fixes for chefdk, deprecated Gemfile
- Style and lint fixes for newer chefdk
- Removed ancient Gemfile
- Rewrote metadata.rb for readability
- Adapted mariadb recipe for newer mysql2_chef_gem

Change-Id: I3112615cec3dd80c63779d164893b4171773856c
Depends-On: I950605f384405b55737af77bc4224f1e18fee8e1
2017-08-02 13:26:22 -04:00
Jan Klare 8f514568cd add new Chef OpenStack Team Logo to README
Change-Id: Ifa2e56bf52dfe5e08969242086bfeb59a6e5d1f8
2017-05-29 10:53:08 +02:00
Jan Klare e3e7d54dad starting ocata development patch
Change-Id: I6e98a1403732852e8dbf3ccfa436723ef696eeb5
2017-02-23 17:06:55 +01:00
Jan Klare f61fca474d remove old chefdk fix for https://github.com/chef/chef-dk/issues/966
Change-Id: I0717e97c3effaffebb19e63ec6a78f2e1b7aa80d
2016-12-14 15:28:29 +01:00
Flavio Percoco fb9a35d6db 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/39340393de6aa7f79361f42c47828634

Change-Id: Ib3381a187bfd8b2d1eef352471530d12584bc4f3
2016-12-08 08:19:46 +00:00
Jan Klare c07b0f75fa update cookbook dependencies for next release
Depends-On: Ib256c315d5439beb8d4ec83c5cc7d7c9b182378a
Change-Id: I50df0befac140660d58eccb939d33a83edbb441c
2016-12-07 11:24:03 +01:00
Samuel Cassiba eb3c4081f1 Incremented MySQL to 5.7 for Ubuntu
- mysql default version is 5.7 on Ubuntu 16.04
- included mysql devel headers for mysql2
- incremented mysql cookbook to 8.0
- incremented database cookbook to 6.0
- pinned mysql2 gem at 0.4.4

Depends-On: I57c8729e8732161ac34caa85259de8264e99c56d
Implements blueprint newton-xenial

Change-Id: I8ee882d5b154ec0d319e6c4186ebf9f8ae68f269
2016-10-18 23:19:32 -07:00
Jan Klare 6cdfe56ea2 increase mysql max_connections
* increase mysql max_connections from 151 to 307 to avoid mysql errors
  in integration tests

Change-Id: I831998cace276fa7b5889e15f1ad938903d0d410
2016-10-11 13:01:37 +02:00
Sharat Sharma 2c9f3dfd3c Fixed the typo of UTF-8 which is leading to errors
Change-Id: I47fc15034861b55b1650f82d74e9581ab51f0b50
Closes-Bug: #1624094
2016-10-03 17:16:34 +05:30
Samuel Cassiba 3a0d36aa5a Increment mysql cookbook version
- Bump mysql to 7.2
- Bump mysql2_chef_gem to 1.1.0
- Work around https://github.com/chef/chef-dk/issues/966
- fixes minor bug in postgres-server_spec and server_spec

Change-Id: I6e906c5fad0360a7d9718fc5d5cda2983c3b768e
Depends-On: I07ad79a93642d0f0c934a864fcb9bcd7b764e35f
Implements: blueprint newton-xenial
2016-09-27 19:53:51 +00:00
Samuel Cassiba 57042a006e Style and lint fixes to support newer ChefDK
Change-Id: I7b8521a85bace612911f967fe4e35269b7b47034
Depends-On: I6ce4587caa3ae68ddbd3ef1a521aaf46f4840b2c
2016-07-01 18:10:31 -07:00
Jan Klare 88b1e879f2 initial commit for the newton development cycle
Change-Id: Ifa685eb0cc8698ceab0da0c434137f3477623b4e
2016-05-31 10:42:15 +02:00
Jan Klare 794dc2050a percona cluster nodes should be sorted
* the nodes written to the my.conf returned from search should be sorted to
  avoid restarting mysql just because reordering the nodes in the template

Change-Id: I3cd70ca818be18f926b384feb1a592cb3b137ccd
2016-03-14 11:58:40 +01:00
Jan Klare 856c3a24ab add percona-cluster recipes
- add recipes and specs to deploy percona-cluster as db backend

Depends-On: Iae7e302973805af3cb44be1b29d0e61e76eb0aa0
Implements Blueprint: galera-and-percona-support
Change-Id: Ie69e71dce8fa22ef5edc17ed094840fcfb9d4c82
2016-02-24 14:36:01 +00:00
Jan Klare 866dfbb3af use bind_service attribute instead of endpoints
* adapted server recipes to use the address and port defined in the bind_service
  attribute instead of the endpoint (endpoint can be different and should only
  be used by the services connecting to the db)
* changed get_password 'user' to 'db' for consitency with common


Depends-On: Iae7e302973805af3cb44be1b29d0e61e76eb0aa0
Implements: blueprint cookbook-refactoring
Change-Id: I0afb5942c38ed4e20037f553879de8e2c1a1f75f
2016-02-23 21:38:30 +00:00
Jan Klare 69ae909123 adaptions to work with refactored cookbooks
* adapted mariadb, mysql and postgresql server recipes to work with net endpoint
  logic
* removed suse support

Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Impements: blueprint cookbook-refactoring
Change-Id: Ia7fd927f42f4a1e484e8f2d34c52b1dc6d0ce6dd
2016-02-08 10:31:51 +01:00
Mark Vanderwiel 2d9a387513 Add integration task
Add missing gate integration task, but use the one from
Common cookbook to make future updates easy.

Change-Id: I894c0a93805c1a7b1c4e3f2ba162301f197a740a
2015-10-06 09:49:46 -05:00
Mark Vanderwiel dc8e14f03a Initial Liberty Changes
Metadata changes
- Updated maintainer email
- Updated the version

Change-Id: Id490e1eb2702be38fb4ba8bc6a8ea6bdc7b1c94c
2015-08-30 08:00:23 -05:00
Samuel Cassiba f0112a3542 Bump mariadb to 0.3.1
Change-Id: I12bad42799f0dd632d8a8ad344561a8a671f734a
2015-08-03 09:25:02 -07:00
Jan Klare 1886e38a03 switched from db_create_with_user to lwrp openstack_common_database
- replaced db_create_with_user with lwrp from common
- utilized new common attribute openstack.common.services to
dry recipe
- TODO: create test for rescue log message

related-Change-Id: I1940cd63aa1ae95586e6ecbed9476f7ce5fe19ab

Change-Id: Idb47c9b7e3ce954ddd1a544b71b96eed734e46e5
2015-06-16 21:02:57 +02:00
wenchma 069d3c0d8b Sync stackforge/cookbook* to openstack/cookbook* for ops-database cookbook
Change-Id: I1234478c8ab88607cd919634bfaedc3a31dea76d
Partial-Bug: #1465116
2015-06-16 11:44:55 +08:00
Jeremy Stanley 44e49f9c9c Update .gitreview file for project rename
Change-Id: I9438e208661c9714a258623587e11018652bd71c
2015-06-12 23:12:30 +00:00
Mark Vanderwiel 41f5b3c9a9 Cleanup minor rubocop offenses
Cleaned up all the minor rubocop issues, the ones left relate to
complex logic and what I think is a bug in rubocop for nested
vs compact modules/class definitions.

Change-Id: I80b0e9671a787e208622b7eed82494f08e288438
2015-06-03 09:10:34 -05:00
Jan Klare d1400a6f23 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: I2f2bf3e1f193cb43498d0d10da8500ff59a6f5aa
2015-04-29 10:29:08 +02:00
Jenkins 2d742be58d Merge "Move to rhel 7.1" 2015-04-18 03:05:43 +00:00
Mark Gloshen acc54b2680 Add additional mysql tunables
Adding more mysql tuning options to better support production-like
environments. These additional attribues have been set to default
values that match the mysql defaults. Including spec tests.

Change-Id: Iadb0746354ea93a6beef9ecbae5d1bdc5cec1d48
Closes-Bug: #1436481
2015-04-09 15:13:03 -07:00
Mark Vanderwiel 31dbc3f06e Move to rhel 7.1
rhel 7.0 is not EUS/LTS, need to switch to 7.1.

Change-Id: I16ecb7386f0f8a73204b66305181162a3ce01c74
Related-Bug: #1438878
2015-03-31 15:21:13 -05:00
Yi Ming Yin 9a864936c4 Add mariadb database configuration support
1. Add 2 new recipes to configure mariadb client and server
2. Partially reuse existing code for mysql support
3. Add delete empty user and users with empty password workaround.
Current mysql cookbook can do this, but mariadb cookbook doesn't.

blueprint: mariadb-support
Change-Id: I034cedb07f8bf11f271fc351f9a7ad534067b95a
2015-03-27 14:28:35 +08:00
Jan Klare 24e581ff06 bootstrap.sh for infra testing
bootstrap script installs testing dependencies on trusty and relies on
common bootstrap.sh in stackforge/cookbook-openstack-common
blueprint: bootstrap-infra-test-nodes

Change-Id: If7f40b08a912cdd0217c06fa2e7542154507c788
2015-03-19 09:27:56 +01:00
wenchma 6295eb1242 Support db creation for openstack-bare-metal cookbook
Depends on the patch https://review.openstack.org/#/c/148458/

blueprint bare-metal-enablement

Change-Id: I627eb4e5f65bfd377ffee960edbc2f42b9b074cd
2015-03-05 04:48:40 +00:00
Mark Vanderwiel d1ed020187 Initial kilo updates
Change-Id: I345ce59e0449a146c8bc83db864e6585633b54dc
Partial-Bug: #1426424
2015-02-27 14:25:44 -06:00
Mark Vanderwiel 820e502251 Switch back to pessimistic version constraint
Change-Id: I30a27af5c80fbb01edaff0215e5aa56fd76f0aba
Partial-Bug: #1425192
2015-02-24 13:26:17 -06:00
Mark Vanderwiel 827b8b24d9 Update postgresql to handle openssl cookbook issue
* this will require openssl > 4.0.0 in repo

Change-Id: I14b1b5a9e80e0e613a183f0c94322a605851da3a
2015-02-23 12:24:39 -06:00
Jenkins 2cdd1f21ec Merge "point berkshelf at supermarket.chef.io" 2015-02-23 16:47:53 +00:00
Paul Czarkowski 8bb22ea20c point berkshelf at supermarket.chef.io
Change-Id: I47b4c1f526490eb970b79aa0b2babe2f4af28358
2015-02-16 19:51:00 -06:00
Mark Vanderwiel baa3b76fcb MySql cookbook ver 6 changes
mysql cookbook is now provider driven, and no longer has default
attributes, like server_root_password.
For the password, now always using the Common password methods.

For the other mysql attributes we used, these were moved into the
attributes mysql.rb file.

The attribute name space was changed from
[mysql][**attr**]  and [mysql][tunable][**attr**]  to
[openstack][mysql][**attr**]

This patch requires updates to the database and mysql-chef-gem cookbooks.mysql cookbook ver 6 changes

Change-Id: I05d27de80de0371503c5fa71591b4600bbeb2ca9
Implements: blueprint trusty-juno
2015-02-13 08:10:31 -06:00
Jenkins aa7e4fbdcd Merge "Trusty juno updates" 2015-02-10 19:04:06 +00:00
Mark Vanderwiel 67f1674bc5 Missed bumping Common version
Change-Id: I2d706025e62c6ee4e5cf19af92fb590d780029a6
Related-Bug: #1412919
2015-02-09 11:51:05 -06:00