Starting with mr10.0 heartbeat-2 is no longer supported, starting with
mr10.5 (the next LTS) heartbeat-2 is no longer available.
Change-Id: Ie56990b0bfcaaa8da2e5b9ccff1e0a3c4a0a24d3
Switch python shebang to python3, and switch python scripts to python3
by using the 2to3 conversion tool. Update Build-Depends, and remove now
redundant non-dev python dependency as python3-dev takes that role in
addition to pulling in libpython3-dev.
This is needed for the upgrade to Debian bullseye, which has removed
most of python 2.
Change-Id: If86477b23591369fe2fb494ccf430f60425d754f
We need to switch from the open coded fragment printing files not
installed to use the standard dh_missing.
Change-Id: I55cc61b9c1c98bf969155e824067311beae22bce
This package uses obsolete python modules, and it is something we do
not use on the NGCP. In Debian bullseye these modules are not present
so the best course of action is to remove the package and ignore any
conversion for these scripts.
Change-Id: I5b440f8c86e80237a3837b877dca2678f0ae3db1
These are problematic and unnecessary on modern systems, such as Debian,
where we have better replacements like pkg-config.
Warned-by: lintian
Change-Id: I94f7d7767416167587c03e5731c36d278f1550a7
Add missing link dependencies for shared libraries, otherwise those will
fail the build as they end up with undefined symbol references.
Change-Id: I6f18f221a774abfe183ecee662bca2a221f980f4
This is safe as dpkg-source will ignore deleted files during build. Then
we run autoreconf during the build, which makes sure that we regenerate
any file during the build process, and get the latest versions, which
should handle support for Python 3 among others, needed for the upgrade
to Debian bullseye.
Change-Id: Ic55c8dbc0912e90a263617bdbb9c97142c138b9c
This resource was declared twice, which makes the installation fail on
new systems (Debian bullseye) as the file is already installed.
Change-Id: I241762e08271fe0a0cedee5c253131b13d47adda
We only switch the debian/ packaging bits, as we are trying to switch
away from heartbeat-2, so any further changes seem counterproductive.
Change-Id: I99a21046c9af5d05358da1f05f94e444c4a2a0dc
These packages cannot coexist, and the newer packages do not provide
Conflicts/Replaces fields, so we need to do that from this side, to
force removal of the old heartbeat-2 package.
Change-Id: I39b166d731872f5cde02efe2a2e49440085e2fca
Move init script into /usr/share/heartbeat so that it is not easily
accessible as a proper sysvinit script. It did not use lsb/init-functions
and as such was not redirecting to the systemd service, making the script
dangerous to have laying around as it could mess up with our systemd
support.
Change-Id: Ia317b719cf23933523cb3f945d701015384e39cc
We do not require monit in any way now. Listing it as a dependency and
declaring an After ordering means that on reboot, heartbeat is always
shut down first, it will then try to shut down all NGCP services, and
meanwhile monit will notice and try to restart them, making heartbeat
not be able to shut down cleanly.
Change-Id: I454c7714159b92c9237f2530ba8ba82316481478
The service hb_watchdog.service was designed to handle the one case only:
HA split brain when both nodes are master. So, we must have a dependencies
on heartbeat.service here. Since hb_watchdog should be stopped if heartbeat.service
is not running, adding Requires= instead of Want= here.
Also there is no point to have dependencies on monit.service here.
Change-Id: I50e688cd342cb6bf9f1777aaffc5ef735c81b16d