Merge lp://staging/~xfactor973/charms/trusty/ceph-mon/coordinated-upgrade into lp://staging/~openstack-charmers-archive/charms/trusty/ceph-mon/next
Status: | Rejected |
---|---|
Rejected by: | James Page |
Proposed branch: | lp://staging/~xfactor973/charms/trusty/ceph-mon/coordinated-upgrade |
Merge into: | lp://staging/~openstack-charmers-archive/charms/trusty/ceph-mon/next |
Diff against target: |
747 lines (+407/-43) 6 files modified
.bzrignore (+1/-0) actions/__init__.py (+3/-0) hooks/ceph.py (+150/-19) hooks/ceph_hooks.py (+200/-12) hooks/charmhelpers/contrib/network/ip.py (+15/-0) hooks/charmhelpers/contrib/storage/linux/ceph.py (+38/-12) |
To merge this branch: | bzr merge lp://staging/~xfactor973/charms/trusty/ceph-mon/coordinated-upgrade |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Page | Needs Fixing | ||
Chris MacNaughton | Pending | ||
Review via email:
|
Description of the change
This patch allows the ceph monitor cluster to upgrade themselves one by one. It does this by using the ceph monitor cluster as a locking mechanism. There are most likely edge cases with this method that I haven't thought of. Consider this code to be lightly tested. It worked fine on ec2.
Unmerged revisions
- 153. By Chris Holcombe
-
Hash the hostname instead of the ip address. That is more portable. Works now on lxc and also on ec2
- 152. By Chris Holcombe
-
Only deploy from cloud archives. Remove now unneeded key downloading function
- 151. By Chris Holcombe
-
Remove the unneeded charmhelpers bits
- 150. By Chris Holcombe
-
Add the deleted ceph.py functions back in. Will break them out into a separate MP
- 149. By Chris Holcombe
-
Merge upstream
- 148. By Chris Holcombe
-
Remove the coordinator.py. It is not needed
- 147. By Chris Holcombe
-
It rolls!. This now upgrades and rolls the ceph monitor cluster one by one.
- 146. By Chris Holcombe
-
It upgrades and rolls the cluster now. Next I need to work out the edge cases
- 145. By Chris Holcombe
-
Adding charmhelpers coordinator and start work on upgrading the monitor cluster
Note: I put up the helper functions for review in charmhelpers: https:/ /code.launchpad .net/~xfactor97 3/charm- helpers/ ceph-keystore/ +merge/ 287205