ebu / OSCIED

Open Source Cloud Infrastructure for Encoding and Distribution
Other
16 stars 2 forks source link

Web UI : File already exist #67

Closed davidfischer-ch closed 11 years ago

davidfischer-ch commented 11 years ago
2013-07-13 10:13:45,149 unit:oscied-webui/0: unit.hook.api INFO: <-- Exiting WebuiHooks.py
2013-07-13 10:13:45,175 unit:oscied-webui/0: hook.output INFO: Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main

2013-07-13 10:13:45,176 unit:oscied-webui/0: hook.output INFO:     "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/var/lib/juju/units/oscied-webui-0/charm/oscied_lib/WebuiHooks.py", line 199, in <module>
    DEFAULT_OS_ENV).trigger()
  File "oscied_lib/CharmHooks.py", line 318, in trigger

2013-07-13 10:13:45,177 unit:oscied-webui/0: hook.output INFO:     getattr(self, 'hook_%s' % hook_name.replace('-', '_'))()
  File "/var/lib/juju/units/oscied-webui-0/charm/oscied_lib/WebuiHooks.py", line 100, in hook_api_relation_changed
    self.hook_config_changed()

2013-07-13 10:13:45,177 unit:oscied-webui/0: hook.output INFO:   File "/var/lib/juju/units/oscied-webui-0/charm/oscied_lib/WebuiHooks.py", line 162, in hook_config_changed
    os.symlink(self.local_config.storage_medias_path(), self.local_config.www_medias_path)
OSError: [Errno 17] File exists

2013-07-13 10:13:45,195 unit:oscied-webui/0: hook.output DEBUG: hook api-relation-changed exited, exit code Traceback (most recent call last):
Failure: juju.errors.CharmInvocationError: Error processing '/var/lib/juju/units/oscied-webui-0/charm/hooks/api-relation-changed': exit code 1.