We should be able to set multiple cinder storage backends and name them so we can add them as a filter for volume-types:
cinder type-create SATA
cinder type-key SATA set volume_backend_name=cinder-sata
cinder type-create SSD
cinder type-key SSD set volume_backend_name=cinder-ssd
# create a 1GB SATA volume
cinder create --display-name test-sata --volume-type SATA 1
# create a 1GB SSD volume
cinder create --display-name test-sata --volume-type SSD 1
At a minimum this resolves the problem for cinder and LVM:
https://gist.github.com/rackerjoe/9920058. With this gist you can set
a default in the node attribute to define the backend name like:
This allows us to mix and match the cinder storage backends on one or more cinder-volume node and doesn't tie us to a single backend per storage node as we do today.
We should be able to set multiple cinder storage backends and name them so we can add them as a filter for volume-types:
At a minimum this resolves the problem for cinder and LVM: https://gist.github.com/rackerjoe/9920058. With this gist you can set a default in the node attribute to define the backend name like:
The default attributes for cinder storage needs to really support multiple backends and enable the backends per node. something like:
This allows us to mix and match the cinder storage backends on one or more cinder-volume node and doesn't tie us to a single backend per storage node as we do today.