Pod storage pool path can't be blank

Bug #1993289 reported by Alberto Donato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Alberto Donato
3.1
Fix Released
High
Alberto Donato
3.2
Fix Released
High
Alberto Donato

Bug Description

If the storage pool path cannot be a blank string:

django.core.exceptions.ValidationError: {'path': ['This field cannot be blank.']}

If the pool path can't be read (e.g. in LXD with restricted credentials, a string still needs to be set.

Previously if the path wasn't populated, None was returned which was converted to the "None" string.

Related branches

Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
milestone: 3.3.0 → 3.3.0-beta1
Changed in maas:
status: Fix Committed → Fix Released
Changed in maas:
milestone: 3.3.0-beta1 → 3.3.0-beta2
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.