milestone: mysql charm now works

David Cheney david.cheney at canonical.com
Wed Oct 3 06:13:34 UTC 2012


Hello 

After some hacking this afternoon I have got the mysql charm working.

lucky(~/src/launchpad.net/juju-core) % juju ssh 1 'tail -n20 /var/log/juju/unit*'
2012/10/03 06:05:18 JUJU HOOK Setting up mysql-server-5.5 (5.5.24-0ubuntu0.12.04.1) ...
2012/10/03 06:05:23 JUJU HOOK 121003 6:05:23 [Note] Plugin 'FEDERATED' is disabled.
2012/10/03 06:05:23 JUJU HOOK 121003 6:05:23 InnoDB: The InnoDB memory heap is disabled
2012/10/03 06:05:23 JUJU HOOK 121003 6:05:23 InnoDB: Mutexes and rw_locks use GCC atomic builtins
2012/10/03 06:05:23 JUJU HOOK 121003 6:05:23 InnoDB: Compressed tables use zlib 1.2.3.4
2012/10/03 06:05:23 JUJU HOOK 121003 6:05:23 InnoDB: Initializing buffer pool, size = 128.0M
2012/10/03 06:05:23 JUJU HOOK 121003 6:05:23 InnoDB: Completed initialization of buffer pool
2012/10/03 06:05:23 JUJU HOOK 121003 6:05:23 InnoDB: highest supported file format is Barracuda.
2012/10/03 06:05:23 JUJU HOOK 121003 6:05:23 InnoDB: Waiting for the background threads to start
2012/10/03 06:05:24 JUJU HOOK 121003 6:05:24 InnoDB: 1.1.8 started; log sequence number 1595675
2012/10/03 06:05:24 JUJU HOOK 121003 6:05:24 InnoDB: Starting shutdown...
2012/10/03 06:05:24 JUJU HOOK 121003 6:05:24 InnoDB: Shutdown completed; log sequence number 1595675
2012/10/03 06:05:32 JUJU HOOK mysql start/running, process 6485
2012/10/03 06:05:33 JUJU HOOK Setting up libhtml-template-perl (2.10-1) ...
2012/10/03 06:05:33 JUJU HOOK Setting up mysql-server (5.5.24-0ubuntu0.12.04.1) ...
2012/10/03 06:05:34 JUJU mysql/0: dataset size in bytes: 1375731712
2012/10/03 06:05:37 JUJU HOOK mysql stop/waiting
2012/10/03 06:05:39 JUJU HOOK mysql start/running, process 6580
2012/10/03 06:05:39 JUJU hook succeeded
2012/10/03 06:05:39 JUJU hook complete
Connection to ec2-23-22-53-170.compute-1.amazonaws.com closed.



Gustavo: with reference to our discussion earlier, I altered jujuc config-get to merge the charm defaults with any settings present, which makes the charm happy, but is clearly just a 5 minute hack. As you said, the proper fix cannot be attempted over IRC and a 12 hour time delay.

Branches: https://code.launchpad.net/~dave-cheney/juju-core/011-crackful-juju-experiment
Prereqs: https://code.launchpad.net/~rogpeppe/gnuflag/support-equals 

Next up: juju expose mysql, which doesn't currently expose mysql.

Dave 





More information about the Juju-dev mailing list