* Update cookbook-openstack-ops-database from branch 'master'
to 7190cf204c18a08aba04f5e769d513d65a5e3a27
- fix gather data for data interface
- get information from the actual node attributes instead of the
executing node
Change-Id: I2f65f28802581184cd47e7c37d21dd71e97a2c3f
* Update cookbook-openstack-ops-database from branch 'master'
- Merge "Add notify to mariadb_galera_configuration"
- Add notify to mariadb_galera_configuration
Need to trigger a restart after changing the galera configuration.
Change-Id: Ie148e8dce2e945ea956f6521c04bfc031f9da3f2
* Update cookbook-openstack-ops-database from branch 'master'
- mariadb server config utilization
- allow overriding of some common config options
Change-Id: Ie832477216df5c1b0b94d75ba1ee6cc1bf968219
* Update cookbook-openstack-ops-database from branch 'master'
- Fix mariadb repo setup
Instead of always creating the mariadb default repository we should
only do it when requested by the node environment.
Do this implicitly via the mariadb_*_install resources that have
an option to decide whether a repo should be set up or not.
Change-Id: I4f62dd7a7df247ddb787553bef58ca81d8e062fb
* Update cookbook-openstack-ops-database from branch 'master'
- fix mariadb galera config
- the mariadb config looks for the first address on the wsrep_node_address_interface
this will lead to missconfigurations when using virtual IPs - drop it
- mariadb uses when wsrep_node_incoming_address not defined bind-address
or wsrep-node-address in that order. Since bind-address has to be
defined by our cookbook logic, the drop of
wsrep_node_address_interface is no problem
Change-Id: Ic3442522e8f6e02244e653017b6d161a96412425
* Update cookbook-openstack-ops-database from branch 'master'
- Fix mariadb-cluster-server recipe
The hadn't been changed yet to use the resources provided by the new
mariadb cookbook. Also add spec testing.
Change-Id: Ib49cab07c06c4441ae811ca811f614e303024b0b
* Update cookbook-openstack-ops-database from branch 'master'
- Remove support for mysql
Upstream distributions have settled on using MariaDB instead of MySQL
and it's becoming more and more difficult to maintain on our end. As
such, we're removing support from this cookbook for MySQL and only leave
MariaDB as the supported platform.
Change-Id: I104de18ecab5ba64f08fd39314e565ab0483c558
* Update cookbook-openstack-ops-database from branch 'master'
- Update to latest mariadb cookbook
This updates us to a new resource driven mariadb cookbook which
simplifies how we manage mysql. Other changes:
- Update to using MariaDB 10.3 instead of 10.1 as we need this for Stein
- Update attributes so they work better with the
mariadb_server_configuration resource
- Remove use of the mysql2_chef_gem cookbook as it's no longer needed
and causes issues with newer versions of MariaDB and MySQL.
- Remove use of the openstack.cnf template since we can add all
configuration using the mariadb_server_configuration resource
- Remove RHEL mariadb-server ChefSpec as it's not needed
- Update openstack-db recipe to use the openstack_database resource
instead of the openstack_common_database resource which was renamed
Depends-On: https://review.opendev.org/710351
Change-Id: Ia5b401cafcdf57aa84e090c745bd3e517c7251bf
* Update cookbook-openstack-ops-database from branch 'master'
- Set Berksfile to use ruby solver
This provides much better debugging output.
Depends-On: https://review.opendev.org/702772
Change-Id: I1a738e6f951b12b54bbc2eaf61d5b01ab70a1203
* Update cookbook-openstack-ops-database from branch 'master'
- Use Ubuntu 18.04 for ChefSpec tests
Change-Id: Iae639349a798264dc960dbf79568674a993cb87b
* Update cookbook-openstack-ops-database from branch 'master'
- 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. In addition, add missing spec
file for mysql-client-redhat.
Speed was been improved from 27.66 seconds to 20.78 seconds.
Change-Id: I8c095bb4ca298255e09fd59d0e43878423693636
* Update cookbook-openstack-ops-database from branch 'master'
- 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
- Adopt default mysql dir from updated cookbook
Change-Id: I94a066975fe00a29ff6731021767b1eda294ba44
* Update cookbook-openstack-ops-database from branch 'master'
- Replace git.openstack.org with opendev.org
Change-Id: I033570baaaac7b472cceb7689baca99257716e92
- 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.htmlhttp://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.
* Update cookbook-openstack-ops-database from branch 'master'
- Chef 14 stable release updates and fixes
This change corrects some of the issues with resource naming[1] as well
as prunes some failing unit tests that would be obsoleted with the changes
in the service renaming[2].
[1]: https://docs.chef.io/ruby.html#use-of-hyphens
[2]: https://review.openstack.org/#/q/topic:chef_14_fixes+(status:open+OR+status:merged)
Depends-On: Ic2b6d8f1cdf719791faaebdbd7e29e789eb3f31c
Change-Id: I8efc34c220fec59826bbea51e3ebf3fbc0e5b530