iprange parser fails when set to a single IP address

Bug #2033710 reported by Adam Dyess
6
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.io/v1beta1/IPaddressPool

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.

Adam Dyess (addyess)
Changed in operator-metallb:
milestone: none → 1.28+ck1
assignee: nobody → Adam Dyess (addyess)
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Adam Dyess (addyess) wrote :
Adam Dyess (addyess)
Changed in operator-metallb:
status: Confirmed → In Progress
Adam Dyess (addyess)
tags: added: backport-needed
Adam Dyess (addyess)
Changed in operator-metallb:
milestone: 1.28+ck1 → 1.29
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.