reimage volume API image is invalid, the status should not be downloading.

Bug #1982436 reported by yangzhe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Medium
Unassigned

Bug Description

When image is larger than volume,REimage API returns an error message, that the volume status has changed to downloading. However, volume service not work. You should roll back the volume status to its original state and return an error message
POST: v3/{project_id}/volumes/{volume_id}/action
{
  "os-reimage": {
      "os-reimage": "image_id",
      "reimage_reserved": False
    }
}
when image_size > volume_size
Response codes¶ 400, valume_status is downloading

Tags: image
yangzhe (brreo)
description: updated
Changed in cinder:
status: New → In Progress
Revision history for this message
yangzhe (brreo) wrote :
tags: added: image
Changed in cinder:
importance: Undecided → Medium
Revision history for this message
yangzhe (brreo) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cinder (master)

Change abandoned by "yangzhe <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/850318
Reason: Abandon

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by "Rajat Dhasmana <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/850989
Reason: In favor of https://review.opendev.org/c/openstack/cinder/+/850318

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by "yangzhe <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/cinder/+/850318

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.