# changelog

author: Steven Dake <sdake@redhat.com> 1.2.2-1
changelog:
  - Resolves: rhbz#583800
  - Resolves: rhbz#553375
  - Resolves: rhbz#582947
  - Resolves: rhbz#553375
  - Rebase to upstream 1.2.2.
  - Add upstream trunk revision 2770 to add cpg_model_initialize api.


author: Steven dake <sdake@redhat.com> 1.2.3-1
changelog:
  - Resolves: rhbz#583800
  - Rebase to upstream 1.2.3.
  - Resolves 43 errors found with coverity.
  - Fixes defects with totemsrp in 90% multicast message loss cases found
    through a field deployment.


author: Steven Dake <sdake@redhat.com> 1.2.3-2
changelog:
  - Resolves: rhbz#603886
  - Resolves: rhbz#601018
  - Resolves: rhbz#600068
  - Resolves: rhbz#600043
  - Resolves: rhbz#598680
  - Resolves: rhbz#601011
  - Resolves: rhbz#596550
  - Resolves: rhbz#596552
  - Resolves: rhbz#596405
  - Resolves: rhbz#594924
  - Resolves: rhbz#583844
  - Add upstream revision 2947 - send CPG_REASON_PROCDOWN instead of
    CPG_REASON_LEAVE on proces exit.
  - Add upstream revision 2945 - object_key_iter can dereference an invalid
    pointer
  - Add upstream revision 2938 - have logsys use file mapped backing properly as
    intended
  - Add upstream revision 2937 - handle sem_wait interrupted by signal properly
  - Add upstream revision 2936 - fix fail to recv logic which happens rarely on
    high loss networks
  - Add upstream revision 2935 - fix last_aru logic
  - Add upstream revision 2934 - evs service fails to deliver messages
  - Add upstream revision 2932 - Add man page for corosync-quorumtool
  - Add upstream revision 2931 - Add man page for corosync-pload
  - Add upstream revision 2930 - Add man page for corosync-fplay
  - Add upstream revision 2929 - Add man page for corosync-cpgtool
  - Add upstream revision 2928 - Add man page for corosync-cfgtool
  - Add upstream revision 2927 - Add man page for corosync-keygen
  - Add upstream revision 2926 - Update of corosync_overview man page
  - Add upstream revision 2925 - resolve undefined behavior caused by sem_wait
    interruption by signals in coroipc
  - Add upstream revision 2924 - Resolve problem where errant memcpy() operation
    sets incorrect scheduling parameters
  - Add upstream revision 2923 - corosync won't build without corosync already
    intalled


author: Steven Dake <sdake@redhat.com> 1.2.3-3
changelog:
  - Resolves: rhbz#600118
  - Resolves: rhbz#606463
  - Resolves: rhbz#583844
  - Resolves: rhbz#605860
  - Resolves: rhbz#605860
  - Add upstream trunk revision 2785 - fix syncing of cpg downlist in certain circumstances.
  - Add upstream trunk revision 2799 - fix problem where blackbox data isn't written during sos requests
  - Add upstream trunk revision 2801 - fix syncing of cpg downlist in certain circumstances.
  - Add upstream revision 2951 - fix segfault in fork() inside pacemaker service engine.
  - Add upstream revision 2952 - fix problem where corosync deadlocks on single cpu system in spinlock call
  - Add upstream revision 2954 - fix problem where totem stats updater triggers segfault when it's timer expires during shutdown


author: Steven Dake <sdake@redhat.com> 1.2.3-4
changelog:
  - Resolves: rhbz#583844
  - Add trunk revision 2814 - fix syncing of cpg downlist in certain circumstances


author: Steven Dake <sdake@redhat.com> 1.2.3-5
changelog:
  - Reverts: rhbz#583844
  - Revert trunk revision 2814 - fix syncing of cpg downlist in certain circumstances
  - Revert upstream trunk revision 2785 - fix syncing of cpg downlist in certain circumstances.
  - Revert upstream trunk revision 2801 - fix syncing of cpg downlist in certain circumstances.


author: Steven Dake <sdake@redhat.com> 1.2.3-6
changelog:
  - Resolves: rhbz#596550
  - Resolves: rhbz#606335
  - Resolves: rhbz#607480
  - Resolves: rhbz#607292
  - Add upstream revision 2965 - add a man page for corosync-blackbox
  - Add upstream revision 2966 - add a man page for corosync
  - Add upstream revision 2967 - Add makefile and specfile changes to support 2965/2966
  - Add upstream revision 2968 - remove use of pathconf which can fail resulting in segfault
  - Add upstream revision 2969 - remove use of pathconf which can fail resulting in segfault
  - Add upstream revision 2971 - add /var/log/cluster as owned directory and change example config file to log in /var/log/cluster


author: Steven dake <sdake@redhat.com> 1.2.3-7
changelog:
  - Resolves: rhbz#607738
  - Add upstream revision 2973 - if /dev/shm is full, ipc clients will bus error - return error instead


author: Steven Dake <sdake@redhat.com> 1.2.3-8
changelog:
  - Resolves: rhbz#609198
  - Add upstream revision 2975 - properly size all buffers used to describe the
    file names to PATH_MAX used in mappings in ipc layer.


author: Steven Dake <sdake@redhat.com> 1.2.3-9
changelog:
  - Resolves: rbhz#606463
  - Add upstream revision 2978 - use freopen as to not cause glibc/fork to
    segfault in some rare circumstances when using pacemaker.


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.03-7
changelog:
  - Fix bug 226273:
    * Add dist tag.
    * Fix rpmlint errors for %description.
    * Remove MANIFEST from package.
  - General clean up of spec file.


author: Andrew Beekhof <andrew@beekhof.net> - 1.0-0.9.d97b9dea436e.hg
changelog:
  - Include relevant provides: and obsoletes: directives for heartbeat
  - Update the tarball from upstream to version d97b9dea436e
    + Include license files
    + Fix error messages in autogen.sh
    + High (bnc#501723): Tools: hb_report: collect archived logs too
    + Medium: clplumbing: check input when creating IPC channels
    + Medium (bnc#510299): stonith: set G_SLICE to always-malloc to avoid bad interaction with the threaded openhpi
    + Med: hb_report: report on more packages and with more state.
    + The -E option to lrmadmin does not take an argument
    + Provide a default value for docdir and ensure it is expanded
    + Low: clplumbing: fix a potential resource leak in cl_random (bnc#525393).
    + Med: hb_report: Include dlm_tool debugging information if available.
    + hb_report: Include more possible error output.
    + Medium: logd: add init script and example configuration file.
    + High: logd: Fix init script. Remove apphbd references.
    + logd: configuration file is optional.
    + logd: print status on finished operations.
    + High: sbd: actually install the binary.
    + Medium: stonith: remove references to heartbeat artifacts.
    + High: hb_report: define HA_NOARCHBIN
    + hb_report: correct syntax error.
    + hb_report: Include details about more packages even.
    + hb_report: report corosync packages too.


author: Andrew Beekhof <andrew@beekhof.net> - 1.0-0.10.b79635605337.hg
changelog:
  - Add install dependancy on perl-TimeDate for hb_report
  - Update to upstream version b79635605337
    + Build: fix defines for pacemaker-pygui compatibility.
    + High: Tools: hb_report: log/events combining
    + High: doc: new README for wti_mpc
    + High: hb_report: add man page hb_report.8
    + High: hb_report: extract important events from the logs
    + High: stonith: external/ibmrsa-telnet: add support for later RSA cards
    + High: stonith: wti_mpc: support for MIB versions 1 and 3
    + Logd: Start/stop priorities are not created by configure
    + Med: sbd: Fix definition of size_t.
    + Med: sbd: Nodename comparison should be case insensitive (bnc#534445)
    + Med: wti_nps: add support for internet power switch model (bnc#539912)
    + Medium (LF 2194): LRM: fix return code on RA exec failure
    + Medium: Tools: hb_report: add -v option (debugging)
    + Medium: Tools: hb_report: options -C and -D are obsoleted
    + ha_logd: Fix a compile error/warning.
    + hb_report: report corosync packages too.
    + sbd: Accept -h (bnc#529574)
    + sbd: really fix the sector_size type.


author: Andrew Beekhof <andrew@beekhof.net> - 1.0.2-1
changelog:
  - Suppress unsupported functionality
  - Related: rhbz#553386 - logd initscript FedoraGuidelines compliance
  - Update to latest upstream release: aa1f9dee2793
    + Medium: LRM: lrmd: log outcome of monitor once an hour
    + Medium: LRM: lrmd: remove operation history on client unregister and flushing all operations (LF 2161)
    + Medium: LRM: lrmd: restore reset scheduler for children (bnc#551971, lf#2296)
    + Medium: LRM: raexec: close the logd fd too when executing agents (LF 2267)
    + Medium: Tools: hb_report: add -V (version) option and add support for corosync


author: Andrew Beekhof <andrew@beekhof.net> 1.0.5-1
changelog:
  - Do not build on ppc and ppc64.
    Resolves: rhbz#590981
  - Rebase on new upstream version: 1448deafdf79
    Resolves: rhbz#590662
    + High: LRM: lrmd: don't add the cancel option in flush to the running operations (bnc#578644)
    + High: LRM: lrmd: don't flush operations which don't belong to the requesting client (lf#2161)
    + High: LRM: lrmd: on shutdown exit once all operations finished (lf#2340)


author: Andrew Beekhof <andrew@beekhof.net> 1.0.5-2
changelog:
  - Fix provides/requires for sub packages to avoid version issues
  - Add missing man page
    Resolves: rhbz#594116


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.9-5
changelog:
  - Fix ccs_tool man page
    (fix_ccs_tool_man_page.patch)
    Resolves: rhbz#577874
  - dlm_controld: add plock checkpoint signatures
    (dlm_controld_add_plock_checkpoint_signatures.patch)
    Resolves: rhbz#578625
  - dlm_controld: set last_plock_time for ownership operations
    (dlm_controld_set_last_plock_time_for_ownership_ops.patch)
    (gfs_controld_set_last_plock_time_for_ownership_ops.patch)
    Resolves: rhbz#578626
  - dlm_controld: don't skip unlinking checkpoint
    (dlm_controld_do_not_skip_unlinking_checkpoint.patch)
    Resolves: rhbz#578628
  - gfs2_convert segfaults when converting fs of blocksize 512 bytes
    (gfs2_convert_fix_segfault_with_512bytes_bs.patch)
    Resolves: rhbz#579621
  - gfs2_convert uses too much memory for jdata conversion
    (gfs2_convert_uses_too_much_memory_for_jdata_conversion.patch)
    Resolves: rhbz#579623
  - Fix conversion of gfs1 CDPNs
    (gfs2_convert_fix_conversion_of_gfs1_cdpns.patch)
    Resolves: rhbz#579625
  - gfs2_convert: Doesn't convert indirectly-pointed eattrs correctly
    (gfs2_convert_does_not_convert_eattrs_correctly.patch)
    Resolves: rhbz#579626


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.12-1
changelog:
  - Rebase on top of new upstream bug fix only release:
    * drop all bug fix patches.
    * refresh patches with official SHA1 git commits from RHEL6
      upstream branch:
      - disable_ldap_loader_support.patch
      - support_only_xmlconfig_loader.patch
      - disable_fence_xvmd_support.patch
    * rename cman_use_hashed_cluster_id_part4.patch to
      cman_use_hash_cluster_id_by_default.patch.
    * Addresses the following issues:
      from 3.0.11 release:
    Resolves: rhbz#581047, rhbz#576330, rhbz#582017, rhbz#583945
    Resolves: rhbz#581038
      from 3.0.12 release:
    Resolves: rhbz#589823, rhbz#586100, rhbz#585083, rhbz#587079
    Resolves: rhbz#590000
    * Rebase:
    Resolves: rhbz#582322
  - Stop build on ppc and ppc64.
    Resolves: rhbz#590980
  - cman should only load OpenAIS checkpoint service by default
    (cman_only_load_ckpt_service_by_default.patch)
    Resolves: rhbz#568407


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.12-2
changelog:
  - Fix cman init script stop action to wait for corosync daemon to shutdown
    (cman_init_wait_for_corosync_shutdown.patch)
    Resolves: rhbz#592103
  - fenced: use cpg ringid
    (fenced_use_cpg_ringid.patch)
    Update Requires/BuildRequires on corosync + cpg ringid patch.
    Resolves: rhbz#584140
  - fix changelog entries from 3.0.12-1 (missing bugzilla entries)


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.12-3
changelog:
  - Fix dlm_controld wrong fencing time comparison
    (dlm_controld_wrong_fencing_time_comparison.patch)
    Resolves: rhbz#594511
  - Fix ccs_tool create -n
    (fix_ccs_tool_create.patch)
    Resolves: rhbz#594626


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.12-4
changelog:
  - cman: fix quorum recalculation when a node is externally killed
    (cman_fix_quorum_recalculation.patch)
    Resolves: rhbz#596046
  - rpmdiff automatic test tool found 2 issues:
    * add missing man pages for cman_notify, dlm_controld.pcmk and
      gfs_controld.pcmk, and update the spec file to ship them
      in the correct subpackages.
    (add_missing_man_pages.patch)
    * cman, dlm-pcmk, gfs-pcmk should have a tigher Requires on cluster
      libraries.
    Resolves: rhbz#594111


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.12-5
changelog:
  - Fix dlm_controld wrong fencing time comparison (part2):
    Rename dlm_controld_wrong_fencing_time_comparison.patch to
    dlm_controld_wrong_fencing_time_comparison_part1.patch
    Add dlm_controld_wrong_fencing_time_comparison_part2.patch
    Resolves: rhbz#594511


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.12-6
changelog:
  - Fix device name and mount point in utils
    (gfs2_fix_device_name_and_mount_point_in_utils.patch)
    Resolves: rhbz#597002


author: Lon Hohberger <lhh@redhat.com> - 3.0.12-7
changelog:
  - Ensure cman recalculates quorum on configuration reload
    (cman_recalculate_expected_votes_on_config_reload.patch)
    Resolves: rhbz#606989


author: Lon Hohberger <lhh@redhat.com> - 3.0.12-8
changelog:
  - Add missing components to cluster schema
    (config_add_missing_resource_docs_to_schema.patch)
  - Clean up recursion in cluster schema
    (config_clean_up_recursion_in_schema.patch)
    Resolves: rhbz#604298


author: Lon Hohberger <lhh@redhat.com> - 3.0.12-9
changelog:
  - Update gfs2_convert man page
    (gfs2_convert_manpage_update.patch)
    Resolves: rhbz#601315
  - Don't return 0 if gfs2_edit restoremeta fails
    (gfs2_edit_restoremeta_should_not_return_0_on_failure.patch)
    Resolves: rhbz#607321
  - Fix fsck.gfs2 unaligned access on ia64
    (fsck_gfs2_unaligned_access_on_ia64.patch)
    Resolves: rhbz#608154


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 1.1.1-1
changelog:
  - New upstream release.
  - spec file updates:
    * Cleanup macro usage
    * Drop Conflict: in favour of correct Requires:
    * Whitespace cleanup


author: Ryan O'Hara <rohara@redhat.com> - 1.1.1-2
changelog:
  - Resolves: rhbz#555164
  - Resolves: rhbz#557275
  - Resolves: rhbz#557622
  - Add upstream revision 2104 - Fix saCkptDispatch such that it will break out of switch if callback is received and is undefined.
  - Add upstream revision 2105 - Fix saTmrDispatch such that it will break out of switch if callback is received and is undefined.
  - Add upstream revision 2106 - Fix saLckDispatch such that it will break out of switch if callback is received and is undefined.
  - Add upstream revision 2107 - Fix saClmDispatch such that it will break out of switch if callback is received and is undefined.
  - Add upstream revision 2108 - Fix saMsgDispatch such that it will break out of switch if callback is received and is undefined.
  - Add upstream revision 2109 - Prevents iteration of a checkpoint section during synchronization.
  - Add upstream revision 2111 - Update to openais.spec.in to fix URL and File location.


author: Lon Hohberger <lhh@redhat.com> - 0.16.2-6
changelog:
  - Fix Changelog
  - Add SNMP traps for service state changes, node state changes,
    quorum changes, and configuration updates
  - Resolves: rhbz#561413


author: Lon Hohberger <lhh@redhat.com> - 0.16.2-7
changelog:
  - Add missing SNMP notifications to MIB and clean MIB up
  - Fix initscript return code when an invalid operation was
    specified
  - Resolves: rhbz#553382 rhbz#561413


author: Lon Hohberger <lhh@redhat.com> 0.2-1
changelog:
  - Update to latest upstream version
  - Serial & VMChannel listener support
  - Static permission map support
  - Man pages
  - Init script
  - Various bugfixes


author: Lon Hohberger <lhh@redhat.com> 0.2.1-2
changelog:
  - Fix man page location
  - Fix metadata output
  - Fix arguments to be more consistent with other fencing
    agents
  - Resolves: rhbz#561418 rhbz#563624 rhbz#563626


author: Lon Hohberger <lhh@redhat.com> 0.2.1-3
changelog:
  - Fix spec file due to qpid package renaming and architecture changes
  - Don't build on s390 and s390x
  - Resolves: rhbz#568003 rhbz#567744


author: Alasdair Kergon <agk@redhat.com> - 2.02.60-1
changelog:
  - Add cmirror subpackage for clustered mirrors.
  - Sleep before first progress check iff pvmove/lvconvert interval has prefix '+'.
  - Fix first syslog message prefix for dmeventd plugins.
  - Make failed locking initialisation messages more descriptive.
  - Add cman requires to cluster subpackage.
  - Set 'preferred_names' in default lvm.conf.
  - Add libdevmapper-event-lvm2.so to serialise dmeventd plugin liblvm2cmd use.
  - Stop dmeventd trying to access already-removed snapshots.
  - Fix clvmd to never scan suspended devices.
  - Fix detection of completed snapshot merge.
  - Improve snapshot merge metadata import validation.


author: Peter Rajnoha <prajnoha@redhat.com> - 2.02.61-1
changelog:
  - Add %ORIGIN support to lv{create,extend,reduce,resize} --extents.
  - Accept a list of LVs with 'lvconvert --merge @tag' using process_each_lv.
  - Remove false "failed to find tree node" error when activating merging origin.
  - Exit with success when lvconvert --repair --use-policies performs no action.
  - Avoid unnecessary second resync when adding mimage to core-logged mirror.
  - Make clvmd -V return status zero.
  - Fix cmirrord segfault in clog_cpg list processing when converting mirror log. 
  - Deactivate temporary pvmove mirror cluster-wide when activating it fails.
  - Add missing metadata vg_reverts in pvmove error paths.
  - Unlock shared lock in clvmd if activation calls fail.
  - Add lvm_pv_get_size, lvm_pv_get_free and lvm_pv_get_dev_size to lvm2app.
  - Change lvm2app to return all sizes in bytes as documented (not sectors).
  - Exclude internal VG names and uuids from lists returned through lvm2app.
  - Add LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES environment variable.
  - Add DM_UDEV_DISABLE_LIBRARY_FALLBACK udev flag to rely on udev only.
  - Remove hard-coding that skipped _mimage devices from 11-dm-lvm.rules.
  - Export dm_udev_create_cookie function to create new cookies on demand.
  - Add --udevcookie, udevcreatecookie and udevreleasecookie to dmsetup.
  - Set udev state automatically instead of using DM_UDEV_DISABLE_CHECKING.
  - Set udev state automatically instead of using LVM_UDEV_DISABLE_CHECKING.
  - Remove pointless versioned symlinks to dmeventd plugin libraries.
    Resolves: #561422 #561423 #563321


author: Alasdair Kergon <agk@redhat.com> - 2.02.64-1
changelog:
  - Avoid pointless initialisation when the 'version' command is run directly.
  - Fix memory leak for invalid regex pattern input.
  - Display invalid regex pattern for filter configuration in case of error.
  - Fix -M and --type to use strings, not pointers that change on config refresh.
  - Fix lvconvert error message when existing mirrored LV is not found.
  - Set appropriate udev flags for reserved LVs.
  - Disallow the direct removal of a merging snapshot.
  - Don't preload the origin when removing a snapshot whose merge is pending.
  - Disallow the addition of mirror images while a conversion is happening.
  - Disallow primary mirror image removal when mirror is not in-sync.
  - Remove obsolete --name parameter from vgcfgrestore.
  - Add -S command to clvmd to restart the daemon preserving exclusive locks.
  - Increment lvm2app version from 1 to 2 (memory allocation changes).
  - Change lvm2app memory alloc/free for pv/vg/lv properties.
  - Change daemon lock filename from lvm2_monitor to lvm2-monitor for consistency.
  - Add support for new IMPORT{db} udev rule available in udev v152.
  - Add DM_UDEV_PRIMARY_SOURCE_FLAG udev flag to recognize proper DM events.
  - Also include udev libs in libdevmapper.pc.
  - Cache bitset locations to speed up _calc_states.
  - Add a regex optimisation pass for shared prefixes and suffixes.
  - Add dm_bit_and and dm_bitset_equal to libdevmapper.
  - Speed up dm_bit_get_next with ffs().
  - Remove 'lvmconf --lockinglibdir' from cluster post: locking is now built-in.
  - Move libdevmapper-event-lvm2.so to devel package.
  - Explicitly specify libdevmapper-event.so* attributes.
  - Drop support for upgrades from very old versions that used lvm not lvm2.
  - Move libdevmapper-event plug-in libraries into new device-mapper subdirectory.
  - Don't verify lvm.conf contents when using rpm --verify.
  - Move development links to shared objects to /usr.
  - Change libdevmapper deactivation to fail if device is open.
  - Wipe memory buffers for libdevmapper dm-ioctl parameters before releasing.
  - Add support for ioctl's DM_UEVENT_GENERATED_FLAG.
  - Allow incomplete mirror restore in lvconvert --repair upon insufficient space.
  - Do not reset position in metadata ring buffer on vgrename and vgcfgrestore.
  - Allow VGs with active LVs to be renamed.
  - Only pass visible LVs to tools in cmdline VG name/tag expansions without -a.
  - Use C locale and mlockall in clvmd and dmeventd.
  - Mask LCK_HOLD in cluster VG locks for upgrade compatibility with older clvmd.
  - Add activation/polling_interval to lvm.conf as --interval default.
  - Don't ignore error if resuming any LV fails when resuming groups of LVs.
  - Skip closing persistent filter cache file if open failed.
  - Permit mimage LVs to be striped in lvcreate, lvresize and lvconvert.
  - Fix pvmove allocation to take existing parallel stripes into account.
  - Fix incorrect removal of symlinks after LV deactivation fails.
  - Fix is_partitioned_dev not to attempt to reopen device.
  - Fix another thread race in clvmd.
  - Improve vg_validate to detect some loops in lists.
  - Change most remaining log_error WARNING messages to log_warn.
  - Always use blocking lock for VGs and orphan locks.
  - Allocate all memory for segments from private VG mempool.
  - Optimise searching PV segments for seeking the most recently-added.
  - Remove duplicated vg_validate checks when parsing cached metadata.
  - Use hash table of LVs to speed up parsing of text metadata with many LVs.
  - Fix two vg_validate messages, adding whitespace and parentheses.
  - When dmeventd is not forking because of -d flag, don't kill parent process.
  - Fix dso resource leak in error path of dmeventd.
  - Fix --alloc contiguous policy only to allocate one set of parallel areas.
  - Do not allow {vg|lv}change --ignoremonitoring if on clustered VG.
  - Add ability to create mirrored logs for mirror LVs.
  - Fix clvmd cluster propagation of dmeventd monitoring mode.
  - Allow ALLOC_ANYWHERE to split contiguous areas.
  - Add some assertions to allocation code.
  - Introduce pv_area_used into allocation algorithm and add debug messages.
  - Add activation/monitoring to lvm.conf.
  - Add --monitor and --ignoremonitoring to lvcreate.
  - Don't allow resizing of internal logical volumes.
  - Avoid scanning all pvs in the system if operating on a device with mdas.
  - Disable long living process flag in lvm2app library.
  - Fix pvcreate device md filter check.
  - Suppress repeated errors about the same missing PV uuids.
  - Bypass full device scans when using internally-cached VG metadata.
  - Only do one full device scan during each read of text format metadata.
  - Look up missing PVs by uuid not dev_name in pvs to avoid invalid stat.
  - Rewrite clvmd init script.
  - Add default alternative to mlockall using mlock to reduce pinned memory size.
  - Add use_mlockall and mlock_filter to activation section of lvm.conf.
  - Handle misaligned devices that report alignment_offset of -1.
  - Extend core allocation code in preparation for mirrored log areas.
  - No longer fall back to looking up active devices by name if uuid not found.
  - Don't touch /dev in vgmknodes if activation is disabled.
  - Add --showkeys parameter description to dmsetup man page.
  - Add --help option as synonym for help command.
  - Add lvm2app functions lvm_{vg|lv}_{get|add|remove}_tag() functions.
  - Refactor snapshot-merge deptree and device removal to support info-by-uuid.
  - Change spec file to excluding cluster components from the build on s390.


author: Peter Rajnoha <prajnoha@redhat.com> - 2.02.65-1
changelog:
  - Disallow vgchange --clustered if there are active mirrors or snapshots.
  - Fix truncated total size displayed by pvscan.
  - Skip internal lvm devices in scan if ignore_suspended_devices is set.
  - Do not merge old device cache after we run full scan. (2.02.56)
  - Add new --sysinit compound option to vgchange and lvchange.
  - Fix clvmd init script never to deactivate non-clustered volume groups.
  - Drop duplicate errors for read failures and missing devices to verbose level.
  - Do not print encryption key in message debug output (cryptsetup luksResume).
  - Use -d to control level of messages sent to syslog by dmeventd.
  - Change -d to -f to run dmeventd in foreground.
  - Fix udev flags on remove in create_and_load error path.
  - Add dm_list_splice() function to join two lists together.
  - Use /bin/bash for scripts with bashisms.
  - Switch Libs.private to Requires.private in devmapper.pc and lvm2app.pc.
  - Use pkgconfig Requires.private for devmapper-event.pc.


author: Peter Rajnoha <prajnoha@redhat.com> - 2.02.66-2
changelog:
  - Simplify and fix Requires package headers.
  - If unable to obtain snapshot percentage leave value blank on reports.
  - Use new install_system_dirs and install_initscripts makefile targets.
  - Add lvm2app functions to lookup a vgname from a pvid and pvname.
  - Change internal processing of PVs in pvchange.
  - Validate internal lock ordering of orphan and VG_GLOBAL locks.


author: Peter Rajnoha <prajnoha@redhat.com> - 2.02.68-1
changelog:
  - Have device-mapper-libs require device-mapper (circular) for udev rules.
  - Clear exec_prefix.
  - Use early udev synchronisation and update of dev nodes for clustered mirrors.
  - Fix udev rules to handle spurious events properly.
  - Add lv_path to reports to offer full /dev pathname.
  - Avoid abort when generating cmirror status.
  - Fix clvmd initscript status to print only active clustered LVs. 
  - Fix segfault in clvmd -R if no response from daemon received.
  - Honour log argument when down-converting stacked mirror.
  - Sleep to workaround clvmd -S race: socket closed early and server drops cmd. 
  - Exit successfully when using -o help (but not -o +help) with LVM reports.
  - Add man pages for lvmconf, dmeventd and non-existent lvmsadc and lvmsar tools.
  - Add --force, --nofsck and --resizefs to lvresize/extend/reduce man pages.
  - Fix lvm2cmd example in documentation.
  - Fix typo in warning message about missing device with allocated data areas.
  - Add device name and offset to raw_read_mda_header error messages.
  - Allow use of lvm2app and lvm2cmd headers in C++ code.
  - Require partial option in lvchange --refresh for partial LVs.
  - Don't merge unchanged persistent cache file before dumping if tool scanned.
  - Avoid selecting names under /dev/block if there is an alternative.
  - Fix clvmd initscript restart command to start clvmd if not yet running.
  - Handle failed restart of clvmd using -S switch properly.
  - Use built-in absolute paths in clvmd (clvmd restart and PV and LV queries).
  - Consistently return ECMD_FAILED if interrupted processing multiple LVs.
  - Add --type parameter description to the lvcreate man page.
  - Document 'clear' in dmsetup man page.
  - Replace strncmp kernel version number checks with proper ones.
  - Update clustered log kernel module name to log-userspace for 2.6.31 onwards.
  - Support autoloading of dm-mod module for kernels from 2.6.35.
  - Add dm_tree_node_set_presuspend_node() to presuspend child when deactivating.
  - Do not fail lvm_init() if init_logging() or _init_rand() generates an errno.
  - Fix incorrect memory pool deallocation while using vg_read for files.


author: Peter Rajnoha <prajnoha@redhat.com> - 2.02.69-1
changelog:
  - Fix vgremove to allow removal of VG with missing PVs. (2.02.52)
  - Add metadata/vgmetadatacopies to lvm.conf.
  - Add --metadataignore to pvcreate and vgextend.
  - Add vg_mda_copies, pv_mda_used_count and vg_mda_used_count to reports.
  - Describe --vgmetadatacopies in lvm.conf and other man pages.
  - Add --[vg]metadatacopies to select number of mdas to use in a VG.
  - Make the metadata ignore bit control read/write metadata areas in a PV.
  - Add pvchange --metadataignore to set or clear a metadata ignore bit. 
  - Refactor metadata code to prepare for --metadataignore / --vgmetadatacopies.
  - Ensure region_size of mirrored log does not exceed its full size.
  - Preload libc locale messages to prevent reading it in memory locked state.
  - Fix handling of simultaneous mirror image and mirrored log image failure.


author: Toshio Kuratomi <toshio@tiki-lounge.com> - 2.1-3
changelog:
  - Bump and rebuild for python 2.5 on devel.
  - Add BR: python-devel as it provides a header necessary for python modules
    on python 2.5.


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.9-1
changelog:
  - new upstream release:
    Resolves: rhbz#557349, rhbz#564471
  - spec file update:
    * update spec file copyright date
    * use bz2 tarball
    * bump minimum requirements for corosync/openais
    * fence-agents should not Requires fence-virt directly
    * stop shipping fence_xvmd


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.9-2
changelog:
  - Add workaround to broken snmp return codes
    (workaround_broken_snmp_return_codes.patch)
    Resolves: rhbz#574027


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.9-3
changelog:
  - Remove 'ipport' option from WTI fence agent
    (remove_ipport_option_from_wti_fence_agent.patch)
    Resolves: rhbz#579059


author: Fabio M. Di Nitto <fdinitto@redhat.com> - 3.0.12-1
changelog:
  - Rebase on top of new upstream bug fix only release:
    * drop all bug fix patches.
    * Addresses the follwing issues:
      from 3.0.11 release:
    Resolves: rhbz#583019, rhbz#583017, rhbz#583948, rhbz#584003
    * Rebase:
    Resolves: rhbz#582351
  - Stop build on ppc and ppc64.
    Resolves: rhbz#590985
  - Update list of supported agents.


author: Lon Hohberger <lhh@redhat.com> - 3.0.12-2
changelog:
  - Add direct support for WTI VMR
    Resolves: rhbz#578617
  - Fix changelog for 3.0.12-1 release (add missing bugzilla entries)


author: Lon Hohberger <lhh@redhat.com> - 3.0.12-6
changelog:
  - Don't truncate fence_scsi log files
    (fence_scsi_do_not_truncate_log_file.patch)
    Resolves: rhbz#608887


author: Ryan McCabe <rmccabe@redhat.com> - 0.16.1-6
changelog:
  - Add a ricci function to set the cluster version, as it's no longer done
    while syncing the configuration files via ccs_sync.


author: Chris Feist <cfeist@redhat.com> - 0.16.2-3
changelog:
  - An issue with calling 'virsh nodelist' would cause ricci to hang for
    30 seconds during most requests resulting in timeouts to the web interface.
  - Resolves: rhbz#580575


author: Chris Feist <cfeist@redhat.com> - 0.16.2-6
changelog:
  - Init script now complies more closely with Fedora Guidelines
  - Passing a bad node to ccs_sync no longer results in a segfault
  - Resolves: rhbz#585126 rhbz#587526


author: Andrew Beekhof <andrew@beekhof.net> - 1.1.0-0.1-00d9bcac8775.hg
changelog:
  - Related: rhbz#rhbz#543948
  - Update the tarball from upstream to version 00d9bcac8775
    + High: PE: Bug 2213 - Ensure groups process location constraints so that clone-node-max works for cloned groups
    + High: PE: Bug lf#2153 - Update regression tests
    + High: PE: Bug lf#2153 - non-clones shouldn't restart when clones stop/start on other nodes
    + High: PE: Bug lf#2209 - Clone ordering should be able to prevent startup of dependant clones
    + High: PE: Bug lf#2216 - Correctly identify the state of anonymous clones when deciding when to probe
    + High: PE: Bug lf#2225 - Operations that require fencing should wait for 'stonith_complete' not 'all_stopped'.
    + High: PE: Bug lf#2225 - Prevent clone peers from stopping while another is instance is (potentially) being fenced
    + High: PE: Correctly anti-colocate with a group
    + High: PE: Correctly unpack ordering constraints for resource sets to avoid graph loops
    + High: Replace stonithd with the new fencing subsystem
    + High: cib: Ensure the loop searching for a remote login message terminates
    + High: cib: Finally fix reliability of receiving large messages over remote plaintext connections
    + High: cib: Fix remote notifications
    + High: cib: For remote connections, default to CRM_DAEMON_USER since thats the only one that the cib can validate the password for using PAM
    + High: cib: Remote plaintext - Retry sending parts of the message that didn't fit the first time
    + Medium: PE: Bug lf#2206 - rsc_order constraints always use score at the top level
    + Medium: PE: Provide a default action for resource-set ordering
    + Medium: PE: Silently fix requires=fencing for stonith resources so that it can be set in op_defaults
    + Medium: ais: Some clients such as gfs_controld want a cluster name, allow one to be specified in corosync.conf
    + Medium: cib: Create valid notification control messages
    + Medium: cib: Indicate where the remote connection came from
    + Medium: cib: Send password prompt to stderr so that stdout can be redirected
    + Medium: extra: Add the daemon parameter to the controld metadata
    + Medium: fencing: Re-engineer the stonith daemon to support RHCS agents
    + Medium: tools: Make crm_mon functional with remote connections
    + Medium: xml: Bug bnc#552713 - Treat node unames as text fields not IDs
    + Medium: xml: Bug lf#2215 - Create an always-true expression for empty rules when upgrading from 0.6


author: Andrew Beekhof <andrew@beekhof.net> - 1.1.0-1
changelog:
  - Related: rhbz#543948
  - Update the tarball from upstream to version 07ab245be519
    + High: crmd: Always connect to stonith
    + High: crmd: Ensure batch-limit is correctly enforced
    + High: crmd: Ensure we have the latest status after a transition abort
    + High: Fencing: Overhaul the fencing daemon
    + High: PE: Bug lf#2153 - non-clones shouldn't restart when clones stop/start on other nodes - improved
    + Medium: PE: Allow resource sets to be reused between ordering and colocation constraints
    + Medium: PE: Implement serializing order constraints that dont cause restarts or inhibit migration
    + Medium: PE: Include node attributes for the node to be fenced
    + Medium: PE: Make crm_simulate a full replacement for ptest
    + Medium: PE: Only complain about target-role=master for non m/s resources
    + Medium: PE: Prevent non-multistate resources from being promoted through target-role
    + Medium: PE: Simplify the rsc_order syntax - don't make funky inferences based on score
    + Medium: PE: Support serialized sets of resources
    + Medium: Tools: Bug lf#2286 - Allow the shell to accept template parameters on the command line
    + Medium: Tools: Bug lf#2307 - Provide a way to determin the nodeid of past cluster members
    + Medium: Tools: crm: add update method to template apply (LF 2289)
    + Medium: Tools: crm: direct RA interface for stonith class resource agents (LF 2270)
    + Medium: Tools: crm: don't remove sets which contain id-ref attribute (LF 2304)
    + Medium: Tools: crm: exclude locations when testing for pathological constraints (LF 2300)
    + Medium: Tools: crm: fix exit code on single shot commands
    + Medium: Tools: crm: fix node delete (LF 2305)
    + Medium: Tools: crm: implement -F (--force) option
    + Medium: Tools: crm: rename status to cibstatus (LF 2236)
    + Medium: Tools: crm: stay in crm if user specified level only (LF 2286)


author: Andrew Beekhof <andrew@beekhof.net> - 1.1.1-1
changelog:
  - Resolves: rhbz#559868
  - Split off the doc package as it has grown quite large
  - Split off the cluster test suite (CTS) so that it can be used by other projects 
  - Update the tarball from upstream to version 46e288ab9014
    + High: PE: Repair handling of unordered groups in RHS ordering constraints
    + High: Agents: Prevent shell expansion of '*' when there are files in /var/lib/heartbeat/cores/root
    + High: ais: Bug lf#2340 - Force rogue child processes to terminate after waiting 2.5 minutes
    + High: ais: Bug lf#2359 - Default expected votes to 2 inside Corosync/OpenAIS plugin
    + High: ais: Bug lf#2359 - expected-quorum-votes not correctly updated after membership change
    + High: ais: Bug rhbz#525552 - Move non-threadsafe calls to setenv() to after the fork()
    + High: crmd: Bug bnc#578644 - Improve handling of cancelled operations caused by resource cleanup
    + High: crmd: Make sure we wait for fencing to complete before continuing
    + High: crmd: Prevent use-of-NULL when non-DCs get stonith callbacks
    + High: Fencing: Account for stonith_get_info() always returning a pointer to the same static buffer
    + High: Fencing: Bug bnc#577007 - Correctly parse the hostlist output from stonith agents
    + High: Fencing: Correctly parse arg maps and do not return a provider for unknown agents
    + High: fencing: Fix can_fence_host_with_device() logic and improve hostlist output parsing
    + High: PE: Bug lf#2358 - Fix master-master anti-colocation
    + High: PE: Correctly implement optional colocation between primitives and clone resources
    + High: PE: Suppress duplicate ordering constraints to achieve orders of magnitude speed increases for large clusters
    + High: Shell: move scores from resource sets to the constraint element (lf#2331)
    + High: Shell: recovery from bad/outdated help index file
    + Medium: Shell: implement lifetime for rsc migrate and node standby (lf#2353)
    + Medium: Shell: node attributes update in configure (bnc#582767)


author: Andrew Beekhof <andrew@beekhof.net> 1.1.2-2
changelog:
  - Do not build on ppc and ppc64.
    Resolves: rhbz#590992
  - Rebase on new upstream release
    + High: ais: Do not count votes from offline nodes and calculate current votes before sending quorum data
    + High: ais: Ensure the list of active processes sent to clients is always up-to-date
    + High: ais: Look for the correct conf variable for turning on file logging
    + High: ais: Use the threadsafe version of getpwnam
    + High: Core: Bug lf#2414 - Prevent use-after-free reported by valgrind when doing xpath based deletions
    + High: Core: fix memory leaks exposed by valgrind
    + High: crmd: Bug 2401 - Improved detection of partially active peers
    + High: crmd: Bug lf#2379 - Ensure the cluster terminates when the PE is not available
    + High: crmd: Bug lf#2414 - Prevent use-after-free of the PE connection after it dies
    + High: crmd: Bug lf#2414 - Prevent use-after-free of the stonith-ng connection
    + High: crmd: Do not allow the target_rc to be misused by resource agents
    + High: crmd: Do not ignore action timeouts based on FSA state
    + High: crmd: Ensure we dont get stuck in S_PENDING if we loose an election to someone that never talks to us again
    + High: crmd: Fix memory leaks exposed by valgrind
    + High: crmd: Remove race condition that could lead to multiple instances of a clone being active on a machine
    + High: crmd: Send erase_status_tag() calls to the local CIB when the DC is fenced, since there is no DC to accept them
    + High: crmd: Use global fencing notifications to prevent secondary fencing operations of the DC
    + High: PE: Bug lf#2317 - Avoid needless restart of primitive depending on a clone
    + High: PE: Bug lf#2361 - Ensure clones observe mandatory ordering constraints if the LHS is unrunnable
    + High: PE: Bug lf#2383 - Combine failcounts for all instances of an anonymous clone on a host
    + High: PE: Bug lf#2384 - Fix intra-set colocation and ordering
    + High: PE: Bug lf#2403 - Enforce mandatory promotion (colocation) constraints
    + High: PE: Bug lf#2412 - Correctly locate clone instances by their prefix
    + High: PE: Don ot be so quick to pull the trigger on nodes that are coming up
    + High: PE: Fix memory leaks exposed by valgrind
    + High: PE: Repair handling of unordered groups in RHS ordering constraints
    + High: PE: Rewrite native_merge_weights() to avoid Fix use-after-free
    + High: Shell: always reload status if working with the cluster (bnc#590035)
    + High: Shell: check timeouts also against the default-action-timeout property
    + High: Shell: Default to using the status section from the live CIB (bnc#592762)
    + High: Shell: edit multiple meta_attributes sets in resource management (lf#2315)
    + High: Shell: enable comments (lf#2221)
    + High: Tools: crm_mon - fix memory leaks exposed by valgrind


author: Andrew Beekhof <andrew@beekhof.net> 1.1.2-3
changelog:
  - Resolves: rhbz#590667
  - Rebase on new upstream release
    + High: Core: Bug lf#2401 - Backed out changeset 6e6980376f01


author: Andrew Beekhof <andrew@beekhof.net> 1.1.2-5
changelog:
  - Resolves: rhbz#594296 - rpmdiff checks
    + Remove legacy scripts
    + Add missing man pages
    + Fix sub-package version requires


author: : Version 1.0.105
changelog:
  - Fix a bug where we could SEGV if multiple concurrent "ctdb eventscript ..."
     are used and some of them block.
   - Monitor the daemon from the syslog child process so we shutdown cleanly when
     the main daemon terminates.
   - Add a 500k line ringbuffer in memory where all log messages are stored.
   - Add a "ctdb getlog <level>" command to pull log messages from the in memory
     ringbuffer.
   - From martin : fixes to cifs and nfs autotests
   - from michael a : fix a bashism in 11.natgw


author: : Version 1.0.106
changelog:
  - Buildscript changes from Michael Adam
   - Dont do a full recovery when there is a mismatch detected for ip addresses,
     just do a less disruptive ip-reallocation
   - When starting ctdbd, wait until all initial recoveries have finished
     before we issue the "startup" event.
     So dont start services or monitoring until the cluster has
     stabilized.
   - Major eventscript overhaul by Ronnie, Rusty and Martins and fixes of a few
     bugs found.


author: : Version 1.0.107
changelog:
  - fix for rusty to solve a double-free that can happen when there are
     multiple packets queued and the connection is destroyed before
     all packets are processed.


author: Sumit Bose <sbose@redhat.com> - 1.0.108-1
changelog:
  - Update to ctdb version 1.0.108
   - added fix for bz537223
   - added tdb-tools to Requires, fixes bz526479


author: Sumit Bose <sbose@redhat.com> - 1.0.108-2
changelog:
  - substituted $RPM_BUILD_ROOT by %{buildroot}
   - fix permissions on event scripts
   - Updated to ctdb version 1.0.108 maintenance release 3,
     git commit f24338e68c462e5cdee3194bb8f3ba18c3ca4672


author: Sumit Bose <sbose@redhat.com> - 1.0.112-1
changelog:
  - Updated to ctdb version 1.0.112 maintenance release 14,
     git commit f5ac659e4df9ba6ee4652aeb9b4f5a01b532fd99
   - resolves: #583771


author: Sumit Bose <sbose@redhat.com> - 1.0.112-2
changelog:
  - Updated to ctdb version 1.0.112 maintenance release 17,
     git commit c07cd2cb042d62ee4adcfa1b75dd423424ca681b


author: Sumit Bose <sbose@redhat.com> - 1.0.112-3
changelog:
  - Updated to ctdb version 1.0.112 maintenance release 18,
     git commit de49edcc0dfea7c4396cdbd9e4897358b5474100


