Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for Percona XtraDB Cluster 8.0 #155

Closed
fraenki opened this issue Apr 9, 2020 · 2 comments
Closed

Add support for Percona XtraDB Cluster 8.0 #155

fraenki opened this issue Apr 9, 2020 · 2 comments
Assignees
Milestone

Comments

@fraenki
Copy link
Member

fraenki commented Apr 9, 2020

An experimental release is already available:
https://www.percona.com/downloads/Percona-XtraDB-Cluster-80/LATEST/
https://www.percona.com/blog/2019/10/04/percona-xtradb-cluster-8-0-experimental-release-sst-improvements/

Once XtraDB 8.0 is GA we should add support.

@fraenki fraenki added this to the 3.0.0 milestone Apr 9, 2020
@fraenki fraenki self-assigned this Apr 9, 2020
@fraenki fraenki changed the title Add support for Percona XtraDB cluster 8.0 Add support for Percona XtraDB Cluster 8.0 Apr 9, 2020
@tmanninger
Copy link

tmanninger commented Jun 24, 2020

I already tested this module with Percona 8 xtradb.

Two things need to be changed:
Diff see: master...tmanninger:master

This options are not longer supported:

    innodb_locks_unsafe_for_binlog
    query_cache_size
    query_cache_type

Percona 8 expands the mysql user permission
'ALL'
to
'ALTER', 'ALTER ROUTINE', 'CREATE', 'CREATE ROLE', 'CREATE ROUTINE', 'CREATE TABLESPACE', 'CREATE TEMPORARY TABLES', 'CREATE USER', 'CREATE VIEW', 'DELETE', 'DROP', 'DROP ROLE', 'EVENT', 'EXECUTE', 'FILE', 'INDEX', 'INSERT', 'LOCK TABLES', 'PROCESS', 'REFERENCES', 'RELOAD', 'REPLICATION CLIENT', 'REPLICATION SLAVE', 'SELECT', 'SHOW DATABASES', 'SHOW VIEW', 'SHUTDOWN', 'SUPER', 'TRIGGER', 'UPDATE'

Every puppet run changes the permissions:
Notice: /Stage[main]/Galera::Debian/Mysql_grant[debian-sys-maint@localhost/*.*]/privileges: privileges changed ['ALTER', 'ALTER ROUTINE', 'CREATE', 'CREATE ROLE', 'CREATE ROUTINE', 'CREATE TABLESPACE', 'CREATE TEMPORARY TABLES', 'CREATE USER', 'CREATE VIEW', 'DELETE', 'DROP', 'DROP ROLE', 'EVENT', 'EXECUTE', 'FILE', 'INDEX', 'INSERT', 'LOCK TABLES', 'PROCESS', 'REFERENCES', 'RELOAD', 'REPLICATION CLIENT', 'REPLICATION SLAVE', 'SELECT', 'SHOW DATABASES', 'SHOW VIEW', 'SHUTDOWN', 'SUPER', 'TRIGGER', 'UPDATE'] to ['ALL'] (corrective)

After these changes, the module works fine ;-)

@fraenki
Copy link
Member Author

fraenki commented Jul 9, 2020

@tmanninger Your changes are very specific to Percona 8 and would break other versions, as far as I can tell. Besides that you effectively removed the bootstrap functionality (instead of making it work with Percona 8). Would you mind to update this to work with all supported versions of Percona and submit a pull request?

fraenki added a commit that referenced this issue Jun 29, 2022
The "galera" package no longer exists in version 8, but that should not be an
issue, because $galera_package_ensure is set to 'absent' anyway.
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants