yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #41391
[Bug 1517809] [NEW] Filtering by 'created_at' and 'updated_at' when specify invalid value causes 500 error
Public bug reported:
ENVIRONMENT: devstack, Glance (master, 19.11.2015)
STEPS TO REPRODUCE:
send request
curl -H "X-Auth-Token: token" -X GET http://localhost:9292/v2/images?updated_at=lt:100 -i
or
curl -H "X-Auth-Token: token" -X GET http://localhost:9292/v2/images?created_at=lt:100 -i
EXPECTED RESULT:
status code 400 and message error
ACTUAL RESULT:
<html>
<head>
<title>500 Internal Server Error</title>
</head>
<body>
<h1>500 Internal Server Error</h1>
The server has either erred or is incapable of performing the requested operation.<br /><br />
</body>
</html
Stacktrace: http://paste.openstack.org/show/479387/
** Affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1517809
Title:
Filtering by 'created_at' and 'updated_at' when specify invalid value
causes 500 error
Status in Glance:
New
Bug description:
ENVIRONMENT: devstack, Glance (master, 19.11.2015)
STEPS TO REPRODUCE:
send request
curl -H "X-Auth-Token: token" -X GET http://localhost:9292/v2/images?updated_at=lt:100 -i
or
curl -H "X-Auth-Token: token" -X GET http://localhost:9292/v2/images?created_at=lt:100 -i
EXPECTED RESULT:
status code 400 and message error
ACTUAL RESULT:
<html>
<head>
<title>500 Internal Server Error</title>
</head>
<body>
<h1>500 Internal Server Error</h1>
The server has either erred or is incapable of performing the requested operation.<br /><br />
</body>
</html
Stacktrace: http://paste.openstack.org/show/479387/
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1517809/+subscriptions
Follow ups