Commit Graph

57 Commits

Author SHA256 Message Date
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
a999327734 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=51 2013-08-08 16:46:15 +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
d8a1fef40e Accepting request 184918 from home:yan_gao:branches:network:ha-clustering:Factory
- Define with_stonithd to support legacy fencing agents
- Disable libpacemaker3-cluster package

OBS-URL: https://build.opensuse.org/request/show/184918
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=49
2013-07-30 06:11:07 +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
Yan Gao
ea77811709 Remove fix-glib_h-include.patch
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=39
2012-06-23 05:35:51 +00:00
Yan Gao
83c5c33d98 - Core: Revert to the original process flags for the support of
rolling-upgrade
- PE: Bug cl#5059 - Use the correct action's status when calculating
  required actions for interleaved clones
- Upstream version cs: 61a079313275f3e9d0e85671f62c721d32ce3563

- corosync: Determine node state for plugin based cluster types
- tools: crm_node - Test stack membership only when displaying
  partition members
- Overhaul the way peers are determined to be sufficiently active
- PE: Observe the promotion score of probed resources
- crmd: Detect when peers have an incorrectly set process list
- corosync: Detect when the first corosync has not yet formed and
  handle it gracefully
- Corosync: Move deprecated corosync variants to their own file
- Upstream version cs: 4c8b599e6d79499f28f8178988d65fd33e0d9b24

- Update to version 1.1.7
- crmd: cl#5057 - Restart sub-systems correctly (bnc#755671)
- corosync: Fix compilation when libqb is not available
- pengine: cl#5058 - Fixes issue with on-fail option on operation
  being ignored.
- tools: rhbz#754216 - Make crm_mon --as-xml option default to
  --one-shot mode
- cts: cl#5047 - Suppress cts badnews output related to fencing
  when fencing is expected.
- crmd: cl#5053 - Fixes fail-count not being updated properly.
- crmd: cl#5051 - Fixes file leak in pe ipc connection initialization.
- Tools: crm_simulate - Correctly detect status sections with
  duplicate node_state entries

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=38
2012-06-23 05:04:51 +00:00
Tim Serong
51f801ad74 Accepting request 121643 from home:badshah400:branches:network:ha-clustering:Factory
Fix unresolvable build status for Factory by requiring libgnutls instead of gnutls

OBS-URL: https://build.opensuse.org/request/show/121643
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=36
2012-05-22 02:51:49 +00:00
Tim Serong
1589a3e7c3 - Add provides to identify support level for tickets (bnc#752241)
- Resolve coverity RESOURCE_LEAK, REVERSE_INULL and UNREACHABLE defects 

- Tools: crm_simulate - Support to grant/revoke/standby/activate
  tickets from the new ticket state section (bnc#752241)

- Tools: Add crm_ticket to be profiled by valgrind
- Tools: crm_ticket - Display the tickets that are referenced in
  rsc_ticket constraints but have never been granted yet (bnc#752241)
- Tools: crm_mon - Support to display tickets (bnc#752242)

- PE: Move the ticket state section to
  "/cib/status/tickets/ticket_state" (bnc#752241)
- PE: Support to make tickets standby for relinquishing tickets
  gracefully (bnc#752241)
- Tools: Implement a new crm_ticket (bnc#752241)
- Tools: Update CLI regression tests for the new crm_ticket
- Tools: Add CLI regression tests for ticket standby state
- PE: Update regression tests for the new ticket state section
- PE: Support to make tickets standby for relinquishing tickets
  gracefully (regression tests)

- Tools: crm_ticket - Granting/revoking tickets need user to confirm
  unless "--force" option is used (bnc#752269)

- Tools: Implement the support of granting/revoking tickets for
  crm_simulate (bnc#752241)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=34
2012-04-23 11:15:16 +00:00
Tim Serong
ed572b5913 Bump release number
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=32
2012-02-14 03:25:58 +00:00
Tim Serong
527a76dc73 - Core: Move several new fields since v1.1.6 to the end of the data
types for ABI compliance 
- stonith: Default to 20s timeout for start and monitor operations of
  stonith resources which is same as "default-action-timeout" (bnc#733337)
- Tools: ptest - Fix "-X, --xml-text" option to handle a XML string as its
  argument (bnc#736212)
- cib: Fix segfault caused by destroying an already freed hash table (cl#5023)
- stonith: Expose IDs of stonith resources to stonith agents through
  "$CRM_meta_st_device_id" environment variable (bnc#728579)

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=31
2012-02-14 03:25:00 +00:00
Tim Serong
e72f4c3581 - Only include glib.h in plugin.h (don't directly use glib/ghash.h)
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=28
2012-01-09 08:27:17 +00:00
Tim Serong
c7ec3813f2 Make crmsh a Recommends, not a Requires
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=25
2011-12-16 06:29:31 +00:00
Tim Serong
1d92dc70ad - RA: add NodeUtilization
- stonith-ng: export stonith resource name to stonith agents
- crmd: Send out all of the meta parameters to lrmd for stop action
- RA: Fix the metadata of HealthSMART and SysInfo RAs
- stonith: Longer default timeout/interval of operations for stonith
  resources
- Doc: many proof-reading improvements
- stonith: Fix the stonith timeout issue (cl#5009, bnc#727498)
- update the license information in pacemaker.spec (bnc#726795)
- xml: Add rsc_ticket support into "pacemaker-1.2" schema
- xml: Add resource template support into "pacemaker-1.2" schema 
- tools: Avoid problems caused by differences between node name and
  uname -n
- PE: Resolve memory leak when retrieving failure counts
- Stonith: Implement a manual override for when nodes are known to be
  safely off
- PE: Implement limit number of concurrent live migrations (FATE#310118)
- PE: Implement referencing templates in constraints
- PE: Move master based on failure of colocated group
- Fencing: Support admin configurable timeouts for API operations
- Fencing: Support checking in-progress operations for all nodes
- don't package crm shell code
- add Requires: crmsh
- Build man pages and html versions (bnc#723680)
- Shell: template support
- Upstream version cs: b988976485d15cb702c9307df55512d323831a5e

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=24
2011-12-16 04:55:14 +00:00
OBS User buildservice-autocommit
ae7fb67b9e Updating link to change in openSUSE:Factory/pacemaker revision 42.0
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=e09483d48fe44c1c1ab1bf84e42860dd
2011-12-06 17:35:23 +00:00
Stephan Kulow
dd274ba7cd Accepting request 92662 from home:coolo:removelibtool
- add libtool as buildrequire to avoid implicit dependency

OBS-URL: https://build.opensuse.org/request/show/92662
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=22
2011-11-24 12:52:56 +00:00
Tim Serong
2fbed65e25 Add python-pssh to Recommends
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=19
2011-09-20 14:41:35 +00:00
Tim Serong
0440703030 - Upgrade to 1.1.6.
- PE: Demote from Master does not clear previous errors
- crmd: Prevent secondary DC fencing resulting from CIB updates
  that are lost due to elections
- crmd: Log duplicate DC detection as a WARNING not ERROR
- crmd: Bug lf#2632 - Correctly handle nodes that return faster
  than stonith
- Core: Treat GNUTLS_E_UNEXPECTED_PACKET_LENGTH as normal
  termination of a TLS session
- cib: Call gnutls_bye() and shutdown() when disconnecting from
  remote TLS connections
- cib: Remove disconnected remote connections from mainloop
- cib: Attempt a graceful sign-off for remote TLS connections
- Core: Ensure there is sufficient space for EOS when building
  short-form option strings (prevents segfault)
- Core: Fix variable expansion in pkg-config files
- PE: Resolve memory leak reported by valgrind
- PE: Fix memory leak for re-allocated resources reported by
  valgrind
- PE: Improve the merging with template's operations
- crmd: Allow nodes to fence themselves if they're the last one
  standing (lf#2584)
- stonith: Add an API call for listing installed agents
- stonith: Allow the fencing history to be queried
- stonith: Ensure completed operations are recorded as such in
  the history
- stonith: Support --quiet to display just the seconds since
  epoch at which a node was last shot
- stonith: Serialize actions for a given device
- stonith: Add missing entries to stonith_error2string() (missing

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=18
2011-09-20 14:36:23 +00:00
OBS User buildservice-autocommit
9b36f38b04 Updating link to change in openSUSE:Factory/pacemaker revision 38.0
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=26b462b6c130287a2a4e1350b3cf3a32
2011-08-07 16:51:32 +00:00
Tim Serong
80e26eaa3e - Fix rpmlint non-ghost-in-var-run check (bnc#710272)
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=16
2011-08-05 06:12:59 +00:00
Tim Serong
5f1e9073fd - PE: Consolidate logging for resources active on multiple nodes
- PE: More accurate logging of restarts and recovery for master/slave
  resources
- PE: target-role alone is not sufficient to promote resources (lf#2544)
- ais: Ensure that process death is communicated to peer nodes (lf#2550)
- PE: Certain stop operations require STONITH, could overload the
  batch-limit otherwise (lf#2551, bnc#669229)
- Shell: Do not print XML for permission denied errors
- ACL: Support access control on "cleanup"
- crmd: Cancel recurring operations while we're still connected to the
  lrmd
- crmd: Suppress an ERROR by teaching fsa_action2string() about complex
  actions
- crmd: ACL: Prohibit non-privileged users to "fail" resources
- Core: Do not store last-run for recurring operations, since it is
  misleading
- Doc: Add ACL documentation
- Upstream version cs: ecb6baaf7fc0

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=14
2011-02-09 12:11:14 +00:00
Tim Serong
e1af2ec428 - Upgrade from 1.1.2.1 to 1.1.5.
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=13
2011-02-08 14:00:12 +00:00
OBS User buildservice-autocommit
0883203356 Updating link to change in openSUSE:Factory/pacemaker revision 33.0
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=29849749714041353dc30568ba6de170
2010-12-02 15:19:58 +00:00
9510c025d7 Autobuild autoformatter for 54302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=33
2010-12-02 15:19:58 +00:00
3465ba6902 Accepting request 54302 from network:ha-clustering:Factory
Accepted submit request 54302 from user colyli

OBS-URL: https://build.opensuse.org/request/show/54302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=32
2010-12-02 15:19:50 +00:00
OBS User autobuild
6ecd79cfbd Accepting request 42255 from network:ha-clustering:Factory
Copy from network:ha-clustering:Factory/pacemaker based on submit request 42255 from user tserong

OBS-URL: https://build.opensuse.org/request/show/42255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=29
2010-06-30 08:46:24 +00:00
OBS User autobuild
a1ae512128 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=28 2010-03-18 15:14:24 +00:00
OBS User unknown
2d5adadb4a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=26 2009-07-30 14:57:10 +00:00
OBS User unknown
5032bea0e5 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=25 2009-07-13 15:15:36 +00:00
OBS User unknown
8eb7c4103a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=24 2009-03-17 16:14:04 +00:00
OBS User unknown
3f19129bd2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=23 2009-03-11 17:49:10 +00:00
OBS User unknown
2da5384beb OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=22 2009-02-26 11:46:17 +00:00
OBS User unknown
ee846e5c2f OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=21 2009-02-09 09:42:25 +00:00
OBS User unknown
d4d44153d7 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=20 2009-01-27 01:24:16 +00:00
OBS User unknown
64e38893db OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=19 2008-12-03 15:31:54 +00:00
OBS User unknown
7d304a7486 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=18 2008-11-23 08:23:05 +00:00
OBS User unknown
ab1c63cc70 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=17 2008-11-21 14:45:52 +00:00
OBS User unknown
74849134d1 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=16 2008-11-20 15:06:34 +00:00
OBS User unknown
80c6275e4e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=15 2008-11-08 19:13:49 +00:00
OBS User unknown
b2ee9ff08a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=14 2008-11-07 14:37:46 +00:00
OBS User unknown
974a01da71 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=13 2008-10-27 16:05:14 +00:00
OBS User unknown
516570be85 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=12 2008-10-14 16:14:05 +00:00
OBS User unknown
9091d67c4d OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=11 2008-10-13 14:48:58 +00:00
OBS User unknown
0afd8754eb OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=10 2008-10-11 22:26:49 +00:00
OBS User unknown
0c5532c1f9 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=9 2008-09-29 16:12:27 +00:00
OBS User unknown
d174672082 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pacemaker?expand=0&rev=8 2008-09-24 15:18:10 +00:00