iprange parser fails when set to a single IP address
Bug #2033710 reported by
Adam Dyess
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MetalLB Operator |
In Progress
|
High
|
Adam Dyess |
Bug Description
When one configs the charm with a single ip address such as 192.168.0.1 rather than 192.168.0.1/32 -- the charm fails to deal with this config and attempts to set the bare address in the spec.addresses of metallb.
this causes an API error 403 forbidden because values of spec.addresses must either be an address range or a cidr subnet, not a single value
A worse situation is the charm cannot recover because it retries forever rather than stopping with an eventual error.
Changed in operator-metallb: | |
milestone: | none → 1.28+ck1 |
assignee: | nobody → Adam Dyess (addyess) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in operator-metallb: | |
status: | Confirmed → In Progress |
tags: | added: backport-needed |
Changed in operator-metallb: | |
milestone: | 1.28+ck1 → 1.29 |
To post a comment you must log in.
https:/ /github. com/charmed- kubernetes/ metallb- operator/ pull/37