[Openstack] RESOLVED: How do I enforce provider location to use a specific IP of the cinder volume node
Gangur, Hrushikesh (R & D HP Cloud)
hrushikesh.gangur at hp.com
Mon Oct 28 05:30:29 UTC 2013
I just realized by going through few community discussions that iscsi_ip_address attribute is per storage backend. By moving the attribute to respective section helped resolve the issue:
[lvmdriver-3par]
volume_group=cinder-volumes-3par
volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
volume_backend_name=LVM_3par
iscsi_ip_address=192.168.125.142
[lvmdriver-netapp]
volume_group=cinder-volumes-netapp
volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
volume_backend_name=LVM_netapp
iscsi_ip_address=192.168.125.142
Regards~hrushi
From: Gangur, Hrushikesh (R & D HP Cloud)
Sent: Friday, October 25, 2013 4:07 PM
To: openstack at lists.openstack.org
Subject: How do I enforce provider location to use a specific IP of the cinder volume node
During grizzly days, I used to enforce it through cinder.conf:
iscsi_ip_address=192.168.125.142
However, am not seeing this being picked up in Havana release. It picks up randomly either 127.0.0.1 or public IP on the node. Am I missing anything here?
Here is my cinder.conf:
[DEFAULT]
logdir = /var/log/cinder
state_path = /var/lib/cinder
lock_path = /var/lib/cinder/tmp
volumes_dir = /etc/cinder/volumes
iscsi_helper = tgtadm
#sql_connection = mysql://cinder:cinder@localhost/cinder
sql_connection = postgresql://dbuser:password@192.168.123.140:5432/cinder
#rpc_backend = cinder.openstack.common.rpc.impl_qpid
rpc_backend = cinder.openstack.common.rpc.impl_kombu
rabbit_host=192.168.123.140
rabbit_port=5672
iscsi_ip_address=192.168.125.142
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_config = /etc/cinder/api-paste.ini
enabled_backends=lvmdriver-3par,lvmdriver-netapp
auth_strategy = keystone
scheduler_driver=cinder.scheduler.filter_scheduler.FilterScheduler
[lvmdriver-3par]
volume_group=cinder-volumes-3par
volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
volume_backend_name=LVM_3par
[lvmdriver-netapp]
volume_group=cinder-volumes-netapp
volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
volume_backend_name=LVM_netapp
~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131028/19cb2c79/attachment.html>
More information about the Openstack
mailing list