2018-10-30 14:51:52 |
Mathieu Trudel-Lapierre |
bug |
|
|
added bug |
2018-10-30 14:53:38 |
Mathieu Trudel-Lapierre |
bug task added |
|
netplan.io (Ubuntu) |
|
2018-10-30 14:53:45 |
Mathieu Trudel-Lapierre |
nominated for series |
|
Ubuntu Cosmic |
|
2018-10-30 14:53:45 |
Mathieu Trudel-Lapierre |
bug task added |
|
netplan.io (Ubuntu Cosmic) |
|
2018-10-30 14:53:45 |
Mathieu Trudel-Lapierre |
nominated for series |
|
Ubuntu Disco |
|
2018-10-30 14:53:45 |
Mathieu Trudel-Lapierre |
bug task added |
|
netplan.io (Ubuntu Disco) |
|
2018-10-30 14:53:45 |
Mathieu Trudel-Lapierre |
nominated for series |
|
Ubuntu Bionic |
|
2018-10-30 14:53:45 |
Mathieu Trudel-Lapierre |
bug task added |
|
netplan.io (Ubuntu Bionic) |
|
2018-11-22 04:01:32 |
Launchpad Janitor |
netplan.io (Ubuntu Disco): status |
New |
Fix Released |
|
2019-03-11 20:27:05 |
Mathieu Trudel-Lapierre |
description |
Give more information about the error, including its exact location in the code.
Make the error messages shorter but still understandable.
Present clear context so people understand what we found was wrong, if not from line/column number, then from the extract from their file, with a marker to the error. |
[Impact]
All users of netplan.
[Test case]
1) Write an invalid netplan yaml (for each of the examples below)
2) Validate the error is as expected.
3) Verify that the error matches refers to a meaningful place in file (check line and column values).
== Error due to missing fields ==
network:
version: 2
ethernets:
engreen:
routing-policy:
- table: 50
addresses:
- 192.168.14.2/24
- 2001:FFfe::1/64
Expected error:
"""
/etc/netplan/01-network-manager-all.yaml:10:9: Error in network definition: IP routing policy must include either a 'from' or 'to' IP
- table: 50
^
"""
== Syntax error: unsupported features ==
network:
version: 2
ethernets:
engreen:
dhcp4: *yes
Expected error:
"""
/etc/netplan/01-network-manager-all.yaml:9:14: Invalid YAML: aliases are not supported:
dhcp4: *yes
^
"""
== Syntax error: use of tabs in config ==
network:
<tab>version: 2
<tab>renderer: NetworkManager
Expected error:
"""
/etc/netplan/01-network-manager-all.yaml:3:1: Invalid YAML: tabs are not allowed for indent:
version: 2
^
"""
== Unsupported mix of features ==
network:
version: 2
renderer: networkd
tunnels:
tun0:
mode: isatap
local: 1.1.1.1
remote: 2.2.2.2
addresses: [ 15.15.15.15/24 ]
gateway4: 20.20.20.21
Expected error:
"""
/etc/netplan/01-network-manager-all.yaml:10:7: Error in network definition: tun0: ISATAP tunnel mode is not supported by networkd
mode: isatap
^
"""
[Regression potential]
Minimal. Supported configurations remain unchanged. Users relying on automated parsing of netplan error messages (would that be a thing?) will find the messages have vastly changed. None of the strings are currently translatable/translated.
---
Give more information about the error, including its exact location in the code.
Make the error messages shorter but still understandable.
Present clear context so people understand what we found was wrong, if not from line/column number, then from the extract from their file, with a marker to the error. |
|
2019-03-11 20:27:23 |
Mathieu Trudel-Lapierre |
netplan: status |
New |
Fix Released |
|
2019-03-22 09:11:50 |
Timo Aaltonen |
netplan.io (Ubuntu Cosmic): status |
New |
Fix Committed |
|
2019-03-22 09:11:52 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-03-22 09:11:55 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2019-03-22 09:11:57 |
Timo Aaltonen |
tags |
|
verification-needed verification-needed-cosmic |
|
2019-03-22 09:18:59 |
Timo Aaltonen |
netplan.io (Ubuntu Bionic): status |
New |
Fix Committed |
|
2019-03-22 09:19:03 |
Timo Aaltonen |
tags |
verification-needed verification-needed-cosmic |
verification-needed verification-needed-bionic verification-needed-cosmic |
|
2019-03-26 20:09:48 |
Mathieu Trudel-Lapierre |
tags |
verification-needed verification-needed-bionic verification-needed-cosmic |
verification-done-bionic verification-done-cosmic |
|
2019-03-29 01:15:29 |
Steve Langasek |
tags |
verification-done-bionic verification-done-cosmic |
verification-done-bionic verification-needed verification-needed-cosmic |
|
2019-03-29 01:22:09 |
Steve Langasek |
tags |
verification-done-bionic verification-needed verification-needed-cosmic |
verification-needed verification-needed-bionic verification-needed-cosmic |
|
2019-04-02 15:30:00 |
Mathieu Trudel-Lapierre |
tags |
verification-needed verification-needed-bionic verification-needed-cosmic |
verification-done-bionic verification-done-cosmic |
|
2019-04-10 21:20:47 |
Steve Langasek |
tags |
verification-done-bionic verification-done-cosmic |
verification-done-cosmic verification-needed verification-needed-bionic |
|
2019-04-11 18:52:47 |
Mathieu Trudel-Lapierre |
tags |
verification-done-cosmic verification-needed verification-needed-bionic |
verification-done-bionic verification-done-cosmic |
|
2019-04-15 22:32:43 |
Launchpad Janitor |
netplan.io (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|
2019-04-15 22:33:37 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-04-18 23:39:54 |
Steve Langasek |
netplan.io (Ubuntu Cosmic): status |
Fix Released |
Fix Committed |
|
2019-04-30 21:04:04 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-04-30 21:04:08 |
Brian Murray |
tags |
verification-done-bionic verification-done-cosmic |
verification-done-bionic verification-needed verification-needed-cosmic |
|
2019-04-30 21:57:53 |
Brian Murray |
tags |
verification-done-bionic verification-needed verification-needed-cosmic |
verification-needed verification-needed-bionic verification-needed-cosmic |
|
2019-05-02 21:59:54 |
Mathieu Trudel-Lapierre |
tags |
verification-needed verification-needed-bionic verification-needed-cosmic |
verification-done-bionic verification-done-cosmic |
|
2019-05-08 00:00:42 |
Launchpad Janitor |
netplan.io (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-05-08 00:01:20 |
Launchpad Janitor |
netplan.io (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|