Ask Your Question

Alan's profile - activity

2014-11-05 05:31:24 -0600 received badge  Teacher (source)
2014-11-05 05:31:24 -0600 received badge  Necromancer (source)
2014-11-03 03:50:17 -0600 commented answer How to set cinder multi-backend default

I'm added this parameter to cinder config and now default ceph backend problem solved, but still open sorting problem.

default_volume_type=CEPH-GENERAL
2014-10-31 09:39:04 -0600 answered a question How to set cinder multi-backend default

Problem is ordering in cinder in nova. Example:

# cinder type-list
+--------------------------------------+--------------+
|                  ID                  |     Name     |
+--------------------------------------+--------------+
| 7864eef1-2e33-4385-8519-facbb9ec08f0 | CEPH-GENERAL |
| ff8aad5a-1554-40da-b67c-d91ae103c78e | CEPH-BACKUP  |
+--------------------------------------+--------------+

# nova volume-type-list
+--------------------------------------+--------------+
| ID                                   | Name         |
+--------------------------------------+--------------+
| ff8aad5a-1554-40da-b67c-d91ae103c78e | CEPH-BACKUP  |
| 7864eef1-2e33-4385-8519-facbb9ec08f0 | CEPH-GENERAL |
+--------------------------------------+--------------+

and as result in openstack frontend on volume creation form we have

<select id="id_type" name="type" data-original-title="">
    <option selected="selected" value=""></option>
    <option value="CEPH-BACKUP"></option>
    <option value="CEPH-GENERAL"></option>
</select>

then if you not select Type - you volume will be CEPH-BACKUP, how this can be fixed?