Comments (6)
@jraddaoui the ansible-percona travis test for trusty passed with the default of 5.6 so this is unexpected 😞. Anything helpful in the error logs?
According to percona lifecycle doc only subscribers get security updates/bug fixes for 5.5 (so having 5.6 working on trusty would be a good thing).
from deploy-pub.
Hi @hakamine ,
In atom-trusty, using Percona 5.6, when the "Purge database" task is reached, MySQL is down:
TASK [artefactual.atom : Purge database] ***************************************
fatal: [atom-local]: FAILED! => {"changed": true, "cmd": ["php", "symfony", "tools:purge", "--no-confirmation", "[email protected]", "--username=demo", "--password=demo", "--title=AtoM", "--description=Access to Memory", "--url=http://undefined"], "delta": "0:00:02.138478", "end": "2018-05-10 19:02:17.061185", "msg": "non-zero return code", "rc": 1, "start": "2018-05-10 19:02:14.922707", "stderr": "\n \n Unable to open PDO connection [wrapped: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)] \n ", "stderr_lines": ["", " ", " Unable to open PDO connection [wrapped: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111)] ", " "], "stdout": "", "stdout_lines": []}
Here's /var/log/mysql/error.log
after that fail, which looks to be a normal shutdown ...
https://gist.github.com/jraddaoui/89543b2d7901e5e72987628cc3cbaaed
from deploy-pub.
And sudo service mysql start
does not bring it up and does not add anything to that log.
from deploy-pub.
@jraddaoui It looks like the problem is not with percona 5.6 but with the playbook running the role ansible-percona-client
that installs a 5.5 client, just right after the ansible-percona
role installs the 5.6 server. The ansible-percona-client
is not required (the ansible-percona
role with install both server and client). I created PR #78 with a fix.
from deploy-pub.
That's a lot better, thanks @hakamine!
from deploy-pub.
I've tested in both Vagrant boxes and merged.
from deploy-pub.
Related Issues (20)
- Problem: we're not using Ansible pipelining support
- Playbook does not upgrade MySQL 5x to 8x as required in 1.16
- Allow to create AIPs using local content HOT 2
- Nginx requires a restart after vagrant up
- Problem: error installing front-end dependencies in playbooks/archivematica HOT 5
- Problem: error generating special sampledata transfers in playbooks/archivematica HOT 1
- Task: Improve access to source code in AtoM Vagrant boxes
- Task: Allow external access to Elasticsearch in AtoM Vagrant boxes
- Problem: Purge database (Ansible task) fails in atom-xenial Vagrant box
- Task: Create Binder playbook
- Problem: archivematica database is not created HOT 2
- Problem: Missing easy way to deploy v1.7.0 of Archivematica HOT 5
- Problem: Archivematica 1.7 playbook fails due to missing java dependency HOT 2
- Problem: minor details missing in digital ocean instructions
- Problem: AtoM playbooks don't indicate ES config version
- Problem: some vars- files are missing MySQL users and databases HOT 1
- Problem: archivematica centos7/rhel playbook fails to create database
- Problem: gearmand config is not populated
- Problem: Ubuntu 18.04 is not supported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deploy-pub.