
vishvananda at gmail
Jun 2, 2012, 2:45 PM
Post #2 of 2
(182 views)
Permalink
|
|
Re: shall openstack use Openfiler(iscsi target) as volume service?
[In reply to]
|
|
The default iscisi driver doesn't support CHAP. If you want to use chap credentials for iscsi, you will have to modify the existing driver or create a new one. for example, check out: nova/volume/san.py You simply need to write the provider location field with the chap credentials into the database properly and nova will use it. Should be a fairly easy change to add custom chap credentials (perhaps even based on a flag) Vish On Jun 2, 2012, at 5:27 AM, romi zhang wrote: > Hi, > > There is an question always trouble me ,shall openstack use Openfiler(iscsi target) as volume service? > Openfiler is a free iscsi software base on centos use ietd to create iscsi target that can run on a standalone computer. > I saw we can use volume_driver="nova.volume.driver.ISCSIDriver" and cooperating with such as following items to connect ISCSI: > > # iscsi_helper="ietadm" > # iscsi_ip_address="$my_ip" > # iscsi_num_targets=100 > # iscsi_port=3260 > # iscsi_target_prefix="iqn.2010-10.org.openstack:" > # num_iscsi_scan_tries="3" > > My question is I could not find the way to tell volume driver the username and password to access Openfiler for creating lun. > So, does it mean openstack could not connect a independent iscsi target host running tgtd or ietd, just like nexenta? > > Regards, > Romi > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack [at] lists > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp
|