From: Eiichi Aikawa Date: Mon, 19 May 2014 23:43:13 +0000 (+0900) Subject: Fixed data copy issue of volume/driver.py X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=4484674839b0a31bd58697af01c598cd7b83c95b;p=openstack-build%2Fcinder-build.git Fixed data copy issue of volume/driver.py I found data copy issue on __init__ of ISERDriver class. Some settings for iser should be copied to iscsi's. But iser_port value was copied not to iscsi_port but to iser_port. This patch will fix this issue as to be copied to iscsi_port. Change-Id: I7621e690396049aabf3ced331e633158f45067f4 --- diff --git a/cinder/volume/driver.py b/cinder/volume/driver.py index d55f7d64f..a13dd7b72 100644 --- a/cinder/volume/driver.py +++ b/cinder/volume/driver.py @@ -947,7 +947,7 @@ class ISERDriver(ISCSIDriver): self.configuration.iser_target_prefix self.configuration.iscsi_ip_address = \ self.configuration.iser_ip_address - self.configuration.iser_port = self.configuration.iser_port + self.configuration.iscsi_port = self.configuration.iser_port def initialize_connection(self, volume, connector): """Initializes the connection and returns connection info.