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?
Host Evacuate Deleted disk Files and Rebuilt VMs
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
When an evacuate operation is performed on a host, the disk files are deleted and the VMs are rebuilt using the image.
Environment
- Platform9 Managed OpenStack - v3.6.0 and higher
- Nova
- NFS v3
Cause
- Since libvirt does not have a rebuilt function, the spawn function is called by Nova compute service.
- The spawn function for the libvirt driver destroys disk if it fails to launch an instance.
self._create_domain_and_network( context, xml, instance, network_info, block_device_info=block_device_info, post_xml_callback=gen_confdrive, destroy_disks_on_failure=True) LOG.debug("Guest created on hypervisor", instance=instance)- The disk files are deleted because libvirt fails to get a write lock on the disk file and the instance fails to get created after which Nova rebuilds the instance using the original image.
Resolution
- Add the nolock option to the NFS mount options in the nova_override.conf file located under /opt/pf9/etc/nova/conf.d directory.
xxxxxxxxxx[libvirt]nfs_mount_options = vers=3,nolock- Restart pf9-ostackhost service on the host.
xxxxxxxxxx# sudo systemctl restart pf9-ostackhostAdditional Information
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