lp://staging/~rcj/charm-helpers/lp1361463
- Get this branch:
- bzr branch lp://staging/~rcj/charm-helpers/lp1361463
Branch merges
- Yaguang Tang (community): Approve
- charmers: Pending requested
-
Diff: 27 lines (+5/-1)1 file modifiedcharmhelpers/core/host.py (+5/-1)
Related bugs
Bug #1361463: OSError exception from host.mkdir() if existing entry and force=True | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 198. By Robert C Jennings
-
Fix host.mkdir() when directory exists, improve logging (lp:1361463)
This fixes two related issues in mkdir().
1 - If the directory exists and force is False, the log will contain a
message that the directory was created, nothing else. Fix this
by logging a message that an entry was found and not clobbered; this
should help with failure analysis.
2 - If the path to create is a file and force is True, the existing
entry is unlinked but the directory is never created. This results
in an OSError exception when mkdir() attempts to os.chown() the
non-existent entry. Fix this by calling os.makedirs() after os.unlink() - 195. By Liam Young
-
[gnuoy,r=tribaal] Add helper to perform relation set and store the dict in the peer db. These functions will be used to address Bug #1355848
- 194. By James Page
-
[gnuoy,
r=james- page] Ensure source package cache is also held in memory to prevent races - 191. By Charles Butler
-
Cory Johns 2014-08-05 Fixed documentation typos, per review
Cory Johns 2014-07-10 Cleanup based on review
Cory Johns 2014-07-09 Added services framework - 190. By Charles Butler
-
Christopher Glass 2014-07-31 Removed jujugui code. The code was not using common charmhelprs mecha...
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/charm-helpers