andrijapanicsb opened a new issue #3787: The same IP address of Shared VR not re-used when VR is deleted/created URL: https://github.com/apache/cloudstack/issues/3787 ##### ISSUE TYPE <!-- Pick one below and delete the rest --> * Bug Report ##### COMPONENT NAME <!-- Categorize the issue, e.g. API, VR, VPN, UI, etc. --> ~~~ VR ~~~ ##### CLOUDSTACK VERSION <!-- New line separated list of affected versions, commit ID for issues on master branch. --> ~~~ Tested in 4.11.3 (to be confirmed in 4.13, but I expect the identical behaviour) ~~~ ##### CONFIGURATION <!-- Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise --> Shared network with a running VR. ##### OS / ENVIRONMENT <!-- Information about the environment if relevant, N/A otherwise --> NA ##### SUMMARY <!-- Explain the problem/feature briefly --> when VR is manually destroyed and then created automatically again (when starting an existing/new VM) - the public IP of the VR will NOT be the one from the “placeholder” DB records but a new random Public IP ##### STEPS TO REPRODUCE <!-- For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate. For new features, show how the feature would be used. --> <!-- Paste example playbooks or commands between quotes below --> ~~~ ~~~ <!-- You can also paste gist.github.com links for larger files --> ##### EXPECTED RESULTS <!-- What did you expect to happen when running the steps above? --> ~~~ When a new VR for Shared network is created, it's "public/guest" interface is given some IP and this one should persist for the life time of the VR - i.e. when network is restarted with cleannup, a new VR will be created, but with the same IP - so that the existing user VMs can continue to use it as DHCP/DNS server. i.e ![image](https://user-images.githubusercontent.com/45762285/71478410-bf65ac80-27ef-11ea-930d-b3f264008e0c.png) ~~~ ##### ACTUAL RESULTS <!-- What actually happened? --> <!-- Paste verbatim command output between quotes below --> ~~~ When network is restarted with cleanup, the IP for the new NIC for the new VR stays the same as the "placeholder" IP (see image above) But when VR is deleted, and then a new VM is created/existing VM is started, a new VR will be created, but it will not inherit the "placeholder" IP, and will instead get the new IP address - this needs fixing. ~~~
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services