deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvl...@redhat.com
Subject DTACLOUD-462 - a GET for an instance can fail while a different instance is being destroyed.
Date Fri, 15 Feb 2013 20:43:21 GMT
This patch addresses JIRA  DTACLOUD-462.

The Indication:
A backtrace was produced from a GET /api/instance/<instance id>

The Problem:
If a different instance is being destroyed during a GET for
a different instance a backtrace is produced. This is because
a query for all instances (vms) was being done. The list of
all instances is gatherd, one instance is destroyed, then the
list contained an invalid instance ID which when queried produced
"Entity not found: id "


The fix:
To query only one instance (vm) when the instance ID is provided.


Additionaly:
During testing I discovered the MIGRATING status being returned
by RHEVm that we had not been handling. RHEVm may have added other
status we need to handle. This will be tracked in JIRA: DTACLOUD-485


Mime
View raw message