nvazquez opened a new issue, #10188: URL: https://github.com/apache/cloudstack/issues/10188
<!-- 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 ##### COMPONENT NAME <!-- Categorize the issue, e.g. API, VR, VPN, UI, etc. --> ~~~ API, UI ~~~ ##### CLOUDSTACK VERSION <!-- New line separated list of affected versions, commit ID for issues on main branch. --> ~~~ 4.19.1.2 ~~~ ##### CONFIGURATION ##### OS / ENVIRONMENT <!-- Information about the environment if relevant, N/A otherwise --> ##### SUMMARY <!-- Explain the problem/feature briefly --> CloudStack incorrectly lists VMs that previously had NICs on networks and are no longer part of the network. On database, once the NICs of the VMs are removed from the network, they appear removed and in Deallocating state, however CloudStack does not check the removed field and incorrectly lists theses VMs ##### 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 --> ~~~ - Create network1 - Create network2 - Deploy VM with a NIC on each network1 and network2 - Remove the non-default NIC (say network2) - Navigate to network2 -> View instances -> The VM is still displayed ~~~ ##### EXPECTED RESULTS <!-- What did you expect to happen when running the steps above? --> ~~~ Empty results ~~~ ##### ACTUAL RESULTS <!-- What actually happened? --> <!-- Paste verbatim command output between quotes below --> ~~~ VM with removed NIC is still displayed ~~~ -- 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-unsubscr...@cloudstack.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org