reimage volume API image is invalid, the status should not be downloading.
Bug #1982436 reported by
yangzhe
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_
{
"os-reimage": {
"os-reimage": "image_id",
"
}
}
when image_size > volume_size
Response codes¶ 400, valume_status is downloading
description: | updated |
Changed in cinder: | |
status: | New → In Progress |
tags: | added: image |
Changed in cinder: | |
importance: | Undecided → Medium |
To post a comment you must log in.
https:/ /review. opendev. org/c/openstack /cinder/ +/850318