Skip to content

Web-UI creates all isolated Nets with IP range 10.1.1.0/24 #2533

@mdesaive

Description

@mdesaive
ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.11.0.0
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

After upgrading to 4.11 we have the issue, that isolated nets created with the web-UI are always created for the IP range 10.1.1.0/24 - no matter what values are filled in the fields "Guest Gateway" and "Guest Netmask".

Creating an isolated network with CloudMonkey works perfectly using the syntax:

create network displaytext=deleteme-cloudmonkey name=deleteme-cloudmonkey networkofferingid= zoneid= projectid= gateway=172.17.1.1 netmask=255.255.252.0 networkdomain=deleteme-cloudmonkey.heinlein-intern.de

Paul Angus confirmed on users@cloudstack.apache.org:

Yes looks like a UI bug. I tried through the UI with the browser in developer mode to see what was sent. The guest netmask is missing.http://192.168.56.11:8080/client/api?command=createNetwork&response=json&zoneId=6d0ebc4e-1f70-4a87-b29b-cb98f9ab9594&name=test_net&displayText=test-sourcenat&networkOfferingId=e6425385-e5d2-457a-b3df-4845b9e79edc&gateway=10.0.0.1&_=1522849857187

STEPS TO REPRODUCE
Login to web-UI with DomainAdmin User.
Create new isolated network.
Specifiy 
"Guest Gateway" other than 10.1.1.1 or
"Guest Netmask" other than 24
EXPECTED RESULTS
Have the "Guest Gateway" and "Guest Netmask" configured according to the values entered.
ACTUAL RESULTS
The network is created for guest IP range 10.1.1.1/24 no matter what values where entered for "Guest Gateway" and "Guest Netmask".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions