IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
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>
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>
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>
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>
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>
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>
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>
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>
/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>
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>
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>
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>