vdombrovski commented on issue #6810: URL: https://github.com/apache/cloudstack/issues/6810#issuecomment-1296847469
Hello, I am able to reproduce Luc's behavior. I think it is due to the fact the IP field gets reset preemptively before the VM is deployed. To reproduce: 1. (Working case): deploy a VM without specifying (touching the IP address field). Your payload only has the networkid field: ``` iptonetworklist[0].networkid: 4c65cfff-05e7-4cfa-964b-2ae93d591d5f ``` 2. (Non working case): deploy a VM and specify any IP address, or enter an IP address then empty the field. Your payload now looks like this (I've specified 10.0.0.100 as my IP) ``` iptonetworklist[0].networkid: 4c65cfff-05e7-4cfa-964b-2ae93d591d5f iptonetworklist[0].ip: 10.0.0.2 ``` As Stephan correctly pointed out, the IP gets reset to GatewayIP + 1 systematically as the field is cleared before it can be read from. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
