<div dir="ltr">Hi, <div>I have gone through devstack links.</div><div>They are not clear like <a href="http://openstack.org" target="_blank">openstack.org</a> documents.</div><div><br></div><div><br></div><div>For Example:</div>
<div>when i am using below local.conf file in devstack,"hp_msa_driver" is not coming in "enabled_backends" in cinder.conf after running stack.sh.</div><div><br></div><div><div>[[local|localrc]]</div><div>
ADMIN_PASSWORD=vedams123</div><div>DATABASE_PASSWORD=$ADMIN_PASSWORD</div><div>RABBIT_PASSWORD=$ADMIN_PASSWORD</div><div>SERVICE_PASSWORD=$ADMIN_PASSWORD</div><div>SERVICE_TOKEN=ADMIN</div><div>FLAT_INTERFACE=eth0</div><div>
FIXED_RANGE=<a href="http://192.168.2.170/29">192.168.2.170/29</a></div><div>HOST_IP=192.168.2.151</div><div>LOGFILE=$DEST/logs/stack.sh.log</div><div>SCREEN_LOGDIR=$DEST/logs/screen</div><div>SYSLOG=True</div><div>SYSLOG_HOST=$HOST_IP</div>
<div>SYSLOG_PORT=516</div><div>TEMPEST_VOLUME_DRIVER=hp_msa_fc<br></div><div>TEMPEST_VOLUME_VENDOR="Hewlett-Packard"</div><div>TEMPEST_STORAGE_PROTOCOL=FC</div><div><br></div><div><br></div><div>[[post-config|$CINDER_CONF]]</div>
<div>[hp_msa_driver]</div><div>volume_driver = cinder.volume.drivers.san.hp.hp_msa_fc.HPMSAFCDriver</div><div>san_ip = 192.168.2.192</div><div>san_login = manage</div><div>san_password =!manage</div><div>volume_backend_name=HPMSA_FC</div>
<div><br></div><div><br></div><div>[lvmdriver-1]</div><div>volume_group=stack-volumes-1</div><div>volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver</div><div>volume_backend_name=LVM_iSCSI</div></div><div><br></div><div>
<br></div>
<div><br></div><div><b>I am getting below cinder.conf file after running stack.sh script</b></div><div><br></div><div><div>[keystone_authtoken]</div><div>auth_uri = <a href="http://192.168.2.151:5000/v2.0">http://192.168.2.151:5000/v2.0</a></div>
<div>signing_dir = /var/cache/cinder</div><div>admin_password = vedams123</div><div>admin_user = cinder</div><div>admin_tenant_name = service</div><div>cafile =</div><div>identity_uri = <a href="http://192.168.2.151:35357">http://192.168.2.151:35357</a></div>
<div><br></div><div>[DEFAULT]</div><div>rabbit_password = vedams123</div><div>rabbit_hosts = 192.168.2.151</div><div>rpc_backend = cinder.openstack.common.rpc.impl_kombu</div><div>use_syslog = True</div><div><b>default_volume_type = lvmdriver-1</b></div>
<div><b>enabled_backends = lvmdriver-1</b></div><div>enable_v1_api = true</div><div>periodic_interval = 60</div><div>lock_path = /opt/stack/data/cinder</div><div>state_path = /opt/stack/data/cinder</div><div>osapi_volume_extension = cinder.api.contrib.standard_extensions</div>
<div>rootwrap_config = /etc/cinder/rootwrap.conf</div><div>api_paste_config = /etc/cinder/api-paste.ini</div><div>sql_connection = mysql://<a href="http://root:vedams123@127.0.0.1/cinder?charset=utf8">root:vedams123@127.0.0.1/cinder?charset=utf8</a></div>
<div>iscsi_helper = tgtadm</div><div>my_ip = 192.168.2.151</div><div>verbose = True</div><div>debug = True</div><div>auth_strategy = keystone</div><div><br></div><div>[lvmdriver-1]</div><div>volume_group = stack-volumes-1</div>
<div>volume_driver = cinder.volume.drivers.lvm.LVMISCSIDriver</div><div>volume_backend_name = LVM_iSCSI</div><div><br></div><div>[hp_msa_driver]</div><div>volume_backend_name = HPMSA_FC</div><div>san_password = !manage</div>
<div>san_login = manage</div><div>san_ip = 192.168.2.192</div><div>volume_driver = cinder.volume.drivers.san.hp.hp_msa_fc.HPMSAFCDriver</div></div><div><br></div><div><br></div><div><br></div><div><b>Then i analyzed source code of stack.sh,and added in local.conf this line:</b></div>
<div><b>CINDER_ENABLED_BACKENDS=hp_msa:hp_msa_driver,lvm:lvmdriver-1</b><br></div><div><br></div><div><br></div><div>Now i am getting hp_msa_fc in cinder.conf in enabled_backends</div><div><br></div><div><br></div><div><br>
</div><div>Regards</div><div>Nikesh</div></div>