yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #39951
[Bug 1492702] Re: import task doesn't check image properties
** Changed in: glance
Status: In Progress => Invalid
** Changed in: glance
Assignee: wangxiyuan (wangxiyuan) => (unassigned)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1492702
Title:
import task doesn't check image properties
Status in Glance:
Invalid
Bug description:
Reproduce:
Create a import task like:
{
"type":"import",
"input":{
"import_from":"http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img",
"import_from_format":"",
"image_properties":{
"disk_format":"wrong-format",
"container_format":"wrong-format",
"name":"test-task"
}
}
}
Expect : raise an error, image_properties is invalid.
Actual : the task is done successful. but the image's disk_format or
container_format is "wrong-format".
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1492702/+subscriptions
References