Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
VM instance is deleted from OpenStack, but not from the underlying host causing IP duplication
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
VM keeps running on the underlying host causing IP duplication even though VM is completely deleted from OpenStack without showing any traces to OpenStack CLI or UI.
Environment
- Platform9 Managed OpenStack - v4.0 and Higher
The culprit VM name and at least one mac address should be known to execute this workaround.
Procedure
- Search Nova DB using VM name to get the details of all hosts on which the VM was running previously.
- Check for domain mac addresses using “virsh domiflist“ command on all possible hosts (which we get from nova DB).
Search VM using MAC address
xxxxxxxxxx# domname=`virsh list --all | awk '{print $2}'`# for val in $domname; do virsh domiflist $val; done- Search for the culprit MAC address associated with which VM uuid and use “virsh undefine” command to delete culprit VM as below:
Delete VM
xxxxxxxxxx# virsh undefine <culprit-VM-uuid>Using above procedure we can find VM which is causing the IP duplication and running orphaned on the host.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message