Commit Graph

89 Commits

Author SHA256 Message Date
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
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
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
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
Yan Gao
0e7b607acb - crmd: Change the default value of node-action-limit
- crm_ticket: Support multiple modifications for a ticket in an atomic operation (bnc#855099)
- Upstream version cs: 3e8930190b8b53565ef4ca3fa00006c41511be9f

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=93
2014-01-11 11:40:34 +00:00
Yan Gao
91a226db77 - ipc: fix memory leak for failed ipc client connections. (bnc#857779)
- pacemakerd: Fixed a problem that only pacemakerd did not inherit the logfacility of corosync.conf.
- pengine: Fixes memory leak in regex pattern matching code for constraints.
- crm_attribute: Do not swallow hostname lookup failures
- crmd: Avoid deleting the 'shutdown' attribute
- Upstream version cs: ad10acb1c4d668befd7ea1d39312356223d86615
- cpg: Correctly free sent messages (bnc#853675, bnc#856018)
- cluster: Correctly construct the header for compressed messages (bnc#851951, bnc#856018)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=92
2014-01-09 18:42:11 +00:00
Yan Gao
8806208b4d - cts: Install cib_xml.py (bnc#854926)
- report: Add support for xz compressed logs (bnc#854060)
- attrd: Memory leak
- crm_mon: Fix overflow on SMTP subject line
- Upstream version cs: 65bb87eadcf6dfd9b5cd6030ec318579fd4fe7c8

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=90
2013-12-11 19:30:37 +00:00
Yan Gao
39a9b6624f - Fix: Removes unnecessary newlines in crm_resource -O output (bnc#853651)
- Upstream version cs: 93a37bf6ea4dcaea8fe7462442ee01019ec167c5

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=88
2013-12-05 12:13:50 +00:00
Yan Gao
f30b407a3e - crmd: Memory leak
- Upstream version cs: ce5d77c6038a0a0294d4cae238169c458ba03b72

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=86
2013-11-28 14:03:03 +00:00
Yan Gao
6ab49f3e65 Add the corresponding bug numbers in the changelog:
- crmd: Improve throttling response on clusters of single core machines (bnc#838358)
- crmd: Correctly observe the configured batch-limit (bnc#838358)
- crmd: Prevent over-polling of throttle inputs (bnc#838358)
- crmd: Enable cluster-wide throttling when the cib heavily exceeds its target load (bnc#838358)
- crmd: Send the first throttle update (bnc#838358)
- crmd: A more reliable method of looking up migration options (bnc#838358)
- crmd: Allow non-CIB based throttling to be disabled (bnc#838358)
- crmd: Honor load thresholds lower than the cib maximum (bnc#838358)
- crmd: Tell the DC our job limit instead of the number of cores (bnc#838358)
- crmd: Track the CIB's CPU usage (bnc#838358)
- crmd: Fold the enforcement of migration-limit into the throttling code (bnc#838358)
- crmd: Don't start throttling until we're over the target threshold (bnc#838358)
- crmd: Do not send throttle updates to versions that don't support them (bnc#838358)
- crmd: Tweak the throttling threshold multipliers (bnc#838358)
- crmd: Simplify option processing for throttling options (bnc#838358)
- crmd: Simplify the logic for calculating the number of available cores (bnc#838358)
- crmd: Make the per-node action limit directly configurable in the CIB (bnc#838358)
- crmd: Slow down recovery on nodes with IO load (bnc#838358)
- crmd: Make the utilization limit configurable (bnc#838358)
- crmd: Use the load on our peers to know how many jobs to send them (bnc#838358)
- crmd: Notify peers of our relative load (bnc#838358)
- crmd: Track CPU usage on cluster nodes (bnc#838358)

- crm_resource: Avoid whitespace in transition keys when cleaning up and failing resources (bnc#851308)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=85
2013-11-26 15:08:46 +00:00
Yan Gao
485bf99876 - pengine: Recover unexpectedly running container nodes.
- pengine: Disable container node probes due to constraint conflicts
- ipc: Have the ipc server enforce a minimum buffer size all clients must use.
- Bug cl#5181 - corosync: Ensure node IDs are written to the CIB as unsigned integers
- Upstream version cs: f57ad6c17624c0cbfc58c46f0bad7e28453506bb

Add a corresponding bug number:
- cluster: Correctly construct the header for compressed messages (bnc#851951)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=84
2013-11-25 16:37:48 +00:00
Yan Gao
5c951f9dac - Update pacemaker-colocated-utilization.patch
* pengine: Do not check the allocation of resources during a colocation preview (bnc#849595)

- election: Correctly hook up the timeout callback
- crmd: Improve throttling response on clusters of single core machines
- fencing: Wait until all possible replies are recieved before continuing with unverified devices
- Bug cl#5179 - Corosync: Attempt to retrieve a peer's node name if it is not already known
- Core: Allow blackbox logging to be disabled with SIGUSR2
- PE: Correctly handle demotion of grouped masters that are partially demoted
- crmd: When the DC gracefully shuts down, record the new expected state into the cib
- crmd: When a peer expectedly shuts down, record the new join and expected states into the cib
- attrd: Memory leak
- attrd: Do something sane when older non-atomic versions send us messages
- crmd: Correctly observe the configured batch-limit
- attrd: Improve compatibility with older attrd versions
- controld: Use the correct variant of dlm_controld for corosync-2 clusters
- lrmd: Correctly calculate metadata for the 'service' class
- crmd: Prevent over-polling of throttle inputs
- crmd: Enable cluster-wide throttling when the cib heavily exceeds its target load
- Upstream version cs: 5a69be5ff56ec7fa66bcf9c2069af6211e4ebc98

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=83
2013-11-19 16:46:16 +00:00
Yan Gao
7dec2b9cec Accepting request 206929 from home:yan_gao:branches:network:ha-clustering:Factory
- crmd: Send the first throttle update
- Upstream version cs: 2383f6c469bfb31da9efa8e4dd626de049e808c6

OBS-URL: https://build.opensuse.org/request/show/206929
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=78
2013-11-14 17:26:13 +00:00
Yan Gao
bf78bd2b9d - Rebase:
* bug-806256_pacemaker-log-level-notice.patch
- Drop the obsolete patch:
  * bug-800323_pacemaker-crm_mon-save-cib.patch
- Probe for baremetal remote-node connection resources.
- remote: Add support for ipv6 into pacemaker_remote daemon
- election/fencing: Fix the casts that would result in incorrect values for big-endian systems (bnc#842915)
- Fencing: Apply correct score to the resource of group
- crm_resource: Wait for the correct number of replies when cleaning up resources (bnc#842204)
- cpg: Only process one message at a time to allow other priority jobs to be performed
- remote: Handle endian changes between client and server and improve forward compatibility
- crmd: A more reliable method of looking up migration options
- crmd: Allow non-CIB based throttling to be disabled
- crmd: Honor load thresholds lower than the cib maximum
- crmd: Tell the DC our job limit instead of the number of cores
- crmd: Track the CIB's CPU usage
- crmd: Fold the enforcement of migration-limit into the throttling code
- crmd: Don't start throttling until we're over the target threshold
- crmd: Do not send throttle updates to versions that don't support them
- ipc: Use the higher of the configured buffer size or the default
- crmd: Tweak the throttling threshold multipliers
- crmd: Simplify option processing for throttling options
- crmd: Simplify the logic for calculating the number of available cores
- crmd: Make the per-node action limit directly configurable in the CIB
- crmd: Tweak the throttling code based on migration-limit and/or LRMD_MAX_CHILDREN (bnc#838358)
- crmd: Slow down recovery on nodes with IO load
- crmd: Make the utilization limit configurable
- crmd: Use the load on our peers to know how many jobs to send them
- crmd: Notify peers of our relative load
- remote: Properly version the remote connection protocol

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=74
2013-11-10 01:38:35 +00:00
Yan Gao
3c61e379dc Add a bug number:
- Disable -Wcast-align on problematic files (bnc#845525)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=72
2013-10-25 14:21:25 +00:00
Yan Gao
ffa8d41ef3 Accepting request 204334 from home:Andreas_Schwab:Factory
- Disable -Wcast-align on problematic files

OBS-URL: https://build.opensuse.org/request/show/204334
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=70
2013-10-24 03:49:47 +00:00
Yan Gao
1cdccc0e11 - iso8601: Prevent dates from jumping backwards a day in some timezones
- crm_master: Avoid sending redundant "--node" options to crm_attribute (bnc#846360)
- ipc: Client buffer size must never fall below our max read size
- ipc: Ensure buffer environment variable is read before setting max buffer len
- fencing: Deep copy current topology level list on remote op
- Upstream version cs: afdce1faecf82c778ed81eb5eb9b7518d36a1160

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=69
2013-10-22 10:55:06 +00:00
Yan Gao
3fa40994ca - crm_resource: Wait for a reply for each request to crmd (bnc#842204)
- Upstream version cs: 7afb87c8caa96d3c1ed9a353ae6061023a729fd4

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=68
2013-10-17 06:50:55 +00:00
Yan Gao
afaf028721 - Cluster: On cluster signoff, make sure that the g_source gets disconnected.
- crmd: Using PCMK_ipc_buffer variable for remote-node proxy
- plugin: Reset the scheduling policy of daemons to SCHED_OTHER with nice value -10 (bnc#843647)
- ipc: Compress msgs based on client's actual max send size
- pengine: Do not probe for connection resources
- Upstream version cs: 490e695539630cfc158c5967a99237659fac5f30

Add the bug numbers for those that have been fixed:
- crmd: Everyone who gets a fencing notification should mark the node as down (bnc#842915)
- crmd: Initiate node shutdown if another node claims to have successfully fenced us (bnc#842915)
- Fencing: Restore the ability to manually confirm that fencing completed (bnc#843699)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=67
2013-10-16 04:23:54 +00:00
OBS User buildservice-autocommit
471a9e5eed Accepting request 202757 from network:ha-clustering:Factory
auto commit by copy to link target

OBS-URL: https://build.opensuse.org/request/show/202757
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=66
2013-10-11 09:04:38 +00:00
OBS User buildservice-autocommit
495ca2b3f5 Updating link to change in openSUSE:Factory/pacemaker revision 56.0
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=6fb16d8d807f29773f1ec6704fa6a059
2013-10-11 09:04:37 +00:00
Yan Gao
a49234be4c - fencing: Allow fencing for node after topology entries are deleted
- fencing: Do not broadcast suicide if the on action is being executed
- remote: Option to enable/disable probes on container resource remote-nodes
- lrmd: Correctly cancel monitor actions for lsb/systemd/service resources on cleaning up (bnc#842471)
- services: Fix the executing of synchronous actions
- Upstream version cs: 728ec77851540f9ce64ee1b1269d967841571b25

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=65
2013-10-03 02:01:03 +00:00
Yan Gao
0712d956b5 - PE: Add a special attribute for distinguishing between real nodes and containers in constraint rules
- PE: Allow location constraints to take a regex pattern to match against resource IDs
- Bug rhbz#1011618 - Consistently use 'Slave' as the role for unpromoted master/slave resources
- cibadmin: Report errors during sign-off
- Fencing: Observe pcmk_host_list during automatic unfencing
- services: Prevent use-of-NULL when executing service actions
- crm_resource: Provide a meaningful error if --master is used for primitives and groups
- ipc: Raise the default buffer size to 128k (bnc#838358)
- Upstream version cs: ecd44e642db3b65ee83aceed0e93376894a58c47

- plugin: stonith-ng needs membership updates (bnc#841010)
- controld: allow the stonith-enabled check to be overridden
  (bnc#842186, fate#315195)
- attrd: Avoid infinite write loop for unknown peers
- tools: Detect orphaned remote-nodes when setting attributes
- controld: don't start dlm if stonith-enabled is false (bnc#842186, fate#315195)
- pengine: Probe container nodes
- crmd: Tell attrd when remote-node is disconnected
- attrd: Give remote-nodes ability to set attributes with attrd
- Upstream version cs: c68919f46bbaa96ec4ff2c770f82588280277fe6

- crmd: Expose "expected-quorum-votes" option in the metadata only for plugin-based clusters
- decode_transition_key: Older systems do not support '%ms' in
  sscanf
- cib: Guard against overly long user specified strings
- crm_shadow: Simplify prompt generation and impose a sane limit on
  length
- fencing: Skip empty notifications from the cib
- election: Do not update state when ACKs arrive
- cib: Additional logging for invalid diff updates

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=64
2013-09-30 05:58:05 +00:00
Yan Gao
b861e2573d Document the changes of patches
- Rebase:
  * bug-728579_pacemaker-stonith-dev-id.patch
  * bug-806256_pacemaker-log-level-notice.patch
  * bug-812269_pacemaker-fencing-device-register-messages.patch
- Drop the patches that have been merged upstream:
  * pacemaker-node-maintenance.patch
  * pacemaker-node-maintenance-tests.patch
  * pacemaker-crmd-pending-delete.patch
  * pacemaker-resource.patch
- Drop the obsolete patches:
  * pacemaker-cts-startcmd.patch
  * pacemaker-disable-listing-fence-agents.patch
  * pacemaker-daemon-symlinks.patch 
  * pacemaker-ptest-build.patch
  * pacemaker-lrmd-remote-disabled.patch
  * bug-815447_pacemaker-cib-strip-text-nodes.patch
  * bug-809635_pacemaker-xml-digest.patch
- Drop the obsolete source:
  * heartbeat-doc-1.0.tar.gz

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=62
2013-09-24 14:11:17 +00:00
Yan Gao
c6e3f55cc9 Add missing bug numbers in pacemaker.changes
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=61
2013-09-24 12:51:17 +00:00
Yan Gao
02e3c78f1b - spec: Recommends fence-agents and sbd
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=59
2013-09-17 08:50:51 +00:00
Yan Gao
0df6f39bce - pengine: Properly handle orphaned multistate resources living on remote-nodes
- pengine: Map orphaned container fillers to container resource during shutdown to preserve ordering
- pengine: Do not attempt to probe resources on remote-nodes that are shutting down
- Upstream version cs: d9bb7632492b1f91a300fb43e9ad8a262a8f2928

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=56
2013-09-10 02:40:34 +00:00
Yan Gao
a919eb603a - cib: Prevent potential double free in get_remote_uuid
- pengine: Properly shutdown orphaned remote connection resources
- crmd: Populate remote peer cache when building new cib
- crmd: Clear remote-node status AFTER start completes, not before.
- pengine: Probe resources on baremetal remote-nodes
- crmd: Remote-node fencing glue
- pengine: Allow fencing of baremetal remote nodes
- crmd: Cache baremetal remote-nodes
- tools: Fixes formatting of remote-nodes in crm_mon and crm_simulate
- Upstream version cs: 69dcbaf2c38589820a6f0181806a17bd7da08dd9

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=55
2013-09-09 11:53:45 +00:00
Yan Gao
cf498cfd06 - cib: Support XML comments in diffs (bnc#836965)
- Upstream version cs: 5d0a2239543bd5003444af4a16780ac47fd37079

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=54
2013-09-04 07:15:12 +00:00
Yan Gao
5b62c7030a - crm_mon: add --hide-headers option to hide all headers
- pengine: Order demote/promote of resources on remote nodes to happen only once the connection is up
- tools: clear ncurses screen when crm_mon cannot connect
- crmd: Invalid formatting of log message causes crash
- remote: Properly handle expected late replies when TLS transport is in use.
- cluster: Allow remote-nodes to be cached
- Upstream version cs: a4eb44fd075e8cb8608f5e45522cade45658ff98

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=53
2013-09-02 11:34:26 +00:00
Yan Gao
84133ea00a - Fencing: Support agents that need the host to be unfenced at startup
- cpg: Correctly set the group name length
- pengine: Distinguish between the agent being missing and something the agent needs being missing (bnc#833374)
- crmd: Prevent PCMK_LRM_OP_NOT_INSTALLED for being mapped to PCMK_LRM_OP_ERROR
- Bug cl#5171 - PE: Don't prevent clones from running due to dependant resources
- services: Correctly invoke callbacks for aborted operations
- services: Preserve errno when handling exec failres least it be reset as a side-effect of other calls
- services: Prevent use-of-NULL in g_error_free
- services: Detect missing agents and permission errors before forking
- lrmd: Do not overwrite any existing operation status error
- crmd: Correcty update the history cache when recurring ops change their return code
- PE: Correctly account for the location preferences of things colocated with a group
- crmd: Gracefully handle actions that cannot be initiated
- crm_simulate: Do not complain about CRM_OP_REPROBE actions
- PE: Gracefully handle bad values for XML_ATTR_TRANSITION_MAGIC
- crm_mon: Correctly extract alternate name for pingd attributes
- Fix: Prevent use-of-NULL when ping resources do not define a host list
- Fix: Gracefully handle -ECHILD from waitpid() in crm_abort()
- Fix: Command-line tools should stop after an assertion failure
- systemd: Prevent glib assertion - only call g_error_free() with non-NULL arguments
- Upstream version cs: 4f672bc85eefd33e2fb09b601bb8ec1510645468

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=52
2013-08-21 05:31:10 +00:00
Yan Gao
888f216e00 Accepting request 185885 from home:yan_gao:branches:network:ha-clustering:Factory
- crmd: Don't add node_state to cib, if we have not seen or fenced this node yet
- PE: Do not allow colocation with blocked clone instances
- PE: Do not re-allocate clone instances that are blocked in the Stopped state
- fence_legacy: stonithd now handles killing the process group for us
- Fencing: On timeout, clean up the agent's entire process group
- fencing: Put all fencing agent processes into their own process group
- crmd: Prevent crash by passing log arguments in the correct order
- PE: Do not restart resources that depend on unmanaged resources
- crmd: Prevent recurring monitors being cancelled due to notify operations
- mcp: Fix so that only pacemakerd restarts, at the time of pacemakerd failure
- mcp: Support PCMK_fail_fast to reboot a machine at the time of process (subsystem) failure
- cpg: Ensure the CPG group is always null-terminated
- Upstream version cs: ac7aa1c94f317fc1d4024fbc09b012bc9f1b229e

OBS-URL: https://build.opensuse.org/request/show/185885
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=50
2013-08-05 06:38:03 +00:00
Yan Gao
059497d365 Accepting request 184818 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 1.1.10
- crm_resource: Allow options to be set recursively
- cib: Correctly read back archived configurations if the primary is corrupted
- mainloop: Hand the channel off to g_io_watch and forget it.
- mainloop: Force removal of ipc fd in dispatch_del callback
- crmd: Clean up handling of pending operations at shutdown and improve logging
- Bug cl#5161 - crmd: Prevent memory leak in operation cache
- cib: Ensure we set up hacluster's groups in stand-alone mode
- Upstream version cs: 368c72641139785ec5981813f311fae8cd1410f3 (1.1.10)

- ping: Ensure OCF_RESKEY_failure_score has a value (bnc#831327)

OBS-URL: https://build.opensuse.org/request/show/184818
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=48
2013-07-29 13:11:47 +00:00
Yan Gao
fe46e06b0e - cpg: Correctly free sent messages
- crm_resource: Present an error if an admin tries to --force-start an already active resource
- cluster: Correctly construct the header for compressed messages
- PE: Re-allow ordering constraints with fencing devices now that it is safe to do so
- cl#5170 - Correctly support on-fail=block for clones
- PE: Do the right thing when admins specify the internal resource instead of the clone
- fencing: Correctly detect existing device entries when registering a new one
- crm_node: Return 0 if --remove passed
- remove the mainloop_trigger that are no longer needed.
- corosync: Ensure removed peers are erased from all caches
- cluster: Detect and warn about node names with capitals
- Upstream version cs: 9abe6876d50ff2879f17b08dfa1500817a7fbeba

- crmd: Prevent messages for remote crmd clients from being relayed to wrong daemons

- lrmd: Prevent use-of-NULL in client library
- Upstream version cs: 9d656180294770e39deced79a134d4cf531b8159

- Bug cl#5168 - Prevent clones from being bounced around the cluster due to location constraints
- Upstream version cs: 90b8afe77ab8a3ff2fd30826187fd7726aab4f04

- crm_mon: Bug cl#5167 - Only print "stopped" node list for incomplete clone sets
- Upstream version cs: d16f4c56b120c5ae761680cfb4d98922a185c6c2

- Fix: memory leak when used score2char()
- Fencing: Avoid hashtable lookups in NULL
- Fencing: Force use of the calculated command for support ops
- Bug cl#5157 - Allow migration in the absence of some colocation constraints
- PE: Detect constraints with inappropriate actions (ie. promote for a clone)
- PE: Do the right thing when admins specify the internal resource instead of the clone

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=47
2013-07-22 10:12:36 +00:00
Tim Serong
62ef318946 1.1.9 + various fixes
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=45
2013-05-21 12:29:04 +00:00
Yan Gao
10fe763ff4 Accepting request 156958 from openSUSE:Factory:Staging:spdx
update license to new format

OBS-URL: https://build.opensuse.org/request/show/156958
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=43
2013-03-01 10:48:53 +00:00
Yan Gao
75dab286b7 Accepting request 129167 from home:a_jaeger:FactoryFix
Include sys/resource.h for getrlimit etc.

OBS-URL: https://build.opensuse.org/request/show/129167
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=41
2012-07-30 02:03:55 +00:00