[ 
https://issues.apache.org/jira/browse/DTACLOUD-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13572850#comment-13572850
 ] 

Ronelle Landy commented on DTACLOUD-436:
----------------------------------------

hmmm  ... what to do here ...

So if I forcibly suspend a running instance so that it looks to be in a paused 
state, and then GET api/instances, there is no error (as Joe also found out). 
The suspended instance is reported as 'stopped' in deltacloud.

We have seen error emerge after the rhevm server has been hard shutdown and 
instances that were running before the shutdown come back in suspended state 
when the rhevm server is restarted. Since I don't really want to shutdown the 
rhevm server (it will impact those working on it), it's hard to verify the 
theory that the error is only encountered after hard shutdown.

Considering that the existence of instances that are intentionally paused does 
not force the error, I'm going to close this out. For the rare cases where this 
error occurs, it's likely not worth a major change - if there was even one we 
could make.
                
> Accessing instances data fails on rhevm3.1 if a paused instance exists.
> -----------------------------------------------------------------------
>
>                 Key: DTACLOUD-436
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-436
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Native/Frontend
>            Reporter: Joseph J. VLcek
>            Assignee: Ronelle Landy
>
> When an instance exists on the rhevm3.1 back end in a paused state
> attempts to accessing the instances data returns:
> % curl   -X GET   --user "UN:PW"   
> "http://localhost:3001/api/instances?format=xml";
> <?xml version='1.0' encoding='utf-8' ?>
> <error status='500' url='/api/instances'>
>   <kind>backend_error</kind>
>   <backend driver='rhevm' provider='API PROVIDER'>
>     <code>500</code>
>   </backend>
>   <message><![CDATA[Internal Server Error]]></message>
>   <request>
>     <param name='format'>xml</param>
>   </request>
> </error>
> This issue seems to be related to 
> https://issues.apache.org/jira/browse/DTACLOUD-355
> "Deltacloud does not handle paused instances in RHEVM"

--
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

Reply via email to