yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #37473
[Bug 1490599] [NEW] Glance returned 500 status code when we add in "depend_on" yourself
Public bug reported:
ENVIRONMENT: devstack, Glance (master, 30.08.2015)
STEPS TO REPRODUCE:
We have the artifact:
{"description": null, "published_at": null, "tags": [], "depends_on": null, "created_at": "2015-08-31T10:30:24.000000", "type_name": "MyArtifact", "updated_at": "2015-08-31T10:30:24.000000", "visibility": "private", "id": "3f931cb3-8715-4dff-9d79-639a6853ed14", "type_version": "2.0", "state": "creating", "version": "11.0.0", "references": [], "prop1": null, "prop2": null, "owner": "a82a48dc05df447baab0afe1770c2be8", "image_file": null, "deleted_at": null, "screenshots": [], "int_list": null, "name": "art"}
Send request:
curl -H "X-Auth-Token:e9d6e4a533ba4d40b37ebbb7bbe3a1e5" -H "Content-Type:application/json" -X POST -d '{"data":"3f931cb3-8715-4dff-9d79-639a6853ed14"}' http://172.18.76.44:9292/v3/artifacts/myartifact/v2.0/05b88273-b7b1-4689-ab1d-130c5c93e280/depends_on -i
ACTUAL RESULT
HTTP/1.1 500 Internal Server Error
Content-Length: 228
Content-Type: text/html; charset=UTF-8
X-Openstack-Request-Id: req-2593f86a-83a3-47df-b129-1341e62cfecd
Date: Mon, 31 Aug 2015 13:20:24 GMT
<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>
** Affects: glance
Importance: Undecided
Status: New
** Tags: artifacts
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1490599
Title:
Glance returned 500 status code when we add in "depend_on" yourself
Status in Glance:
New
Bug description:
ENVIRONMENT: devstack, Glance (master, 30.08.2015)
STEPS TO REPRODUCE:
We have the artifact:
{"description": null, "published_at": null, "tags": [], "depends_on": null, "created_at": "2015-08-31T10:30:24.000000", "type_name": "MyArtifact", "updated_at": "2015-08-31T10:30:24.000000", "visibility": "private", "id": "3f931cb3-8715-4dff-9d79-639a6853ed14", "type_version": "2.0", "state": "creating", "version": "11.0.0", "references": [], "prop1": null, "prop2": null, "owner": "a82a48dc05df447baab0afe1770c2be8", "image_file": null, "deleted_at": null, "screenshots": [], "int_list": null, "name": "art"}
Send request:
curl -H "X-Auth-Token:e9d6e4a533ba4d40b37ebbb7bbe3a1e5" -H "Content-Type:application/json" -X POST -d '{"data":"3f931cb3-8715-4dff-9d79-639a6853ed14"}' http://172.18.76.44:9292/v3/artifacts/myartifact/v2.0/05b88273-b7b1-4689-ab1d-130c5c93e280/depends_on -i
ACTUAL RESULT
HTTP/1.1 500 Internal Server Error
Content-Length: 228
Content-Type: text/html; charset=UTF-8
X-Openstack-Request-Id: req-2593f86a-83a3-47df-b129-1341e62cfecd
Date: Mon, 31 Aug 2015 13:20:24 GMT
<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>
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1490599/+subscriptions
Follow ups