- Upgrade from 1.1.2.1 to 1.1.5.

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=13
This commit is contained in:
Tim Serong 2011-02-08 14:00:12 +00:00 committed by Git OBS Bridge
parent 0883203356
commit e1af2ec428
3 changed files with 272 additions and 6 deletions

View File

@ -1,3 +1,250 @@
-------------------------------------------------------------------
Tue Feb 8 13:24:24 UTC 2011 - tserong@novell.com
- Upgrade from 1.1.2.1 to 1.1.5. Note that the following changelog
entries cover changes made in versions 1.1.3 and 1.1.4 as well.
- crmd: Cancel recurring operations while we're still connected to the
lrmd
- crmd: Suppress an ERROR by teaching fsa_action2string() about complex
actions
- PE: Consolidate logging for resources active on multiple nodes
- PE: More accurate logging of restarts and recovery for master/slave
resources
- PE: target-role alone is not sufficient to promote resources (lf#2544)
- ais: Ensure that process death is communicated to peer nodes (lf#2550)
- PE: Certain stop operations require STONITH, could overload the
batch-limit otherwise (lf#2551, bnc#669229)
- Shell: Do not print XML for permission denied errors
- Doc: Add ACL documentation
- Core: Do not store last-run for recurring operations, since it is
misleading
- crmd: Purge status for resourcs that no longer live in the LRMd
(lf#2536)
- Stonith: Teach stonith_admin to automagically obtain the current node
attributes for the target from the CIB
- tools: Prevent use-of-NULL in crm_simulate (lf#2527)
- ACL: Convert uid directly with strtol() for avoiding unnecessary error
logs
- Tools: Make unmanaged resources stand out in crm_simulate graphs
- PE: Correctly reconstruct the status of anonymous cloned groups
(lf#2508)
- Core: Correctly parse the resource name from notificiation action IDs
(lf#2511)
- crmd: Indicate the interval for the timer that just expired
- crmd: Reschedule the PE_START action if its not already running when
we try to use it
- crmd: Ensure notify variables are accurate for stop operations
(lf#2545)
- crmd: Implement reprobe natively in the crmd to avoid transition loops
(lf#2533)
- crmd: Cancel recurring monitor ops at shutdown (lf#2309)
- PE: Don't imply colocation requirements when applying ordering
constraints with clones (lf#2493)
- PE: Protect against constraints that require stonith devices to stop
before 'normal' ones (lf#2529)
- PE: Prevent unstable clone placement by factoring in the current
node's score before all others (lf#2544)
- Tools: Suport cibadmin --empty for creating a minimal CIB
- PE: Do not override configured clone stickiness values (lf#2445)
- PE: Avoid relying on stickness for stable clone placement (lf#2445)
- Shell: work around lrmd/lrmadmin blocking when not run as root or
hacluster
- Shell: more lazy help system initialization
- Access control list support for pacemaker's shell and CIB.
- PE: Prevent segfault by validating the contents of ordering sets
(lf#2495)
- PE: Prevent use-after-free resulting from unintended recursion when
chosing a node to promote master/slave resources
- PE: Avoid flooding the logs with errors for orphan resources
(lf#2518)
- cib: Add "enable-acl" property
- Shell: don't create empty optional sections (bnc#665131)
- xml: Add ACL support into pacemaker-1.2 and 1.1 schemata.
- RA: HealthSMART: Several fixes.
- RA: SysInfo: Allow a list of filesystems/devices to be queried for
free space
- RA: ClusterMon: htmlfile is not mandatory (lf#2512)
- Shell: merge properties and rsc/op_defaults on load update (lf#2454)
- stonith: use ST_DEVICEID for short description
- Shell: combine crmd and PE meta-data (lf#2373,2419)
- PE: Only update the node's promotion score if the resource is active
there
- PE: Only use the promotion score from the current clone instance
- Shell: ask for confirmation for node fence and clearstate (bnc#642268)
- Shell: insert sleep between stop and start in resource restart
- stonith: remove unnecessary logging
- Shell: fix exception when HOME is not set
- Shell: Allow creation of an empty shadow CIB ("cib new ... empty")
- Shell: Allow cibstatus to create new node status entries.
- Shell: fix rsc/op_defaults edit
- Shell: repair management of cloned groups
- Shell: wait for the stop transition to finish before invoking start in
the resource restart command (lf#2516)
- PE: Correct target_rc for probes of inactive resources
- Tools: Prevent crm_resource commands from being lost due to the use of
cib_scope_local
- PE: Prevent use-of-NULL resulting from variable shadowing spotted by
Coverity
- Shell: allow adding node attributes in configure when the attributes
set doesn't already exist
- Core: Repair reference to child-of-child after removal of
xml_child_iter_filter from get_message_xml()
- Core: Remove extra calls to xmlCleanupParser resulting in use-after-free
- Core: Reinstate the logic that skips past non-XML_ELEMENT_NODE children
- Core: Update the default validation type to pacemaker-1.0
- Core: Prevent recently introduced use-after-free in replace_xml_child()
- crmd: Update failcount for failed promote and demote operations
- PE: Prevent use-of-NULL when there is status for an undefined node
- Shell: warn on non-existing nodes in location constraints (lf#2486)
- Shell: put completion bits into a separate module
- Shell: repair ability to display multiple property sets
- Build: Script for determining test coverage
- Remove usage of the xml_child_iter macro to obtain better information
from tracing tools.
- Shell: Let crm_resource handle node & resource iteration during
resource cleanup (skips down nodes: bnc#647378)
- PE: Avoid needless string compares
- cib: Fix a log message
- Core: Provide arguments to do_crm_log_alias() in the correct order
when logging xml
- Add gcov support to spec file (disabled by default)
- crmd: Determin the target rc for an action once
- crmd: Prevent use of NULL by making copies of the operation's hash
table
- Core: Turn off unneeded checks when applying a diff
- crmd: Allow operations in the PE state
- crmd: Ensure the CIB is always writable on the DC by removing a timing
hole
- cib: Deprecate the set_slave_all() API call
- PE: Ensure fencing of the DC preceeds the STONITH_DONE operation
- PE: Complete all fencing before attempting atomic migrations
- stonith-ng: fix two memory leaks.
- Core: Preserve ordering when removing subtrees with a diff
- Tools: Calculate the digest after applying a diff
- Core: Correctly extract the version details from a diff
- cib: Drop the severity of a log message
- crmd: Don't abort transitions when probes are completed on a node
- PE: Try to ensure atomic migration ops occur within a single
transition
- Core: Correctly compare against crm_log_level in the logging macros
- cib: Revert part of a recent commit that purged still valid
connections
- PE: reduce logging severity for single rsc sets
- Core: Prevent use-after-free when creating a CIB update for a timed
out action
- Shell: update shadow file directory processing
- Tools: crm_resource - Improved output when listing constraints
relevant to a given resource
- Tools: crm_resource - Fix -x, the short form of --xml-file
- Tools: crm_resource - Include location constraints in -A|-a output
- Tools: crm_shadow - Avoid replacing the entire configuration
(including status)
- PE: Prevent clones from being stopped because resources colocated with
them cannot be active
- crmd: Include the correct transition details for timed out operations
- Core: Drop the compression limit (lf#2506)
- cib: Don't remove client's when notifications fail, they might just be
too big (lf#2506)
- cib: Do not calculate changes for status updates that wont be
broadcast
- cib: Speed up the establishment of remote connections
- crmd: All pending operations should be recorded, even recurring ones
with high start delays
- stonith-ng: reduce logging.
- Core: Provide significant performance improvements by implementing
versioned diffs and digests
- cib: Reject updates with a feature set greater than our own
- Core: Some performance enhancements when comparing xml objects
- crmd: Use the supplied timeout for stop actions
- Core: Ensure ordering is preserved when applying diffs
- crmd: There's no need to check the cib version from the 'added' part
of diff updates
- crmd: Additional logging for the cause of new transitions
- cib: Drop invalid/failed connections from the client hashtable
- PE: Use the original digest algorithm for parameter lists
- cib: Ensure all diffs sent to peers have sufficient ordering
information
- cib: Reduce unnecessary copying when comparing xml objects
- Core: Purge diff markers before calculating and comparing digests
- Core: Minor speedup when comparing xml objects
- cib: The feature set version check is only valid if the current value
is non-NULL
- Tools: crm_resource - Ensure xml-related memory is cleaned up at exit
- Tools: crm_simulate - Ensure xml-related memory is cleaned up at exit
- PE: lf#2478 - Implement improved handling and recovery of atomic
resource migrations
- PE: Fix memory leak when processing completed migration actions
- Large number of performance improvements to the Policy Engine and
CIB.
- Core: Cache Relax-NG schemas - profiling indicates many cycles are
wasted needlessly re-parsing them
- Core: Don't compress large payload elements unless we're approaching
message limits
- Tools: crm_node - Fix the return code for operations on corosync
clusters
- Stonith: Fix two memory leaks
- crmd: Record completed migrate ops in CIB status section as
migrate_to/migrate_from, not as stop/start (lf#2481)
- PE: Fix typo leading to use-of-NULL in the new ordering code
- crmd: on version print everything to stdout
- stonith: cleanup children on timeout in fence_legacy
- Shell: use uname instead of id in nodes when building other ids
- Shell: add "clearstate" command for nodes
- crmd: Don't hide stop events that time out - allowing faster recovery
in the presence of overloaded hosts
- PE: Use hashtables instead of linked lists for performance sensitive
datastructures
- PE: Skip probe_resources() completely if probing is disabled
- PE: Obtain massive speedup by prepending to the list of ordering
constraints (which can grow quite large)
- PE: Detect start/stop actions with intervals
- PE: Optimize the logic for deciding which non-grouped anonymous clone
instances to probe for
- stonith: Use the timeout specified by the user
- stonith: Add the timeout at the top level where the
daemon is looking for it (lf#2473)
- stonith: Ensure timeouts are included for fencing
operations (lf#2473)
- Logging tuning
- crmd: Use an operation's interval when an invalid timeout was
specified
- crmd: Use the correct define/size for lrm resource IDs
- Tools: Ensure the line we're grabbling the time from contains a time
- Tools: crm_simulate - Fix use-after-free in when terminating
- Stonith: Ensure stonith operations complete within the timeout and are
terminated if they run too long (lf#2473)
- crmd: Prevent assertion failure for stop actions
- PE: Prevent segfault by ensuring the arguments to do_calculations()
are initialized
- PE: Correct use-after-free
- Tools: crm_simulate - Resolve memory leak reported by valgrind
- PE: Ignore failed actions on nodes that have been shutdown
- crmd: Better logging of failed stonith operations (lf#2473)
- stonith: Gracefully handle remote operations that arrive late (after
we've done notifications) (lf#2473)
- Tools: crm_simulate - Resolve memory leak reported by valgrind
- PE: Repair on-fail=block for groups and primitive
resources (lf$2476)
- crmd: Ensure stop actions always have the relevant resource attributes
(lf#2458)
- Tools: Fix assertion failure in crm_resource (lf#2456)
- PE: Do not demote resources because something that requires it can't
run
- PE: Display managed/unmanaged state for resources when grouped by node
in crm_mon (lf#2479)
- cib: Clean up disconnected remote connections (lf#2469)
- Tools: crm_mon - Only display attributes of online nodes (and sort
them)
- RA: ping - Indicate that host_list is a required parameter in the
metadata
- stonith: Prevent segfault by not looking up operations if the
hashtable hasn't been initialized yet (lf#2461)
- Tools: Have crm_resource --locate indicate which instances are
promoted (lf#2477)
- PE: Ensure resource op timeout takes precedence over op_defaults
(lf#2474)
- Upstream version cs: bdd89e69ba54
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 18 00:56:14 CET 2010 - meissner@suse.de Thu Nov 18 00:56:14 CET 2010 - meissner@suse.de

View File

@ -1,5 +1,5 @@
# #
# spec file for package pacemaker (Version 1.1.2.1) # spec file for package pacemaker (Version 1.1.5)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -26,6 +26,7 @@
%define with_ais_support 1 %define with_ais_support 1
%define with_heartbeat_support 0 %define with_heartbeat_support 0
%define with_regression_tests 0 %define with_regression_tests 0
%define with_gcov 0
%define gname haclient %define gname haclient
%define uname hacluster %define uname hacluster
%define doc_pkg heartbeat-doc-1.0 %define doc_pkg heartbeat-doc-1.0
@ -37,8 +38,8 @@
Name: pacemaker Name: pacemaker
Summary: The Pacemaker scalable High-Availability cluster resource manager Summary: The Pacemaker scalable High-Availability cluster resource manager
Version: 1.1.2.1 Version: 1.1.5
Release: 4 Release: 1
License: GPLv2+ ; LGPLv2.1+ License: GPLv2+ ; LGPLv2.1+
Url: http://www.clusterlabs.org Url: http://www.clusterlabs.org
Group: Productivity/Clustering/HA Group: Productivity/Clustering/HA
@ -165,6 +166,10 @@ export CFLAGS
./autogen.sh ./autogen.sh
%configure --localstatedir=%{_var} \ %configure --localstatedir=%{_var} \
--docdir=%{pcmk_docdir} \ --docdir=%{pcmk_docdir} \
%if %with_gcov
--with-gcov=1 \
%endif
--with-acl=true \
--enable-fatal-warnings=no --enable-fatal-warnings=no
make %{_smp_mflags} make %{_smp_mflags}
@ -189,10 +194,19 @@ chmod a+x $RPM_BUILD_ROOT/%{_libdir}/heartbeat/hb2openais-helper.py
rm $RPM_BUILD_ROOT/%{_libdir}/service_crm.so rm $RPM_BUILD_ROOT/%{_libdir}/service_crm.so
# Don't want to ship this just yet: # Don't want to ship this just yet:
rm $RPM_BUILD_ROOT/usr/sbin/crm_report
rm $RPM_BUILD_ROOT/etc/init.d/pacemaker || true rm $RPM_BUILD_ROOT/etc/init.d/pacemaker || true
rm $RPM_BUILD_ROOT/usr/sbin/pacemaker{d,} || true rm $RPM_BUILD_ROOT/usr/sbin/pacemaker{d,} || true
%if %with_gcov
GCOV_BASE=$RPM_BUILD_ROOT/%{_var}/lib/pacemaker/gcov
mkdir -p $GCOV_BASE
find . -name '*.gcno' -type f | while read F ; do
D=`dirname $F`
mkdir -p ${GCOV_BASE}/$D
cp $F ${GCOV_BASE}/$D
done
%endif
#%if %with_ais_support #%if %with_ais_support
# mkdir -p $RPM_BUILD_ROOT/%{_libexecdir}/lcrso # mkdir -p $RPM_BUILD_ROOT/%{_libexecdir}/lcrso
# cp $RPM_BUILD_ROOT/%{_libdir}/service_crm.so $RPM_BUILD_ROOT/%{_libexecdir}/lcrso/pacemaker.lcrso # cp $RPM_BUILD_ROOT/%{_libdir}/service_crm.so $RPM_BUILD_ROOT/%{_libexecdir}/lcrso/pacemaker.lcrso
@ -255,6 +269,7 @@ fi
%{_sbindir}/crm_mon %{_sbindir}/crm_mon
%{_sbindir}/crm %{_sbindir}/crm
%{_sbindir}/crm_resource %{_sbindir}/crm_resource
%{_sbindir}/crm_report
%{_sbindir}/crm_standby %{_sbindir}/crm_standby
%{_sbindir}/crm_verify %{_sbindir}/crm_verify
%{_sbindir}/crmadmin %{_sbindir}/crmadmin
@ -315,5 +330,9 @@ fi
%{_includedir}/pacemaker %{_includedir}/pacemaker
# %{_includedir}/heartbeat/fencing # %{_includedir}/heartbeat/fencing
%{_libdir}/*.so %{_libdir}/*.so
%if %with_gcov
%dir %{_var}/lib/pacemaker
/%{_var}/lib/pacemaker
%endif
%changelog %changelog

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:f07ef44dafa97025bcb55e359e5126d6778806aa43b40f9d386b0610b761d7e6 oid sha256:2bc6684da0f88bc8382f81e96556ec7ef4333d9d81028b4bb7c0b8ec14dc3d7b
size 23299917 size 23537557