Hello community, here is the log from the commit of package yast2-multipath for openSUSE:Factory checked in at 2015-05-06 07:47:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-multipath (Old) and /work/SRC/openSUSE:Factory/.yast2-multipath.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-multipath" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-multipath/yast2-multipath.changes 2015-01-30 10:59:46.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-multipath.new/yast2-multipath.changes 2015-05-06 07:47:11.000000000 +0200 @@ -1,0 +2,6 @@ +Mon May 4 08:41:04 UTC 2015 - lszhu@suse.com + +- BNC#925864, fix a bug on that path selector not working, add + service-time 0 and queue-length 0. + Version 3.1.6 +------------------------------------------------------------------- Old: ---- yast2-multipath-3.1.5.tar.bz2 New: ---- yast2-multipath-3.1.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-multipath.spec ++++++ --- /var/tmp/diff_new_pack.TOAtDV/_old 2015-05-06 07:47:12.000000000 +0200 +++ /var/tmp/diff_new_pack.TOAtDV/_new 2015-05-06 07:47:12.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-multipath -Version: 3.1.5 +Version: 3.1.6 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-multipath-3.1.5.tar.bz2 -> yast2-multipath-3.1.6.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-multipath-3.1.5/CONTRIBUTING.md new/yast2-multipath-3.1.6/CONTRIBUTING.md --- old/yast2-multipath-3.1.5/CONTRIBUTING.md 2015-01-26 13:55:10.000000000 +0100 +++ new/yast2-multipath-3.1.6/CONTRIBUTING.md 2015-05-04 11:40:07.000000000 +0200 @@ -12,13 +12,13 @@ ----------- If you find a problem, please report it either using -[Bugzilla](https://bugzilla.novell.com/enter_bug.cgi?format=guided&product=openSUSE+Factory&component=YaST2) +[Bugzilla](https://bugzilla.suse.com/enter_bug.cgi?format=guided&product=openSUSE+Factory&component=YaST2) or [GitHub issues](../../issues). (For Bugzilla, use the [simplified registration](https://secure-www.novell.com/selfreg/jsp/createSimpleAccount.jsp) if you don't have an account yet.) If you find a problem, please report it either using -[Bugzilla](https://bugzilla.novell.com/) or GitHub issues. We can't guarantee +[Bugzilla](https://bugzilla.suse.com/) or GitHub issues. We can't guarantee that every bug will be fixed, but we'll try. When creating a bug report, please follow our [bug reporting @@ -71,7 +71,7 @@ [widely used conventions](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). -If your commit is related to a bug in Buzgilla or an issue on GitHub, make sure +If your commit is related to a bug in Bugzilla or an issue on GitHub, make sure you mention it in the commit message for cross-reference. Use format like bnc#775814 or gh#yast/yast-foo#42. See also [GitHub autolinking](https://help.github.com/articles/github-flavored-markdown#references) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-multipath-3.1.5/package/yast2-multipath.changes new/yast2-multipath-3.1.6/package/yast2-multipath.changes --- old/yast2-multipath-3.1.5/package/yast2-multipath.changes 2015-01-26 13:55:10.000000000 +0100 +++ new/yast2-multipath-3.1.6/package/yast2-multipath.changes 2015-05-04 11:40:07.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon May 4 08:41:04 UTC 2015 - lszhu@suse.com + +- BNC#925864, fix a bug on that path selector not working, add + service-time 0 and queue-length 0. + Version 3.1.6 +------------------------------------------------------------------- Mon Jan 26 12:26:32 UTC 2015 - jreidinger@suse.com - fixed \r character lost during conversion to Ruby diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-multipath-3.1.5/package/yast2-multipath.spec new/yast2-multipath-3.1.6/package/yast2-multipath.spec --- old/yast2-multipath-3.1.5/package/yast2-multipath.spec 2015-01-26 13:55:10.000000000 +0100 +++ new/yast2-multipath-3.1.6/package/yast2-multipath.spec 2015-05-04 11:40:07.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-multipath -Version: 3.1.5 +Version: 3.1.6 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-multipath-3.1.5/src/include/multipath/options.rb new/yast2-multipath-3.1.6/src/include/multipath/options.rb --- old/yast2-multipath-3.1.5/src/include/multipath/options.rb 2015-01-26 13:55:10.000000000 +0100 +++ new/yast2-multipath-3.1.6/src/include/multipath/options.rb 2015-05-04 11:40:07.000000000 +0200 @@ -104,6 +104,16 @@ "id" => :round_robin, "optstr" => "\"round-robin 0\"" }, + { + "name" => "service_time", + "id" => :service_time, + "optstr" => "\"service-time 0\"" + }, + { + "name" => "queue_length", + "id" => :queue_length, + "optstr" => "\"queue-length 0\"" + }, { "name" => "none", "id" => :none, "optstr" => "" } ] } @@ -635,6 +645,7 @@ :prio_callout, :features, :path_checker, + :path_selector, :failback, :rr_min_io, :rr_weight, @@ -934,6 +945,10 @@ value = Ops.get_string(item, "selector", "") if value == "round-robin 0" UI.ChangeWidget(Id(:selector), :Value, :round_robin) + elsif value == "service-time 0" + UI.ChangeWidget(Id(:selector), :Value, :service_time) + elsif value == "queue-length 0" + UI.ChangeWidget(Id(:selector), :Value, :queue_length) elsif value == "" UI.ChangeWidget(Id(:selector), :Value, :none) else @@ -951,6 +966,10 @@ ret = UI.QueryWidget(Id(:selector), :Value) if ret == :round_robin value = "round-robin 0" + elsif ret == :service_time + value = "service-time 0" + elsif ret == :queue_length + value = "queue-length 0" elsif ret == :none value = "" else @@ -967,7 +986,7 @@ header = "* \"selector\" " ret = {} value = Ops.get_string(item, "selector", "") - if value == "" || value == "round-robin 0" + if value == "" || value == "round-robin 0" || value == "service-time 0" || value =="queue-length 0" Ops.set(ret, "result", true) Ops.set(ret, "info", "") else @@ -1009,6 +1028,10 @@ value = Ops.get_string(item, "path_selector", "") if value == "round-robin 0" UI.ChangeWidget(Id(:path_selector), :Value, :round_robin) + elsif value == "service-time 0" + UI.ChangeWidget(Id(:path_selector), :Value, :service_time) + elsif value == "queue-length 0" + UI.ChangeWidget(Id(:path_selector), :Value, :queue_length) elsif value == "" UI.ChangeWidget(Id(:path_selector), :Value, :none) else @@ -1029,6 +1052,10 @@ ret = UI.QueryWidget(Id(:path_selector), :Value) if ret == :round_robin value = "round-robin 0" + elsif ret == :service_time + value = "service-time 0" + elsif ret == :queue_length + value = "queue-length 0" elsif ret == :none value = "" else @@ -1044,7 +1071,7 @@ item = deep_copy(item) ret = {} value = Ops.get_string(item, "path_selector", "") - if value == "" || value == "round-robin 0" + if value == "" || value == "round-robin 0" || value == "service-time 0" || value == "queue-length 0" Ops.set(ret, "result", true) Ops.set(ret, "info", "") else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-multipath-3.1.5/src/modules/Multipath.rb new/yast2-multipath-3.1.6/src/modules/Multipath.rb --- old/yast2-multipath-3.1.5/src/modules/Multipath.rb 2015-01-26 13:55:10.000000000 +0100 +++ new/yast2-multipath-3.1.6/src/modules/Multipath.rb 2015-05-04 11:40:07.000000000 +0200 @@ -294,7 +294,7 @@ if 0 != SCR.Execute( path(".target.bash"), - "/etc/init.d/multipathd restart" + "service multipathd restart" ) Report.Error(_("Restarting multipathd failed.")) return false