-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidBDM from nova-api with block device mapping. #5098
Comments
I see that |
I'm revisiting this and I think the correct change is to make
I'll get this fixed up. Thank you for reporting it :) |
Ah! Actually there's a bit more to this! I'm finishing up #5131 which will have more details. Thanks again for reporting this -- it highlighted some quirky behavior within OpenStack 😄 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
When provisioning an instance with a block device in openstack you will recieve a InvalidBDM error if you do not specify volume_size.
Example:
block_device = {
uuid = "39807484-2edb-4aae-9fe4-1a878482f16e"
source_type = "image"
destination_type = "volume"
}
If you add volume_size it works
Example
block_device = {
uuid = "39807484-2edb-4aae-9fe4-1a878482f16e"
source_type = "image"
volume_size = "50"
destination_type = "volume"
}
In the code it would be good to query the volume_size from flavor if not se.
The text was updated successfully, but these errors were encountered: