pillars-from-files:
cinder.sls: tests/pillar/vsp_single.sls
+ - name: volume_single_barbican
+ provisioner:
+ pillars-from-files:
+ cinder.sls: tests/pillar/volume_single_barbican.sls
+
# vim: ft=yaml sw=2 ts=2 sts=2 tw=125
- PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=volume_single
- PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=vsp_single
- PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=vsp_single
+ - PLATFORM=trevorj/salty-whales:trusty OS_VERSION=mitaka SUITE=volume_single_barbican
+ - PLATFORM=trevorj/salty-whales:xenial OS_VERSION=ocata SUITE=volume_single_barbican
before_script:
- set -o pipefail
audit:
enabled: false
osapi_max_limit: 500
+ barbican:
+ enabled: true
cinder:
volume:
pool: SAS7K2
audit:
enabled: false
+ barbican:
+ enabled: true
Enable CORS parameters
key:
conn_speed: fibre-10G
+Enable Barbican integration
+
+.. code-block:: yaml
+
+ cinder:
+ controller:
+ barbican:
+ enabled: true
Documentation and Bugs
============================
{%- endif %}
auth_version = v3
+{%- if controller.get('barbican', {}).get('enabled', False) %}
+[key_manager]
+api_class = castellan.key_manager.barbican_key_manager.BarbicanKeyManager
[barbican]
-auth_endpoint=http://{{ controller.identity.host }}:5000
+auth_endpoint = {{ controller.identity.get('protocol', 'http') }}://{{ controller.identity.get('host', 'localhost') }}:{{ controller.identity.get('port', '5000') }}/v3
+{%- endif %}
[database]
idle_timeout=3600
{%- endif %}
auth_version = v3
+{%- if volume.get('barbican', {}).get('enabled', False) %}
+[key_manager]
+api_class = castellan.key_manager.barbican_key_manager.BarbicanKeyManager
[barbican]
-auth_endpoint=http://{{ volume.identity.host }}:5000
+auth_endpoint = {{ volume.identity.get('protocol', 'http') }}://{{ volume.identity.get('host', 'localhost') }}:{{ volume.identity.get('port', '5000') }}/v3
+{%- endif %}
[database]
idle_timeout=3600
--- /dev/null
+cinder:
+ volume:
+ enabled: true
+ version: ocata
+ barbican:
+ enabled: true
+ osapi:
+ host: 127.0.0.1
+ database:
+ engine: mysql
+ host: 127.0.0.1
+ port: 3306
+ name: cinder
+ user: cinder
+ password: password
+ identity:
+ engine: keystone
+ host: 127.0.0.1
+ port: 35357
+ tenant: service
+ user: cinder
+ password: password
+ endpoint_type: internalURL
+ region: regionOne
+ glance:
+ host: 127.0.0.1
+ port: 9292
+ message_queue:
+ engine: rabbitmq
+ host: 127.0.0.1
+ port: 5672
+ user: openstack
+ password: password
+ virtual_host: '/openstack'
+ storage:
+ engine: storwize
+ host: 192.168.0.1
+ port: 22
+ user: username
+ password: pass