Francesco Romani has uploaded a new change for review.

Change subject: dbscripts: fix password field length
......................................................................

dbscripts: fix password field length

the password column in the 'storage_server_connections' table has
a different type with respect to the correspinding parameter of
the Insertstorage_server_connection function.

This leads to error when adding password-protected ISCSI storage
domains.

This patch fixes this problem by enlarging the password field on
the table, in order to let it hold the encrypted password.

Change-Id: Ibe5dcb58dd445216b43bbce63b342b96d5e225e6
Signed-off-by: Francesco Romani <[email protected]>
---
M packaging/dbscripts/create_tables.sql
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/33/23133/1

diff --git a/packaging/dbscripts/create_tables.sql 
b/packaging/dbscripts/create_tables.sql
index e525e62..2ae6387 100644
--- a/packaging/dbscripts/create_tables.sql
+++ b/packaging/dbscripts/create_tables.sql
@@ -679,7 +679,7 @@
     id character varying(50) NOT NULL,
     connection character varying(250) NOT NULL,
     user_name character varying(50),
-    password character varying(50),
+    password text,
     iqn character varying(128),
     port character varying(50),
     portal character varying(50),


-- 
To view, visit http://gerrit.ovirt.org/23133
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibe5dcb58dd445216b43bbce63b342b96d5e225e6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to