[ https://issues.apache.org/jira/browse/DTACLOUD-552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13641109#comment-13641109 ]
Dies Koper commented on DTACLOUD-552: ------------------------------------- Here's a bit more of the backtrace (it's several pages long): <![CDATA[/home/dc/deltacloud/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb:1145:in `block in delete_firewall' /home/dc/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:220:in `call' /home/dc/deltacloud/server/lib/deltacloud/drivers/exceptions.rb:220:in `safely' /home/dc/deltacloud/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb:1119:in `delete_firewall' /home/dc/deltacloud/server/lib/deltacloud/drivers/fgcp/fgcp_driver_cimi_methods.rb:99:in `destroy_system' /home/dc/deltacloud/server/lib/cimi/service/system.rb:43:in `delete!' /home/dc/deltacloud/server/lib/cimi/helpers/cimi_rabbit_helper.rb:9:in `block (2 levels) in generate_delete_operation' /home/dc/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/sinatra-rabbit-1.1.6/lib/sinatra/rabbit/base.rb:400:in `instance_eval' > 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