Mohammed Naser 12a5bc7a9f rbd: add var for inuse and enable setting secret
This patch refactors a variable to determine if we RBD is in
use (either directly or via cinder-volume).

It also uses this to make sure to always set rbd_user and the
rbd_secret_uuid both are set so booting from Cinder with local
storage works.

Change-Id: I052f50cd527ea222e74fdc3684613499f2b55d8e
2019-07-30 12:36:52 -04:00
..