Hello community, here is the log from the commit of package crmsh for openSUSE:Factory checked in at 2017-12-06 08:58:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crmsh (Old) and /work/SRC/openSUSE:Factory/.crmsh.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crmsh" Wed Dec 6 08:58:44 2017 rev:134 rq:548185 version:4.0.0+git.1512406036.adc26906 Changes: -------- --- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes 2017-11-27 22:19:08.717035955 +0100 +++ /work/SRC/openSUSE:Factory/.crmsh.new/crmsh.changes 2017-12-06 08:58:47.340546096 +0100 @@ -1,0 +2,22 @@ +Mon Dec 04 16:48:34 UTC 2017 - kgronl...@suse.com + +- Update to version 4.0.0+git.1512406036.adc26906: + * high: bootstrap: Fix firewall reload command invocation (bsc#1071108) + +------------------------------------------------------------------- +Mon Dec 04 13:50:40 UTC 2017 - kgronl...@suse.com + +- Update to version 4.0.0+git.1512395407.e65870b4: + * high: bootstrap: Encode, not decode (bsc#1070344) + +------------------------------------------------------------------- +Mon Dec 04 11:04:01 UTC 2017 - kgronl...@suse.com + +- Update to version 4.0.0+git.1512385350.d06aa847: + * Fix writing non-ascii chars to log (bsc#1070344) + * Fix is_program(dmidecode) error (bsc#1070344) + * low: ui_configure: fix for 309d2e, remove "id=" in a save way + * low: ra: Don't require deprecated parameters (#321) + * low: cibconfig: use refresh instead of reset after commit + +------------------------------------------------------------------- Old: ---- crmsh-4.0.0+git.1511604050.816cb0f5.tar.bz2 New: ---- crmsh-4.0.0+git.1512406036.adc26906.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crmsh.spec ++++++ --- /var/tmp/diff_new_pack.AI232f/_old 2017-12-06 08:58:47.900525598 +0100 +++ /var/tmp/diff_new_pack.AI232f/_new 2017-12-06 08:58:47.900525598 +0100 @@ -36,7 +36,7 @@ Summary: High Availability cluster command-line interface License: GPL-2.0+ Group: %{pkg_group} -Version: 4.0.0+git.1511604050.816cb0f5 +Version: 4.0.0+git.1512406036.adc26906 Release: 0 Url: http://crmsh.github.io Source0: %{name}-%{version}.tar.bz2 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.AI232f/_old 2017-12-06 08:58:47.936524281 +0100 +++ /var/tmp/diff_new_pack.AI232f/_new 2017-12-06 08:58:47.940524134 +0100 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/ClusterLabs/crmsh.git</param> - <param name="changesrevision">816cb0f524860f165fc38cb95c92b10c26e6bba4</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">adc269069314c9a6ad2b0b378745d9161604097a</param></service></servicedata> \ No newline at end of file ++++++ crmsh-4.0.0+git.1511604050.816cb0f5.tar.bz2 -> crmsh-4.0.0+git.1512406036.adc26906.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.0.0+git.1511604050.816cb0f5/crmsh/bootstrap.py new/crmsh-4.0.0+git.1512406036.adc26906/crmsh/bootstrap.py --- old/crmsh-4.0.0+git.1511604050.816cb0f5/crmsh/bootstrap.py 2017-11-25 11:00:50.000000000 +0100 +++ new/crmsh-4.0.0+git.1512406036.adc26906/crmsh/bootstrap.py 2017-12-04 17:47:16.000000000 +0100 @@ -109,8 +109,9 @@ def log(*args): global LOG_FILE try: - with open(LOG_FILE, "a") as logfile: - logfile.write(" ".join([str(arg) for arg in args]) + "\n") + with open(LOG_FILE, "ab") as logfile: + text = " ".join([utils.to_ascii(arg) for arg in args]) + "\n" + logfile.write(text.encode('ascii', 'backslashreplace')) except IOError: if LOG_FILE != log_file_fallback(): LOG_FILE = log_file_fallback() @@ -509,7 +510,8 @@ cmd("--add-port={}/udp".format(p)) if has_firewalld: - cmd("--reload") + if not invoke("firewall-cmd --reload"): + error("Failed to reload firewall configuration.") def init_firewall_ufw(tcp, udp): """ @@ -1040,7 +1042,7 @@ """ @utils.memoize def check_amazon(): - if not is_program("dmidecode"): + if not utils.is_program("dmidecode"): return False _rc, outp = utils.get_stdout("dmidecode -s system-version") return re.search(r"\<.*\.amazon\>", outp) is not None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.0.0+git.1511604050.816cb0f5/crmsh/cibconfig.py new/crmsh-4.0.0+git.1512406036.adc26906/crmsh/cibconfig.py --- old/crmsh-4.0.0+git.1511604050.816cb0f5/crmsh/cibconfig.py 2017-11-25 11:00:50.000000000 +0100 +++ new/crmsh-4.0.0+git.1512406036.adc26906/crmsh/cibconfig.py 2017-12-04 17:47:16.000000000 +0100 @@ -2567,7 +2567,7 @@ common_debug("CIB commit successful at %s" % (t)) if is_live_cib(): self.last_commit_time = t - self.reset() + self.refresh() return rc def _update_schema(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.0.0+git.1511604050.816cb0f5/crmsh/ra.py new/crmsh-4.0.0+git.1512406036.adc26906/crmsh/ra.py --- old/crmsh-4.0.0+git.1511604050.816cb0f5/crmsh/ra.py 2017-11-25 11:00:50.000000000 +0100 +++ new/crmsh-4.0.0+git.1512406036.adc26906/crmsh/ra.py 2017-12-04 17:47:16.000000000 +0100 @@ -414,7 +414,7 @@ name = c.get("name") if not name: continue - required = c.get("required") + required = c.get("required") if not c.get("deprecated") else "0" unique = c.get("unique") typ, default = _param_type_default(c) d[name] = { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.0.0+git.1511604050.816cb0f5/crmsh/ui_configure.py new/crmsh-4.0.0+git.1512406036.adc26906/crmsh/ui_configure.py --- old/crmsh-4.0.0+git.1511604050.816cb0f5/crmsh/ui_configure.py 2017-11-25 11:00:50.000000000 +0100 +++ new/crmsh-4.0.0+git.1512406036.adc26906/crmsh/ui_configure.py 2017-12-04 17:47:16.000000000 +0100 @@ -726,7 +726,7 @@ if not args: return cib_factory.create_object(cmd, *args) if args[0].startswith("id="): - object_id = args[0].strip("id=") + object_id = args[0][3:] else: object_id = args[0] params = (object_id,) + args[1:]