Commit Graph

220 Commits

Author SHA256 Message Date
Dominique Leuenberger
8faefc2bb1 Accepting request 294323 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/294323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=86
2015-04-05 22:26:07 +00:00
Yan Gao
9180cec92b Add /usr/lib/ocf/resource.d/containers into pacemaker.spec
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=194
2015-03-27 15:32:29 +00:00
Yan Gao
b3fe1fb47a - Rebase:
* bug-806256_pacemaker-log-level-notice.patch
  * pacemaker-NodeUtilization-RA.patch
  * pacemaker-colocated-utilization.patch
- crmd: All peers need to track node shutdown requests (bsc#917625)
- crmd: Cached copies of transient attributes cease to be valid once a node leaves the membership (bsc#917625)
- crmd: Wait for all pending operations to complete before poking the policy engine
- lrmd: preserve exit reason string when isolation wrappers are in use
- docker-wrapper: properly separate docker and resource specific attributes
- docker-wrapper: set authkey file permissions and properly set container 'node name' during start
- systemd: Trick systemd into not stopping our services before us during shutdown
- mcp: Allow a configurable delay when debugging shutdown issues
- systemd: Kindly ask dbus NOT to kill the process if the dbus connection fails
- systemd: Tell systemd not to take DBus down from underneath us
- cib: Correctly set up signal handlers
- PE: Do not record duplicate copies of the failed actions
- lrmd: enable ipc proxy for docker-wrapper privileged mode
- lrmd: properly handle poke requests in lrmd client when using ipc
- spec: add docker-wrapper directory to spec file
- pengine: disable migrations for resources with isolation containers
- pengine: disable reloading of resources within isolated container wrappers
- pengine: ability to launch resources in isolated containers
- extra: docker container tech wrapper script for pcmk remote
- tools: crm_mon prints Stopped clones only if --inactive was specified
- tools: display node names more consistently in crm_mon output
- tools: Improve crm_mon output with certain option combinations
- tools: make crm_mon last updated header consistent across formats
- remote: pcmk remote client tool for use with container wrapper script
- crmd: Reset stonith failcount to recover transitioner when the node rejoins (bsc#921102)
- systemd: fix crash caused when canceling in-flight operation

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=193
2015-03-27 15:20:34 +00:00
Dominique Leuenberger
d29887dfb2 Accepting request 291855 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/291855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=85
2015-03-25 20:02:47 +00:00
Yan Gao
74d6f31be3 - Upstream version cs: e32080b460f81486b85d08ec958582b3e72d858c
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=191
2015-03-13 09:50:23 +00:00
Yan Gao
a4fa041993 - PE: Support non-actionable degraded mode for OCF
- lrmd, services: interpret LSB status codes properly

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=190
2015-03-13 09:40:09 +00:00
Yan Gao
78ef010d5d - tools: add crm_resource --wait option
- tools: attrd_updater supports --query and --all options
- attrd: attrd supports queries
- pengine: remove unnecessary whitespace from notify environment variables
- Upstream version cs: ce0980220db05ac70f31cad9e265f356d564c4d6

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=189
2015-03-12 11:04:03 +00:00
Yan Gao
fe78d39e9a - tools: free allocated memory correctly in crm_resource
- attrd: properly write attributes for peers once uuid is discovered
- cib: assignment where comparison intended
- attrd: only send ack for recognized operations
- attrd: make each client operation handler its own function
- tools: attrd_updater supports private attributes
- attrd supports private attributes (not written to CIB)
- pengine: Reschedule specific monitors when resource definitions have changed (bsc#914761)
- pengine: Resolve memory leaks (bsc#914761)
- Upstream version cs: 622f276c9b773b6fa05a30cb35f8688356dded19

- properly record stop args after reload
- pengine: Do not reschedule monitors that are no longer needed while resource definitions have changed (bsc#914761)
- Build: Fix building when heartbeat support is disabled
- fencing: cl#5134 - Support random fencing delay to avoid double fencing (FATE#317136)
- extra: Use crm_simulate for the showscores script
- attrd: refresh should force an immediate write-out of all attributes
- service: Leave synchronous calls to be free'd by the caller
- service: Additional pointer safety
- crmd: Add "on_node" attribute for *_last_failure_0 lrm resource operations (bsc#918839)
- crm_mon: Fill CRM_notify_node in traps with node's uname rather than node's id if possible (bsc#918839)
- pengine: ensure if B is colocated with A, B can never run without A
- cib: automatically update .sig files in file backends when clients update live CIB
- cib: file-based backends now detect whether file is live CIB
- lrmd: add back support for class heartbeat agents
- lrmd: provide fake meta data for ra class heartbeat
- crm_resource: Use-after-free when restarting a resource
- cli: Ensure subsequent unknown long options are correctly detected
- crmd: Bug rhbz#1181824 - Ensure the DC can be reliably fenced
- attrd_updater: Allow attributes to be set for other nodes

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=188
2015-03-09 15:48:31 +00:00
Dominique Leuenberger
96d6b90bd8 Accepting request 288670 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/288670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=84
2015-03-09 08:59:51 +00:00
Yan Gao
fa8c282729 Accepting request 287506 from home:rguenther:branches:network:ha-clustering:Factory
- Add pacemaker-Wno-format-signedness.patch to disable
  -Wformat-signedness added by GCC 5 and enabled by -Wformat=2

OBS-URL: https://build.opensuse.org/request/show/287506
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=186
2015-02-24 12:54:28 +00:00
Dominique Leuenberger
d805f626bd Accepting request 284462 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/284462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=83
2015-02-11 15:31:01 +00:00
Yan Gao
17decdc000 - pengine: Handle ordering between stateful and migratable resources (bsc#881160)
- crmd: Check "watchdog" daemon option before setting "have-watchdog" property
- crmd: Correctly add the local option that validates against schema for pengine to calculate
- Upstream version cs: 3021d731fdeba29e1136c117a62f3201785be6ea

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=184
2015-01-30 10:47:13 +00:00
Dominique Leuenberger
dd59593339 Accepting request 282552 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/282552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=82
2015-01-25 20:14:20 +00:00
Yan Gao
0a5689f43a - crm_standby: update accepted options to match documentation
- cts: Fix bashisms in LSBDummy script
- Upstream version cs: 03ec61210c82471161f6cf3366e8afc30d737d67

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=182
2015-01-16 12:47:45 +00:00
Yan Gao
f12c2c9cd9 - pengine: fixes pengine crash with orphaned remote node connection resource
- Upstream version cs: 70f472e1c08e3d977de39cf75b47b04d541eaab2

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=181
2015-01-15 17:33:59 +00:00
Yan Gao
1d4a4ed4de - PE: Do not aggregate children in a pending state into the started/stopped/etc lists
- acl: Correctly implement the 'reference' acl directive
- Upstream version cs: c529898ac8a580ff32869fd9e715d7c086ba2a10

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=180
2015-01-15 13:46:04 +00:00
Yan Gao
b7b89fd033 - pengine: imply stop in container node resources when host node is fenced
- Build: Fix building if ncurses doesn't provide pkg-config files
- xml: Do not change the ordering of properties when applying v1 cib diffs
- xml: Do not prune leaves from v1 cib diffs that are being created with digests
- Upstream version cs: 4109f1539a625bfa3e884d19ab2fc42d7a4daec4

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=179
2015-01-12 11:07:01 +00:00
Yan Gao
f7fd1260f0 - xml: add 'require-all' to xml schema for constraints
- pengine: require-all feature for ordered clones
- xml: Ensure ACLs are reapplied before calculating what a replace operation changed
- cib: Ensure file-based backends treat '-o section' consistently with the native backend
- crmd: resolves memory leak in crmd.
- pacemakerd: resolves memory leak of xml structure in pacemakerd
- ipc: use server enforced buffer during ipc client send
- pengine: do not recording pending migrate_to ops for pacemaker remote
- crmd: never stop recurring monitor ops for pcmk remote during incomplete migration
- pengine: prefer migration target for remote node connections
- pengine: properly handle ordering during remote connection partial migration
- crmd: Ensure remote connection resources timeout properly during 'migrate_from' action
- crmd: gracefully handle remote node disconnects during op execution
- pengine: Fence baremetal remote when recurring monitor op fails
- crmd: Handle remote connection failures while executing ops on remote connection
- remote: Treat recv msg timeout as a disconnect
- pengine: properly recover remote-nodes when cluster-node proxy goes offline
- systemd: Correctly handle long running stop actions
- crm_resource: Include group members when calculating the next timeout
- crm_resource: Ensure --restart sets/clears meta attributes
- crm_resource: Clean up memory in --restart error paths
- Build: Use a wrapper for realloc() which calls abort when we run out of memory
- services: Prevent potential use-of-NULL
- crm_resource: Memory leak in error paths
- crmd: Mistake of the set of the variable.
- Upstream version cs: d0139e9a00c32b9bc1d7d206d6210126045b49be

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=178
2015-01-09 12:50:35 +00:00
Dominique Leuenberger
f22e8aead1 Accepting request 266295 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/266295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=81
2014-12-25 22:21:35 +00:00
Yan Gao
df0af128e3 - crm_mon: Repair notification delivery when the v2 patch format is in use (bsc#909286)
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=176
2014-12-17 11:04:24 +00:00
Dominique Leuenberger
91e2bf69df Accepting request 262602 from network:ha-clustering:Factory
- crm_node: Correctly remove nodes from the CIB by nodeid
- fencing: Allow nodes to be purged from the member cache
- xml: cl#5231 - Unset the deleted attributes in the resulting diffs (bsc#905641)
- fencing: stonith -l option for custom log
- cib: Avoid nodeid conflicts we don't care about
- Membership: Detect and resolve nodes that change their ID
- attrd: Simplify how node deletions happen
- attrd: Clean out the node cache when requested by the admin
- crm_resource: Allow resource restart operations to be node specific
- crm_resource: Implement --timeout for resource restart operations
- crm_resource: Calculate how long to wait for a restart based on the resource timeouts
- crm_resource: Implement an intelligent restart capability
- crm_failcount: Better error reporting when no resource is specified
- cib: tls sock cleanup for remote cib connections
- Upstream version cs: 7dd90226e10035340d6707d9fd2b04f2e0141194

- pengine: make resource-discovery work with location rules
- services: Conditionally clean up services actions
- Upstream version cs: 5093c095c5f517ab58375b2b69ecfc5516c86b5b

- Drop conditional BuildRequires of system-devel: it was required
  one line lower unconditionally.
- Replace remaining systemd-devel BuildRequires with
  pkgconfig(systemd).

- pengine: exclusive discovery implies rsc is only allowed on exclusive subset of nodes
- dbus: handle dispatch queue when multiple replies need to be processed
- dbus ref count leaks
- dbus: Ensure both the read and write queues get dispatched
- systemd: Ensure failed monitor operations always return

OBS-URL: https://build.opensuse.org/request/show/262602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=80
2014-11-24 10:15:50 +00:00
Yan Gao
88cda57763 - crm_node: Correctly remove nodes from the CIB by nodeid
- fencing: Allow nodes to be purged from the member cache
- xml: cl#5231 - Unset the deleted attributes in the resulting diffs (bsc#905641)
- fencing: stonith -l option for custom log
- cib: Avoid nodeid conflicts we don't care about
- Membership: Detect and resolve nodes that change their ID
- attrd: Simplify how node deletions happen
- attrd: Clean out the node cache when requested by the admin
- crm_resource: Allow resource restart operations to be node specific
- crm_resource: Implement --timeout for resource restart operations
- crm_resource: Calculate how long to wait for a restart based on the resource timeouts
- crm_resource: Implement an intelligent restart capability
- crm_failcount: Better error reporting when no resource is specified
- cib: tls sock cleanup for remote cib connections
- Upstream version cs: 7dd90226e10035340d6707d9fd2b04f2e0141194

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=174
2014-11-21 15:41:23 +00:00
Yan Gao
1c4e80cbd8 - use _rundir macro
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=173
2014-11-14 10:16:16 +00:00
Yan Gao
a6e7ebbcbd - pengine: make resource-discovery work with location rules
- services: Conditionally clean up services actions
- Upstream version cs: 5093c095c5f517ab58375b2b69ecfc5516c86b5b

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=172
2014-11-14 09:45:34 +00:00
Yan Gao
120c1f3f7f Accepting request 261539 from home:dimstar:branches:network:ha-clustering:Factory
- Drop conditional BuildRequires of system-devel: it was required
  one line lower unconditionally.
- Replace remaining systemd-devel BuildRequires with
  pkgconfig(systemd).

OBS-URL: https://build.opensuse.org/request/show/261539
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=171
2014-11-14 09:26:59 +00:00
Yan Gao
5cf884ed27 - pengine: exclusive discovery implies rsc is only allowed on exclusive subset of nodes
- dbus: handle dispatch queue when multiple replies need to be processed
- dbus ref count leaks
- dbus: Ensure both the read and write queues get dispatched
- systemd: Ensure failed monitor operations always return
- Perform systemd reloads asynchronously
- Upstream version cs: cd7c9abbcfc620aa84194ee07aade142240db15a

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=170
2014-11-10 11:40:32 +00:00
Stephan Kulow
4444ab6932 Accepting request 259663 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/259663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=79
2014-11-07 08:05:53 +00:00
Yan Gao
3b54dc51be - watchdog: Allow startup without sbd
- service: Prevent potential use-of-NULL in metadata lookups
- dbus: Fail gracefully if malloc fails
- crmd: Prevent use-of-NULL during reprobe
- crmd: Correctly obtain SBD_WATCHDOG_TIMEOUT from the environment
- pengine: add #kind=remote for baremetal remote-nodes
- Officially support the resource-discovery attribute for location constraints
- xml: fix xml.c memleak in "missing upgrade XSLT" case
- Prefer to inherit the  watchdog timeout from SBD
- stonith-ng: Correctly observe the watchdog completion timeout
- sbd: Attempt to locate sbd via its pid file
- Fencing: If configured, wait stonith-watchdog-timer seconds for self-fencing to complete
- Resolve some potential issues spotted by clang and coverity
- PE: Watchdog integration is sufficient for fencing
- Fencing: Correctly wait for self-fencing to occur when the watchdog is in use
- Fencing: Ensure the hostlist parameter is set for watchdog agents
- crm_resource: Allow -M location to be reinforced with -f even if rsc is already on node
- mcp: Turn on sbd integration if pacemakerd finds it running
- pengine: Fix the behaviors of multi-state resources with asymmetrical ordering (bsc#899403)
- lrmd: Prevent glib assert triggered by timers being removed from mainloop more than once
- cib: Improved tracing of callbacks
- Upstream version cs: a9c81774b89f21f990be255f9862446d1a38afee
- Fencing: Allow the cluster to recover resources if the watchdog is in use
- crmd: If configured, trigger the watchdog immediately if we loose quorum and no-quorum-policy=suicide
- crmd: Ensure a watchdog device is in use if stonith-watchdog-timeout is configured
- Fencing: Advertise the watchdog device for fencing operations

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=168
2014-10-28 14:37:01 +00:00
Stephan Kulow
cf33a157e1 Accepting request 257778 from network:ha-clustering:Factory
- remote: advertise default port correctly, further adjust default timeout periods
- remote: report timestamps for remote connection resource operations
- pengine: allow remote-nodes to be placed in maintenance mode
- xml: Prevent assert errors in crm_element_value() on applying a patch without version information (bsc#900296)
- pengine: prevent disabling rsc discovery per node in certain situations
- crm_resource: avoid deletion of lrm cache on node with resource discovery disabled.
- pengine: per-node control over resource discovery
- mainloop: fix potential segfault for fd = 0
- ping: Correct metadata for attempts parameter (bsc#899324)
- ping: Pass extra options to fping (bsc#899324)
- ping: Remove incorrectly advertised migrate_to|migrate_from (bsc#899324)
- ping: Add use_fping parameter (bsc#899324)
- ping: Correctly advertise multiplier default (bsc#899324)
- pengine: resource discovery mode for location constraints
- cib: Ensure upgrade operations from a non-DC get an acknowledgement
- lrmd: cancel pending async connection during disconnect
- systemd: Ensure we don't call dbus_message_unref() with NULL
- systemd: Perform monitor operations without blocking
- dbus: Notice when dbus connections get disabled
- pengine: allow baremetal remote-nodes to recover without requiring fencing when cluster-node fails
- crmd: do not remove connection resources during re-probe
- pengine: only fence baremetal remote when connection can fails or can not be recovered
- ipc: properly allocate server enforced buffer size on client
- remote: advertise more reasonable timeout periods for remote-nodes connections
- crmd: properly update job limit for baremetal remote-nodes
- crmd: Remote-node throttle jobs count towards cluster-node hosting conneciton rsc
- crmd: Ensure throttle_mode() does something on Linux
- systemd: Perform actions asynchronously
- crm_attribute: Correctly update config options when -o crm_config is specified
- crmd: Fixes crash when remote connection migration fails

OBS-URL: https://build.opensuse.org/request/show/257778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=78
2014-10-25 06:32:38 +00:00
Yan Gao
b2b31ab911 - Rebase bug-806256_pacemaker-log-level-notice.patch
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=166
2014-10-20 14:38:48 +00:00
Yan Gao
2753efdd99 - Bug cl#5219 - PE: Allow unrelated resources with a common colocation target to remain promoted (bnc#899175)
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=165
2014-10-17 15:43:18 +00:00
Yan Gao
6e3bbfd704 - remote: advertise default port correctly, further adjust default timeout periods
- remote: report timestamps for remote connection resource operations
- pengine: allow remote-nodes to be placed in maintenance mode
- xml: Prevent assert errors in crm_element_value() on applying a patch without version information (bsc#900296)
- pengine: prevent disabling rsc discovery per node in certain situations
- crm_resource: avoid deletion of lrm cache on node with resource discovery disabled.
- pengine: per-node control over resource discovery
- mainloop: fix potential segfault for fd = 0
- ping: Correct metadata for attempts parameter (bsc#899324)
- ping: Pass extra options to fping (bsc#899324)
- ping: Remove incorrectly advertised migrate_to|migrate_from (bsc#899324)
- ping: Add use_fping parameter (bsc#899324)
- ping: Correctly advertise multiplier default (bsc#899324)
- pengine: resource discovery mode for location constraints
- cib: Ensure upgrade operations from a non-DC get an acknowledgement
- lrmd: cancel pending async connection during disconnect
- systemd: Ensure we don't call dbus_message_unref() with NULL
- systemd: Perform monitor operations without blocking
- dbus: Notice when dbus connections get disabled
- pengine: allow baremetal remote-nodes to recover without requiring fencing when cluster-node fails
- crmd: do not remove connection resources during re-probe
- pengine: only fence baremetal remote when connection can fails or can not be recovered
- ipc: properly allocate server enforced buffer size on client
- remote: advertise more reasonable timeout periods for remote-nodes connections
- crmd: properly update job limit for baremetal remote-nodes
- crmd: Remote-node throttle jobs count towards cluster-node hosting conneciton rsc
- crmd: Ensure throttle_mode() does something on Linux
- systemd: Perform actions asynchronously
- crm_attribute: Correctly update config options when -o crm_config is specified
- crmd: Fixes crash when remote connection migration fails

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=164
2014-10-17 13:03:04 +00:00
Stephan Kulow
0a176db8fc Accepting request 248830 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/248830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=77
2014-09-15 15:40:39 +00:00
Yan Gao
1121ca4657 - cluster: Invoke crm_remove_conflicting_peer() only when the new node's uname is being assigned in the node cache (bnc#870771)
- mcp: set environment variable which the cluster-glue module needs
- services: Refector services os execute function
- Upstream version cs: 266d5c2484716111616bcd0f32d9b94bc49baa77

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=162
2014-09-05 07:37:24 +00:00
Stephan Kulow
0574628ec6 Accepting request 246201 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/246201
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=76
2014-08-30 14:03:40 +00:00
Yan Gao
29b8fc441b - logging: correctly initialized default log file (bnc#883567)
- Upstream version cs: 362f181a387e0a0a9f04e0da84d6c5906d71dd20
- services: Remove cancelled recurring ops from internal lists as early as possible (bnc#888586)
- services: Remove file descriptors from mainloop as soon as we have drained them (bnc#888586)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=160
2014-08-27 11:31:22 +00:00
Yan Gao
969abc3b95 - crm_resource: Print a clear message if the attribute is not found for the resource (bnc#890400)
- lrmd: fix rescheduling of systemd monitor op during start
- services: restore SIGPIPE default behavior for child processes
- lrmd: prevent \n from being printed in exit reason output
- lrmd: pass exit reason prefix to ocf scripts as env variable
- Upstream version cs: dad4cebccdb5a4bcdb8fb94e676f6df006ac0846

- crm_diff: Support generating a difference without versions details if --no-version/-u is supplied (bnc#888726)
- crmd: When container's host is fenced, cancel in-flight operations
- crm_mon: add exit reason to resource failure output
- lrmd: store failed operation exit reason in cib
- Upstream version cs: 1040002ecc1a0dfec9f0561f79936cbe64d716db

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=159
2014-08-18 08:57:27 +00:00
Stephan Kulow
fb6a05d2a6 Accepting request 243558 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/243558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=74
2014-08-06 09:42:07 +00:00
Yan Gao
164af43138 - Bug rhbz#1067544 - Tools: Correctly handle --ban, --move and --locate for master/slave groups
- lrmd: Log with the correct personality
- mainloop: implement gio_poll_dispatch_mod
- Upstream version cs: 483f48a1921241f1f5976a100a171785dc327192

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=157
2014-07-28 06:24:15 +00:00
Stephan Kulow
0407941a88 Accepting request 241813 from network:ha-clustering:Factory
- Update to version 1.1.12
- Log: Turn off the default log file if a real one is specified
- Log: Do not unconditionally send crm_perror output to stderr
- Log: allows the user to specify a log level that is output to syslog
- Upstream version cs: 561c4cfda1b09b31b60fd5f73644ee05348f41fb (1.1.12)

- logrotate: maxsize is not supported by older versions (bnc#883567)
- Tools: Non-daemons shouldn't abort just because xml parsing failed
- Log: Default to emitting CRIT messages only until logging is fully configured
- Logging: Bootstrap daemon logging before processing arguments but configure it afterwards (bnc#883567)
- dbus: Return 'null' if we cannot connect via dbus
- Upstream version cs: 026944ebfad7c4b2da5a6864a9d763bf37e0e088

- systemd: Ensure the retry logic is also exercised for the 'service' class
- crm_simulate: Remove resource states and transient attributes when a node is marked as down
- crm_verify: Perform a full set of calculations whenever the status section is present (bnc#886479)
- PE: Correctly warn when resources require fencing but fencing is disabled (bnc#886479)
- PE: Always use pe_fence_node to mark nodes as unclean
- lrmd: Handle systemd reporting 'done' before a resource is actually stopped
- Upstream version cs: c468fa06483152c29529f81aa0b5ccf37da8b2af

OBS-URL: https://build.opensuse.org/request/show/241813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=73
2014-07-24 04:58:32 +00:00
Yan Gao
395ed573ab Remove "BuildRequires: byacc"
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=155
2014-07-22 06:50:08 +00:00
Yan Gao
dd952c3194 - Upstream version cs: 561c4cfda1b09b31b60fd5f73644ee05348f41fb (1.1.12)
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=154
2014-07-22 05:13:13 +00:00
Yan Gao
175b155e86 - Update to version 1.1.12
- Log: Turn off the default log file if a real one is specified
- Log: Do not unconditionally send crm_perror output to stderr
- Log: allows the user to specify a log level that is output to syslog
- Upstream version cs: 93a037d25fcd2edfebe7c59ff15378f2055d2c61 (1.1.12)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=153
2014-07-21 11:10:10 +00:00
Yan Gao
264e9eb7f0 - logrotate: maxsize is not supported by older versions (bnc#883567)
- Tools: Non-daemons shouldn't abort just because xml parsing failed
- Log: Default to emitting CRIT messages only until logging is fully configured
- Logging: Bootstrap daemon logging before processing arguments but configure it afterwards (bnc#883567)
- dbus: Return 'null' if we cannot connect via dbus
- Upstream version cs: 026944ebfad7c4b2da5a6864a9d763bf37e0e088

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=152
2014-07-17 06:21:41 +00:00
Stephan Kulow
0b2bf05e93 Accepting request 240143 from network:ha-clustering:Factory
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/240143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=72
2014-07-13 12:06:02 +00:00
Yan Gao
bce0e87129 - systemd: Ensure the retry logic is also exercised for the 'service' class
- crm_simulate: Remove resource states and transient attributes when a node is marked as down
- crm_verify: Perform a full set of calculations whenever the status section is present (bnc#886479)
- PE: Correctly warn when resources require fencing but fencing is disabled (bnc#886479)
- PE: Always use pe_fence_node to mark nodes as unclean
- lrmd: Handle systemd reporting 'done' before a resource is actually stopped
- Upstream version cs: c468fa06483152c29529f81aa0b5ccf37da8b2af

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=150
2014-07-10 10:06:42 +00:00
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