REST API requests not working because of incorrect url
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate Dashboard |
Fix Released
|
Undecided
|
Enrique | ||
designate-dashboard (Ubuntu) |
Confirmed
|
Undecided
|
Enrique |
Bug Description
REST API requests not working because of incorrect URL.
Looks like missing trailing slash between endpoint and version. Fast fix is to add trailing slash in designatedashbo
_get_service_
Probably this is working if endpoint are set with trailing slash at end.
Error trace:
[21/Oct/2016 08:19:29] "GET /api/dns/v2/zones/ HTTP/1.1" 500 46
HTTP exception with no status/code
Traceback (most recent call last):
File "/home/
data = function(self, request, *args, **kw)
File "/home/
return passthrough_
File "/home/
params=params
File "/home/
return request('get', url, params=params, **kwargs)
File "/home/
return session.
File "/home/
prep = self.prepare_
File "/home/
hooks=
File "/home/
self.
File "/home/
raise InvalidURL(*e.args)
InvalidURL: Failed to parse: dns.example.
Changed in designate-dashboard: | |
assignee: | nobody → Enrique (engapa) |
status: | New → Confirmed |
Changed in designate-dashboard (Ubuntu): | |
assignee: | nobody → Enrique (engapa) |
status: | New → Confirmed |
Changed in designate-dashboard: | |
status: | Confirmed → Fix Released |
This issue was fixed in the openstack/ designate- dashboard 4.0.0.0b3 development milestone.