openstack 磁盘卷创建和删除慢

1.日志

BuildAbortException: Build of instance 90b17c47-5f5c-43cc-92f5-a5debd6bce57 aborted: Volume 3b5a1ec8-1bc4-497e-a2a9-7bb9c47fb556 did not finish being created even after we waited 188 seconds or 61 attempts. And its status is downloading.

2.解决办法:

使用image-volume cache技术:

[lvm]

#........

image_volume_cache_max_size_gb = 200
image_volume_cache_max_count = 50
image_volume_cache_enabled = True

[default]

#..........

cinder_internal_tenant_project_id = xxxxx
cinder_internal_tenant_user_id = xxxxx

你可能感兴趣的:(OpenStack)