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?
Boot From Volume Instance Fails to Spawn: "Block Device Mapping is Invalid
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- A volume-backed instance creation fails with the following error: " Block Device Mapping is Invalid ".
- The same error is observed in /var/log/pf9/ostackhost.log on the destination host.
ERROR nova.compute.manager Attaching block device to instance [UUID] failed. Error: Volume [UUID] did not finish being created even after we waited 193 seconds or 61 attempts. And its status is creating.Environment
- Platform9 Managed OpenStack - v3.6.0 and Higher
- Glance
- Nova
Cause
The image specified for the volume is taking too long to be downloaded from the Image Library (Glance) host(s) to the destination hypervisor and subsequently uploaded to the Block Storage (Cinder) backend. The time it takes for the image to be downloaded depends on many factors including the raw image size and network latency amongst the hosts.
Resolution
- SSH to the host.
- Edit the nova_override.conf file. (Create the file if it does not already exist.)
xxxxxxxxxx$ vi /opt/pf9/etc/nova/conf.d/nova_override.conf- Identify the following parameters:
xxxxxxxxxx[DEFAULT]block_device_allocate_retriesblock_device_allocate_retries_intervalIf the above options are not present, the default values would be used which are:
block_device_allocate_retries = 60
block_device_allocate_retries_interval = 3
- You can double the values to ensure that Nova makes 120 attempts and waits for 6 seconds between each attempt.
- Restart the pf9-ostackhost service
xxxxxxxxxx# service pf9-ostackhost.service restartAdditional 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