Commit Graph

233 Commits

Author SHA256 Message Date
Yan Gao
154c80f970 Accepting request 721844 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.2+20190801.122c32115:
- libcib: install cib_types.h
- tools: Use glib for cmdline handling in crm_mon.
- libcrmcommon: Handle no digits in crm_int_helper.
- libcrmcommon: Allow glib cmdline parsing without formatted output.
- extra: calculate #health_disk correctly in SysInfo
- extra: handle run-as-user properly in ClusterMon
- extra: advertise promote and demote in Stateful meta-data
- extra: formally deprecate the ocf:pacemaker:pingd agent
- extra: quote shell variables in agent code where appropriate
- extra: use ":=" where appropriate in agent code

- Update to version 2.0.2+20190725.4b4fea3eb:
- Rebase:
  * bug-977201_pacemaker-controld-self-fencing.patch
- libcrmcommon:  Restore getopt behavior in stonith_admin.
- controller: document the cluster-name cluster property
- controller: allow configurable reaction to local node fencing
- pacemakerd: make daemon exit detection messages more consistent
- executor: stonith probes should fail only if previously registered
- libstonithd: handle API creation errors better
- spec: avoid long-broken (in a pristine tree state) "make all"
- controller: panic local host if notified of own fencing
- controller: clear "required" bit when disconnecting scheduler
- libcrmcommon: Remove -q from global cmdline options.
- tools: Allow HTML output in stonith_admin.
- libstonithd: Add HTML support to fencing messages.
- st_client: Reword stonith_event_text.
- controld: Use XML output to check for pending status.
- pengine: formatted output for html

OBS-URL: https://build.opensuse.org/request/show/721844
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=329
2019-08-08 16:13:22 +00:00
Yan Gao
3fc6e0ce2a Accepting request 700144 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.1+20190430.8e851b084:
- controller: avoid memory leak when duplicate monitor is scheduled
- libcrmcommon: return proper code if testing pid is denied (bsc#1131353, bsc#1131356)

- Update to version 2.0.1+20190424.a365fc58d:
- libcrmcommon: avoid use-of-NULL when checking whether process is active (bsc#1131353, bsc#1131356)
- daemons: make start-up log messages consistent across all daemons
- executor: downgrade disappeared remote client message to notice
- remote: include channel name in IPC proxy failure message
- fencing: clarify device search messages
- libcrmcluster: improve CPG membership messages
- tools: Use formatted output in stonith_admin.
- libstonithd: Add custom formatting to fencing types.
- libcrmcommon: Add formatted output.
- xml: Add a schema for API results.

- Update to version 2.0.1+20190417.13d370ca9:
- controld: fix possible NULL pointer dereference (bsc#1131353, bsc#1131356)
- pacemakerd vs. IPC/procfs confused deputy authenticity issue (CVE-2018-16877, bsc#1131356) (CVE-2018-16878, bsc#1131353)
- libservices: fix use-after-free wrt. alert handling (CVE-2019-3885, bsc#1131357)
- executor: systemd starts should return UNKNOWN_ERROR instead of NOT_RUNNING
- pacemaker-remoted: improve proxy accept failure message
- executor: consider stonith resource stopped only if stop succeeded
- executor: improve stonith operation rc and status mapping
- executor: reschedule recurring stonith monitor if not connected
- executor: put recurring stonith failsafe stop in correct place

OBS-URL: https://build.opensuse.org/request/show/700144
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=328
2019-05-02 12:53:30 +00:00
Yan Gao
ae2abe019b Accepting request 693679 from home:yan_gao:branches:network:ha-clustering:Factory
- Rebase:
  bug-728579_pacemaker-stonith-dev-id.patch
- Revert "use common service interface for fence-agents and RAs" (bsc#1132123)
  * 0002-Revert-use-common-service-interface-for-fence-agents.patch
- Revert "service-lib: avoid call-pattern leading to use-after-free"
  * 0001-Revert-Fix-service-lib-avoid-call-pattern-leading-to.patch

- Update to version 2.0.1+20190408.1b68da8e8:
- scheduler: avoid error log in harmless situation
- libcrmcommon: use INT_MIN/INT_MAX instead of -1 for out-of-range integers
- service-lib: avoid call-pattern leading to use-after-free
- libp-i: Renamed to libpacemaker.

- crmd: delete resource from lrmd when appropriate (bsc#1117381)

OBS-URL: https://build.opensuse.org/request/show/693679
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=326
2019-04-12 09:15:14 +00:00
Yan Gao
5adb82fa5f Accepting request 691609 from home:jengelh:branches:network:ha-clustering:Factory
- Drop %if..%endif guards around %packages which does not
  affect the build result.

OBS-URL: https://build.opensuse.org/request/show/691609
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=324
2019-04-05 09:23:39 +00:00
Yan Gao
68aa3f89d0 Accepting request 691523 from home:yan_gao:branches:network:ha-clustering:Factory
- spec: no need to explicitly require the virtual dependency on libqb

- Rebase:
  * bug-728579_pacemaker-stonith-dev-id.patch
- Update to version 2.0.1+20190402.e091f4f0c:
- scheduler: one group stop shouldn't make another required
- libcrmcommon: compare_version: drop superfluous heap allocation
- libfencing: enumerate installed RHCS-style agents alpha-sorted
- xml diff'ing: prevent 'id' attribute reordering in "diff-removed"
- libcrmcommon: downplay "Creating RNG parser context" as debug prio
- controller: improve failed recurring action messages
- controller: improve lost action logs
- use common service interface for fence-agents and RAs
- libcrmcommon: allow whitespace in name/value pairs
- libcrmcommon: pcmk_nvpair_t should handle NULL values

- Update to version 2.0.1+20190312.059e2e26b:
- spec: move stonith_admin to -cli where it belongs
- tools: Add crm_rule.

- Update to version 2.0.1+20190311.e91ee92e5:
- libfencing: Change return type on stonith_agent_exists.
- scheduler: cl#5301 - respect order constraints when relevant resources are being probed (bsc#1117934, bsc#1128374)

- Update to version 2.0.1+20190304.1ac166cd3:
- build: Update pkgconfig files for libpe.
- libp-i: Add a pkgconfig file for libp-i.
- libs: Rename libpengine to libpacemaker-internal.
- tools: Add new validate options to crm_resource.
- Add HealthIOWait provider which checks hosts's IOWait

OBS-URL: https://build.opensuse.org/request/show/691523
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=323
2019-04-04 13:06:34 +00:00
Yan Gao
fecab2cc19 Accepting request 682488 from home:yan_gao:branches:network:ha-clustering:Factory
revert to Pacemaker-2.0.1

OBS-URL: https://build.opensuse.org/request/show/682488
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=321
2019-03-07 14:28:23 +00:00
Yan Gao
31842683d4 Accepting request 682416 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.1+20190304.1ac166cd3:
- build: Update pkgconfig files for libpe.
- libp-i: Add a pkgconfig file for libp-i.
- libs: Rename libpengine to libpacemaker-internal.
- tools: Add new validate options to crm_resource.
- Add HealthIOWait provider which checks hosts's IOWait
- tools: crm_resource --clear should print out what it does

- Update to version 2.0.1+20190304.9e909a5bd (Pacemaker-2.0.1):
- libcrmcommon: complete interrupted live migrations correctly

- Update to version 2.0.0+20190225.22ee9a769:
- scheduler: skip all native constraints for unmanaged resources
- scheduler: sort nodes when creating constraints

- Update to version 2.0.0+20190130.57cc9c14b:
- CTS: really don't require nodes to be specified if listing tests (bsc#1114840)
- controller: really avoid closing attrd IPC for temporary failures
- controller: clear election dampening when DC is lost

OBS-URL: https://build.opensuse.org/request/show/682416
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=320
2019-03-07 11:17:05 +00:00
Yan Gao
6a20c06ab1 Accepting request 669071 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.0+20190125.788ee2c49:
- attrd: clear election dampening when the writer leaves
- libcrmcluster: *really* write only one election storm black box
- attrd: log previous writer *before* clearing it

- Update to version 2.0.0+20190124.c3c9c6e66:
- scheduler: don't order non-DC shutdowns before DC fencing
- scheduler: improve fence action ordering
- scheduler: don't disable waiting for DC fencing
- libcrmservice: cancel DBus call when cancelling systemd/upstart actions
- libcrmservice: null-terminate string *before* printing it
- libcrmservice: improve logs when cleaning up an operation
- spec: add hint about sbd compatibility

- Update to version 2.0.0+20190122.3f993c74f:
- crm_mon: remove duplicity of fence-action-state in xml-output
- cts: temporarily disable any enabled cluster serivces when running remote tests
- cts: service counts as enabled only if it's explicitly enabled

- Update to version 2.0.0+20190111.750c5bd01:
- cts-exec: still run the tests for the other resource classes even without python systemd bindings (bsc#1121808)

- fenced: Handle fencing requested with nodeid by utilizing the membership cache of known nodes (bsc#1094208, bsc#1107270, bsc#974108)
- controld: able to manually confirm unseen nodes are down (bsc#1094208, bsc#1107270)
- crm_mon: rhbz#1461964 - add fence history features (bsc#968055)

OBS-URL: https://build.opensuse.org/request/show/669071
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=318
2019-01-28 12:45:39 +00:00
Yan Gao
88aa69efe2 Accepting request 664714 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.0+20190111.f07d766f3:
- controller: directly acknowledge unrecordable operation results
- resources: clean serialized file on SIGTERM in Dummy
- libcrmcommon: downgrade empty output logging to trace level

OBS-URL: https://build.opensuse.org/request/show/664714
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=316
2019-01-11 16:13:18 +00:00
Yan Gao
2f113ab216 Accepting request 664694 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.0+20190110.7bbbeb6f6:
- tools: Clear all prefer constraints when performing a move
- tools: Fix moving a resource with a lifetime constraint
- attrd: check for alert changes after CIB is replaced
- attrd: start new election if writer is lost
- attrd: handle shutdown more cleanly
- attrd: don't start a new election when receiving a client update
- attrd: clear lost updates
- attrd: don't delay re-attempted writes unless original failed
- attrd: connect to the CIB before connecting the cluster

- Update to version 2.0.0+20190103.5b36d4e10:
- scheduler: downgrade clone pre-allocation message
- libpe_status: downgrade remote node fence-before-clear message
- libpe_status: improve trace messages when finding actions
- libpe_status: avoid use-after-free when logging at trace level
- libpe_status: avoid double free of stop_needed list
- tools: stonith_admin -I doesn't require an agent
- pacemakerd,libcrmcommon: don't touch kernel.sysrq
- fencing: use next device's name where intended
- tools: Implement crm_resource --expired.
- CTS: ignore monitor failures when testing remote node fencing
- CTS: lower remote connection failure detection time
- attrd: Ignoring delayed updating of attributes when integrating disjointed clusters without stonith.
- pacemakerd: only one active process check needed
- cts: use bash in the pacemaker-cts-dummyd
- cts: clear constraints on cluster nodes (bsc#1121272)
- cts: resume any possibly frozen pacemaker_remoted when cleaning up the test (bsc#1121272)
- cts: simulate failure of pacemaker_remoted by freezing it with SIGSTOP (bsc#1121272)
- scheduler: order resource moves after connection starts

OBS-URL: https://build.opensuse.org/request/show/664694
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=315
2019-01-11 15:19:42 +00:00
Yan Gao
4785439f82 Accepting request 647633 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.0+20181108.62ffcafbc:
- fenced: trigger device-update on resource-defaults changed
- fenced: adhere meta-attributes when triggering device-update

- Update to version 2.0.0+20181105.fb362c0c9:
- scheduler: formally deprecate score in rsc_order
- pacemaker-remote: skip remote_config_check for guest-nodes

- Update to version 2.0.0+20181101.a21fd0099:
- rhbz#1644076 - Ensure the bundle stop/demote notifications are directed to the correct host
- libcrmservice: override removal failure is not a problem
- libcrmcommon,execd: pass remaining timeout to drain function
- tools: log user-specified time correctly in crm_simulate
- libcrmcluster: log microseconds sensibly
- libcrmservice: order systemd resources relative to pacemaker_remote
- scheduler: order guest pseudo-fencing properly after clean-up
- scheduler: avoid unnecessary recovery of cleaned guest nodes
- scheduler: improve bundle address fixing messages
- attrd: record tentative writer only if election not already lost
- attrd: skip election check if peer election op had error
- attrd: disregard lost nodes' election votes
- attrd: improve election messages
- attrd: initialize election before broadcasting protocol
- controller: remove node's vote as soon as it is inactive
- controller: don't register DC input twice
- controller: don't stop election timer for nonexistent election
- controller: improve election messages
- libcrmcluster: don't write more than one election storm black box
- libcrmcluster: only count no-vote if an election is in progress
- libcrmcluster: validate election cluster messages better

OBS-URL: https://build.opensuse.org/request/show/647633
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=313
2018-11-09 16:44:36 +00:00
Yan Gao
f4fa43815b Accepting request 640081 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- fenced: Handle fencing requested with nodeid by utilizing the membership cache of known nodes (bsc#1094208)
  * bsc-1094208-Refactor-fenced-Handle-fencing-requested-with-nodeid.patch
- controld: able to manually confirm unseen nodes are down (bsc#1094208)
  * bsc-1094208-Fix-controld-able-to-manually-confirm-unseen-nodes-a.patch

- Update to version 2.0.0+20180927.b67d8d0de:
- logrotate: set a maximum size for logs
- tools: ensure crm_resource --force-* commands get stderr messages
- libcrmcommon: properly check whether resource supports parameters
- tools: "return" from crm_mon after calling functions that don't
- alerts: send all MIB OIDs with all SNMP alerts
- resource-agents: add "s"-suffix where missing in metadata
- libcommon: do not write to /proc/sys/kernel/sysrq when unneeded
- pacemaker-based: drop declared, errant option never backed in tree
- crm_mon: don't exit directly from cib_connect on error
- scheduler: honor asymmetric orderings even when restarting

OBS-URL: https://build.opensuse.org/request/show/640081
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=311
2018-10-05 13:20:59 +00:00
Yan Gao
1a3ece89e8 Accepting request 635561 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.0+20180911.b7803d27c:
- libcrmcommon: allow configurable bounds for DH prime length
- CIB,executor: improve remote server-side messages
- CIB: give more detail when TLS handshake fails
- libcrmcommon: get DH prime bit length from GnuTLS API
- libcrmcommon: improve TLS session initialization failure handling
- CIB: raise exit escalation timer to 10s
- cts,tools: make static analysis happy
- crm_mon: no sense in having --as-xml in daemon-mode
- attrd: Adding the ignore_delay parameter to reduce the number of scans of the attribute hash table.
- crm_mon: rhbz#1625231 - disable fence-history in file-mode

- Update to version 2.0.0+20180831.e41c7d6d6:
- XML: schemas.c: ensure proper upgrade-enter fallback & guard strdup arg
- controller: trigger join after both peer and join notifications
- controller: handle shutdown completion only when needed
- libcrmcluster: reset "when lost" when a peer becomes a member
- libcrmcluster: improve CPG membership messages
- controller: improve membership messages
- stonith-history: keep history recorded within boundaries
- tools: crm_resource -C should wait for all replies
- libcrmcommon: explicitly include stdint.h in util.h (bsc#1108303)
- attrd: improve log messages
- attrd: delay re-attempted writes
- crm_mon: in case of html-output avoid missleading output
- tools: make crm_resource messages tool-agnostic
- scheduler: show promotable clones as "(promotable)" rather than "Master/Slave"
- tools: make crm_resource --lifetime specify rule with local time zone
- crm_mon: rhbz1419548: show standby-node with active resources
- crm_mon: rhbz#1486869 - common language on connection-errors

OBS-URL: https://build.opensuse.org/request/show/635561
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=309
2018-09-13 14:56:07 +00:00
Yan Gao
f282465d02 Accepting request 625813 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 2.0.0+20180726.3d81c89b8:
- Shutdown corosync after a fatal error
- tools: ipmiservicelogd FTBFS on ppc64le
- tools: notifyServicelogEvent FTBFS on ppc64le
- tools: detect CIB directory correctly
- tools: avoid memory leak when crm_resource checks resource
- controller: avoid any chance of use-of-NULL when doing LRM op
- resources: controld doesn't need to check for corosync 1 plugin
- resources: use correct variable name in Stateful
- cts-scheduler: restore ability to pass arguments to single test run
- resources: use ocf_is_true in SysInfo
- spec: drop superfluous dependency of -libs-devel on -cts
- tools: update URL in crm_simulate help
- crm_mon: rhbz#1461964 - add fence history features

- Update to version 2.0.0+20180706.8cf3fe749 (Pacemaker-2.0.0):
- tools: Multiple -V increase debug level (#1526)
- scheduler: clarify multiple-anonymous-instances message
- scheduler: avoid use-after-free when on-fail=block
- controller: add node name to meta-data call environment
- controller: filter certain synthesized failures from CIB
- controller: filter certain action timeouts from CIB
- controller: don't record pending notifies in CIB
- executor: cancel recurring monitors if fence device registration is lost
- controller: avoid memory leak if start-up fails
- XML: schemas.c: fix possible memleak + less magic with numeric constants
- tools: stonith_admin -h/-H options are queries
- libstonithd: avoid memory leak when getting meta-data
- XML: resources-3.1.rng: relaxed schema after tight upgrade enforcement
- XML: schemas.c: take severities of XSLT messages into account properly

OBS-URL: https://build.opensuse.org/request/show/625813
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=307
2018-07-27 15:42:24 +00:00
Yan Gao
207d21cec3 Accepting request 603196 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20180430.b12c320f5:
  * XML: upgrade-2.10.xsl: fix "mark space" issue (bsc#1091661)

OBS-URL: https://build.opensuse.org/request/show/603196
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=305
2018-05-02 17:11:03 +00:00
Yan Gao
95ea093b12 Accepting request 602487 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20180427.a34ccd926:
- crmd: avoid double free after ACL rejection of resource delete
- lib: Changed to lowercase comparison.
- all: correct misspellings
- controld: remove deprecated configdir parameter
- controld: deprecate and ignore configdir parameter
- controld: consistently indent with spaces instead of tabs
- libcrmcommon: don't record pending notify actions as completed
- crmd: improve messages when a node is unexpectedly lost
- cib: improve shutdown messages
- cts-regression: allow specifying to run multiple tests again (bsc#1091360)

- Update to version 1.1.18+20180417.24df451b5:
- alerts: Delete redundant code.
- liblrmd: cast time_t to long long when printing
- cts: separate dummy systemd service into separate files
  * Drop obsolete fate-323526_pacemaker-tests-shebang-python3.patch
- crm_diff: rhbz#1561617 - Ignore attribute placement when comparing in 'cib' mode
- spec: remove reference to long-gone file
- spec: mark -cts & -doc packages as noarch
- spec: fix malformed conditional macros for systemd-less cases
- alerts: Change timestamp of Alert of snmp.

- Update to version 1.1.18+20180411.2f77f4922:
- libcrmcommon: free signal triggers when cleaning up mainloop
- libcrmcommon: fix memory leak in schema workaround
- fencing: avoid memory leaks when freeing remote operation
- fencing: free dynamic memory at stonithd shutdown
- crmd: delete resource from lrmd when appropriate
- Test: rhbz#1565187 - Ensure failures that cause fencing are not removed until after fencing completes

OBS-URL: https://build.opensuse.org/request/show/602487
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=304
2018-04-30 10:26:02 +00:00
Yan Gao
158655be13 Accepting request 594934 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20180406.633845120:
- libcrmcommon: add a byte to pid file holder
- attrd,cib,libcrmcommon: avoid %z
- crmd: avoid memory leak when synthesizing operation result
- tools: avoid memory leak on invalid resource
- crmd: log rc code as extended information
- cib: avoid file descriptor leak on temporary file creation
- pengine: avoid redundant test
- libcrmcommon: handle compression failures properly
- libcrmcommon: improve empty string check
- various: improve NULL checks
- libcrmcommon: improve patch xpath searches
- libcrmcommon,tools: use format strings appropriate to variables
- libcrmcommon: use correct argument type for duration
- libcrmcluster: avoid potential use-of-NULL
- libcrmcommon,libstonithd: avoid resource leaks
- tools: get sensor lun in ipmiservicelogd before using it
- schema upgrade: temporary fix to avoid crash on newly present text

- Update to version 1.1.18+20180406.ce623681e:
- fencing: convert fence_legacy to python
- fencing: fix typos in messages

- Update to version 1.1.18+20180406.18fe1cc2b:
- XML: upgrade-2.10.xsl: add transform for automatic upgrades to latest schema 
- Log: establish correct character string literals also with qb_logt sink
- pengine: fix swapped warning message arguments leading to segfault
- cts-pengine: add regression test for notifications for unrunnable actions
- cts-pengine: update regression tests for notification changes
- rhbz#1545449 - Do not perform notifications for events we know wont be executed

OBS-URL: https://build.opensuse.org/request/show/594934
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=302
2018-04-09 15:40:11 +00:00
Yan Gao
6354cec894 Accepting request 588117 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20180313.2c83c6872:
- cts-pengine: add regression test for changing bundle replica count
- libpe_status: handle unique bundle children correctly

- Update to version 1.1.18+20180312.31c732adc:
- spec: make shadow dependency explicit
- spec: drop requirements for bison and flex

- Update to version 1.1.18+20180309.e51687162:
- crmd,liblrmd,libcrmcommon: improve remote node disconnection logs
- libcrmcommon: add function to get text equivalent of client type
- crmd: always write faked failures to CIB whenever possible
- liblrmd: add function to create resource info structure
- crmd: functionize setting fake operation status
- crmd: always assert when operation can't be created
- crmd: avoid core dump if remote connection doesn't exist
- crmd: improve lrmd failure handling
- crmd: return rich error codes from get_lrm_resource()
- crmd: match only executed down events
- crmd: functionize pieces of do_lrm_invoke()
- crmd: don't abort for v2 diff LRM refresh if actions pending
- crmd: validate CIB diffs better

- Update to version 1.1.18+20180305.9cd0f6cb8:
- libcrmcommon: avoid memory leak when schema transform not found
- tools: warn if crm_resource --wait called in mixed-version cluster
- Install /etc/pacemaker directory for storing authkey file (bsc#1082883)

- Update to version 1.1.18+20180226.f788652cf:
- crmd: log transition ID when aborting

OBS-URL: https://build.opensuse.org/request/show/588117
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=301
2018-03-17 08:57:27 +00:00
Yan Gao
1e5709750c Accepting request 579246 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Build: Ship cibsecret by pacemaker instead of cluster-glue (bsc#1082456)
  * Drop obsolete pacemaker-cibsecret-tool-temp-disabled.patch

- Update to version 1.1.18+20180216.ae50b7f5d:
- various: improve string allocation
- XML: upgrade-2.10.xsl: re(drop) rsc_colocation/@score-attribute{,-mangle}
- XML: upgrade-*.xsl: bump the validate-with field from within stylesheet
- XML: upgrade-*.xsl: omit XML declaration
- upgrade-*.xsl: don't be picky about comments, PIs, etc.

- Update to version 1.1.18+20180213.965befd59:
- libcrmcommon: use /tmp when creating temporary XML file
- tools: crm_master should always work on node attribute
- tools: crm_resource --cleanup couldn't match clone instances
- tools: crm_resource --refresh should ignore --operation and --interval
- crmd: quorum gain should always cause new transition
- rhbz#1527072 - Correctly observe colocation constraints with bundles in the Master role
- Bug rhbz#1519812 - Prevent notify actions from causing --wait to hang
- libpe_status: recover after failed demote when appropriate
- lrmd: always use most recent remote proxy
- libpe_status: limit resource type check to primitives
- PE: correct mispelled constant
- PE: Ensure stop operations occur after stopped remote connections have been brought up
- PE: Remote connection resources are safe to to require only quorum
- PE: Only allowed nodes need to be considered when ordering resource startup after _all_ recovery
- PE: Ordering bundle child stops/demotes after container fencing causes graph loops
- PE: Passing boolean instead of a pointer

OBS-URL: https://build.opensuse.org/request/show/579246
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=299
2018-02-23 05:13:07 +00:00
Yan Gao
11c0194ec0 Accepting request 575205 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20180209.7acb22379:
- use proper way to make output files executable
- spec: move lrmd_test to cli package
- spec: make log directories owned by cli package
- spec: move all test data into cts package
- pengine: move regression test to cts as cts-pengine
- lrmd: move regression test to cts as cts-lrmd
- fencing: move regression test to cts as cts-stonithd
- tools: move CLI regression test to cts as cts-cli
- rename top-level testing files and move to cts directory
- tools: drop crmadmin -i and -d options (fate#324508)

- Update to version 1.1.18+20180208.f6a261987:
- Feature: crmd: modify feature set handling

- Update to version 1.1.18+20180205.b44c57e35:
- pengine,doc,tools: rename "master score" to "promotion score" (fate#324508)
- libpe_status: rename bundle 'masters' to 'promoted-max' (fate#323415)
- pengine,libpe_status: rename master-{max,node-max} to promoted-* (fate#324508)
- various: merge clone resource type and master/slave resource type (fate#324508)
- attrd,pacemakerd,libcrmcommon: make "Exiting" last message
- don't use corosync logging settings (fate#324508)
- crmd,libpe_rules: drop support for notification-agent/recipient
- tools: improve crm_failcount exit code usage

- Update to version 1.1.18+20180129.c801ab11e:
- allow configuring specific python intepreter version (fate#323526)
  * Drop obsolete fate-323526_pacemaker-pacemaker-configure-AM_PATH_PYTHON-python3.patch
- use auto-configured python executable in python shebangs (fate#323526)
  * Update fate-323526_pacemaker-tests-shebang-python3.patch

OBS-URL: https://build.opensuse.org/request/show/575205
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=297
2018-02-10 12:26:11 +00:00
Yan Gao
4ad958ac27 Accepting request 567833 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20180119.9146c3c20:
- crmd: Avoid double-removal of glib event source on stopping

OBS-URL: https://build.opensuse.org/request/show/567833
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=295
2018-01-20 03:20:38 +00:00
Yan Gao
449d3efab3 Accepting request 567534 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Build: bump build dependencies

OBS-URL: https://build.opensuse.org/request/show/567534
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=294
2018-01-19 01:07:11 +00:00
Yan Gao
23af75a1b7 Accepting request 567532 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20180118.9c3f7a49c:
- libcrmcommon: put exit/return handling in own source/header files
- bump build dependencies
- Rebase:
  * pacemaker-Wno-format-signedness.patch

- configure: Check for python3 with AM_PATH_PYTHON (fate#323526)
  * fate-323526_pacemaker-pacemaker-configure-AM_PATH_PYTHON-python3.patch

- Update to version 1.1.18+20180112.bd7115b8c:
- tools: improve help text
- libpe_status: deprecate restart-type and role_after_failure

- Update to version 1.1.18+20180109.57d48a1b1:
- libcluster,libcrmcommon: improve BZ2 error messages
- all: use consistent exit status codes
- libcrmcommon,tools: improve XML write error handling
- stonithd,libcrmcommon: auto-calculate stonith-watchdog-timeout when requested (fate#324508)
- logrotate: switch user when rotating logs

- cts: Operate pacemaker service on startup to prevent triggering StopWhenUnneeded of corosync service
  * pacemaker-cts-StartCmd.patch

OBS-URL: https://build.opensuse.org/request/show/567532
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=293
2018-01-19 01:01:32 +00:00
Yan Gao
d7ed967e78 Accepting request 562043 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20180104.7ba28d854:
- tools: improve crm_standby option handling
- tools: improve crm_standby help and error messages
- tools: improve crm_master option handling
- tools: improve crm_master help and error messages
- tools: remove deprecated stonith_admin option (fate#324508)
- tools: remove deprecated crm_verify option (fate#324508)
- tools: remove deprecated crm_attribute --node-uuid option (fate#324508)
- tools: avoid using deprecated options
- tools: remove deprecated crm_resource options (fate#324508)
- libpe_status: use consistent monitor for implicit remotes
- all: overhaul log locations (fate#324508)

- spec: Switch dependencies from python to python3 (fate#323526)
- tests: Switch shebang from /usr/bin/python to /usr/bin/python3 (fate#323526)
  * fate-323526_pacemaker-tests-shebang-python3.patch

OBS-URL: https://build.opensuse.org/request/show/562043
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=291
2018-01-05 20:55:11 +00:00
Yan Gao
a1866854e6 Accepting request 561127 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20180101.494eacba4:
- migrate cts to python3 (fate#323526)

OBS-URL: https://build.opensuse.org/request/show/561127
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=290
2018-01-02 13:44:19 +00:00
Yan Gao
84cb26cebc Accepting request 559649 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- libcrmcommon: drop special handling of pre-1.1.4 migration history entries
- crmd: drop support for DCs that don't support throttling
- cib,libcrmcommon: drop support for PCMK_legacy variable

OBS-URL: https://build.opensuse.org/request/show/559649
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=288
2017-12-23 21:13:42 +00:00
Yan Gao
e14ffaa950 Accepting request 559624 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Update to version 1.1.18+20171221.c91a650ec:
- cib,libcrmcommon: drop support for PCMK_legacy variable
- crmd: drop support for DCs that don't support throttling
- libcrmcommon: drop special handling of pre-1.1.4 migration history entries
- libcrmcommon: drop special handling of pre-1.1.7 failed recurring op history

- libcrmcluster: use crm_strdup_printf() instead of calloc()
- attrd: avoid small memory leak at start-up
- systemd unit files: restore DBus dependency
- libcrmservice: avoid memory leak on DBus error
- pengine: validate more function arguments
- Upstream version cs: 098d557cc495944e1b6ebd9d05b819d6da74825e

- libpe_status: drop support for "requires" operation meta-attribute (fate#324508)
- tools: crm_resource --cleanup with no resource specified (bsc#1071503)
- tools: crm_resource --cleanup (bsc#1071503)
- crmd,libpe_status: drop support for legacy option aliases (fate#324508)
- libstonithd,libpe_status: drop support for pcmk_poweroff_action (fate#324508)
- libstonithd,libpe_status: drop support for pcmk_arg_map (fate#324508)
- libstonithd,libpe_status: drop support for pcmk_*_cmd (fate#324508)
- libpe_status,libpe_rules: drop support for default-action-timeout (fate#324508)
- libpe_status: use correct default timeout for probes
- libpe_status: drop support for operation meta-attributes in instance_attributes (fate#324508)
- libpe_status: fix precedence of operation meta-attributes
- libpe_status,libpe_rules: remove support for is-managed-default (fate#324508)
- libpe_status,libpe_rules: drop support for default-resource-stickiness (fate#324508)
- crmd: drop support for LRMD_MAX_CHILDREN environment variable (fate#324508)
- tools: remove crm_mon SMTP support (fate#324508)
- tools: remove crm_mon SNMP support (fate#324508)
- lrmd: remove deprecated -r/--dummy command-line option (fate#324508)

OBS-URL: https://build.opensuse.org/request/show/559624
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=287
2017-12-23 15:19:10 +00:00
Yan Gao
3d7ddbabc1 Accepting request 547103 from home:yan_gao:branches:network:ha-clustering:Factory:Test
-- crmd,tools: assume atomic attrd is present

OBS-URL: https://build.opensuse.org/request/show/547103
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=285
2017-12-01 13:36:19 +00:00
Yan Gao
04dbcfd2da Accepting request 547101 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- attrd: ensure node name is broadcast at start-up (CLBZ#5330)
- crmd,tools: assume atomic attrd is present
- Upstream version cs: 407ded8de381543e71c5b94b3ade296fcfd2c828

- libpe_status: remove support for default-resource-failure-stickiness
- libpe_status: remove support for resource-failure-stickiness
- various: remove support for pre-Pacemaker-1.0 CIB XML
- libpe_status,tools: remove support for legacy ticket state entries
- various: remove isolation wrapper support
- systemd unit files: enable TasksMax=infinity (bsc#1028138, bsc#1066710)
  * Drop obsolete bug-1028138_pacemaker-pacemaker.service-TasksMax.patch
- Upstream version cs: 53a3fe14b15b087bbde9ccb524d11d0a413cc6e9

OBS-URL: https://build.opensuse.org/request/show/547101
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=284
2017-12-01 13:31:51 +00:00
Yan Gao
fba20e9729 Accepting request 546637 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- pengine: don't probe offline or unclean guest nodes (fate#324441)
- PE: Implement probing of container remote nodes (fate#324441)

OBS-URL: https://build.opensuse.org/request/show/546637
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=283
2017-11-30 09:45:18 +00:00
Yan Gao
e1ecfd7422 Accepting request 546526 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Upstream version cs: f36ad364748880815bf00151c516a1f2deae2fed
  * Update bug-1028138_pacemaker-pacemaker.service-TasksMax.patch

OBS-URL: https://build.opensuse.org/request/show/546526
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=282
2017-11-29 19:24:33 +00:00
Yan Gao
d97a0788d8 Accepting request 546503 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- RA: NodeUtilization RA is now shipped by resource-agents package (bsc#1070347)

OBS-URL: https://build.opensuse.org/request/show/546503
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=281
2017-11-29 17:34:37 +00:00
Yan Gao
9714edda00 Accepting request 546501 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Replace references to /var/adm/fillup-templates with new 
  %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/546501
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=280
2017-11-29 17:29:11 +00:00
Yan Gao
5498ebebbb Accepting request 546490 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- NodeUtilization RA is now shipped by resource-agents package (bsc#1070347)
  * Drop bug-1015842_pacemaker-NodeUtilization-RA.patch

- libpe_status: remove support for default-resource-failure-stickiness
- libpe_status: remove support for resource-failure-stickiness
- various: remove support for pre-Pacemaker-1.0 CIB XML
- libpe_status,tools: remove support for legacy ticket state entries
- various: remove isolation wrapper support
- systemd unit files: enable TasksMax=infinity (bsc#1028138, bsc#1066710)
  * Drop obsolete bug-1028138_pacemaker-pacemaker.service-TasksMax.patch
- crmd: default record-pending to TRUE
- tools: enable new crm_resource --cleanup/--refresh behavior
- Upstream version cs: 53a3fe14b15b087bbde9ccb524d11d0a413cc6e9

- Update to version 1.1.18
- libpe_status: always use default key location with bundles
- attrd,stonithd: more efficient regular expression parsing
- libpe_status: avoid potential NULL dereference
- tools: use proper variable in message from crm_resource -g
- tools: use uber-parent for crm_resource -a/-A
- tools: use g_main_loop_is_running() properly
- libpe_status: monitors are rescheduled, not reloaded
- crmd: determine restart/private digests correctly
- systemd: add TasksMax comment to pacemaker_remote unit (bsc#1028138, bsc#1066710)
- tools: make regression test insensitive to line number changes
- pengine,tools,libpe_status: avoid unnecessary use of pe_find_current
- pacemaker.service: Recommend not to limit tasks (bsc#1028138, bsc#1066710)
- tools: set the correct OCF_RESOURCE_INSTANCE env when crm_resource --force-* executes RA
- typo: overriden -> overridden
- portability: the difference of time_t values is given by difftime()

OBS-URL: https://build.opensuse.org/request/show/546490
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=279
2017-11-29 16:52:08 +00:00
Yan Gao
c51d4e2a58 Accepting request 536284 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- libpe_status: avoid use-after-free (again)
- lrmd: don't reject protocol 1.0 clients (bsc#1009076)
- tools: print descriptive messages for OCF exit code
- tools: differentiate trace log level for RAs
- tools: show RAs debug logs only when verbose mode for crm_resource --force-*
- tools: suppress an invalid error message for crm_resource --force-* options
- pengine: don't schedule reload and restart in same transition
- libcrmservice: list systemd agents alphabetically
- libcrmcommon: add function to sort list alphabetically
- pengine: new regression test for unrecoverable remote connection
- libcrmservice: avoid infinite loop on bad DBus reply
- libcrmservice: list systemd unit files, not only active units
- libpe_status: print container type in lowercase when outputting XML
- tools: re-enable crm_resource --lifetime option (CLBZ#5251, bsc#950128)
- libcrmcluster: improve error checking when updating node name
- tools: fix crm_resource --why output when resource and node are specified
- libcrmservice: parse LSB long description correctly
- libcrmservice: follow LSB standard for header block more strictly
- libcommon: Erase old exit_reason
- Upstream version cs: 36d2962a8613322fc43d727d95720d61a47d0138

- spec: Prevent overwriting existing sysconfig files by conditionally running %fillup_only (bsc#1022807, bsc#980341)
- remote: Allow cluster and remote LRM API versions to diverge (bsc#1009076)
- lrmd: prevent double free after unregistering stonith device for monitoring (bsc#1035822)
- crmd: Ack pending operations that were cancelled due to rsc deletion (bsc#1035822)

OBS-URL: https://build.opensuse.org/request/show/536284
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=277
2017-10-24 11:05:27 +00:00
Yan Gao
c0a63edb2b Accepting request 533947 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- crm_mon: error-exit child if execl should return
- crmd: avoid memory leak when caching meta-data
- tools: ensure crm_resource data set is initialized
- libcib: ensure xpath result isn't empty
- tools: missing break statement in attrd_updater
- libcrmcommon: check sscanf() result when parsing schema version
- tools: check sscanf return value when parsing failed op list
- tools: treat bundles with replicas like clones when restarting
- tools: allow crm_resource to be called without arguments
- tools: update regression test for recent message changes
- tools: improve crm_resource --show-metadata error messages (CLBZ#5287)
- libcrmcommon: add functions for using agent specifications
- tools: improve crm_resource help (CLBZ#5251, bsc#950128)
- libcrmcommon: improve cluster option parsing
- Upstream version cs: 27b631162104d90e944cbc107c2d46e983f94ca7

- spec: Disable deprecated crm_mon SNMP/ESMTP support (configure alerts instead)

- pengine: add tests for no-quorum-policy=suicide
- libpe_status: properly detect when nodes should suicide
- libpe_status: always log startup-fencing value
- libpe_status: generalize ability to log warning only once
- pengine: reset loss-policy from fence to stop if no fencing
- pengine: avoid use-of-NULL when unpacking tickets
- tools: ensure crm_resource works if no command is specified
- libpe_status: validate no-quorum-policy=suicide correctly
- tools: use-after-free in crm_diff
- RA: ClusterMon - Correctly handle "update" parameter
- attrd: "peer peer loss" -> "peer loss"
- Tools:Refactored Crm_resource to have proper assignments for require_*

OBS-URL: https://build.opensuse.org/request/show/533947
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=275
2017-10-13 13:52:10 +00:00
Yan Gao
f92e6d1c91 Accepting request 532208 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Log: Reduce verbosity of developer logging
- PE: We most definitely need to probe connection resources
- PE: Ensure the bundle nodes get set with the correct discovery mode
- PE: Implement probing of container remote nodes
- attrd: Tweak log messages for clarity
- crm_resource: Do not send history erasure commands for nodes where this is none
- PE: Resources in bundles should also respect failcounts
- PE: Do not send notifications to unclean bundles
- PE: Prevent graph loops when fencing the host out from underneath a bundle
- Tools: Allow bundle resources to read/write master scores based on the same logic as attrd (cf34f4c)
- PE: bundle: Send an additional host list when container-attribute-target=host
- PE: Correctly interpret colocation with bundles
- PE/attrd: Allow bundle resources to read/write attributes based on the physical host rather than the container name
- Upstream version cs: 4328c6a65424d1caf9785107664ec1b7fc824664

- Rebase:
  * bug-728579_pacemaker-stonith-dev-id.patch
- Fix: -Wformat-truncation=2: prevent format truncation
- snprintf: use correct signedness in print format specifiers
- snprintf: use sizeof(X) as size + prevent off-by-ones
- crmd,libcrmcommon,libcluster,tools: handle PID as string properly
- tools: use right size for string buffer in fake_transition.c
- crm_resource: fix a memleak
- pengine: sprintf -> snprintf
- libcrmcommon: fix possible infloop in buffer_print
- crm_snprintf_offset like parts: fix off-by-ones
- attrd: improve update messages
- stonithd,lrmd,pengine: spelling/formatting corrections
- build: install ifspeed resource agent
- libcrmservices: avoid assert for HB resource with no parameters

OBS-URL: https://build.opensuse.org/request/show/532208
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=273
2017-10-06 13:22:51 +00:00
Yan Gao
68eff2f20b Accepting request 513590 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- logging: ensure blackbox gets generated on arithmetic error
- crm_mon: overcome crm_system_name no longer influenced with argv
- crm_mon: make CGI bail out on suspicious arguments
- crm_mon: make CGI bail out properly and w/o help screen
- crm_mon: canonical casing of Content-Type CGI header field
- libcrmcommon: handle schema versions properly
- attrd: don't reconnect to lrmd if already connected
- PE: Ensure nested container connections run on the same host
- crmd: send alerts via lrmd
- lrmd: execute alerts as cluster daemon user
- libservices: add ability to specify user to run an action
- libcrmcommon: improve user lookup messages
- extra: correct ClusterMon metadata
- attrd: avoid memory leak when disconnecting from lrmd
- attrd,tools: avoid memory leaks from use of crm_itoa()
- attrd: be consistent about attr/host logging
- attrd: delay lrmd connect until needed
- attrd: add timestamp to alert just when needed
- attrd: improve log messages
- libcrmcommon,libpe_rules: avoid crash when alerts section has comments
- libcrmcommon: add API call for next named XML child
- liblrmd: only set environment variables with a value
- attrd,liblrmd: handle adding env var at head of list
- lrmd: drain alerts at shutdown
- attrd,lrmd: generate alert sequence number in lrmd
- liblrmd: better trace message when creating command
- stonith-ng: avoid double-free of pending-ops in free_device
- crmd: log correct feature set revision
- PE: update start-failure-is-fatal help
- cib: avoid unnecessary memory allocation

OBS-URL: https://build.opensuse.org/request/show/513590
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=272
2017-07-31 15:14:51 +00:00
Yan Gao
0bcf290c7b Accepting request 500798 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- pengine,libpe_status: revisit fencing messages
- PE: Improve logging of node fencing and shutdown
- PE: Fence unrecoverable remote nodes with no resources
- libpe_status: propagate multiple-active=block for bundles
- libpe_status: set parent for bundle components
- attrd: broadcast local overrides of sync'ed attributes
- crmd: attribute write-out not needed with atomic attrd
- PE: Prevent use-after-free when creating bundle constraints
- PE: Ensure remote nodes are fenced when the connection cannot be recovered
- PE: Improved fencing logging
- PE: Assume resources on remote nodes do not need to be restarted until absolutely necessary
- PE: Correctly compare a point with NULL instead of FALSE
- libpe_status: correctly flag remote connection resources
- pengine: improve internal bundle constraints
- pengine: re-phrase trace log for internal constraints
- libpe_status: set #kind to "container" for bundle nodes
- pengine,libpengine: avoid potential use-of-NULL
- pengine: avoid use-of-NULL in bundle without primitive
- libpengine: don't double score when adding first allowed node
- pengine: improve detection of invalid constraints
- PE: Prevent use-of-NULL when expanding containers
- PE: Partially restore 62ed004 to ensure remote connections are available before attempting resource recovery
- stonith-ng: Trigger on constraints added to cib (bsc#1042374)
- Upstream version cs: e47bd5bc77a3d1b38589b3716f5112ed39329e7b

OBS-URL: https://build.opensuse.org/request/show/500798
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=270
2017-06-02 21:23:22 +00:00
Yan Gao
7dd4d2eb2f Accepting request 494984 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- RA: NodeUtilization - Use xl if available (bsc#1015842)
  * Drop obsolete:
    ** bug-1015842_pacemaker-NodeUtilization-RA-1.patch
    ** bug-1015842_pacemaker-NodeUtilization-RA-2.patch
    ** bug-1015842_pacemaker-NodeUtilization-RA-3.patch
  * Add bug-1015842_pacemaker-NodeUtilization-RA.patch
- Drop obsolete pacemaker-lrmd.h-include-libxml.patch
- lrmd,pengine: remove versioned parameters from documentation and tests
- lrmd,pengine: don't support versioned attributes by default
- Containers: Relax docker/remote colocation constraint when appropriate
- Containers: Ensure remote resources are only allocated to full cluster nodes
- lrmd: Ensure verbosity options are handled after crm_log_init()
- pengine: unmanage guest-container puts guest in maintenance
- pengine: unique ids for meta-attributes of guest-connection
- pengine: update regression tests for probes of guest-connections
- pengine: have guest-node connection-resources probed
- crmd: clean up throttle memory on exit
- libcib: avoid use-after-free when deleting CIB connection
- systemd unit files: add dependency on resource-agents-deps
- pengine: Allow use of resource params and meta-params in location rules
- libcrmcommon: avoid evicting IPC client if messages spike briefly
- libcrmcommon: don't delay next flush by more than 5 seconds
- libcib: downgrade ACL status message to trace
- crmd: don't destroy election structure twice
- crmd: avoid use-after-free when disconnecting from CIB
- libcib: functionize destroying op callback table
- crmd,libcrmcommon: update throttle when CPUs are hot-plugged
- crmd: remove I/O load checks
- libcrmcommon: add function to get number of CPU cores
- crmd: functionize checking throttle thresholds

OBS-URL: https://build.opensuse.org/request/show/494984
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=268
2017-05-15 16:27:22 +00:00
Yan Gao
503a7d6df1 Accepting request 483189 from home:yan_gao:branches:network:ha-clustering:Factory:Test
* Drop obsolete bug-1015842_pacemaker-NodeUtilization-RA.patch
  * Add bug-1015842_pacemaker-NodeUtilization-RA-1.patch

OBS-URL: https://build.opensuse.org/request/show/483189
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=266
2017-03-28 20:22:29 +00:00
Yan Gao
b89acbf7ca Accepting request 483185 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- libcrmcluster,crmd: log join phase as text rather than integer
- pacemaker-remote: pacemaker_remoted shutdown while unmanaged
- tools: disable agent stdout/stderr for crm_resource --validate
- tools: Add "--validate" command to crm_resource
- tools: crm_resource should set OCF_RESKEY_crm_feature_set
- tools: make crm_failcount compatible with per-operation failcounts
- tools: support clearing failure of a single operation with crm_resource -C
- crmd: support clearing failure of a single operation
- crmd: make clearing last failure more efficient
- attrd,libcrmcommon: support clearing failure of a single operation
- attrd,crmd,libraries,tools: track resource failures per-operation
- tools: support crm_failcount -q as advertised
- Upstream version cs: 77ea74d01bcb6b7100e1c7acab0e66e79aceaf8b

- NodeUtilization: Never set hv_memory to a negative value (bsc#1015842)
  * bug-1015842_pacemaker-NodeUtilization-RA-3.patch
- NodeUtilization: Fix mixed indentation, set executable bit (bsc#1015842)
  * bug-1015842_pacemaker-NodeUtilization-RA-2.patch
- RA: NodeUtilization - Use xl if available (bsc#1015842)
  * Rename to bug-1015842_pacemaker-NodeUtilization-RA-1.patch

OBS-URL: https://build.opensuse.org/request/show/483185
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=265
2017-03-28 20:04:35 +00:00
Yan Gao
c2b3d7303f Accepting request 480821 from home:yan_gao:branches:network:ha-clustering:Factory:Test
* enable_fatal_warnings=0

OBS-URL: https://build.opensuse.org/request/show/480821
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=264
2017-03-17 11:12:03 +00:00
Yan Gao
efc9ddc597 Accepting request 480816 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- spec: Merge the SLE and Factory versions

OBS-URL: https://build.opensuse.org/request/show/480816
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=263
2017-03-17 10:52:22 +00:00
Yan Gao
6cc0b5f119 Accepting request 480813 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- crmd: new cluster option stonith-max-attempts with default value 10
- crmd: Change of the log level and addition of uuid.
- crmd: use new attrd op to clear fail counts
- tools: crm_resource -C should clear last-failure
- libcrmcommon: add API for new attrd clear-failure operation
- attrd: add more detail to legacy attrd messages
- attrd: add API for clearing failures
- Upstream version cs: e55d506cc390f0a0335b4ec6e365ea89da30b6b1

- pacemaker.service: Add presetting TasksMax=4915 (bsc#1028138)
  * bug-1028138_pacemaker-pacemaker.service-TasksMax.patch

OBS-URL: https://build.opensuse.org/request/show/480813
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=262
2017-03-17 10:24:07 +00:00
Yan Gao
559483a527 Accepting request 477365 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Build: lrmd: Include libxml/tree.h in lrmd.h
  * pacemaker-lrmd.h-include-libxml.patch

- libfencing,fencing: properly remap "action" in configuration
- libservices: ensure recurring actions table is created before using
- libservices: improve error messages when creating operation
- libservices: properly detect in-flight systemd/upstart ops when kicking
- libservices: properly cancel in-flight systemd/upstart op
- libservices: handle in-flight case first when cancelling an operation
- libservices: prevent use-after-free when freeing an operation
- libservices: ensure completed ops aren't on blocked ops list
- libcrmcommon: assert if can't generate operation key
- libcrmcommon: improve remote connection polling messages
- crmd: clear failure only for requested node
- crmd: improve message when clearing failures
- pengine,libpe_status: make failcount clearing messages more helpful
- pengine,libpe_status: don't clear same fail-count twice
- cib: properly mark variable as volatile
- libcib: avoid memory leak in query_node_uuid()
- tools: avoid NULL dereference in crm_resource debug message
- cib,libcrmcommon,lrmd: handle IP addresses better in messages
- tools: crm_attribute should prefer node name from environment
- libcrmcommon: Correctly delete XML comments according to their positions (bsc#1024037)
- libcrmcommon: Correctly compare XML comments to prevent crmd from getting into infinite election loop (bsc#1024037)
- crmd,libcrmcluster: minor log message improvements
- tools: avoid deprecated function in notifyServicelogEvent
- libcrmcommon,pengine,tools: pass local node name to resource agents
- use callback instead of sync call
- libcib: make querying node uuid more efficient
- tools: allow regular expression with crm_attribute

OBS-URL: https://build.opensuse.org/request/show/477365
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=260
2017-03-07 00:32:46 +00:00
Yan Gao
de2e3d57d3 Accepting request 459726 from home:dimstar:Factory
- Explicitly own %{_defaultdocdir}/%{name}.

OBS-URL: https://build.opensuse.org/request/show/459726
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=258
2017-02-28 14:42:53 +00:00
Yan Gao
d07a29da45 Accepting request 439264 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- sysconfig: minor tweaks (typo, wording)

OBS-URL: https://build.opensuse.org/request/show/439264
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=256
2016-11-08 17:56:43 +00:00
Yan Gao
4e69252716 Accepting request 439181 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- Revert "Build: configure: make systemd detection akin to + before Upstart one"
  * pacemaker-configure-systemd-detection.patch
- libcrmcommon: fix CVE-2016-7035 (improper IPC guarding) (bsc#1007433)
- various: issues discovered via valgrind and coverity
- attrd_updater: fix usage of HAVE_ATOMIC_ATTRD
- Upstream version cs: b6f251a13fadca0cb74702b0c007a55275c8ea09

- Rebase:
  * pacemaker-NodeUtilization-RA.patch
- extra: add resource agent for managing a node attribute
- crmd: cl#5185 - Record pending operations in the CIB before they are performed (bsc#1003565)
- ClusterMon: fix to avoid matching other process with the same PID
- mcp: improve comments for sysconfig options
- spec: require libqb >= 0.13.0
- tools: crm_standby --version/--help should work without cluster
- spec: reorganize so %pre etc. blocks are self-contained
- spec: require python >= 2.6
- spec: comment better
- libpengine: ensure child is not null before looking up value
- libpengine: only log startup-fencing warning once
- Upstream version cs: 722276c442bf023931842313bfe0dfb7d90a7c15

- pacemaker.service: do not mistakenly suggest killing fenced
- pacemaker.spec: consume "systemdunitdir" via %_unitdir
- libcrmcommon: report errors consistently when waiting for data on connection (bsc#986644)
- libservices: use DBusError API properly
- remote: Correctly calculate the remaining timeouts when receiving messages (bsc#986644)
- libfencing: report added node ID correctly
- crm_mon: Do not call setenv with null value
- pacemaker_remote: allow remote clients to timeout/reconnect

OBS-URL: https://build.opensuse.org/request/show/439181
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=255
2016-11-08 10:56:04 +00:00
Yan Gao
e3d978ecb2 Accepting request 423643 from home:yan_gao:branches:network:ha-clustering:Factory:Test
- cts: Restart systemd-journald with "systemctl restart systemd-journald.socket" (bsc#995365)
  * bug-995365_pacemaker-cts-restart-systemd-journald.patch

OBS-URL: https://build.opensuse.org/request/show/423643
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=253
2016-08-29 10:31:30 +00:00