yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45291
[Bug 1498460] Re: Create image from empty locations leads to internal server error
Reviewed: https://review.openstack.org/226295
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=c2cbdd84e721271244dbf1c946e79fc2a0398420
Submitter: Jenkins
Branch: master
commit c2cbdd84e721271244dbf1c946e79fc2a0398420
Author: kairat_kushaev <kkushaev@xxxxxxxxxxxx>
Date: Wed Sep 23 14:48:54 2015 +0300
Validate empty location value for v1 api
When empty string is passed as location value the glance
raises internal server error.
The patch checks that location value is present in image meta
and generates BadRequest if it is empty.
Change-Id: I8f3640276368292ced508d5f4c918c147b9d1f19
Closes-Bug: #1498460
** Changed in: glance
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1498460
Title:
Create image from empty locations leads to internal server error
Status in Glance:
Fix Released
Status in Glance kilo series:
New
Status in Glance liberty series:
New
Bug description:
master, devstack, API v1
Steps to reproduce:
1. Create an image from empty location
glance image-create --location ''
ER: Bad Request
AR: internal server Error
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1498460/+subscriptions
References