MAAS 1.9+ should not allow whitespace characters in space names

Bug #1543707 reported by Dimiter Naydenov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Unassigned
1.9
Fix Released
High
Unassigned

Bug Description

Currently (1.9.0, likely also 1.10) MAAS allows users to create spaces with names containing whitespace (" ").
This can lead to bad UX and confusion, e.g. all of the following examples work with the CLI:

$ maas profile spaces create name=" " (4 spaces only)
$ maas profile spaces create name="_ _ _" (underscores and spaces)

It also causes issues for Juju, as space characters are not allowed in constraints.

Tags: networking

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0.0
tags: added: networking
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
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.