[Openstack] [openstack][nova] Changes-Since parameter in Nova API not working as expected

Jose Renato Santos santos.joserenato at gmail.com
Mon Jun 26 16:58:52 UTC 2017


Hi

 

I am accessing the nova api using the gophercloud SDK
<https://github.com/rackspace/gophercloud>
https://github.com/rackspace/gophercloud

I am running Openstack Newton installed with Openstack Ansible

 

I am accessing the "List Servers" call of the nova Api with the
Changes-Since parameters for efficient polling 

 
<https://developer.openstack.org/api-guide/compute/polling_changes-since_par
ameter.html>
https://developer.openstack.org/api-guide/compute/polling_changes-since_para
meter.html

 

However, the API is not working as I expected.

When I stop or start a server instance, the API successfully detects the
change in the server state and returns the server in the next call to
ListServers with the Changes-Since parameter, as expected.

But when I attach a new security group to the server, the API does not
detect any change in the state of the server and does not return the server
in the next call  to ListServers with the Changes-Since parameter.

I would expect that changing the list of security groups attached to a
server would be considered a change in the server state and reported when
using the Changes-Since parameter, but that is not the behavior that I am
seeing.

 

Can someone please let me know if this is a known bug?


Thanks

Renato

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170626/4e6c27c3/attachment.html>


More information about the Openstack mailing list