Hello community,

here is the log from the commit of package yast2-iscsi-client for 
openSUSE:Factory checked in at 2016-07-12 23:44:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-iscsi-client (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-iscsi-client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-iscsi-client"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-iscsi-client/yast2-iscsi-client.changes    
2016-06-11 00:00:18.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.yast2-iscsi-client.new/yast2-iscsi-client.changes   
    2016-07-12 23:44:59.000000000 +0200
@@ -1,0 +2,7 @@
+Thu Jun 23 11:46:46 CEST 2016 - [email protected]
+
+- don't treat the attempt to login twice to a target as an error,
+  report a warning if login fails for other reasons (bsc#981693)
+- 3.1.29
+
+-------------------------------------------------------------------

Old:
----
  yast2-iscsi-client-3.1.28.tar.bz2

New:
----
  yast2-iscsi-client-3.1.29.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-iscsi-client.spec ++++++
--- /var/tmp/diff_new_pack.NQje3i/_old  2016-07-12 23:45:00.000000000 +0200
+++ /var/tmp/diff_new_pack.NQje3i/_new  2016-07-12 23:45:00.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-iscsi-client
-Version:        3.1.28
+Version:        3.1.29
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-iscsi-client-3.1.28.tar.bz2 -> yast2-iscsi-client-3.1.29.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-client-3.1.28/package/yast2-iscsi-client.changes 
new/yast2-iscsi-client-3.1.29/package/yast2-iscsi-client.changes
--- old/yast2-iscsi-client-3.1.28/package/yast2-iscsi-client.changes    
2016-06-07 14:05:55.000000000 +0200
+++ new/yast2-iscsi-client-3.1.29/package/yast2-iscsi-client.changes    
2016-07-05 14:01:20.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Thu Jun 23 11:46:46 CEST 2016 - [email protected]
+
+- don't treat the attempt to login twice to a target as an error,
+  report a warning if login fails for other reasons (bsc#981693)
+- 3.1.29
+
+-------------------------------------------------------------------
 Tue Jun  7 10:45:54 UTC 2016 - [email protected]
 
 - Stop generating autodocs (fate#320356)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-client-3.1.28/package/yast2-iscsi-client.spec 
new/yast2-iscsi-client-3.1.29/package/yast2-iscsi-client.spec
--- old/yast2-iscsi-client-3.1.28/package/yast2-iscsi-client.spec       
2016-06-07 14:05:55.000000000 +0200
+++ new/yast2-iscsi-client-3.1.29/package/yast2-iscsi-client.spec       
2016-07-05 14:01:20.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-iscsi-client
-Version:        3.1.28
+Version:        3.1.29
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-client-3.1.28/src/modules/IscsiClientLib.rb 
new/yast2-iscsi-client-3.1.29/src/modules/IscsiClientLib.rb
--- old/yast2-iscsi-client-3.1.28/src/modules/IscsiClientLib.rb 2016-06-07 
14:05:55.000000000 +0200
+++ new/yast2-iscsi-client-3.1.29/src/modules/IscsiClientLib.rb 2016-07-05 
14:01:21.000000000 +0200
@@ -1060,18 +1060,19 @@
       )
       Builtins.y2internal("output %1", output)
 
-      if (output["exit"] || -1) != 0
-        Report.Error( _("Target connection failed.\n") +
-                      output["stderr"] || "" )
+      # Only log the fact that the session is already present (not an error at 
all)
+      # to avoid a popup for AutoYaST install (bsc#981693)
+      if output["exit"] == 15
+        Builtins.y2milestone("Session already present %1", output["stderr"] || 
"")
+      # Report a warning (not an error) if login failed for other reasons
+      # (also related to bsc#981693, warning popups usually are skipped)
+      elsif output["exit"] != 0
+        Report.Warning( _("Target connection failed.\n") +
+                        output["stderr"] || "" )
       end
-      # if (output["exit"]:-1==0){
-      # set startup status to auto by default (bnc#400610)
+
       setStartupStatus("onboot") if !Mode.autoinst
       true 
-      # } else {
-      #        y2error("Error while Log-on into target : %1", output);
-      #        return false;
-      #        }
     end
 
 


Reply via email to