Hello community, here is the log from the commit of package cluster-glue for openSUSE:Factory checked in at 2017-08-24 18:19:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cluster-glue (Old) and /work/SRC/openSUSE:Factory/.cluster-glue.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cluster-glue" Thu Aug 24 18:19:23 2017 rev:60 rq:518394 version:1.0.12+v1.git.1501749673.bdd95fd0 Changes: -------- --- /work/SRC/openSUSE:Factory/cluster-glue/cluster-glue.changes 2017-05-27 13:09:30.978566581 +0200 +++ /work/SRC/openSUSE:Factory/.cluster-glue.new/cluster-glue.changes 2017-08-24 18:19:26.355962836 +0200 @@ -1,0 +2,9 @@ +Wed Aug 23 09:57:53 UTC 2017 - [email protected] + +- Update to version 1.0.12+v1.git.1501749673.bdd95fd0: + * stonith: external/vcenter: Reset returns success with RESETPOWERON=0 if vm is already off (bsc#1050908) + * Remove hb_report from doc/ + * Fix warnings reported by GCC7. (bsc#1030241) + ** Drop 0001-Fix-warnings-reported-by-GCC7.patch which has been merged upstream + +------------------------------------------------------------------- Old: ---- 0001-Fix-warnings-reported-by-GCC7.patch cluster-glue-1.0.12+v1.git.1485976882.03d61cd.tar.bz2 New: ---- cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cluster-glue.spec ++++++ --- /var/tmp/diff_new_pack.60oM0B/_old 2017-08-24 18:19:27.471805722 +0200 +++ /var/tmp/diff_new_pack.60oM0B/_new 2017-08-24 18:19:27.487803470 +0200 @@ -39,7 +39,7 @@ Summary: Reusable cluster components License: GPL-2.0 and LGPL-2.1+ Group: Productivity/Clustering/HA -Version: 1.0.12+v1.git.1485976882.03d61cd +Version: 1.0.12+v1.git.1501749673.bdd95fd0 Release: 0 Url: https://github.com/ClusterLabs/cluster-glue.git Source: %{name}-%{version}.tar.bz2 @@ -50,7 +50,6 @@ # PATCH-FIX-OPENSUSE: drop lrm as it's not used anymore by pacemaker Patch4: cluster-glue_droplrm.patch # PATCH-FIX-UPSTREAM: fix warnings seen by GCC7 -Patch5: 0001-Fix-warnings-reported-by-GCC7.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: OpenIPMI-devel BuildRequires: asciidoc @@ -140,7 +139,6 @@ %setup -q %patch1 -p1 %patch4 -p1 -%patch5 -p1 %build CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}" ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.60oM0B/_old 2017-08-24 18:19:27.587789392 +0200 +++ /var/tmp/diff_new_pack.60oM0B/_new 2017-08-24 18:19:27.591788829 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/ClusterLabs/cluster-glue.git</param> - <param name="changesrevision">03d61cd161214dc9f8057f3d17f7c5e8e8eba5a8</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">bdd95fd0f89f31b19fa46ffa0ea3f5022ebcd858</param></service></servicedata> ++++++ cluster-glue-1.0.12+v1.git.1485976882.03d61cd.tar.bz2 -> cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/.hgignore new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/.hgignore --- old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/.hgignore 1970-01-01 01:00:00.000000000 +0100 +++ new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/.hgignore 2017-08-03 10:41:13.000000000 +0200 @@ -0,0 +1,92 @@ +syntax: glob + +# Autofoo entries +*.o +*.la +*.lo +*.loT +*.pyc +.libs +.deps +*.cache +.cvsignore +compile +configure +configure.status +configure.lineno +depcomp +aclocal.m4 +libtool +ltmain.sh +ltconfig +libltdl +mkinstalldirs +install-sh +missing +py-compile +autom4te* +libtool.m4 +ltdl.m4 +libltdl.tar +autoconf +autoheader +automake +include/glue_config.h +include/stamp-h1 +include/pils/plugin.h +include/stamp-h2 +ylwrap + +# BEAM Entries +*.beam +parser-messages +MISC_ERRORS +cscope.files +cscope.out +patches +updates +logs + +# OS and Editor Artifacts +.DS_Store +*.diff +*.patch +*~ + +# Project build targets +lib/clplumbing/base64_md5_test +lib/clplumbing/ipctest +lib/clplumbing/ipctransientclient +lib/clplumbing/ipctransientserver +logd/ha_logd +logd/ha_logger +logd/logtest +lrm/admin/lrmadmin +lrm/lrmd/lrmd +lrm/test/apitest +lrm/test/callbacktest +lrm/test/plugintest +lrm/test/lrmregtest +lrm/test/lrmregtest-heartbeat +lrm/test/lrmregtest-lsb +lrm/test/regression.sh +lrm/test/LRMBasicSanityCheck +lrm/test/simple_ops + +# Misc +GPATH +GRTAGS +GSYMS +GTAGS +HTML +TAGS +.gres.* +*.orig +.gdb_history + +# Entries better done as regexp's to avoid matching too broadly +syntax: regexp +^config\.* +README$ +Makefile$ +Makefile.in$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/.hgsigs new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/.hgsigs --- old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/.hgsigs 1970-01-01 01:00:00.000000000 +0100 +++ new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/.hgsigs 2017-08-03 10:41:13.000000000 +0200 @@ -0,0 +1,4 @@ +b6dca003bb176978af803eeb33019b6aef3c58b0 0 iEYEABECAAYFAktnGJAACgkQWnQN9wr0w1ywBACghXYwYkv/70Xg5AQMzVjRWKZecIoAnjRUytRoYl+dhhqbhfdXSD+/Bfvw +6007185b487e3f2dc3b24674a9105761b2cde6ea 0 iEYEABECAAYFAktoWfsACgkQWnQN9wr0w1ySZwCfQILyC2VJrCnVEU2zvTIyI7ustDAAn37hhb9JM8JQVKLfPEbqIloz1m3m +979c4ffae287976631a30d10258903aea6fb28fa 0 iEYEABECAAYFAktoY38ACgkQWnQN9wr0w1wHxgCeMZyOt8ccxmIsvIHg4/y6KmqtTVAAn2jn7dOmFMjA8m4ju59YaQ1Bznhb +798645ead29e20b361af883fce695b85caf3392b 0 iEYEABECAAYFAlPJCM4ACgkQWnQN9wr0w1wv+QCeJQOjaYNXNJZA61n7Fu8f63CeVBEAnja4WqiYC+TS4HvmRJz6oNi6p48u diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/.hgtags new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/.hgtags --- old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/.hgtags 1970-01-01 01:00:00.000000000 +0100 +++ new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/.hgtags 2017-08-03 10:41:13.000000000 +0200 @@ -0,0 +1,68 @@ +01ecac8670a6c2e47202a9ce2f5e27e9dcdbeff6 STABLE-1.1.3 +19d11d8d62c270c48a3feab5ed66b18897c9cc8d sle11-rc9 +2185d55c12e37c48abc239dd1f8b3b9ef012fd6b obs-2.1.2-1 +235a71009062702c906cc68f23904ddcbe17535f STABLE-2.0.6 +29540582671a9e33ae2122d319c68258346f1a3f STABLE-2.1.1 +2cb36a1c01c76ef3e3a449f16b13730c761efff2 STABLE-2.1.3 +2ece20ad31a4271076e5c43dd3f2ea25caa55635 Series-Root-1.0 +3b8dc33a402daaf7e3754acadd1898c0fe69072f STABLE-2.0.3 +45c377d7a35dba92d46321d2f824bc0d9b17f54e obs-2.1.2-24 +67a443d135f128ca28f15e4e8999d3e0caabed61 sle11-rc3 +68de68ef5f0a7b97a4ff0d9806c598527c8659b8 STABLE-2.0.4 +705b21e4b623f7d2fc5c83d99beffb709905c996 STABLE-0.4.9c +7190f69e29a08350bcec753509eb37f53593334a beta-2.99.0 +7f90244e5c25372e70178f77f44c76a8564e1665 SLE10-SP1 +7f90244e5c25372e70178f77f44c76a8564e1665 STABLE-2.1.0 +823208439a98179d7c01d6eed1db50dd96802663 sle11-rc7 +86fa06f08a123868eb272a20bf850cec1805a12f STABLE-2.0.8 +97d025dd33648a1e50a3a1bf40573669440dd1b6 obs-2.1.2-4 +9b34f480b8e8966e9ed4276507cc562564763720 beta-2.99.2 +9eb2a4db4ff595d18302426029b03153fad77ef7 beta-2.99.1 +a230062a445096b89cf75bef85e285ee55626a78 obs-2.1.2-2 +af867b71bcc645f3d3c56fe8fdd883b17a851e46 STABLE-2.0.0 +b4a0a0ffd15eb2dd1285bdbd86ea9716a9d0bf36 STABLE-2.0.5 +b906db882c37647abfd21fa1473950445ad7813c STABLE-2.1.2 +ba476a3948ea0cf52098fa050a27a8856a214825 sle11-rc2 +be0d49da51a810e870356b7f2a52013e5c775c0d Beta-0.4.9a +c77ad4549888539e7fc9a6b56cccdb1403749198 STABLE-0.4.9e +c7d672b9f3ece79ad26fb8a7df20265bcb596515 sle11-beta6 +cf0265eed1b5b3b3f25f7e56eb807d21ca261d68 SLES10-GA-2.0.7-1.5 +cf0265eed1b5b3b3f25f7e56eb807d21ca261d68 STABLE-2.0.7 +d1899e1eecc09b7a6e66a02609408272bb856c6a STABLE-1.1.5 +dae6b0b3e109afc5df29a7127ab6dd9e1bd0a20a sle11-rc5 +e3691501a2d0631c3796b6a728fadf7d90691203 obs-2.1.2-15 +e3855af19554339204b5b2b2a199a7bc31e22843 STABLE-2.0.1 +e3855af19554339204b5b2b2a199a7bc31e22843 STABLE-2.0.2 +e6637f62c87ada212a83942ec5b2a4bf30b98c3f Series-Root-1.2 +f6c2cd2593f365f984ce051db61466738ac05dcd Beta-0.4.9f +940fa13f6a0a929d15a01af9a0b62c16e4d2706a glue-1.0 +130b1d7af88912d077d32a7c386c3c94d0b2da16 glue-1.0.2-rc1 +78894a112c0a134dc709d2a8772085180444c40c glue-1.0.2-rc2 +7700902a4de3ee84fa2007a4b4602693c5ac26a8 glue-1.0.2-rc2a +97fcdf789e174b0a0b23e28dcabe2f7d579d426f glue-1.0.2 +0a64e6f77894da1364b17dc3c73b65561717f4aa glue-1.0.3 +0a64e6f77894da1364b17dc3c73b65561717f4aa glue-1.0.3 +0000000000000000000000000000000000000000 glue-1.0.3 +0000000000000000000000000000000000000000 glue-1.0.3 +979c4ffae287976631a30d10258903aea6fb28fa glue-1.0.3 +979c4ffae287976631a30d10258903aea6fb28fa glue-1.0.3 +0000000000000000000000000000000000000000 glue-1.0.3 +0000000000000000000000000000000000000000 glue-1.0.3 +9bcd134f1ebff7baf80f4b21c3b5f620b0ee976e glue-1.0.3 +9bcd134f1ebff7baf80f4b21c3b5f620b0ee976e glue-1.0.3 +0000000000000000000000000000000000000000 glue-1.0.3 +0000000000000000000000000000000000000000 glue-1.0.3 +2e33ecd820b2673755d1280a259489a026921f63 glue-1.0.3 +761edff8c35ea2cdf3e1bd37d600b06233e61d4f glue-1.0.4-rc1 +3229873980e1028bf05de81f5bafccb3a92b9aa4 glue-1.0.4 +3af80b93d9e5d5e441f3f4c3aad16775ea27d2d9 glue-1.0.5 +1c87a0c58c59fc384b93ec11476cefdbb6ddc1e1 glue-1.0.6 +61200fbe18358e420cdc2037d87e803e150c1eac glue-1.0.7-rc1 +5e06b2ddd24b37ad6c1c25d958d7a9dda7d02f93 glue-1.0.7 +5740338816e1ff07d0e37f36214f442e183984d7 glue-1.0.8-rc1 +c69dc6ace936f501776df92dab3d611c2405f69e glue-1.0.8 +0a08a469fdc8a0db1875369497bc83c0523ceb21 glue-1.0.9 +12055ca2b025ab250a544701edaa1f5aaf63aef1 glue-1.0.10 +02bdcf58f9a098b717784746308e199e12eeb005 glue-1.0.11 +c64d6e96f20ad5ba245f7fb9e1295b14fa179e29 glue-1.0.12-rc1 +d05229decc34d66c4752536dc7c9d812d1e6d5ca glue-1.0.12 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/GNUmakefile new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/GNUmakefile --- old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/GNUmakefile 2017-02-01 20:21:22.000000000 +0100 +++ new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/GNUmakefile 2017-08-03 10:41:13.000000000 +0200 @@ -30,12 +30,12 @@ DISTRO ?= $(call getdistro) TAG ?= tip -hgarchive: +gitarchive: rm -f $(TARFILE) - hg archive -t tbz2 -r $(TAG) $(TARFILE) + git archive --prefix cluster-glue/ $(TAG) | bzip2 > $(TARFILE) echo `date`: Rebuilt $(TARFILE) -srpm: hgarchive +srpm: gitarchive rm -f *.src.rpm @echo To create custom builds, edit the flags and options in $(PACKAGE)-$(DISTRO).spec first rpmbuild -bs --define "dist .$(DISTRO)" $(RPM_OPTS) $(PACKAGE)-$(DISTRO).spec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/cluster-glue-fedora.spec new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/cluster-glue-fedora.spec --- old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/cluster-glue-fedora.spec 2017-02-01 20:21:22.000000000 +0100 +++ new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/cluster-glue-fedora.spec 2017-08-03 10:41:13.000000000 +0200 @@ -131,7 +131,6 @@ %{_datadir}/%{name}/ha_log.sh %{_sbindir}/ha_logger -%{_sbindir}/hb_report %{_sbindir}/lrmadmin %{_sbindir}/cibsecret %{_sbindir}/meatclient diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/cluster-glue-suse.spec new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/cluster-glue-suse.spec --- old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/cluster-glue-suse.spec 2017-02-01 20:21:22.000000000 +0100 +++ new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/cluster-glue-suse.spec 2017-08-03 10:41:13.000000000 +0200 @@ -233,7 +233,6 @@ %{_datadir}/%{name}/ha_log.sh %{_sbindir}/ha_logger -%{_sbindir}/hb_report %{_sbindir}/lrmadmin %{_sbindir}/cibsecret %{_sbindir}/meatclient diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/doc/Makefile.am new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/doc/Makefile.am --- old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/doc/Makefile.am 2017-02-01 20:21:22.000000000 +0100 +++ new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/doc/Makefile.am 2017-08-03 10:41:13.000000000 +0200 @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see <http://www.gnu.org/licenses/>. # -MAINTAINERCLEANFILES = Makefile.in hb_report.xml ha_logd.xml ha_logger.xml stonith.xml meatclient.xml +MAINTAINERCLEANFILES = Makefile.in ha_logd.xml ha_logger.xml stonith.xml meatclient.xml CLEANFILES = $(man_MANS) @@ -27,7 +27,7 @@ man_MANS = if BUILD_DOC -man_MANS += hb_report.8 ha_logd.8 ha_logger.1 stonith.8 meatclient.8 +man_MANS += ha_logd.8 ha_logger.1 stonith.8 meatclient.8 EXTRA_DIST = $(man_MANS) @@ -46,7 +46,4 @@ $(XSLTPROC_MANPAGES_OPTIONS) \ $(MANPAGES_STYLESHEET) $< -hb_report.8: hb_report.8.txt - a2x -f manpage $< - endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/doc/hb_report.8.txt new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/doc/hb_report.8.txt --- old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/doc/hb_report.8.txt 2017-02-01 20:21:22.000000000 +0100 +++ new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/doc/hb_report.8.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,478 +0,0 @@ -:man source: hb_report -:man version: 1.2 -:man manual: Pacemaker documentation - -hb_report(8) -============ - - -NAME ----- -hb_report - create report for CRM based clusters (Pacemaker) - - -SYNOPSIS --------- -*hb_report* -f {time|"cts:"testnum} [-t time] [-u user] [-l file] - [-n nodes] [-E files] [-p patt] [-L patt] [-e prog] - [-MSDCZAQVsvhd] [dest] - - -DESCRIPTION ------------ -The hb_report(1) is a utility to collect all information (logs, -configuration files, system information, etc) relevant to -Pacemaker (CRM) over the given period of time. - - -OPTIONS -------- -dest:: - The report name. It can also contain a path where to put the - report tarball. If left out, the tarball is created in the - current directory named "hb_report-current_date", for instance - hb_report-Wed-03-Mar-2010. - -*-d*:: - Don't create the compressed tar, but leave the result in a - directory. - -*-f* { time | "cts:"testnum }:: - The start time from which to collect logs. The time is in the - format as used by the Date::Parse perl module. For cts tests, - specify the "cts:" string followed by the test number. This - option is required. - -*-t* time:: - The end time to which to collect logs. Defaults to now. - -*-n* nodes:: - A list of space separated hostnames (cluster members). - hb_report may try to find out the set of nodes by itself, but - if it runs on the loghost which, as it is usually the case, - does not belong to the cluster, that may be difficult. Also, - OpenAIS doesn't contain a list of nodes and if Pacemaker is - not running, there is no way to find it out automatically. - This option is cumulative (i.e. use -n "a b" or -n a -n b). - -*-l* file:: - Log file location. If, for whatever reason, hb_report cannot - find the log files, you can specify its absolute path. - -*-E* files:: - Extra log files to collect. This option is cumulative. By - default, /var/log/messages are collected along with the - cluster logs. - -*-M*:: - Don't collect extra log files, but only the file containing - messages from the cluster subsystems. - -*-L* patt:: - A list of regular expressions to match in log files for - analysis. This option is additive (default: "CRIT: ERROR:"). - -*-p* patt:: - Additional patterns to match parameter name which contain - sensitive information. This option is additive (default: "passw.*"). - -*-Q*:: - Quick run. Gathering some system information can be expensive. - With this option, such operations are skipped and thus - information collecting sped up. The operations considered - I/O or CPU intensive: verifying installed packages content, - sanitizing files for sensitive information, and producing dot - files from PE inputs. - -*-A*:: - This is an OpenAIS cluster. hb_report has some heuristics to - find the cluster stack, but that is not always reliable. - By default, hb_report assumes that it is run on a Heartbeat - cluster. - -*-u* user:: - The ssh user. hb_report will try to login to other nodes - without specifying a user, then as "root", and finally as - "hacluster". If you have another user for administration over - ssh, please use this option. - -*-X* ssh-options:: - Extra ssh options. These will be added to every ssh - invocation. Alternatively, use `$HOME/.ssh/config` to setup - desired ssh connection options. - -*-S*:: - Single node operation. Run hb_report only on this node and - don't try to start slave collectors on other members of the - cluster. Under normal circumstances this option is not - needed. Use if ssh(1) does not work to other nodes. - -*-Z*:: - If the destination directory exist, remove it instead of - exiting (this is default for CTS). - -*-V*:: - Print the version including the last repository changeset. - -*-v*:: - Increase verbosity. Normally used to debug unexpected - behaviour. - -*-h*:: - Show usage and some examples. - -*-D* (obsolete):: - Don't invoke editor to fill the description text file. - -*-e* prog (obsolete):: - Your favourite text editor. Defaults to $EDITOR, vim, vi, - emacs, or nano, whichever is found first. - -*-C* (obsolete):: - Remove the destination directory once the report has been put - in a tarball. - -EXAMPLES --------- -Last night during the backup there were several warnings -encountered (logserver is the log host): - - logserver# hb_report -f 3:00 -t 4:00 -n "node1 node2" report - -collects everything from all nodes from 3am to 4am last night. -The files are compressed to a tarball report.tar.bz2. - -Just found a problem during testing: - - # note the current time - node1# date - Fri Sep 11 18:51:40 CEST 2009 - node1# /etc/init.d/heartbeat start - node1# nasty-command-that-breaks-things - node1# sleep 120 #wait for the cluster to settle - node1# hb_report -f 18:51 hb1 - - # if hb_report can't figure out that this is corosync - node1# hb_report -f 18:51 -A hb1 - - # if hb_report can't figure out the cluster members - node1# hb_report -f 18:51 -n "node1 node2" hb1 - -The files are compressed to a tarball hb1.tar.bz2. - -INTERPRETING RESULTS --------------------- -The compressed tar archive is the final product of hb_report. -This is one example of its content, for a CTS test case on a -three node OpenAIS cluster: - - $ ls -RF 001-Restart - - 001-Restart: - analysis.txt events.txt logd.cf s390vm13/ s390vm16/ - description.txt ha-log.txt openais.conf s390vm14/ - - 001-Restart/s390vm13: - STOPPED crm_verify.txt hb_uuid.txt openais.conf@ sysinfo.txt - cib.txt dlm_dump.txt logd.cf@ pengine/ sysstats.txt - cib.xml events.txt messages permissions.txt - - 001-Restart/s390vm13/pengine: - pe-input-738.bz2 pe-input-740.bz2 pe-warn-450.bz2 - pe-input-739.bz2 pe-warn-449.bz2 pe-warn-451.bz2 - - 001-Restart/s390vm14: - STOPPED crm_verify.txt hb_uuid.txt openais.conf@ sysstats.txt - cib.txt dlm_dump.txt logd.cf@ permissions.txt - cib.xml events.txt messages sysinfo.txt - - 001-Restart/s390vm16: - STOPPED crm_verify.txt hb_uuid.txt messages sysinfo.txt - cib.txt dlm_dump.txt hostcache openais.conf@ sysstats.txt - cib.xml events.txt logd.cf@ permissions.txt - -The top directory contains information which pertains to the -cluster or event as a whole. Files with exactly the same content -on all nodes will also be at the top, with per-node links created -(as it is in this example the case with openais.conf and logd.cf). - -The cluster log files are named ha-log.txt regardless of the -actual log file name on the system. If it is found on the -loghost, then it is placed in the top directory. If not, the top -directory ha-log.txt contains all nodes logs merged and sorted by -time. Files named messages are excerpts of /var/log/messages from -nodes. - -Most files are copied verbatim or they contain output of a -command. For instance, cib.xml is a copy of the CIB found in -/var/lib/heartbeat/crm/cib.xml. crm_verify.txt is output of the -crm_verify(8) program. - -Some files are result of a more involved processing: - - *analysis.txt*:: - A set of log messages matching user defined patterns (may be - provided with the -L option). - - *events.txt*:: - A set of log messages matching event patterns. It should - provide information about major cluster motions without - unnecessary details. These patterns are devised by the - cluster experts. Currently, the patterns cover membership - and quorum changes, resource starts and stops, fencing - (stonith) actions, and cluster starts and stops. events.txt - is always generated for each node. In case the central - cluster log was found, also combined for all nodes. - - *permissions.txt*:: - One of the more common problem causes are file and directory - permissions. hb_report looks for a set of predefined - directories and checks their permissions. Any issues are - reported here. - - *backtraces.txt*:: - gdb generated backtrace information for cores dumped - within the specified period. - - *sysinfo.txt*:: - Various release information about the platform, kernel, - operating system, packages, and anything else deemed to be - relevant. The static part of the system. - - *sysstats.txt*:: - Output of various system commands such as ps(1), uptime(1), - netstat(8), and ifconfig(8). The dynamic part of the system. - -description.txt should contain a user supplied description of the -problem, but since it is very seldom used, it will be dropped -from the future releases. - -PREREQUISITES -------------- - -ssh:: - It is not strictly required, but you won't regret having a - password-less ssh. It is not too difficult to setup and will save - you a lot of time. If you can't have it, for example because your - security policy does not allow such a thing, or you just prefer - menial work, then you will have to resort to the semi-manual - semi-automated report generation. See below for instructions. - + - If you need to supply a password for your passphrase/login, then - always use the `-u` option. - + - For extra ssh(1) options, if you're too lazy to setup - $HOME/.ssh/config, use the `-X` option. Do not forget to put - the options in quotes. - -sudo:: - If the ssh user (as specified with the `-u` option) is other - than `root`, then `hb_report` uses `sudo` to collect the - information which is readable only by the `root` user. In that - case it is required to setup the `sudoers` file properly. The - user (or group to which the user belongs) should have the - following line: - + - <user> ALL = NOPASSWD: /usr/sbin/hb_report - + - See the `sudoers(5)` man page for more details. - -Times:: - In order to find files and messages in the given period and to - parse the `-f` and `-t` options, `hb_report` uses perl and one of the - `Date::Parse` or `Date::Manip` perl modules. Note that you need - only one of these. Furthermore, on nodes which have no logs and - where you don't run `hb_report` directly, no date parsing is - necessary. In other words, if you run this on a loghost then you - don't need these perl modules on the cluster nodes. - + - On rpm based distributions, you can find `Date::Parse` in - `perl-TimeDate` and on Debian and its derivatives in - `libtimedate-perl`. - -Core dumps:: - To backtrace core dumps gdb is needed and the packages with - the debugging info. The debug info packages may be installed - at the time the report is created. Let's hope that you will - need this really seldom. - -TIMES ------ - -Specifying times can at times be a nuisance. That is why we have -chosen to use one of the perl modules--they do allow certain -freedom when talking dates. You can either read the instructions -at the -http://search.cpan.org/dist/TimeDate/lib/Date/Parse.pm#EXAMPLE_DATES[Date::Parse -examples page]. -or just rely on common sense and try stuff like: - - 3:00 (today at 3am) - 15:00 (today at 3pm) - 2007/9/1 2pm (September 1st at 2pm) - Tue Sep 15 20:46:27 CEST 2009 (September 15th etc) - -`hb_report` will (probably) complain if it can't figure out what do -you mean. - -Try to delimit the event as close as possible in order to reduce -the size of the report, but still leaving a minute or two around -for good measure. - -`-f` is not optional. And don't forget to quote dates when they -contain spaces. - - -Should I send all this to the rest of Internet? ------------------------------------------------ - -By default, the sensitive data in CIB and PE files is not mangled -by `hb_report` because that makes PE input files mostly useless. -If you still have no other option but to send the report to a -public mailing list and do not want the sensitive data to be -included, use the `-s` option. Without this option, `hb_report` -will issue a warning if it finds information which should not be -exposed. By default, parameters matching 'passw.*' are considered -sensitive. Use the `-p` option to specify additional regular -expressions to match variable names which may contain information -you don't want to leak. For example: - - # hb_report -f 18:00 -p "user.*" -p "secret.*" /var/tmp/report - -Heartbeat's ha.cf is always sanitized. Logs and other files are -not filtered. - -LOGS ----- - -It may be tricky to find syslog logs. The scheme used is to log a -unique message on all nodes and then look it up in the usual -syslog locations. This procedure is not foolproof, in particular -if the syslog files are in a non-standard directory. We look in -/var/log /var/logs /var/syslog /var/adm /var/log/ha -/var/log/cluster. In case we can't find the logs, please supply -their location: - - # hb_report -f 5pm -l /var/log/cluster1/ha-log -S /tmp/report_node1 - -If you have different log locations on different nodes, well, -perhaps you'd like to make them the same and make life easier for -everybody. - -Files starting with "ha-" are preferred. In case syslog sends -messages to more than one file, if one of them is named ha-log or -ha-debug those will be favoured over syslog or messages. - -hb_report supports also archived logs in case the period -specified extends that far in the past. The archives must reside -in the same directory as the current log and their names must -be prefixed with the name of the current log (syslog-1.gz or -messages-20090105.bz2). - -If there is no separate log for the cluster, possibly unrelated -messages from other programs are included. We don't filter logs, -but just pick a segment for the period you specified. - -MANUAL REPORT COLLECTION ------------------------- - -So, your ssh doesn't work. In that case, you will have to run -this procedure on all nodes. Use `-S` so that `hb_report` doesn't -bother with ssh: - - # hb_report -f 5:20pm -t 5:30pm -S /tmp/report_node1 - -If you also have a log host which is not in the cluster, then -you'll have to copy the log to one of the nodes and tell us where -it is: - - # hb_report -f 5:20pm -t 5:30pm -l /var/tmp/ha-log -S /tmp/report_node1 - -OPERATION ---------- -hb_report collects files and other information in a fairly -straightforward way. The most complex tasks are discovering the -log file locations (if syslog is used which is the most common -case) and coordinating the operation on multiple nodes. - -The instance of hb_report running on the host where it was -invoked is the master instance. Instances running on other nodes -are slave instances. The master instance communicates with slave -instances by ssh. There are multiple ssh invocations per run, so -it is essential that the ssh works without password, i.e. with -the public key authentication and authorized_keys. - -The operation consists of three phases. Each phase must finish -on all nodes before the next one can commence. The first phase -consists of logging unique messages through syslog on all nodes. -This is the shortest of all phases. - -The second phase is the most involved. During this phase all -local information is collected, which includes: - -- logs (both current and archived if the start time is far in the past) -- various configuration files (corosync, heartbeat, logd) -- the CIB (both as xml and as represented by the crm shell) -- pengine inputs (if this node was the DC at any point in - time over the given period) -- system information and status -- package information and status -- dlm lock information -- backtraces (if there were core dumps) - -The third phase is collecting information from all nodes and -analyzing it. The analyzis consists of the following tasks: - -- identify files equal on all nodes which may then be moved to - the top directory -- save log messages matching user defined patterns - (defaults to ERRORs and CRITical conditions) -- report if there were coredumps and by whom -- report crm_verify(8) results -- save log messages matching major events to events.txt -- in case logging is configured without loghost, node logs and - events files are combined using a perl utility - - -BUGS ----- -Finding logs may at times be extremely difficult, depending on -how weird the syslog configuration. It would be nice to ask -syslog-ng developers to provide a way to find out the log -destination based on facility and priority. - -If you think you found a bug, please rerun with the -v option and -attach the output to bugzilla. - -hb_report can function in a satisfactory way only if ssh works to -all nodes using authorized_keys (without password). - -There are way too many options. - - -AUTHOR ------- -Written by Dejan Muhamedagic, <[email protected]> - - -RESOURCES ---------- -Pacemaker: <http://clusterlabs.org/> - -Heartbeat and other Linux HA resources: <http://linux-ha.org/wiki> - -OpenAIS: <http://www.openais.org/> - -Corosync: <http://www.corosync.org/> - - -SEE ALSO --------- -Date::Parse(3) - - -COPYING -------- -Copyright \(C) 2007-2009 Dejan Muhamedagic. Free use of this -software is granted under the terms of the GNU General Public License (GPL). - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/lib/clplumbing/cl_pidfile.c new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/lib/clplumbing/cl_pidfile.c --- old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/lib/clplumbing/cl_pidfile.c 2017-02-01 20:21:22.000000000 +0100 +++ new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/lib/clplumbing/cl_pidfile.c 2017-08-03 10:41:13.000000000 +0200 @@ -71,7 +71,7 @@ /* This is what the FHS standard specifies for the size of our lock file */ -#define LOCKSTRLEN 11 +#define LOCKSTRLEN 12 #include <clplumbing/cl_log.h> int IsRunning(long pid) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/lib/plugins/stonith/external/vcenter new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/lib/plugins/stonith/external/vcenter --- old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/lib/plugins/stonith/external/vcenter 2017-02-01 20:21:22.000000000 +0100 +++ new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/lib/plugins/stonith/external/vcenter 2017-08-03 10:41:13.000000000 +0200 @@ -209,6 +209,8 @@ if ($powerState eq "poweredOff" && (! exists $ENV{'RESETPOWERON'} || $ENV{'RESETPOWERON'} ne 0)) { $vm->PowerOnVM(); system("ha_log.sh", "info", "Machine $esx:$vm->{'name'} has been powered on"); + } elsif ($powerState eq "poweredOff") { + system("ha_log.sh", "info", "Machine $esx:$vm->{'name'} won't be powered on with configured parameter RESETPOWERON=0"); } else { dielog("Could not complete $esx:$vm->{'name'} power cycle"); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/lib/stonith/st_ttylock.c new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/lib/stonith/st_ttylock.c --- old/cluster-glue-1.0.12+v1.git.1485976882.03d61cd/lib/stonith/st_ttylock.c 2017-02-01 20:21:22.000000000 +0100 +++ new/cluster-glue-1.0.12+v1.git.1501749673.bdd95fd0/lib/stonith/st_ttylock.c 2017-08-03 10:41:13.000000000 +0200 @@ -125,7 +125,7 @@ } /* This is what the FHS standard specifies for the size of our lock file */ -#define LOCKSTRLEN 11 +#define LOCKSTRLEN 12 static int DoLock(const char * prefix, const char *lockname)
