You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Dies Koper (JIRA)" <ji...@apache.org> on 2013/04/24 01:13:18 UTC
[jira] [Created] (DTACLOUD-552) cimi: 202 Accepted response returns
error template with backtrace
Dies Koper created DTACLOUD-552:
-----------------------------------
Summary: cimi: 202 Accepted response returns error template with backtrace
Key: DTACLOUD-552
URL: https://issues.apache.org/jira/browse/DTACLOUD-552
Project: DeltaCloud
Issue Type: Bug
Components: CIMI/Frontend, Server
Reporter: Dies Koper
Priority: Minor
FGCP returns a 202 Accepted to a delete request for a system as it requires to make two subsequent (time taking) calls to the backend: stopping the embedded FW and then destroying the system. The 202 contains a message saying that the FW/system "will be deleted once it has stopped".
Problem is how the message is wrapped:
<error status='202' url='/cimi/systems/UZXC0GRT-3KIYQVLJC'>
<backend driver='fgcp' provider='default'></backend>
<code>202</code>
<message><![CDATA[Firewall will be deleted once it has stopped]]></message>
<backtrace>
<![CDATA[/home/dc/deltacloud/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb:1145:in `block in delete_firewall'
2xx responses shouldn't be marked as "error" and don't need a backtrace.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira