Skip to content

VPC restart with cleanup fails when VPC has multiple public IP ranges from different VLANs — "cidr is not formatted correctly" #12621

@jeanvetorello

Description

@jeanvetorello

problem

When restarting a VPC with cleanup=true that has public IPs from different VLAN ranges, the operation fails with:

cidr is not formatted correctly: 192.168.2.0/24,160.0.0.0/24

Expected Behavior:

VPC restarts successfully.

Actual Behavior:

VPC restart fails with error:

cidr is not formatted correctly: 192.168.2.0/24,160.0.0.0/24

versions

4.21
kvm

The steps to reproduce the bug

Steps to Reproduce:

In an existing zone, add a second public IP range on a different VLAN (e.g., if the zone already has a range like 183.9.9.0/24 on VLAN 100, add a new range like 160.0.0.0/24 on VLAN 200)
Create a VPC
Create a network tier (subnet) inside the VPC
Deploy a VM inside that tier
Acquire a public IP from the second VLAN range and assign it to the VM (so the VPC now has the default Source NAT IP from the first range and the newly acquired IP from the second range)
Go to the VPC and click Restart VPC with "Clean up" enabled

What to do about it?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions