Link host aggregate with cinder backend
Hi,
i have a cinder type which is using a specific local storage on the compute nodes. The question that i have is if its possible to link a host aggregation with a cinder type? Goal is to have a AZ that uses only the local storage on the compute node (and not the default ceph that we use in the default AZ).
# cinder type-list
+--------------------------------------+----------+-------------+-----------+
| ID | Name | Description | Is_Public |
+--------------------------------------+----------+-------------+-----------+
| 5d9fa2d2-2b0c-4966-a7db-c60d5f0fc787 | lvm-hv01 | - | True |
| 854f43d5-093c-4ecd-bc39-c361908eb59d | ceph | | True |
+--------------------------------------+----------+-------------+-----------+
# cinder extra-specs-list
+--------------------------------------+----------+---------------------------------------+
| ID | Name | extra_specs |
+--------------------------------------+----------+---------------------------------------+
| 5d9fa2d2-2b0c-4966-a7db-c60d5f0fc787 | lvm-hv01 | {u'volume_backend_name': u'lvm-hv01'} |
| 854f43d5-093c-4ecd-bc39-c361908eb59d | ceph | {u'volume_backend_name': u'ceph'} |
+--------------------------------------+----------+---------------------------------------+
# nova aggregate-list
+----+----------+-------------------+
| Id | Name | Availability Zone |
+----+----------+-------------------+
| 1 | lvm-hv01 | lvm-hv01 |
| 2 | nova | nova |
+----+----------+-------------------+
# nova aggregate-details 1
+----+----------+-------------------+---------------+------------------------------+
| Id | Name | Availability Zone | Hosts | Metadata |
+----+----------+-------------------+---------------+------------------------------+
| 1 | lvm-hv01 | lvm-hv01 | 'hv01' | 'availability_zone=lvm-hv01' |
+----+----------+-------------------+---------------+------------------------------+
May be its not even possible and I need to create an own AZ in nova for that?