Cinder types

Tested on HA controller. Used this config for pacemaker::cinder, note that both `backend_eqlx_name` items are identical:

    quickstack::pacemaker::cinder:
      backend_eqlx: true
      backend_eqlx_name:
      - eqlx
      - eqlx
      backend_glusterfs: false
      backend_glusterfs_name: glusterfs
      backend_iscsi: true
      backend_iscsi_name: iscsi
      backend_nfs: true
      backend_nfs_name: nfs
      backend_rbd: false
      backend_rbd_name: rbd
      create_backend_types: true
      db_name: cinder
      db_ssl: false
      db_ssl_ca: ''
      db_user: cinder
      debug: false
      enabled: true
      eqlx_chap_login:
      - chapadmin
      - chapadmin
      eqlx_chap_password:
      - ''
      eqlx_group_name:
      - group-0
      - group-1
      eqlx_pool:
      - default
      - default2
      eqlx_use_chap:
      - false
      - false
      glusterfs_shares: []
      log_facility: LOG_USER
      multiple_backends: true
      nfs_mount_options: vers=4
      nfs_shares:
      - r64-aneutron:/export/cinder
      qpid_heartbeat: '60'
      rbd_ceph_conf: /etc/ceph/ceph.conf
      rbd_flatten_volume_from_snapshot: false
      rbd_max_clone_depth: '5'
      rbd_pool: volumes
      rbd_secret_uuid: ''
      rbd_user: cinder
      rpc_backend: cinder.openstack.common.rpc.impl_kombu
      san_ip:
      - ''
      - ''
      san_login:
      - grpadmin
      - grpadmin
      san_password:
      - ''
      - ''
      san_thin_provision:
      - false
      - false
      use_syslog: false
      verbose: 'true'
      volume: true

Resulting type list:

    [root@r7-ofi1 ~(openstack_admin)]# cinder type-list
    +--------------------------------------+-------+
    |                  ID                  |  Name |
    +--------------------------------------+-------+
    | 1d955e46-ed42-4552-b44f-1645d8420eaf |  nfs  |
    | 2e6f0f50-bf9a-4fff-8c5b-43c5bc4f5906 |  eqlx |
    | 40046b20-ea29-48b8-bce1-f9bd44252dd6 | iscsi |
    +--------------------------------------+-------+

`cinder type-show` command unfortunately doesn't exist, but from the json response (using `cinder --debug type-list`) it's apparent that the volume_backend_name got set:

    RESP BODY: {"volume_types": [{"extra_specs":
    {"volume_backend_name": "iscsi"}, "name": "iscsi", "id":
    "40046b20-ea29-48b8-bce1-f9bd44252dd6"}, {"extra_specs":
    {"volume_backend_name": "nfs"}, "name": "nfs", "id":
    "1d955e46-ed42-4552-b44f-1645d8420eaf"}, {"extra_specs":
    {"volume_backend_name": "eqlx"}, "name": "eqlx", "id":
    "2e6f0f50-bf9a-4fff-8c5b-43c5bc4f5906"}]}

After changing the EQLX backend names to be different per instance:

    backend_eqlx_name:
    - eqlx
    - eqlx2

The additional backend type got created:

    [root@r7-ofi1 ~(openstack_admin)]# cinder type-list
    +--------------------------------------+-------+
    |                  ID                  |  Name |
    +--------------------------------------+-------+
    | 124ffb4a-733f-4f55-8714-55d287dd8ee5 | eqlx2 |
    | 1d955e46-ed42-4552-b44f-1645d8420eaf |  nfs  |
    | 2e6f0f50-bf9a-4fff-8c5b-43c5bc4f5906 |  eqlx |
    | 40046b20-ea29-48b8-bce1-f9bd44252dd6 | iscsi |
    +--------------------------------------+-------+

And the extra_specs look correct too:

    RESP BODY: {"volume_types": [{"extra_specs":
    {"volume_backend_name": "eqlx2"}, "name": "eqlx2", "id":
    "124ffb4a-733f-4f55-8714-55d287dd8ee5"}, {"extra_specs":
    {"volume_backend_name": "iscsi"}, "name": "iscsi", "id":
    "40046b20-ea29-48b8-bce1-f9bd44252dd6"}, {"extra_specs":
    {"volume_backend_name": "nfs"}, "name": "nfs", "id":
    "1d955e46-ed42-4552-b44f-1645d8420eaf"}, {"extra_specs":
    {"volume_backend_name": "eqlx"}, "name": "eqlx", "id":
    "2e6f0f50-bf9a-4fff-8c5b-43c5bc4f5906"}]}