Image download immediately fails when glance returns 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Takashi Kajinami |
Bug Description
Description
===========
nova-compute downloads a vm image from glance when launching an instance. It retries requests when it gets 503, but it does not when it gets 500.
When glance uses cinder backend and a image volume is still used (for example because another client is downloading the same image), glance returns 500 and this results in immediate instance creation failure.
Steps to reproduce
==================
* Deploy glance with cinder image store
* Upload an image
* Create an image-boot instance from the image, while downloading the image in background
Expected result
===============
Instance creation succeeeds
Actual result
=============
Instance creation fails because of 500 error from glance
Environment
===========
This has been seen in Puppet OpenStack integration job, which uses RDO master.
Logs & Configs
==============
Example failure can be found in https:/
description: | updated |
Changed in nova: | |
assignee: | nobody → Takashi Kajinami (kajinamit) |
Fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /914761
Review: https:/