5
0
mirror of git://git.proxmox.com/git/pve-cluster.git synced 2025-03-12 20:58:25 +03:00

222 Commits

Author SHA1 Message Date
Thomas Lamprecht
e07cfd7c33 d/control: drop shlibs:Depends for architecture independent packages
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-01-28 15:27:08 +01:00
Thomas Lamprecht
e3e91cb39a bump version to 6.1-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-01-17 10:30:15 +01:00
Thomas Lamprecht
e62a6aea25 bump version to 6.1-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-27 17:19:51 +01:00
Thomas Lamprecht
168ba12e3d bump version to 6.0-10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-26 15:10:05 +01:00
Thomas Lamprecht
34c830646f bump version to 6.0-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-22 16:30:26 +01:00
Fabian Grünbichler
404a82d0a0 bump version to 6.0-8
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-18 12:28:08 +01:00
Thomas Lamprecht
48f486d13a d/control: update breaks versions to actual one
ha-manager and pve-manager got bumped during this series development,
so reflect that by updating the breaks versions, to not leave a gap
here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-18 12:28:08 +01:00
Thomas Lamprecht
3257d064c5 fix some lintian warning about Package description/synopsis
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-18 11:50:20 +01:00
Thomas Lamprecht
c7fa83116c d/control: make api lib depend on the same version as cluster lib
As they need to be the same to work, else some half-upgrades or
half-downgrades can be done, which may break stuff badly. So tell
apt/dpkg about the relation ship be doing a hard version dependency
on ${binary:Version} which is our currently build package version

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-11-18 11:47:56 +01:00
Fabian Grünbichler
84c3ab06fe pve-cluster.service: move pvecm call to pveproxy.service
since that is were we actually require a certificate/key to be present

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-11-15 10:39:51 +01:00
Fabian Grünbichler
352d651007 split package into pve-cluster/pmxcfs and perl modules
with the former containing:
- pmxcfs binary + service
- IPCC perl bindings
- PVE::Cluster

and the latter being further split into

libpve-cluster-perl:
- PVE::DataCenterConfig
- various other perl modules not directly related to pmxcfs

and libpve-cluster-api-perl:
- ClusterConfig API
- pvecm CLI
- PVE::Corosync
- PVE::Cluster::Setup helper module

this second split is needed to avoid a (pre-existing) circular
dependency between libpve-access-control and libpve-cluster-perl:
- the cluster API code uses PVE::RPCEnvironment
- the access-control API code uses PVE::DataCenterConfig

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-11-15 10:39:51 +01:00
Fabian Grünbichler
995743c4c4 d/control: add versioned breaks
for all the refactored/moved code

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-11-15 10:39:51 +01:00
Fabian Grünbichler
ab96672976 move datacenter.cfg to own file
and inline get_local_migration_ip into 'pvecm mtunnel', since all the
other callers are either wrong or have different requirements.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-11-15 10:39:51 +01:00
Fabian Grünbichler
2a7ba010d9 d/control: add missing build-depends
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-11-15 10:39:51 +01:00
Fabian Grünbichler
c92b771669 use PVE::Certificate to read fingerprint
instead of duplicating the whole "read certificate from file" code that
we already have in pve-common.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-11-08 12:45:44 +01:00
Thomas Lamprecht
11f9f36e2f bump version to 6.0-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-09-02 11:08:06 +02:00
Thomas Lamprecht
5e39cd6244 bump version to 6.0-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-08-30 14:46:49 +02:00
Fabian Grünbichler
03179a24d8 bump version to 6.0-5
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-08-07 10:49:36 +02:00
Fabian Grünbichler
6d84afbdc5 bump version to 6.0-6 2019-07-02 11:21:47 +02:00
Thomas Lamprecht
d22c852e12 bump version to 6.0-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-27 11:17:20 +02:00
Thomas Lamprecht
5968955908 bump version to 6.0-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-25 12:30:27 +02:00
Thomas Lamprecht
b2390cdf08 bump version to 6.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-14 20:13:49 +02:00
Thomas Lamprecht
65c0ac002e buildsys: perlapi-X.Y gets set automatically by dh, so drop manual replace
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-25 19:12:32 +02:00
Thomas Lamprecht
3f463970d3 d/control: remove obsolete dependencies
the xml one should have been already removed by commit
77a620a8f9aa749580679dd687d233c52526b1f6 which removed it from the
build dependencies only..

rsyslog and lsb-base have no direct use here anymore

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 12:25:07 +02:00
Thomas Lamprecht
b3fe246abb d/control: remove unnecessary build depends
compat level 10 implies those, and autotools is not needed anymore

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 12:24:26 +02:00
Thomas Lamprecht
b30ec6bea6 remove workarounds for avoiding HA fencing on upgrade
those got introduced by commit
ec826d72c06e6f649b2b19c3341c39abb29b19f9 and can now be safely
removed, as current pve-cluster and pve-ha-manager do show this
problems, and upgrades need to go through latest PVE 5.X which then
ensures this is fixed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-21 22:18:29 +02:00
Thomas Lamprecht
e4f782b30a remove maintscript for pve-cluster default conf
upgraders are required to go through latest PVE 5.X which includes
executing this step, so we can remove it now here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-21 22:15:47 +02:00
Thomas Lamprecht
3bc209ac71 d/control: update standards version
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-21 18:13:28 +02:00
Thomas Lamprecht
7b0deeb5bb bump debian compat level to 10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-21 18:13:28 +02:00
Thomas Lamprecht
0c2040e591 bump version to 6.0-0+1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-21 18:13:28 +02:00
Thomas Lamprecht
02f0ad7fc8 bump version to 5.0-37
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-30 13:59:10 +00:00
Fabian Grünbichler
5167956797 update corosync build-dependency
transitional corosync-dev is dropped with Debian Buster / PVE 6
2019-04-19 10:33:34 +02:00
Thomas Lamprecht
9cdaef36e5 bump version to 5.0-36
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-10 15:47:06 +02:00
Thomas Lamprecht
1ea956c116 bump version to 5.0-35
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-04-03 13:38:15 +02:00
Thomas Lamprecht
50bf398bc0 fix 'PIDFile= references path below legacy directory /var/run/' warning
/var/run is a symlink to /run on stretch and buster, and the systemd
version of buster will annoy one with warnings if /var/run/xyz.pid is
used..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-26 14:50:18 +01:00
Thomas Lamprecht
e997e998ab restart pve-cluster.service on failure
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-14 14:50:26 +01:00
Thomas Lamprecht
d54bc2c8fc bump version to 5.0-34
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-14 09:39:00 +01:00
Thomas Lamprecht
6d8141678f d/control: bump version dependency to pve-doc-generator
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-22 13:31:32 +01:00
Fabian Grünbichler
f27580ffc0 pve-cluster: dont pretend to be a time-sync provider
time-sync.target is a special passive unit, consumers (i.e., units that
intend to say "I want to start after synchronized time has been
established") should only order themselves after it. only providers
(i.e., units that intend to say "I am responsible for synchronizing the
clock") should pull it in via a dependency.

this and 2c7182b76f59b32efaba3135c095b9c722957af1 together also fix #998

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-01-15 08:59:06 +01:00
Oguz Bektas
2c7182b76f fix #2049: avoid conflict with chrony service
Do not depend on a specific time synchronizing daemon but allow any
by depend on the general time-sync.target

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-14 15:20:45 +01:00
Thomas Lamprecht
3af76ece22 bump version to 5.0-33
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-07 12:56:39 +01:00
Thomas Lamprecht
dbe510aa92 bump version to 5.0-32
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-20 10:46:54 +01:00
Thomas Lamprecht
f3b7b56d50 bump version to 5.0-31
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-29 13:08:27 +01:00
Thomas Lamprecht
f6a2acc2ea bump version to 5.0-30
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-23 14:00:51 +02:00
Thomas Lamprecht
2fc19fddb3 buildsys: replace autotools with plain makefiles
pve-cluster is not a big project with to much dependencies, so
autotools was a bit of an overkill for it.
Omit it, plus a ./configure step in general and just use a plain
Makefile - in combination with pkg-config - like we do in our other
projects.

Build time gets reduced quite a bit - albeit the were never that big
anyway...:

(old autotools) time make deb
make deb  12.96s user 1.78s system 94% cpu 15.543 total

(new plain makefile) time make deb
make deb  9.40s user 1.14s system 100% cpu 10.465 total

A third less time needed here, and with compiling in parallel I can
shave off even 1.5 seconds more, so almost  half of the original
time.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-07-25 11:27:14 +02:00
Thomas Lamprecht
a802aaedcb bump version to 5.0-29
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-07-24 11:19:58 +02:00
Thomas Lamprecht
c8c63c4885 bump version to 5.0-28 2018-07-03 14:16:42 +02:00
Thomas Lamprecht
18b311d08e bump version to 5.0-27 2018-05-04 12:58:54 +02:00
Wolfgang Bumiller
2ed9fbf5b9 bump version to 5.0-26
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-04-24 11:07:40 +02:00
Wolfgang Bumiller
d68d810b42 bump version to 5.0-25
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-04-13 13:50:31 +02:00