Commit Graph

241 Commits

Author SHA256 Message Date
Yan Gao
124b9b010f - attrd: Remove offline nodes from node cache for "peer-remove" requests (bnc#870771)
- membership: Prevent use-after-free in reap_crm_member() (bnc#870771)
- cluster: Remove unknown offline nodes with conflicting unames from node cache (bnc#870771)
- crmd: Remove state of unknown nodes with conflicting unames from CIB (bnc#870771)
- Upstream version cs: 440da7f59ac4bed16a0289e33f04d2635b335c70

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=149
2014-07-03 05:47:01 +00:00
Yan Gao
540319756f Add /etc/logrotate.d/pacemaker into spec file
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=148
2014-07-01 08:18:09 +00:00
Yan Gao
3ca720e8ab - Fix: ignore SIGPIPE with gnutls is in use
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=147
2014-07-01 08:10:40 +00:00
Yan Gao
14f92a2c19 - extra: Add logrotate configuration file for /var/log/pacemaker.log (bnc#883567)
- PE: Correctly detect empty tags
- xml: Ensure realloc didn't fail
- crmd: Only write fence_averride if open() returns a positive file descriptor
- tools: Non-recurring memory leak
- PE: Potential use-of-NULL
- ipc: Buffer size cannot be negative
- xml: Prevent possible array underflow
- mcp: Let daemons know when they have been respawned by the mcp
- cts: fix RemoteBaremetal step2 move resource action failed issue
- PE: Correctly observe requires=nothing
- crmd: Remove unknown nodes with conflicting unames from CIB (bnc#883240)
- controld: Return OCF_ERR_INSTALLED instead of OCF_NOT_INSTALLED (bnc#883729)
- lrmd: Prevent OCF agents from logging to random files due to "value" of setenv() being NULL (bnc#883524)
- cts: fix shutdown pattern not found issue
- ignore SIGPIPE with gnutls is in use
- crmd: avoid double free caused by nested hash table removal
- crm_report: Correctly detect large files
- cib: cl#5222 - Prevent assert in xml_calculate_changes() on performing cib operations (bnc#881575)
- Upstream version cs: c3f1a7f8912f3d6d17497dd8af0b69fe0708b2b1

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=146
2014-07-01 08:07:09 +00:00
Yan Gao
56d2274c38 - Bug cl#5219 - PE: Allow unrelated resources with a common colocation target to remain promoted
- Upstream version cs: 97629ded958f76652350569a54303b3cd25d1d7e

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=144
2014-06-13 09:01:28 +00:00
Yan Gao
4272ebfdf1 - Bug cl#5222 - Enable legacy mode whenever a broadcast update is detected (bnc#881575)
- xml: Prevent incorrect xml diffs from corrupting the cib (bnc#878362)
- mainloop: implement gio_poll_dispatch_mod
- cluster: Prevent search of unames from attempting to create node entries for unknown nodes (bnc#881884)
- Upstream version cs: 4f00ccce11db182afa88c90ddfe444f319ccfe3a

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=143
2014-06-13 03:22:12 +00:00
Yan Gao
a412f758c5 - crm_report: Gracefully handle rediculously large logfiles
- Upstream version cs: 734e6b538b0a037f9e7d0709f450bd664f26c332

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=142
2014-06-11 05:50:48 +00:00
Yan Gao
feef33b48b - Bug cl#5222 - cib: Repair rolling update capability (bnc#881575)
- cib: Use a better option name for enabling the legacy cib diff code (cl#5222, bnc#881575)
- remote: clear remote-node status correctly
- pengine: properly handle fencing of container remote-nodes when the container is orphaned
- remote: Handle request/response ipc proxy correctly
- cib: Prevent assert on sending cib sync requests (cl#5222, bnc#881575)
- crm_simulate: Clean up temporary shadow files on exit (bnc#879934)
- pengine: cl#5200 - Before migrating utilization-using resources to a node, take off the load that will no longer run there if it's not introducing transition loop
  (Rework cl#5044, lf#2599, bnc#695440)
- Fencing: Cache metadata lookups to avoid repeated blocking during device registration
- pengine: properly place resource within a container when container is a remote-node.
- mainloop: Better handle the killing of processes in the act of exiting
- services: Remove cancelled recurring ops from internal lists as early as possible
- services: Remove file descriptors from mainloop as soon as we have drained them
- pengine: Don't report a resource as restarting when it is a moving multistate resource
- pengine: avoid assert by searching for stop action on correct node during LogActions
- Upstream version cs: 34721d2829c466a4965ab2b16478183601d9df18

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=141
2014-06-10 13:17:28 +00:00
Yan Gao
8781c844e4 - cib: Drop the message serverity now that the cause is well understood
- crmd: Avoid spamming the cib by triggering a transition only once per non-status change
- Upstream version cs: 559f733e8818a96085134cd2a34efc280c512a2a

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=140
2014-06-02 03:30:22 +00:00
Yan Gao
602bd1747a - pengine: Prevent possible segfault (bnc#880258)
- attrd: Ensure attribute dampening is always observed
- Bug cl#5213 - Limit the scope of the previous commit to the masters role
- membership: Avoid duplicate peer entries in the peer cache
- Bug cl#5184 - Ensure pending probes that ultimately fail are correctly updated (bnc#804763, bnc#879034)
- Upstream version cs: 9776707a6232f25812009145fafa8a64c5b53910
- pengine: Correctly search failcount (bnc#880520)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=139
2014-05-29 11:37:00 +00:00
Yan Gao
3189bb8bb5 - Rebase:
* pacemaker-colocated-utilization.patch

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=138
2014-05-27 11:13:26 +00:00
Yan Gao
e8a9b3da0b - Bug cl#5213 - Ensure role colocation with -INFINITY is enforced
- pengine: Mark unrunnable stop actions as "blocked" and show the correct current locations (bnc#878662)
- pengine: Block restart of resources if any dependent resource in a group is unmanaged (bnc#878662)
- systemd: Try to handle dbus actions that complete prior to configuring a callback
- mainloop: Canceling in-flight operations should not fail if child process has already exited.
- Bug rhbz#1097457 - Limit the scope of the previous fix and include a helpful comment
- Bug cl#5212 - Do not promote instances when quorum is lots and no-quorum-policy=freeze
- Bug rhbz#1097457 - Prevent invalid transition when resource are ordered to start after the container they're started in
- Fix: fix small memory leaks
- Upstream version cs: 25ebca2b83df9263aedb944ea4eeb53468e90e83

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=137
2014-05-27 10:27:03 +00:00
OBS User buildservice-autocommit
f4b6603f31 Accepting request 235158 from network:ha-clustering:Factory
auto commit by copy to link target

OBS-URL: https://build.opensuse.org/request/show/235158
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=136
2014-05-26 08:27:37 +00:00
OBS User buildservice-autocommit
00606e216b Updating link to change in openSUSE:Factory/pacemaker revision 70.0
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=98836024ed4e88044cf4a0b1c2cc4f3e
2014-05-26 08:27:36 +00:00
Yan Gao
a912ff2982 Accepting request 235151 from home:jsegitz:branches:network:ha-clustering:Factory
- added necessary macros for systemd files

OBS-URL: https://build.opensuse.org/request/show/235151
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=135
2014-05-23 09:12:50 +00:00
Yan Gao
aec6f25acd - pengine: Use "#site-name" in rules for setting site-specific instance attributes
- pengine: Use "#cluster-name" in rules for setting cluster-specific instance attributes (FATE#316118)
- crmd: Set "cluster-name" property to corosync's "cluster_name" by default for corosync-2 (FATE#316118)
- pengine: Fixed so that it could change while a setup of "startup-fencing" starts.
- crmd: Use correctly signed inputs to sscanf()
- PE: Correctly handle origin offsets in the future
- iso8601: Different logic is needed when logging and calculating durations
- xml: Do not prune meaningful leaves from v1 patchsets
- Upstream version cs: da5aaab97ca5b7858f2aac98107a1a7ffc3e4252
- pengine: Support site-specific instance attributes based on rules for stretch cluster

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=133
2014-05-12 11:01:56 +00:00
Factory Maintainer
99ef1b9b4c Accepting request 233018 from home:oertel:branches:network:ha-clustering:Factory
- use _rundir macro

OBS-URL: https://build.opensuse.org/request/show/233018
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=132
2014-05-11 05:25:00 +00:00
Yan Gao
f1a03b21e8 Update pacemaker-colocated-utilization.patch to fix build
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=131
2014-05-05 10:01:46 +00:00
Yan Gao
3b1daef8d4 - Rebase:
* pacemaker-NodeUtilization-RA.patch
  * pacemaker-colocated-utilization.patch
- xml: Clean up schema list at exit
- pengine: Support cluster-specific instance attributes based on rules (FATE#316118)
- crmd: Ensure crm_config options are re-read on updates
- Resolve all clang analyser defects
- xml: Check all available schemas when doing upgrades
- Changes to the ACL schema to support nodes and unix groups
- tools: Allow crm_shadow to create older configuration versions
- xml: Prevent use-after-free when comparing two xml documents
- cib: Resolve memory leaks in query paths
- xml: Correctly subtract xml with v1 patchsets
- fencing: Advertise support for reboot/on/off in the metadata for legacy agents
- fencing: default to 'off' when agent does not advertise 'reboot' in metadata
- fencing: Execute all required fencing devices regardless of what topology level they are at
- fencing: Fence using all required devices
- fencing: fixed so that change of <resources> could be handled correctly.
- Upstream version cs: 42ae0e3cb50bb9e19dba7d1ad1ea69255bef5370

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=130
2014-05-05 09:35:22 +00:00
Yan Gao
1d32640628 - pengine: Fix memory leak in expand_tags_in_sets()
- PE: Memory leak
- PE: Do not initiate fencing for unclean nodes when fencing is disabled
- crm_node: Only remove the named resource from the cib
- pengine: Support site-specific instance attributes based on rules (FATE#316118)
- pengine: Ignore failure-timeout only if the failed operation has on-fail="block" (bnc#871175)
- Upstream version cs: f7859e2e06c8cf320482c3e4b447ddbe0a96fe83

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=129
2014-04-16 09:04:09 +00:00
Yan Gao
2ac37ce818 - pengine: Support cib object tags (FATE#315101)
- crmd: Correctly detect changes of ticket state (bnc#872794)
- Upstream version cs: 3f7ec44b51825898e3e30784ca4df09e3f45bf40

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=128
2014-04-14 06:18:54 +00:00
Yan Gao
0f11d61d83 - Rebase:
* bug-812269_pacemaker-fencing-device-register-messages.patch
- Build: Update versions in configure.ac and sample spec file
- fencing: Do not unregister/register all stonith devices on every resource agent change
- PE: Unfencing is based on device probes, there is no need to unfence when normal resources are found active
- pengine: handles edge case where container order constraints are not honored during migration
- pengine: Allow container nodes to migrate with connection resource
- xml: Resolve memory leak when logging xml blobs
- PE: Do not unfence nodes that are offline, unclean or shutting down
- PE: Ensure unfencing only happens once, even if the transition is interrupted
- crmd: Actions can only be executed if their pre-requisits completed successfully
- crmd: Do not erase the status section for unfenced nodes
- Fencing: Correctly record which peer performed the fencing operation
- lrmd: Expose logging variables expected by OCF agents
- logging: Simplify processing of logging directives
- logging: daemons always get a log file, unless explicitly set to configured 'none'
- PE: Ensure unfencing occurs before fencing devices are (re-)probed
- fencing: Filter self-fencing at the peers to allow unfencing to work correctly
- fencing: Automatically switch from 'list' to 'status' to 'static-list' if those actions are not advertised in the metadata
- lrmd: Provide stderr output from agents if available, otherwise fall back to stdout
- fencing: properly detect new fencing devices for v2 cib updates
- acl: Prevent use-of-NULL
- cts: automatically determine whether to run RemoteBaremetal (bnc#856353)
- pengine: Correctly search failcount
- Upstream version cs: ff74a591e670dbdb86f7cddeec989167de521216

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=127
2014-04-11 16:58:54 +00:00
Yan Gao
5f64fb1200 - pengine: Support id-ref in nvpair with optional "name" (FATE#316118)
Drop the patches that have been merged upstream:
  * pacemaker-pengine-nvpair-id-ref.patch
  * pacemaker-pengine-nvpair-id-ref-test.patch
- Upstream version cs: 6442c5a67cdd4cbaeedb2c532e0dc0667a79c202

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=125
2014-04-09 04:54:43 +00:00
Yan Gao
26bd423aff - xml: INFINITY could overflow for 16-bit ints - explicitly cast it
- xml: Correctly determine the lowest allowed schema version
- xml: Construct the table of supported schemas
- cib: All schema upgrade requests must go via the DC
- cib: Determine the best value of validate-with if one is not supplied
- acl: Ensure known users are not able to read the cib by default
- xml: Add missing schema file
- Upstream version cs: d9fbba56804a7a7bcceaa5d4b7e29e3f15fc0e59

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=124
2014-04-08 13:46:29 +00:00
Yan Gao
5b918bf0b1 - crmd: Correctly react to successful unfencing operations
- PE: Delay unfencing until after we know the state of all resources that require unfencing
- PE: Fencing devices default to only requiring quorum in order to start
- PE: Automatically re-unfence a node if the fencing device definition changes
- pengine: Only report 'migrate' in transition summary if migration is actually taking place
- crm_node: Set correct subsystem in node rm cache msg
- crm_node: Prevent use-after-free in tools_remove_node_cache()
- crmd: make resource ID case sensitive
- fencing: Correction of the registration from a difference.
- crm_report: Add support for ISO8601 time format in logs (bnc#870886)
- PE: Potential memory leak
- xml: Support resources that require unfencing
- crmd: make node_state erase correctly
- xml: Add the ability to have lightweight schema revisions
- xml: Split up the RelaxNG schema files so they're easier to version individually
- crm_get_msec: prevent integer overflow
- corosync: Reduce log severity for a redundant message (bnc#870624)
- attrd: Reduce log severity for normal messages (bnc#870624)
- cib: When data was old, it fixed so that the newest cib might not be acquired.
- crm_attribute: Default --lifetime to forever when using --node (bnc#870696)
- Upstream version cs: 76579e813b5aaa1972d400055233519f58bbc0c6

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=123
2014-04-08 12:17:12 +00:00
Yan Gao
f935b0d20e Rebase pacemaker-pengine-nvpair-id-ref.patch
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=122
2014-03-31 09:06:35 +00:00
Yan Gao
f003975b5d - pengine: Do not fence remote-node entries left over in the node section that have no connection rsc
- pengine: properly handle remote-node without connection resource.
- xml: Update xml validation to allow '<node type=remote />'
- cib: allow setting permanent remote-node attributes
- Upstream version cs: d63eaf41fa8173de3e29873d0461bfb888b83b37

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=121
2014-03-31 07:27:41 +00:00
Yan Gao
ea9f8158b2 - xml: Allow first-acl-match-wins semantics to be supported if desired
- crm_report: extract additional DLM lockspace data
- xml: If validate-with is missing, we find the most recent schema that accepts it and go from there
- tools: fix "crm_shadow --reset <name>"
- controld: Remove '-q 0' from default dlm_controld arguments
- acl: Authenticate pacemaker-remote requests with the node name as the client
- controld: Verify killall is available on resource start
- Prevent use-of-NULL spotted by coverity
- crmd: Correctly detect changes to the configuration root
- crmd: Fenced nodes that return prior to an election do not need to have their status section reset
- xml: Do not log deleted attributes
- xml: Correctly mark the parent's of deleted attributes as dirty
- crm_diff: Allow the generation of xml patchsets without digests
- crmd: Prevent memory leak when accepting a new DC
- xml: Find the minimal set of changes when part of a document is replaced
- xml: Create the correct diff when only part of a document is changed
- Upstream version cs: 61e95e4864be0301be528874eed65266f4e62cf0

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=120
2014-03-28 07:56:30 +00:00
Yan Gao
417c1ff4b9 - pengine: fixes invalid transition caused by clones with more than 10 instances
- services_action_cancel: Interpret return code from mainloop_child_kill() correctly
- fencing: make hashtable mapping hostname->alias case insensitive for hostname
- attrd: Make hostname hashtable case insensitive
- membership: make caching peers by uname case insensitive
- crmd: make lrm_state hash table not case sensitive
- lrmd: clean up the agent's entire process group
- xml: Enable resource sets in location constraints for 1.2 schema (bnc#867880)
- Upstream version cs: 8bee850bb95ee01dcba03038ddfd65d22e195cf6

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=119
2014-03-21 05:57:18 +00:00
Yan Gao
46c0afaaa4 Tweak of pacemaker.changes
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=118
2014-03-13 13:08:11 +00:00
Yan Gao
90a1b0231e - Drop obsolete bug-792124_pacemaker-stonith-monitor-log.patch
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=117
2014-03-13 10:51:32 +00:00
Yan Gao
280d18b941 Update:
pacemaker-pengine-nvpair-id-ref.patch
pacemaker-pengine-nvpair-id-ref-test.patch

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=116
2014-03-13 10:30:21 +00:00
Yan Gao
ceec526574 - mainloop: Fixes use after free in process monitor code
- lrmd: Cancel recurring operations before stop action is executed
- lrmd: Merge duplicate recurring monitor operations
- services: Do not allow duplicate recurring op entries
- crmd: Ack pending operations that were cancelled due to rsc deletion
- crm_mon: Add failures to --as-xml output
- cib: Check if on-disk cib is corrupt in the separate on_disk_cib_corrupt() rather than in validate_on_disk_cib() (bnc#866618)
- crmd: Do not start timers for already completed operations
- acl: Read access must be explicitly granted
- xml: Better move detection logic for xml nodes
- cib: Do not disable cib disk writes if on-disk cib is corrupt (bnc#866618)
- xml: Correctly calculate the adjusted offset of xml elements
- crm_diff: Mirror how the cib operates for better testing
- cib: Ingore patch failures if we already have their contents
- cib: Prevent use-after-free when cleaning up after query operations
- xml: Mark the parents of a partial replace as dirty
- xml: Correctly enforce ACLs after a replace operation
- cib: Do not try to use an empty value for CIB_shadow
- crm_resource: Gracefully handle -EACCESS when querying the cib
- xml: Correctly observe ACLs when creating filtered copies of xml documents
- xml: Only test write permissions for attributes that are being changed
- xml: Always allow new scaffolding - node with no attributes or only an id field
- cib: Memory leaks caused by ACLs returning filtered copies
- xml: Set flags to indicate when updates were rejected by an ACL
- cib: Respect the CIB_user environment variable for ACLs
- xml: Unpack and apply ACLs when tracking changes
- cib: Implement CIB_file-mode ACLs for testing
- remote: Enable migration support for baremetal connection resources by default
- cibadmin: Allow priviliged clients to perform tasks as unpriviliged users
- cibadmin: Remove dangerous commands that exposed unnecessary implementation internal details

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=115
2014-03-13 10:26:07 +00:00
Yan Gao
e7a395414f - Add symlinks rcpacemaker and rcpacemaker_remote to /usr/bin/service (bnc#866057)
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=114
2014-03-03 11:51:26 +00:00
Yan Gao
0bc48138fd Add a bug number:
- xml: Fix segfault in TRACKING_CHANGES() (bnc#865345)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=113
2014-03-03 10:36:36 +00:00
Yan Gao
eed638275e - Rebase bug-812269_pacemaker-fencing-device-register-messages.patch
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=112
2014-03-03 09:35:43 +00:00
Yan Gao
ecf1558079 - xml: Memory leak when free'ing xml documents
- systemd: Prevent use-of-NULL when determining if an agent exists
- xml: Fix segfault in TRACKING_CHANGES()
- PE: Memory leak when updating cancel operations
- xml: Prevent memory leak in xml _private field
- pengine: Performance increase, stack allocated score2char
- crm_report: Only gather dlm data if dlm_controld is running
- Fix: memory leak found by valgrind was corrected.
- Fencing: Add the ability to call stonith_api_time() from stonith_admin
- Fencing: Pass the correct options when looking up the history by node name
- cib: Ensure 'cibadmin -R/--replace' commands get replies
- xml: Correctly initialize and find v1-style patch version numbers
- crm_mon: Add -R switch to show clone details
- Build: Install compatibility.h
- fencing: Teach stonith-ng about finding device and topology changes in the v2 patch format
- crm_report: Additional dlm detail
- crm_report: Allow ssh alternatives to be used
- crmd: Correctly recognise operation cancellations we initiated
- crmd: Improved logging of transition cancellations
- crmd: Correctly detect lrm refreshes
- crmd: Ignore 'move' operations to the cib, we only care about content changes
- PE: Ensure instance numbers are preserved for cloned templates
- Bug cl#5196 - PE: Check values after expanding templates
- crm_mon: Ensure resource attributes have been unpacked before displaying connectivity data
- Upstream version cs: ca8234daf2bbb2d0fd2fb47cdbb6667f892081bb

- pengine: Support id-ref in nvpair with optional "name" (FATE#316118)
  * pacemaker-pengine-nvpair-id-ref.patch
  * pacemaker-pengine-nvpair-id-ref-test.patch

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=111
2014-03-03 07:56:37 +00:00
Yan Gao
d3e1673ec5 Ready to run source service: ca8234daf2bbb2d0fd2fb47cdbb6667f892081bb
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=110
2014-03-03 06:50:59 +00:00
Yan Gao
234c448115 - controld: Do not consider the dlm up until the address list is present
- pengine: Support per-resource maintenance mode (bnc#863071)
- pengine: cl#5187 - Prevent resources in an anti-colocation from even temporarily running on a same node (bnc#856135, bnc#862319)
- controld: handling startup fencing within the controld agent, not the dlm
- Upstream version cs: 0b7d85a159cc92e00ebded65c9a33edce7ba1c22

- cib: Erasing the cib is an admin action, bump the admin_epoch instead
- mcp: Tell systemd not to respawn us if we exit with rc=100
- crm_mon: Allow the file created by --as-html to be world readable
- crmd: Do not overwrite existing node state when fencing completes
- PE: Default sequential to TRUE for resource sets for consistency with colocation sets
- Bug rhbz#1036631 - Stop members of cloned groups when dependancies are stopped
- PE: Ensure stop actions are viable when reporting what will happen to a resource
- xml: Consolidate patchset logging and apply functionality
- cib: Validate that everyone still sees the same configuration once all updates have completed
- cib: Validate clients are correctly applying v2-style diffs at most once a minute
- xml: Allow both patch formats to include and validate an xml digest
- election: If an error occurrs in crm_uptime(), compare as {0,0}
- xml: Correctly compare the current feature set when determining which patch format to use
- crmd: Support failcount processing with the new patch format
- crmd: Handle patchset directives that change the configuration top-level
- cib: Make patchset validation a run-time switch
- cib: Implement zero-copy status update
- cib: Enable the more efficient xml patchset format
- crmd: Add support for parsing resource operations in the v2 patch format
- xml: New function for calculating patchset version details
- cib: Auto-detect which patchset format to use
- xml: Allow the source of xml library errors to be traced
- cib: Send all r/w operations via the cluster connection and have all nodes process them
- xml: Use an optimized xpath search function for applying patch sets

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=108
2014-02-21 07:15:44 +00:00
Yan Gao
e867fb5cb8 - ipc: Convince clang that our casting is intended (bnc#845525)
* Drop pacemaker-Wno-cast-align.patch which has been merged upstream
- cib: Use the correctly typed enum value during initialization
- Build: Add dbus as an rpm dependancy
- Fix: Bug rhbz#1057697 - Use native DBus library for systemd async support to avoid problematic use of threads
- remote: Fail remote-node connection rsc monitor ops early on unexpected disconnect
- tools: Return error when attempting to delete an unspecified attribute
- remote: Allow baremetal remote-node connection resources to migrate
- lrmd: Send event alerting estabilished clients that a new client connection is created.
- Fix: Bug rhbz#1057697 - Use native DBus library for systemd support to avoid problematic use of threads
- xml: Fix segfault in find_entity()
- Upstream version cs: 6290953f2b035a92a8f093973b94c5cf38b79cd9

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=106
2014-02-08 14:21:03 +00:00
Yan Gao
09ad3ccbbe - pengine: Free memory allocated by find_actions()
- cib: Fix remote cib based on TLS
- Upstream version cs: f3eeaf49d1fb7bca713ecbbc819aef51650d26ef

- stonith: Drop the severity of log for recoverable condition (bnc#857779)
  * Update bug-812269_pacemaker-fencing-device-register-messages.patch

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=104
2014-01-28 08:12:10 +00:00
Yan Gao
a403020dcc * Add pacemaker-crm_mon-brief.patch
* Add pacemaker-display-pending-ops.patch

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=103
2014-01-27 11:29:43 +00:00
Yan Gao
e3ab3f0455 - Build: Suppress -Wcast-align warnings/errors on arm and ppc64le (bnc#845525)
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=102
2014-01-25 07:45:00 +00:00
Yan Gao
62a0c904df - Build: Supress -Wcast-align warnings/errors on arm and ppc64le (bnc#845525)
* Update pacemaker-Wno-cast-align.patch

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=101
2014-01-25 07:18:33 +00:00
Yan Gao
ad12ec0648 - services: Do not block synced service executions
- Upstream version cs: 96cd1941308be48fdf1e827b88ebd9410cf2010a

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=100
2014-01-25 01:47:46 +00:00
Yan Gao
4f39472adf - crm_mon: Display brief output if "-b/--brief" is supplied or 'b' is toggled (FATE#314757)
- tools: Display pending state in crm_mon/crm_resource/crm_simulate if --pending/-j is supplied (cl#5178) (FATE#315159)
- services: Fixes segfault associated with cancelling in-flight recurring operations. (bnc#859923)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=99
2014-01-24 09:03:05 +00:00
Yan Gao
61ba85eb4c Update revision in _service: a3cda7619e71399d54f209296aebf3ba713a0bf4
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=98
2014-01-24 08:42:28 +00:00
Yan Gao
a5081d6a04 - crm_report: Force grep to interpret logs as text
- Upstream version cs: a3cda7619e71399d54f209296aebf3ba713a0bf4

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=97
2014-01-20 10:36:47 +00:00
Yan Gao
21b5dfd5e6 - Drop the obsolete patch (bnc#857779):
* bug-812269_pacemaker-fencing-update-cib.patch

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=96
2014-01-17 16:59:46 +00:00
Yan Gao
ccd482926f - pengine: Force record pending for migrate_to actions
- pengine: cl#5186 - Avoid running rsc on two nodes when node is fenced during migration
- cluster: Fix segfault on removing a node (bnc#858745)
- services: Reset the scheduling policy and priority for lrmd's children without replying on SCHED_RESET_ON_FORK (bnc#858857)
- fencing: Update stonith device list only if stonith is enabled (bnc#857779)
- services: Correctly reset the nice value for lrmd's children (bnc#858857)
- pengine: Correctly perform partial migrations when node's uname is not equal to the id.
- fencing: Immediately fail remote fencing operation on peer timeout
- cl#5055: Improved migration support.
- stonith_admin: Ensure pointers passed to sscanf() are properly initialized
- Fix: Prevent potential use-of-NULL
- crmd: Prevent memory leak in error paths
- services: Fixes segfault associated with cancelling in-flight recurring operations.
- pengine: cl#5174 - Allow resource sets and templates for location constraints (FATE#315158)
- Upstream version cs: 31d76eedee4aecfa9b204bd3006c0ce2c7b569a4

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=95
2014-01-17 16:24:19 +00:00