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?
Instance Unable to be Deleted, Stuck in Spawning/Build State
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- An instance is unable to be deleted and it's still showing in a spawning/build state.
- The following is observed in
/var/log/pf9/ostackhost.logon the instance's hypervisor.
INFO nova.compute.manager [...] [instance: <UUID>] During hypervisor state sync the instance has a pending task (deleting), skippingEnvironment
- Platform9 Managed OpenStack - v3.10 and Higher
- Nova
Cause
The instance has another actively-running task which cannot be interrupted. For example, if the image is still being downloaded to the hypervisor and a deletion is issued, the image will continue being downloaded, and the deletion task will not be processed until afterward, or until the service is restarted.
xxxxxxxxxxINFO nova.virt.libvirt.driver [...] Creating imageINFO nova.compute.manager [...] During hypervisor state sync the instance has a pending task (spawning), skipping...INFO nova.compute.manager [...] During hypervisor state sync the instance has a pending task (deleting), skippingResolution
- Wait for the active task to complete.
- Alternatively, or subsequently, should the task never complete, restart the
pf9-ostackhostservice on the hypervisor.
xxxxxxxxxx# systemctl restart pf9-ostackhostAfterward, the following should be observed in /var/log/pf9/ostackhost.log confirming the deletion.
INFO nova.compute.manager [...] [instance: <INSTANCE_UUID>] Service started deleting the instance during the previous run, but did not finish. Restarting the deletion now.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