-
Bug
-
Resolution: Done-Errata
-
Minor
-
rhel-9.2.0
-
nmstate-2.2.18-1.el9
-
None
-
None
-
1
-
rhel-sst-network-management
-
ssg_networking
-
11
-
1
-
False
-
-
No
-
NMT - RHEL 8.10/9.4 DTM 08
-
-
Pass
-
Automated
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
nmstate error message for invalid prefix-length seems not accurate
Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux release 9.2
nmstate-2.2.13-1.el9_2.x86_64
How reproducible:
always
Steps to Reproduce:
1. apply nmstate policy with invalid ipv4 prefix-length 33
desiredState:
interfaces:
- ipv4:
address: - ip: 5.5.5.6
prefix-length: 33
enabled: true
name: br123
state: up
type: linux-bridge
Actual results:
apply failed with below error:
NmstateError: InvalidArgument: Connection(MissingProperty):ipv4.addresses: this property cannot be empty for 'method=manual'
Expected results:
apply failed with accurate error message about invalid prefix-length
Additional info:
- external trackers
- links to
-
RHEA-2023:120000 nmstate bug fix and enhancement update
- mentioned on
(1 mentioned on)