When image-import call is made, all kind of things happens before
the image status transitions to 'importing'. We should do this as early
as possible to ensure that there is no user action against the image
while it's prcessed and the user gets the info that the importing is
actually happening.
Closes-Bug: #1749525
Change-Id: I3ff9f7af2f266dd60fd3ad738b1fb9eeb6fd9fb8
(cherry picked from commit 1f4a0cc4be204f8a584769a753893d2ab4a5d74b)
Reviewed: https:/ /review. openstack. org/544801 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=d07e95aa5e0 5b2d9c8c670688c cbd7929700e263
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit d07e95aa5e05b2d 9c8c670688ccbd7 929700e263
Author: Erno Kuvaja <email address hidden>
Date: Wed Feb 14 15:47:22 2018 +0000
Make the Image status transition early
When image-import call is made, all kind of things happens before
the image status transitions to 'importing'. We should do this as early
as possible to ensure that there is no user action against the image
while it's prcessed and the user gets the info that the importing is
actually happening.
Closes-Bug: #1749525
Change-Id: I3ff9f7af2f266d d60fd3ad738b1fb 9eeb6fd9fb8 a584769a753893d 2ab4a5d74b)
(cherry picked from commit 1f4a0cc4be204f8