[
https://issues.apache.org/jira/browse/DTACLOUD-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592561#comment-13592561
]
Joseph J. VLcek edited comment on DTACLOUD-484 at 3/4/13 7:50 PM:
------------------------------------------------------------------
I've finished testing and pushed this fix upstream. It is now available on:
https://github.com/abenari/rbovirt
commit df6f70fd19ff554e995719be41ee4de089960723
was (Author: jvlcek):
I've finished testing and pushed this fix upstream. It is now available on:
https://github.com/abenari/rbovirt
> RHEVm Need to handle GET for instances while some could be being destroyed.
> ---------------------------------------------------------------------------
>
> Key: DTACLOUD-484
> URL: https://issues.apache.org/jira/browse/DTACLOUD-484
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server
> Reporter: Joseph J. VLcek
> Assignee: Joseph J. VLcek
> Attachments:
> 0001-RHEV-M-avoid-failure-when-accessing-instances-when-a.patch
>
>
> If an instance (vm) is being destroyed a GET for all instances could fail.
> This needs to be fix in rbovirt by adding a rescue in vm_interfaces to
> catch where a vm is being destroyed.
> pseudo code:
> lib/client/vm_api.rb
> def vm_interfaces vm_id
> begin
> http_get("/vms/%s/nics" % vm_id, http_headers).xpath('/nics/nic').collect
> do |nic|
> OVIRT::Interface::new(self, nic)
> end
> rescue # Catch case were vm_id is destroyed.
> []
> end
> end
--
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