[pve-devel] [PATCH-SERIES v2 common/manager] fix #2422: allow multiple Ceph public networks

Fabian Ebner f.ebner at proxmox.com
Mon May 10 14:18:12 CEST 2021


picked up from an old patch by Alwin[0].

Changes from v1:
    * avoid passing user-provided duplicate IP to monmaptool
    * match IPv6 addresses semantically
    * added Dominik's R-b and T-b tags for the unchanged patches
    * add two minor fixes for is_ip_in_cidr


New dependency on libnetaddr-ip-perl for pve-common needed!

Dependency bump pve-manager -> pve-common needed.


[0]: https://lists.proxmox.com/pipermail/pve-devel/2020-March/042304.html


common:

Fabian Ebner (4):
  network: is_ip_in_cidr: correctly handle the CIDR being a singleton
    range
  network: is_ip_in_cidr: avoid warning when versions don't match
  network: add canonical_ip function
  network: add unique_ips function

 src/PVE/Network.pm | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)


manager:

Fabian Ebner (10):
  api: ceph: mon: split up arguments for run_command
  api: ceph: create mon: handle ms_bind_ipv* options more generally
  api: ceph: create mon: factor out monmaptool command
  api: ceph: create mon: explicitly add subsequent monitors to the
    monmap
  api: ceph: mon: fix handling of IPv6 addresses in find_mon_ip
  api: ceph: mon: add ips_from_mon_host helper
  api: ceph: mon: fix handling of IPv6 addresses in
    assert_mon_prerequisites
  api: ceph: mon: factor out mon_host regex address removal
  api: ceph: mon: fix handling of IPv6 addresses in destroymon
  fix #2422: allow multiple Ceph public networks

 PVE/API2/Ceph/MON.pm | 297 +++++++++++++++++++++++++++++++++----------
 1 file changed, 229 insertions(+), 68 deletions(-)

-- 
2.20.1






More information about the pve-devel mailing list