From 4484674839b0a31bd58697af01c598cd7b83c95b Mon Sep 17 00:00:00 2001 From: Eiichi Aikawa Date: Tue, 20 May 2014 08:43:13 +0900 Subject: [PATCH] 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 --- cinder/volume/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.45.2