Hello community,

here is the log from the commit of package health-checker for openSUSE:Factory 
checked in at 2019-02-08 13:45:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/health-checker (Old)
 and      /work/SRC/openSUSE:Factory/.health-checker.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "health-checker"

Fri Feb  8 13:45:51 2019 rev:7 rq:671016 version:1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/health-checker/health-checker.changes    
2018-12-21 08:21:45.481550963 +0100
+++ /work/SRC/openSUSE:Factory/.health-checker.new.28833/health-checker.changes 
2019-02-08 13:45:52.670826303 +0100
@@ -1,0 +2,7 @@
+Mon Feb  4 10:57:58 CET 2019 - ku...@suse.de
+
+- Update to version 1.1
+  * new plugins for crio and kubelet
+- Add new sub-package with test cases for openSUSE Kubic
+
+-------------------------------------------------------------------

Old:
----
  health-checker-1.0.tar.xz

New:
----
  health-checker-1.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ health-checker.spec ++++++
--- /var/tmp/diff_new_pack.vGXIY7/_old  2019-02-08 13:45:53.266826119 +0100
+++ /var/tmp/diff_new_pack.vGXIY7/_new  2019-02-08 13:45:53.270826117 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package health-checker
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           health-checker
-Version:        1.0
+Version:        1.1
 Release:        0
 Summary:        Service for verifying that important services are running
 License:        GPL-2.0-only
@@ -48,6 +48,16 @@
 This package contains health-checker plugins for testing that
 the openSUSE MicroOS did boot correctly.
 
+%package plugins-kubic
+Summary:        Health-checker plugins for openSUSE Kubic
+Group:          System/Base
+Requires:       %{name} >= %{version}
+Provides:       health-checker-plugins = 1.0
+
+%description plugins-kubic
+This package contains health-checker plugins for testing that
+the openSUSE Kubic did boot correctly.
+
 %package plugins-caasp
 Summary:        Health-checker plugins for SUSE CaaS Platform
 Group:          System/Base
@@ -114,12 +124,16 @@
 %{_libexecdir}/dracut/modules.d/50health-checker
 
 %files plugins-MicroOS
+%{_libexecdir}/health-checker/crio.sh
 %{_libexecdir}/health-checker/etc-overlayfs.sh
 %{_libexecdir}/health-checker/rebootmgr.sh
 
 %files plugins-caasp
 %{_libexecdir}/health-checker/etcd.sh
 
+%files plugins-kubic
+%{_libexecdir}/health-checker/kubelet.sh
+
 %files testing
 %{_libexecdir}/health-checker/health-check-tester.sh
 

++++++ health-checker-1.0.tar.xz -> health-checker-1.1.tar.xz ++++++
++++ 1751 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/health-checker-1.0/NEWS new/health-checker-1.1/NEWS
--- old/health-checker-1.0/NEWS 2018-05-23 12:44:04.000000000 +0200
+++ new/health-checker-1.1/NEWS 2019-02-04 10:55:14.000000000 +0100
@@ -1,6 +1,9 @@
 issue-generator NEWS -- history of user-visible changes.
 
-Copyright (C) 2017-2018 Thorsten Kukuk
+Copyright (C) 2017-2019 Thorsten Kukuk
+
+Version 1.1
+* Add checks for kubelet and crio
 
 Version 1.0
 * Skip health checker if emergency shell started by user
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/health-checker-1.0/configure.ac new/health-checker-1.1/configure.ac
--- old/health-checker-1.0/configure.ac 2018-05-23 12:44:13.000000000 +0200
+++ new/health-checker-1.1/configure.ac 2019-02-04 10:54:50.000000000 +0100
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(health-checker, 1.0)
+AC_INIT(health-checker, 1.1)
 AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([sbin/health-checker.in])
 AC_PREFIX_DEFAULT(/usr)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/health-checker-1.0/man/health-checker.8 
new/health-checker-1.1/man/health-checker.8
--- old/health-checker-1.0/man/health-checker.8 2017-05-16 16:07:28.000000000 
+0200
+++ new/health-checker-1.1/man/health-checker.8 2019-02-04 10:55:42.000000000 
+0100
@@ -1,13 +1,13 @@
 '\" t
 .\"     Title: health-checker
 .\"    Author: Thorsten Kukuk <ku...@suse.de>
-.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 05/16/2017
+.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
+.\"      Date: 02/04/2019
 .\"    Manual: health-checker
 .\"    Source: health-checker
 .\"  Language: English
 .\"
-.TH "HEALTH\-CHECKER" "8" "05/16/2017" "health-checker" "health-checker"
+.TH "HEALTH\-CHECKER" "8" "02/04/2019" "health-checker" "health-checker"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/health-checker-1.0/man/health-checker.8.html 
new/health-checker-1.1/man/health-checker.8.html
--- old/health-checker-1.0/man/health-checker.8.html    2017-05-16 
16:07:28.000000000 +0200
+++ new/health-checker-1.1/man/health-checker.8.html    2019-02-04 
10:55:42.000000000 +0100
@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>health-checker</title><meta name="generator" 
content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" 
text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
+<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>health-checker</title><meta name="generator" 
content="DocBook XSL Stylesheets Vsnapshot"></head><body bgcolor="white" 
text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
     a.headerlink {
       color: #c60f0f;
       font-size: 0.8em;
@@ -15,7 +15,7 @@
     h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, 
dt:hover > a.headerlink {
       visibility: visible;
     }
-  </style><a href="health-checker.index.html">Index </a><span 
style="float:right">health-checker 0.3</span><hr><div class="refentry"><a 
name="health-checker.8"></a><div class="titlepage"></div><div 
class="refnamediv"><a name="name"></a><h2>Name</h2><p>health-checker, 
health-checker.service — Checks that all important services of a system did 
come up
+  </style><a href="health-checker.index.html">Index </a><span 
style="float:right">health-checker 1.1</span><hr><div class="refentry"><a 
name="health-checker.8"></a><div class="titlepage"></div><div 
class="refnamediv"><a name="name"></a><h2>Name</h2><p>health-checker, 
health-checker.service — Checks that all important services of a system did 
come up
     correctly after an update and reboot.</p></div><div 
class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div 
class="cmdsynopsis"><p><code class="command">/usr/sbin/health-checker</code> 
</p></div><div class="cmdsynopsis"><p><code 
class="command">/usr/sbin/health-checker</code>   --version  </p></div><p><code 
class="filename">health-checker.service</code></p></div><div 
class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a 
class="headerlink" title="Permalink to this headline" 
href="#DESCRIPTION">¶</a></h2><p><span 
class="emphasis"><em>health-checker</em></span>
 checks during boot, if the system is coming up correct.
 In error case, the action depends on what did happen before. If this is the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/health-checker-1.0/man/health-checker.index.html 
new/health-checker-1.1/man/health-checker.index.html
--- old/health-checker-1.0/man/health-checker.index.html        2017-05-16 
16:07:28.000000000 +0200
+++ new/health-checker-1.1/man/health-checker.index.html        2019-02-04 
10:55:42.000000000 +0100
@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>health-checker.index</title><meta name="generator" 
content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" 
text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
+<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>health-checker.index</title><meta name="generator" 
content="DocBook XSL Stylesheets Vsnapshot"></head><body bgcolor="white" 
text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
     a.headerlink {
       color: #c60f0f;
       font-size: 0.8em;
@@ -15,4 +15,4 @@
     h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, 
dt:hover > a.headerlink {
       visibility: visible;
     }
-  </style><a href="health-checker.index.html">Index </a><span 
style="float:right">health-checker 0.3</span><hr><div class="refentry"><a 
name="health-checker.index"></a><div class="titlepage"></div><div 
class="refnamediv"><h2>Name</h2><p>health-checker.index — List all manpages 
from the health-checker project</p></div><div class="refsect1"><a 
name="id-1.4"></a><h2 id="H">H<a class="headerlink" title="Permalink to this 
headline" href="#H">¶</a></h2><p><a href="health-checker.8.html"><span 
class="citerefentry"><span 
class="refentrytitle">health-checker</span>(8)</span></a> -- Checks that all 
important services of a system did come up correctly after an update and 
reboot.<br><a href="health-checker.service.8.html"><span 
class="citerefentry"><span 
class="refentrytitle">health-checker.service</span>(8)</span></a> -- Checks 
that all important services of a system did come up correctly after an update 
and reboot.<br></p></div><div class="refsect1"><a name="id-1.5"></a><p><a 
name="counts"></a>This index contains 2 entries, referring to 1 individual 
manual pages.</p></div></div></body></html>
+  </style><a href="health-checker.index.html">Index </a><span 
style="float:right">health-checker 1.1</span><hr><div class="refentry"><a 
name="health-checker.index"></a><div class="titlepage"></div><div 
class="refnamediv"><h2>Name</h2><p>health-checker.index — List all manpages 
from the health-checker project</p></div><div class="refsect1"><a 
name="id-1.4"></a><h2 id="H">H<a class="headerlink" title="Permalink to this 
headline" href="#H">¶</a></h2><p><a href="health-checker.8.html"><span 
class="citerefentry"><span 
class="refentrytitle">health-checker</span>(8)</span></a> -- Checks that all 
important services of a system did come up correctly after an update and 
reboot.<br><a href="health-checker.service.8.html"><span 
class="citerefentry"><span 
class="refentrytitle">health-checker.service</span>(8)</span></a> -- Checks 
that all important services of a system did come up correctly after an update 
and reboot.<br></p></div><div class="refsect1"><a name="id-1.5"></a><p><a 
name="counts"></a>This index contains 2 entries, referring to 1 individual 
manual pages.</p></div></div></body></html>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/health-checker-1.0/man/health-checker.service.8.html 
new/health-checker-1.1/man/health-checker.service.8.html
--- old/health-checker-1.0/man/health-checker.service.8.html    2017-05-16 
16:07:28.000000000 +0200
+++ new/health-checker-1.1/man/health-checker.service.8.html    2019-02-04 
10:55:42.000000000 +0100
@@ -1,4 +1,4 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>health-checker</title><meta name="generator" 
content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" 
text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
+<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>health-checker</title><meta name="generator" 
content="DocBook XSL Stylesheets Vsnapshot"></head><body bgcolor="white" 
text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
     a.headerlink {
       color: #c60f0f;
       font-size: 0.8em;
@@ -15,7 +15,7 @@
     h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, 
dt:hover > a.headerlink {
       visibility: visible;
     }
-  </style><a href="health-checker.index.html">Index </a><span 
style="float:right">health-checker 0.3</span><hr><div class="refentry"><a 
name="health-checker.8"></a><div class="titlepage"></div><div 
class="refnamediv"><a name="name"></a><h2>Name</h2><p>health-checker, 
health-checker.service — Checks that all important services of a system did 
come up
+  </style><a href="health-checker.index.html">Index </a><span 
style="float:right">health-checker 1.1</span><hr><div class="refentry"><a 
name="health-checker.8"></a><div class="titlepage"></div><div 
class="refnamediv"><a name="name"></a><h2>Name</h2><p>health-checker, 
health-checker.service — Checks that all important services of a system did 
come up
     correctly after an update and reboot.</p></div><div 
class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div 
class="cmdsynopsis"><p><code class="command">/usr/sbin/health-checker</code> 
</p></div><div class="cmdsynopsis"><p><code 
class="command">/usr/sbin/health-checker</code>   --version  </p></div><p><code 
class="filename">health-checker.service</code></p></div><div 
class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a 
class="headerlink" title="Permalink to this headline" 
href="#DESCRIPTION">¶</a></h2><p><span 
class="emphasis"><em>health-checker</em></span>
 checks during boot, if the system is coming up correct.
 In error case, the action depends on what did happen before. If this is the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/health-checker-1.0/missing new/health-checker-1.1/missing
--- old/health-checker-1.0/missing      2017-04-21 13:46:41.000000000 +0200
+++ new/health-checker-1.1/missing      2019-02-04 10:55:19.000000000 +0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Common wrapper for a few potentially missing GNU programs.
 
-scriptversion=2012-06-26.16; # UTC
+scriptversion=2016-01-11.22; # UTC
 
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Copyright (C) 1996-2017 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -160,7 +160,7 @@
       ;;
    autom4te*)
       echo "You might have modified some maintainer files that require"
-      echo "the 'automa4te' program to be rebuilt."
+      echo "the 'autom4te' program to be rebuilt."
       program_details 'autom4te'
       ;;
     bison*|yacc*)
@@ -210,6 +210,6 @@
 # eval: (add-hook 'write-file-hooks 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/health-checker-1.0/plugins/Makefile.am 
new/health-checker-1.1/plugins/Makefile.am
--- old/health-checker-1.0/plugins/Makefile.am  2017-05-18 13:55:14.000000000 
+0200
+++ new/health-checker-1.1/plugins/Makefile.am  2019-02-04 11:07:29.000000000 
+0100
@@ -5,6 +5,6 @@
 plugindir = @PLUGINDIR@
 
 plugin_SCRIPTS = health-check-tester.sh etcd.sh etc-overlayfs.sh \
-       rebootmgr.sh btrfs-subvolumes-mounted.sh
+       rebootmgr.sh btrfs-subvolumes-mounted.sh crio.sh kubelet.sh
 
 EXTRA_DIST = template.sh ${SCRIPTS}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/health-checker-1.0/plugins/crio.sh new/health-checker-1.1/plugins/crio.sh
--- old/health-checker-1.0/plugins/crio.sh      1970-01-01 01:00:00.000000000 
+0100
+++ new/health-checker-1.1/plugins/crio.sh      2019-02-04 10:47:01.000000000 
+0100
@@ -0,0 +1,33 @@
+#!/bin/bash
+
+run_checks() {
+    # Check first if it is installed:
+    rpm -q --quiet crio
+    test $? -ne && return
+
+    # ignore if crio is not enabled.
+    systemctl is-enabled -q crio
+    test $? -ne 0 && return
+
+    systemctl is-failed -q crio
+    test $? -ne 1 && exit 1
+}
+
+stop_services() {
+    systemctl stop crio
+}
+
+case "$1" in
+    check)
+       run_checks
+       ;;
+    stop)
+       stop_services
+       ;;
+    *)
+       echo "Usage: $0 {check|stop}"
+       exit 1
+       ;;
+esac
+
+exit 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/health-checker-1.0/plugins/kubelet.sh 
new/health-checker-1.1/plugins/kubelet.sh
--- old/health-checker-1.0/plugins/kubelet.sh   1970-01-01 01:00:00.000000000 
+0100
+++ new/health-checker-1.1/plugins/kubelet.sh   2019-02-04 10:48:07.000000000 
+0100
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+run_checks() {
+    # ignore if kubelet is not enabled.
+    systemctl is-enabled -q kubelet
+    test $? -ne 0 && return
+
+    systemctl is-failed -q kubelet
+    test $? -ne 1 && exit 1
+}
+
+stop_services() {
+    systemctl stop kubelet
+}
+
+case "$1" in
+    check)
+       run_checks
+       ;;
+    stop)
+       stop_services
+       ;;
+    *)
+       echo "Usage: $0 {check|stop}"
+       exit 1
+       ;;
+esac
+
+exit 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/health-checker-1.0/systemd/health-checker.service 
new/health-checker-1.1/systemd/health-checker.service
--- old/health-checker-1.0/systemd/health-checker.service       2017-03-24 
15:07:50.000000000 +0100
+++ new/health-checker-1.1/systemd/health-checker.service       2019-02-04 
10:38:51.000000000 +0100
@@ -1,8 +1,9 @@
 [Unit]
 Description=CaaSP Health Checker
-After=etcd.service
-After=flanneld.service
 After=cloud-final.service
+After=crio.service
+After=etcd.service
+After=kubelet.service
 After=rebootmgr.service
 Wants=local-fs.target
 


Reply via email to