← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1243301] Re: Changes-since not returning deleted servers

 

** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1243301

Title:
  Changes-since not returning deleted servers

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Based on the OpenStack documentation at http://docs.openstack.org/api
  /openstack-compute/2/content/ChangesSince.html..."To allow clients to
  keep track of changes, the changes-since filter displays items that
  have been recently deleted. Both images and servers contain a DELETED
  status that indicates that the resource has been removed."  This
  allows OpenStack consumers to determine when images and servers are
  deleted when using the changes-since support.  OpenStack works as
  documented for images.  However, changes-since support in OpenStack
  Havana may not return deleted servers with a DELETED status.

  The recreate scenario is as follows:
  1) Boot a new server and wait for the boot to complete.
  2) Save the current time 
  3) Use changes-since to get all servers changed since the time saved in step 2.  It should be none.
  4) Delete the server created in step 1 and wait for the delete to complete.
  5) Use changes-since to get all servers changed since the time saved in step 2.  It should include the server deleted in step 4 and the server's status should be DELETED.  The actual result is that the server is included but its status is ERROR.

  For the above recreate scenario, the boot failed because no valid host
  was found.  As a result, the server is in ERROR status after step 1.
  I have not tested with a successful boot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1243301/+subscriptions