[pmg-devel] [PATCH pmg-api 0/2] cluster changes for bookworm

Stoiko Ivanov s.ivanov at proxmox.com
Mon Jun 26 22:45:08 CEST 2023


with the initial tests for the upgrade of the pmg packages to bookworm I
noticed 2 small issues when running PMG in a cluster.

the first patch addresses the same issue we had in pve-cluster with the
deprecated rsync syntax.

the second patch addresses a change in postgresql's response to
```
EXTRACT(EPOCH FROM now())
```

with both patches applied a cluster setup with one being upgraded from
bullseye (with a restored backup from another bullseye system) and one
installed directly from a test ISO remain with both nodes in active state.

Stoiko Ivanov (2):
  cluster: fix rsync invocation
  postgresql compat: cast result from EXTRACT to INTEGER

 src/PMG/Cluster.pm    |  4 +++-
 src/PMG/DBTools.pm    |  4 ++--
 src/PMG/Quarantine.pm |  4 ++--
 src/PMG/Statistic.pm  | 16 ++++++++--------
 src/bin/pmgpolicy     |  2 +-
 5 files changed, 16 insertions(+), 14 deletions(-)

-- 
2.30.2





More information about the pmg-devel mailing list