Merge lp:~daniel-thewatkins/charms/trusty/ubuntu-repository-cache/handle_mounted_ephemeral_disk into lp:charms/trusty/ubuntu-repository-cache
| Status: | Rejected |
|---|---|
| Rejected by: | Marco Ceppi on 2015-07-09 |
| Proposed branch: | lp:~daniel-thewatkins/charms/trusty/ubuntu-repository-cache/handle_mounted_ephemeral_disk |
| Merge into: | lp:charms/trusty/ubuntu-repository-cache |
| Diff against target: |
58 lines (+16/-5) 3 files modified
lib/charmhelpers/contrib/storage/linux/utils.py (+1/-1) lib/ubuntu_repository_cache/storage.py (+3/-4) patches/storage-0001-full-disk-is_device_mounted.patch (+12/-0) |
| To merge this branch: | bzr merge lp:~daniel-thewatkins/charms/trusty/ubuntu-repository-cache/handle_mounted_ephemeral_disk |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Marco Ceppi | Disapprove on 2015-07-09 | ||
| Adam Israel | 2015-06-08 | Approve on 2015-06-25 | |
|
Review via email:
|
|||
Description of the Change
This cleans up the epheremal disk code path, as well as adding a fix to charmhelpers so we can handle full disk partitions.
- 196. By Dan Watkins on 2015-06-09
-
Fix finding of partitions on a disk.
- 197. By Dan Watkins on 2015-06-09
-
Remove redundant directory creation (which now breaks permissions).
- 198. By Dan Watkins on 2015-06-09
-
Fix typo in log message.
- 199. By Dan Watkins on 2015-06-09
-
Add is_device_mounted fix.
| Marco Ceppi (marcoceppi) wrote : | # |
Hi Dan, it seems you're trying patch issues in charmhelpers directly in your charm. You'll instead want/need to make these changes directly to the lp:charm-helpers library and then sync charm-helpers into the charm. This way not only will your charm benefit from these fixes, so will everyone else using charm-helpers. It'll also prevent them from being wiped out on the next sync with this charm.
On that basis alone I'm rejecting this merge, if that's not the case and these changes have found their way into charm-helpers let me know and move the status back to "Needs Review"
Thanks!
Unmerged revisions
- 199. By Dan Watkins on 2015-06-09
-
Add is_device_mounted fix.
- 198. By Dan Watkins on 2015-06-09
-
Fix typo in log message.
- 197. By Dan Watkins on 2015-06-09
-
Remove redundant directory creation (which now breaks permissions).
- 196. By Dan Watkins on 2015-06-09
-
Fix finding of partitions on a disk.

Hi Dan,
I was able to review this yesterday. Per our conversation in #juju, this MP is to fix the issue reported on lp:262072. It might be easier if you merged these changes with that branch, but this update is otherwise good and fixes the charm.