Skip to content

[Netris] VPC deployments fail after the first dedicated range set for Netris is exhausted and does not consider the next range #14890

Todo

Description

@nvazquez

Problem

In environments in which having multiple ranges set as forNetris = true under vlan_details, CloudStack does only consider the first range for VPC deployments. If this range is exhausted then it is not possible to deploy a VPC despite there are free ranges also set as forNetris=true

2026-11-27 17:03:14,269 DEBUG [c.c.n.v.VpcManagerImpl] (qtp1404565079-6021:[ctx-52c85f34, ctx-6e7eb875]) (logid:dbeac31e) Created VPC [VPC [799-x-vpc4]
2026-11-27 17:03:14,283 INFO  [c.c.n.v.VpcManagerImpl] (qtp1404565079-6021:[ctx-52c85f34, ctx-6e7eb875]) (logid:dbeac31e) Provided source NAT IP will be ignored in an NSX-enabled or Netris-enabled zone
2026-11-27 17:03:14,283 INFO  [c.c.n.v.VpcManagerImpl] (qtp1404565079-6021:[ctx-52c85f34, ctx-6e7eb875]) (logid:dbeac31e) Trying to allocate the specified IP [null] as the source NAT of VPC [[VPC [799-x-vpc4]].
2026-11-27 17:03:14,285 DEBUG [c.c.n.v.VpcManagerImpl] (qtp1404565079-6021:[ctx-52c85f34, ctx-6e7eb875]) (logid:dbeac31e) Reserving a source NAT IP for Netris VPC x-vpc4
2026-11-27 17:03:14,287 DEBUG [c.c.n.NetworkServiceImpl] (qtp1404565079-6021:[ctx-52c85f34, ctx-6e7eb875]) (logid:dbeac31e) Found the VLAN range 10.x.y.z-10.x.y.t is set for NSX on zone ZONE
2026-11-27 17:03:14,290 ERROR [c.c.n.NetworkServiceImpl] (qtp1404565079-6021:[ctx-52c85f34, ctx-6e7eb875]) (logid:dbeac31e) Cannot find any free IP matching on the VLAN range 10.x.y.z-10.x.y.t on zone ZONE
2026-11-27 17:03:14,291 DEBUG [c.c.n.v.VpcManagerImpl] (qtp1404565079-6021:[ctx-52c85f34, ctx-6e7eb875]) (logid:dbeac31e) Destroying vpc [VPC [799-x-vpc4]
2026-11-27 17:03:14,292 DEBUG [c.c.n.v.VpcManagerImpl] (qtp1404565079-6021:[ctx-52c85f34, ctx-6e7eb875]) (logid:dbeac31e) Updating VPC [VPC [799-x-vpc4] with state Inactive as a part of vpc delete
2026-11-27 17:03:14,293 DEBUG [c.c.r.ResourceLimitManagerImpl] (qtp1404565079-6021:[ctx-52c85f34, ctx-6e7eb875]) (logid:dbeac31e) Updating resource Type = vpc count for Account = 212 Operation = decreasing Amount = 1
2026-11-27 17:03:14,300 DEBUG [c.c.n.v.VpcManagerImpl] (qtp1404565079-6021:[ctx-52c85f34, ctx-6e7eb875]) (logid:dbeac31e) Shutting down vpc [VPC [799-x-vpc4]

Versions

4.21, 4.22.2 RC

Activity

  1. Pearl1594 commented on Nov 27, 2026

    @Pearl1594
    Contributor

    Thanks @nvazquez . I believe this is true for any external network provider - NSX too. I'll look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions