rajujith opened a new issue, #7623:
URL: https://github.com/apache/cloudstack/issues/7623
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete
the comments.
-->
##### 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 main
branch.
-->
~~~
4.18.0.0
4.17.2
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
Advanced zone, VPC
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
##### SUMMARY
<!-- Explain the problem/feature briefly -->
When an existing physical network in a zone is deleted it is not marked as
'Disabled' , vlan table entries are not removed, user_ip_address entries and
not updated as removed ( with public traffic). These stale records affects new
VPC VR public IP association. VR gets created but the public IP is not
configured on the public interface intermittently. In addition to this one
there could be other potential impacts as well.
##### 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 -->
~~~
1. Delete the existing physical network having the public traffic in the
zone
2. Create a new physical network using the same VLAN, IP ranges for the
public traffic.
3. Deploy a new VPC.
4. Observe that ( intermittently) the public IP allocated is missing on the
VPC VR guest OS interface configuration.
5. Observe that the Source NAT is not working.
6. Observe that the 'com.cloud.agent.api.routing.IpAssocVpcCommand' is
missing in the VR StartCommand.
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
The deleted physical network doesn't leave stale records in the DB.
Public IP should be configured on the VPC VR.
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
The deleted physical network leaves stale records in the DB.
Public IP is missing on the VPC VR.
~~~
--
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]