Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Shared network, when no IP ranges are defined user needs to specify a VLAN, but there's no such option in the UI #10460

Open
borisstoyanov opened this issue Feb 25, 2025 · 0 comments
Milestone

Comments

@borisstoyanov
Copy link
Contributor

problem

When there's no IP ranges defined for shared network, API requires to specify VLAN when adding a range, of course if offering is with specifyVlan=true:

(localcloud) 🐱 > create vlaniprange endip=10.10.1.100 startip=10.10.1.10 gateway=10.10.1.1 netmask=255.255.255.0 networkid=a3974030-6015-44de-bd7f-fd266015b8e7 forvirtualnetwork=false
🙈 Error: (HTTP 431, error code 4350) The IP range already has IPs that overlap with the new range. Please specify a different start IP/end IP.
(localcloud) 🐱 > create vlaniprange endip=10.10.1.100 startip=10.10.1.10 gateway=10.10.1.1 netmask=255.255.255.0 networkid=a3974030-6015-44de-bd7f-fd266015b8e7 vlan=101 forvirtualnetwork=false
{
  "vlan": {
    "account": "system",
    "cidr": "10.10.1.0/24",
    "domain": "ROOT",
    "domainid": "9d5d9bb6-ed25-11ef-9840-1e005d000106",
    "domainpath": "/",
    "endip": "10.10.1.100",
    "fornsx": false,
    "forsystemvms": false,
    "forvirtualnetwork": false,
    "gateway": "10.10.1.1",
    "id": "65b4cc9c-28b3-42c9-ac17-28d517c82dda",
    "netmask": "255.255.255.0",
    "networkid": "a3974030-6015-44de-bd7f-fd266015b8e7",
    "physicalnetworkid": "04d77c2b-a2ee-494d-bc62-556ebd93953e",
    "startip": "10.10.1.10",
    "vlan": "vlan://101",
    "zoneid": "bd32fa49-d9a3-497c-83f9-d14bedc954ae"
  }
}

While you can add this in CMK, there is no such option in UI:

Image

versions

4.21

The steps to reproduce the bug

  1. Create a shared network with the default offering
  2. Remove the IP range
  3. Add new IP range in UI

Observe that it's not possible and VLAN is required

What to do about it?

Please add the parameter in the UI as well, as optional, since there are offerings that can exclude this.

@DaanHoogland DaanHoogland added this to the 4.21.0 milestone Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants