Hello community, here is the log from the commit of package hawk for openSUSE:Factory checked in at 2014-06-24 15:15:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hawk (Old) and /work/SRC/openSUSE:Factory/.hawk.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hawk" Changes: -------- --- /work/SRC/openSUSE:Factory/hawk/hawk.changes 2014-06-06 14:36:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.hawk.new/hawk.changes 2014-06-24 15:16:06.000000000 +0200 @@ -1,0 +2,7 @@ +Fri Jun 20 16:27:13 UTC 2014 - [email protected] + +- Unpack resource state even for offline nodes (ensures pending stops are + visible when node goes on standby, bnc#883517) + + always-unpack-resource-state.patch + +------------------------------------------------------------------- New: ---- always-unpack-resource-state.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hawk.spec ++++++ --- /var/tmp/diff_new_pack.Oe894B/_old 2014-06-24 15:16:07.000000000 +0200 +++ /var/tmp/diff_new_pack.Oe894B/_new 2014-06-24 15:16:07.000000000 +0200 @@ -49,6 +49,8 @@ %define __find_requires /bin/sh %{SOURCE1} %endif Source100: hawk-rpmlintrc +# PATCH-FIX-UPSTREAM always-unpack-resource-state.patch bnc#883517 [email protected] -- ensures pending stops are correctly reported in UI when putting a node on standby +Patch2: always-unpack-resource-state.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: crmsh Requires: graphviz @@ -125,6 +127,7 @@ %prep %setup +%patch2 -p1 %build CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}" ++++++ always-unpack-resource-state.patch ++++++ diff --git a/hawk/app/models/cib.rb b/hawk/app/models/cib.rb index 09f7878..e254a31 100644 --- a/hawk/app/models/cib.rb +++ b/hawk/app/models/cib.rb @@ -342,7 +342,6 @@ class Cib < CibObject # Iterate nodes in cib order here which makes the faked up clone & ms instance # IDs be in the same order as pacemaker for node in @nodes - next unless node[:state] == :online @xml.elements.each("cib/status/node_state[@uname='#{node[:uname]}']/lrm/lrm_resources/lrm_resource") do |lrm_resource| id = lrm_resource.attributes['id'] # logic derived somewhat from pacemaker/lib/pengine/unpack.c:unpack_rsc_op() -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
