Comment 8 for bug 1372375

Revision history for this message
Joel Coffman (joel-coffman) wrote :

> [...] I think that Cinder should ask luksFormat to nova at the moment of volume creation [...]

I agree that approach would be cleaner, but it also forces Cinder to delegate a significant amount of work to Nova -- it's basically comparable to attaching a volume to a VM. I'm also not really sure that (encrypted) volume creation should couple Cinder to Nova. It would certainly be a significant change from the creation of non-encrypted volumes.

While it's not optimal, the existing approach is simple -- much simpler than the alternatives in my opinion.