upgrading charms that use symbolic links fails

Bug #941873 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
High
Kapil Thangavelu

Bug Description

Most of my charms use symbolic links for the various hooks with a common file for the actual code.

If I try to upgrade a charm I get the following error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/juju/unit/lifecycle.py", line 73, in run
    self._bundle.extract_to(self._charm_dir)
  File "/usr/lib/python2.7/dist-packages/juju/charm/bundle.py", line 62, in extract_to
    os.symlink(target, os.path.join(directory_path, info.filename))
OSError: [Errno 17] File exists

Related branches

Changed in juju:
importance: Undecided → High
Changed in juju:
milestone: none → florence
Changed in juju:
assignee: nobody → Kapil Thangavelu (hazmat)
status: New → In Progress
Changed in juju:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.