[openstack-dev] [cinder][nova] Timeout problems
Tobias Engelbert
tobias.engelbert at ericsson.com
Mon Nov 3 22:33:07 UTC 2014
Hi,
Parallel volume operations lead to inconsistencies between the OpenStack database and the deployed view on a centralized storage backend.
When performing multiple volume operation on a centralized storage backend it can come to timeouts on the OpenStack side. These timeouts can be the RPC timeout or e.g. in high availability scenarios, the HA proxy timeout.
When nova wants to attach a volume, it triggers the status change from available to attaching and sends initialize_connection via cinderclient to cinder API via the REST API. Cinder API performs a synchronous CALL to cinder volume, then via the driver the centralized storage backend is contacted. When now a timeout occurs, nova triggers the database to change the volume status from attaching to available. Meanwhile the centralized storage backend performs, what was originally requested. Here we can have a mismatch between database and the real view of the centralized storage backend.
I would be curious if this behavior is also seen by others and would like to discuss possible solution.
/Tobi
See also
https://blueprints.launchpad.net/cinder/+spec/volume-status-polling
11<javascript:;>
https://review.openstack.org/#/c/132225/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141103/1e4af947/attachment.html>
More information about the OpenStack-dev
mailing list