Hi,
Cloud-init 0.7.5 fails to get cloudstack user-data because of trailing slash (ok in previous versions).
As a temp workaround I use the following patch in url_helper.py line 239 (0.7.5-0ubuntu1):
if e.response.status_code == 404: if url.endswith("/"): url = url[:-1] req_args["url"] = url else: url = url + "/" req_args["url"] = url
I don't know how other products (EC2, openstack & co) deal with trailing slash
Hope that helps
Thanks
Hi,
Cloud-init 0.7.5 fails to get cloudstack user-data because of trailing slash (ok in previous versions).
As a temp workaround I use the following patch in url_helper.py line 239 (0.7.5-0ubuntu1):
if e.response. status_ code == 404:
url = url[:-1]
req_ args["url" ] = url
else:
url = url + "/"
req_ args["url" ] = url
if url.endswith("/"):
I don't know how other products (EC2, openstack & co) deal with trailing slash
Hope that helps
Thanks