anon_url is not a URL; it's a path

Bug #1131692 reported by Gavin Panella
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Critical
Unassigned

Bug Description

The newly added anon_url field for nodes is actually a path, not a full URL. This causes the machine provider in Juju to fall on its arse.

Tags: api
Revision history for this message
Raphaël Badin (rvb) wrote :

The 'anon_url' field is structured exactly as the 'resource_uri' field (i.e. no hostname). I think we should keep it that way and the provider should handle this. Maybe we could simply rename it to 'anon_resource_uri' to avoid confusion.
What do you think?

Revision history for this message
Gavin Panella (allenap) wrote :

+1 to renaming the field and handling it like resource_uri.

Revision history for this message
Raphaël Badin (rvb) wrote :

btw, this is all about code in lp:~rvb/maas/bug-1123986-key-api that is not even landed yet. I'm going to rename the field.

Changed in maas:
status: Triaged → Invalid
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.