sboily/xivo-unified-modules — pull request #1 by cabunar (2013-12-16 22:40:24+00:00)
Title: fix creation of the provd default configs

fix of post start xivo-upgrade action:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/lib/pymodules/python2.7/provd/rest/pycli/pycli.py", line 495, in
exec opts.command in cli_globals
File "", line 1, in
File "/usr/lib/pymodules/python2.7/provd/rest/pycli/pyclient.py", line 366, in set_config
old_config = self._cfg_mgr.get(self._id)
File "/usr/lib/pymodules/python2.7/provd/rest/client/client.py", line 89, in get
return config_res.get()
File "/usr/lib/pymodules/python2.7/provd/rest/client/base.py", line 575, in get
response, _ = self._broker.json_content(request)
File "/usr/lib/pymodules/python2.7/provd/rest/client/base.py", line 100, in json_content
f = self._opener.open(request)
File "/usr/lib/python2.7/urllib2.py", line 407, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 445, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found