Merge "Add cinder volume support"
This commit is contained in:
commit
ae5edf5593
@ -63,6 +63,9 @@ octavia_clients_endpoint: internalURL
|
|||||||
|
|
||||||
octavia_auth_strategy: keystone
|
octavia_auth_strategy: keystone
|
||||||
|
|
||||||
|
## Cinder Volume
|
||||||
|
octavia_cinder_enabled: False
|
||||||
|
|
||||||
## Database info
|
## Database info
|
||||||
octavia_db_setup_host: "{{ ('galera_all' in groups) | ternary(groups['galera_all'][0], 'localhost') }}"
|
octavia_db_setup_host: "{{ ('galera_all' in groups) | ternary(groups['galera_all'][0], 'localhost') }}"
|
||||||
octavia_galera_address: "{{ galera_address | default('127.0.0.1') }}"
|
octavia_galera_address: "{{ galera_address | default('127.0.0.1') }}"
|
||||||
|
14
releasenotes/notes/volume-based-10a2c22c7f180cc2.yaml
Normal file
14
releasenotes/notes/volume-based-10a2c22c7f180cc2.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Now you can use cinder-volume with Octavia. To enable the feature set
|
||||||
|
``octavia_cinder_enabled`` to ``True``. Also you may need to override
|
||||||
|
the default settings:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
octavia_octavia_conf_overrides:
|
||||||
|
cinder:
|
||||||
|
volume_type: 'my-volume-type'
|
||||||
|
volume_size: 32
|
||||||
|
|
@ -220,6 +220,15 @@ compute_driver = {{ octavia_compute_driver }}
|
|||||||
#
|
#
|
||||||
network_driver = {{ octavia_network_driver }}
|
network_driver = {{ octavia_network_driver }}
|
||||||
#
|
#
|
||||||
|
# Cinder Volume driver options are volume_noop_driver
|
||||||
|
# volume_cinder_driver
|
||||||
|
#
|
||||||
|
{% if octavia_cinder_enabled %}
|
||||||
|
volume_driver = volume_cinder_driver
|
||||||
|
{% else %}
|
||||||
|
volume_driver = volume_noop_driver
|
||||||
|
{% endif %}
|
||||||
|
#
|
||||||
# Certificate Generator options are local_cert_generator
|
# Certificate Generator options are local_cert_generator
|
||||||
# barbican_cert_generator
|
# barbican_cert_generator
|
||||||
# anchor_cert_generator
|
# anchor_cert_generator
|
||||||
@ -354,6 +363,19 @@ enable_anti_affinity = {{ octavia_enable_anti_affinity }}
|
|||||||
|
|
||||||
{% if octavia_amp_availability_zone is defined %}availability_zone={{ octavia_amp_availability_zone }}{%endif%}
|
{% if octavia_amp_availability_zone is defined %}availability_zone={{ octavia_amp_availability_zone }}{%endif%}
|
||||||
|
|
||||||
|
{% if octavia_cinder_enabled %}
|
||||||
|
[cinder]
|
||||||
|
service_name = {{ cinder_service_v3_name | default('cinderv3') }}
|
||||||
|
region_name = {{ keystone_service_region }}
|
||||||
|
endpoint_type = {{ octavia_clients_endpoint }}
|
||||||
|
availability_zone = nova
|
||||||
|
volume_size = 16
|
||||||
|
volume_type = "volumes-hdd"
|
||||||
|
volume_create_retry_interval = 5
|
||||||
|
volume_create_timeout = 50
|
||||||
|
volume_create_max_retries = 2
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
[glance]
|
[glance]
|
||||||
# The name of the glance service in the keystone catalog
|
# The name of the glance service in the keystone catalog
|
||||||
# service_name =
|
# service_name =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user