lp:~tribaal/charms/trusty/mysql/charm-helpers-sync
- Get this branch:
- bzr branch lp:~tribaal/charms/trusty/mysql/charm-helpers-sync
Branch merges
- David Britton (community): Approve
- Review Queue (community): Needs Fixing (automated testing)
-
Diff: 1685 lines (+1204/-116)12 files modified.bzrignore (+1/-0)
Makefile (+7/-2)
hooks/charmhelpers/core/fstab.py (+116/-0)
hooks/charmhelpers/core/hookenv.py (+132/-7)
hooks/charmhelpers/core/host.py (+100/-12)
hooks/charmhelpers/core/services/__init__.py (+2/-0)
hooks/charmhelpers/core/services/base.py (+313/-0)
hooks/charmhelpers/core/services/helpers.py (+239/-0)
hooks/charmhelpers/core/templating.py (+51/-0)
hooks/charmhelpers/fetch/__init__.py (+192/-90)
hooks/charmhelpers/fetch/archiveurl.py (+49/-4)
hooks/charmhelpers/fetch/bzrurl.py (+2/-1)
Related bugs
Bug #1346489: apt cache operations have potential for filesystem races | High | Fix Released |
Related blueprints
Branch information
- Owner:
- Chris Glass
- Status:
- Development
Recent revisions
- 127. By Chris Glass
-
Updating charm-helpers so that it takes advantage of the latest code, including
apt-cache race condition fixes (building the cache in-memory). - 126. By Charles Butler
-
Charles Butler 2014-09-19 Correct linting issue in db_relation py
Antonio Rosales 2014-09-17 Add default key values.
Jorge Castro 2014-08-13 [merge] [dweaver] Fix for bug 1314763. Changed the master-rel... - 125. By James Page
-
[gnuoy,
r=james- page,t= james-page] Set allowed_hosts data on shared-db relations Set a list of allowed_units which the client units can query to see if their permissions have been setup yet. The reason for this is to allow the client to work around a race condition which occurs when a service has multiple units:
1) A service consisting of multiple units joins mysql and triggers mysql to run shared-db-changed for each unit in turn. But as soon as shared-db-changed has been run for the *first* time mysql runs relation set publishing the password.
2) All units in the client service then run their shared-db-changed hook in response to the relation set that mysql issued when it did the *first* run of shared-db-changed. At this point permissions have only been granted to one unit and the rest will fail if they try and access the db.
This is the same behaviour as the postgres charm which was added in response to Bug #1187508
- 123. By Charles Butler
-
Marco Ceppi 2014-07-22 Use apt_install from charm-helpers instead of direct call
- 120. By Charles Butler
-
Matt Bruzek 2014-04-10 escaping the single quotes for REVOKE REPLICATION SLAVE mysql c...
- 119. By Charles Butler
-
Jorge Niedbalski R. 2014-04-11 [config-changed] if not ON, DEMAND , then set the value...
Jorge Niedbalski R. 2014-04-08 - Fix for (LP:#1296736) in order to use a valid val...
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:charms/mysql