GUI shows invalid service name as valid when deploying ghost

Bug #1252578 reported by Jeff Pihach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-gui
Fix Released
High
Jeff Pihach

Bug Description

When trying to deploy failtester in the GUI on LXC I changed the service name to be 'failtester-2' to which core replied with:

{"RequestId":53,"Error":"cannot add service \"failtester-2\": invalid name","Response":{}}

The GUI showed that the name was valid because the only validation we do is that it doesn't exist on the page.

The error message that the GUI showed was simply 'unable to deploy charm' without the real error message being propagated to the user.

Related branches

Jeff Pihach (hatch)
summary: - GUI says invalid service name is valid causing hidden failure when
- deploying ghost
+ GUI shows invalid service name as valid when deploying ghost
Gary Poster (gary)
Changed in juju-gui:
status: New → Triaged
importance: Undecided → High
Jeff Pihach (hatch)
Changed in juju-gui:
assignee: nobody → Jeff Pihach (hatch)
status: Triaged → In Progress
Jeff Pihach (hatch)
Changed in juju-gui:
status: In Progress → Fix Committed
Changed in juju-gui:
status: Fix Committed → Fix Released
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.