You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "borisstoyanov (via GitHub)" <gi...@apache.org> on 2025/02/25 08:23:36 UTC
[I] UI: Shared network, when no IP ranges are defined user needs to specify a VLAN, but there's no such option in the UI [cloudstack]
borisstoyanov opened a new issue, #10460:
URL: https://github.com/apache/cloudstack/issues/10460
### 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:

### 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI: Shared network, when no IP ranges are defined user needs to specify a VLAN, but there's no such option in the UI [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #10460:
URL: https://github.com/apache/cloudstack/issues/10460#issuecomment-3062345064
@borisstoyanov would we have to show this setting when there is an IP range already (and hence a vlanid)
cc @alexandremattioli @weizhouapache
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI: Shared network, when no IP ranges are defined user needs to specify a VLAN, but there's no such option in the UI [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache closed issue #10460: UI: Shared network, when no IP ranges are defined user needs to specify a VLAN, but there's no such option in the UI
URL: https://github.com/apache/cloudstack/issues/10460
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] UI: Shared network, when no IP ranges are defined user needs to specify a VLAN, but there's no such option in the UI [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #10460:
URL: https://github.com/apache/cloudstack/issues/10460#issuecomment-3213489032
this should be fixed by #10837
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org