Giter Site home page Giter Site logo

percona_mysql's People

Contributors

bmildren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

percona_mysql's Issues

role Installation in Mac 10.11

$ ansible-galaxy install ben.mildren.percona_mysql command returns the following error
error: you do not have permission to modify files in /etc/ansible/roles/ben.mildren.percona_mysql

If it download everything locally and don't try to write into /etc/ansible it wouldn't create this issue.

innodb buffer pool size

Curious to why you use 25% of system memory for buffer pool.
"{{ ( ansible_memtotal_mb / 4 ) | int }}"

I typically use 80% (since its dedicated mysql) and use:
{{ (ansible_memtotal_mb * 0.8) | int }}M

I am super new to Ansible. Thank you for the awesome role.

Role vars precedence?

First of all, thanks for the role, it is well written and covering a lot. But I'm a bit confused with your variable handling. In my opinion, my.cnf is highly configurable for mysql users. Why did you put the variables of my.cnf in role's vars directory? It is hard to override (&merge) them.

I generally use group_vars and host_vars to write my custom values, and the vars in percona_mysql role always have precedence over my values. Do i have to override them with --extra vars ? What is your practice?

Task "remove superfluous root users" problem

Hello.

I found strange trouble with this role installation on different centos7 instances. First time I found this trouble when I tried to install it on vagrant "centos/7" default box. It's strange, but on different boxes I saw different results. At all, I tried to run this role on several boxes: "centos/7", "hfm4/centos7", "jayunit100/centos7" and "geerlingguy/centos7". And just on part of them I gived this error:

TASK: [ben.mildren.percona_mysql | ensure percona database exists] ************
<192.168.99.100> REMOTE_MODULE mysql_db name=percona state=present login_unix_socket=/var/run/mysqld/mysqld.sock
failed: [192.168.99.100] => {"failed": true}
msg: unable to connect, check login credentials (login_user, and login_password, which can be defined in ~/.my.cnf), check that mysql socket exists and mysql server is running
FATAL: all hosts have already failed -- aborting

After that message, when I tried to run mysql -S /var/run/mysqld/mysqld.sock in guest machine shell, I saw this: Access denied for user 'root'@'localhost' (using password: NO)

This behaviour does not depends on percona_mysql_root_password variable, but eventually I found a decision. When I comment "remove superfluous root users" task, this problem was disappear.

I don't sure, that I can correctly fix the problem in this role. For me, I added the condition: when: remove_superfluous_root_users == true under task (and relevant variable to defaults vars).

But maybe, you can make more clever fix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.