CLI error message contains new lines.

Bug #1347524 reported by Raphaël Badin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Low
Raphaël Badin

Bug Description

If I run the following CLI command without having imported the images, I get an error. This is normal but what's not normal is that the error message contains new lines:

$ sudo maas maas nodes new architecture=amd64/generic mac_addresses=AA:AA:BB:AA:AA:01 mac_addresses=22:BB:AA:AA:AA:01 hostname=client01 powertype=virsh autodetect_nodegroup=yes
{"architecture": ["\nNo architectures are available to use for this node; boot images may not\nhave been imported on the selected cluster controller, or it may be\nunavailable.\n"]}

Tags: cli papercut

Related branches

Raphaël Badin (rvb)
Changed in maas:
assignee: nobody → Raphaël Badin (rvb)
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.