Image download immediately fails when glance returns 500

Bug #2059800 reported by Takashi Kajinami
6
This bug affects 1 person
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://zuul.opendev.org/t/openstack/build/fc0e584a70f947d988ac057a8cc991c2

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/914761

Changed in nova:
status: New → In Progress
description: updated
Changed in nova:
assignee: nobody → Takashi Kajinami (kajinamit)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.