2019-01-30 17:16:51 +08:00

53 lines
1.4 KiB
Plaintext

[DEFAULT]
glance_api_servers = http://controller:9292
iscsi_protocol = iscsi
volume_driver = cinder.volume.drivers.lvm.LVMVolumeDriver
my_ip = 10.0.0.31
transport_url = rabbit://openstack:rabbitPass@controller
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
enabled_backends = ds1515pV1, lvm
[ds1515pV1]
# Required settings
volume_driver = cinder.volume.drivers.synology.synology_iscsi.SynoISCSIDriver
target_protocol = iscsi
target_ip_address = 192.168.2.253
synology_admin_port = 5000
synology_username = Pridetest
synology_password = jxh1952jxh
synology_pool_name = volume1
# Optional settings
#volume_backend_name = VOLUME_BACKEND_NAME
#iscsi_secondary_ip_addresses = IP_ADDRESSES
#driver_use_ssl = True
use_chap_auth = True
chap_username = pride
chap_password = 1234567890AB
[database]
connection = mysql+pymysql://cinder:cinder_db_secret@controller/cinder
[keystone_authtoken]
password = cinder_user_secret
username = cinder
project_name = service
user_domain_id = default
project_domain_id = default
auth_type = password
memcached_servers = controller:11211
auth_url = http://controller:5000
auth_uri = http://controller:5000
[oslo_concurrency]
lock_path = /var/lib/cinder/tmp