Comment 3 for bug 1648972

Revision history for this message
Turbo Fredriksson (turbo-bayour) wrote :

Reading the documentation again, if at all, the attach should be done in copy_*() functions, not in the create function:

  This method is responsible only for storage allocation on the backend. _It should not export
  a LUN or actually make this storage available for use, this is done in a later call_.

but it doesn't say anything that copy_*() should/must do the attaching.

But the "this is done in a later call" kind'a indicate that Cinder would call initialize_connection() "where/when appropriate", not that I should do it myself.

I'm slightly confused, a better/more (detailed) information would be appreciated.