lp://staging/~gandelman-a/charms/precise/keystone/version_fixes
- Get this branch:
- bzr branch lp://staging/~gandelman-a/charms/precise/keystone/version_fixes
Branch merges
- James Page: Approve
- Adam Gandelman (community): Needs Resubmitting
-
Diff: 84 lines (+12/-29)1 file modifiedhooks/lib/openstack_common.py (+12/-29)
Branch information
- Owner:
- Adam Gandelman
- Status:
- Development
Recent revisions
- 55. By Adam Gandelman
-
openstack_common.py - Fixes and updates.
- Fix for epoch versions
- PPA handling like deb urls when determining available version.
- Use python apt library instead of shell parsing when inspecting installed versions. - 50. By James Page
-
Adds better support for service leaders.
* The service leader is determined depending on how keystone is currently clustered. If there are multiple units, but no hacluster subordinate, the oldest service unit is elected leader (lowest unit number). If hacluster exists and the service is clustered, the CRM is consulted and the node hosting the resources is designated the leader.
* Only the leader may initialize or touch the database (create users, endpoints, etc)
* The leader is responsible for synchronizing a list of service credentials to all peers. The list is stored on disk and resolves the issue of the passwd dump files in /var/lib/keystone/ being out-of-sync among peers.
We can use the same approach in the rabbitmq-server charm if it works out here.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)