[openstack-dev] [cinder][nova] Timeout problems
tobias.engelbert at ericsson.com
Mon Nov 3 22:33:07 UTC 2014
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev