Title: [API] Incorrect listing of VMs with previous NICs on networks · Issue #10188 · apache/cloudstack · GitHub
Open Graph Title: [API] Incorrect listing of VMs with previous NICs on networks · Issue #10188 · apache/cloudstack
X Title: [API] Incorrect listing of VMs with previous NICs on networks · Issue #10188 · apache/cloudstack
Description: ISSUE TYPE Bug COMPONENT NAME API, UI CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION OS / ENVIRONMENT SUMMARY CloudStack incorrectly lists VMs that previously had NICs on networks and are no longer part of the network. On database, once the N...
Open Graph Description: ISSUE TYPE Bug COMPONENT NAME API, UI CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION OS / ENVIRONMENT SUMMARY CloudStack incorrectly lists VMs that previously had NICs on networks and are no longer part...
X Description: ISSUE TYPE Bug COMPONENT NAME API, UI CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION OS / ENVIRONMENT SUMMARY CloudStack incorrectly lists VMs that previously had NICs on networks and are no longer part...
Opengraph URL: https://github.com/apache/cloudstack/issues/10188
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[API] Incorrect listing of VMs with previous NICs on networks","articleBody":"\u003c!--\nVerify first that your issue/request is not already reported on GitHub.\nAlso test if the latest release and main branch are affected too.\nAlways add information AFTER of these HTML comments, but no need to delete the comments.\n--\u003e\n\n##### ISSUE TYPE\n\u003c!-- Pick one below and delete the rest --\u003e\n * Bug\n\n##### COMPONENT NAME\n\u003c!--\nCategorize the issue, e.g. API, VR, VPN, UI, etc.\n--\u003e\n~~~\nAPI, UI\n~~~\n\n##### CLOUDSTACK VERSION\n\u003c!--\nNew line separated list of affected versions, commit ID for issues on main branch.\n--\u003e\n\n~~~\n4.19.1.2\n~~~\n\n##### CONFIGURATION\n\n##### OS / ENVIRONMENT\n\u003c!--\nInformation about the environment if relevant, N/A otherwise\n--\u003e\n\n\n##### SUMMARY\n\u003c!-- Explain the problem/feature briefly --\u003e\nCloudStack 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\n\n\n##### STEPS TO REPRODUCE\n\u003c!--\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.\n\nFor new features, show how the feature would be used.\n--\u003e\n\n\u003c!-- Paste example playbooks or commands between quotes below --\u003e\n~~~\n- Create network1\n- Create network2\n- Deploy VM with a NIC on each network1 and network2\n- Remove the non-default NIC (say network2)\n- Navigate to network2 -\u003e View instances -\u003e The VM is still displayed\n~~~\n\n\n##### EXPECTED RESULTS\n\u003c!-- What did you expect to happen when running the steps above? --\u003e\n\n~~~\nEmpty results\n~~~\n\n##### ACTUAL RESULTS\n\u003c!-- What actually happened? --\u003e\n\n\u003c!-- Paste verbatim command output between quotes below --\u003e\n~~~\nVM with removed NIC is still displayed\n~~~\n","author":{"url":"https://github.com/nvazquez","@type":"Person","name":"nvazquez"},"datePublished":"2025-01-14T22:17:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/10188/cloudstack/issues/10188"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:67389595-1ab8-803f-cdff-051fdef12deb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC4A:2E1306:1461C5A:1D40D49:6A4E5FC5 |
| html-safe-nonce | 02a749b3aae8d054036f22b2bb13fa6d05f7d9b9d88a5dd42eed926a1661f841 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzRBOjJFMTMwNjoxNDYxQzVBOjFENDBENDk6NkE0RTVGQzUiLCJ2aXNpdG9yX2lkIjoiMzE3Mzc4NTM3ODE1NTgxNDg1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2dda3dbe55f531af573a0ea47863283ff58d0b0ed9b32c3c76a6630ab1c67376 |
| hovercard-subject-tag | issue:2788384092 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/10188/issue_layout |
| twitter:image | https://opengraph.githubassets.com/68054399ee273200ede513b3b98c1cc897583c40d7980ac25ab108767e973c01/apache/cloudstack/issues/10188 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/68054399ee273200ede513b3b98c1cc897583c40d7980ac25ab108767e973c01/apache/cloudstack/issues/10188 |
| og:image:alt | ISSUE TYPE Bug COMPONENT NAME API, UI CLOUDSTACK VERSION 4.19.1.2 CONFIGURATION OS / ENVIRONMENT SUMMARY CloudStack incorrectly lists VMs that previously had NICs on networks and are no longer part... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nvazquez |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 55abf6b50233e48592f2087d3226df604c65feb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width