pve-manager/PVE/API2
Fiona Ebner 16f3482b34 api: ceph: mon create: remove superfluous verification call
The pve_verify_cidr{,v4,v6} functions were originally intended for
the /etc/network/interfaces API endpoints and thus are a bit
restrictive. For example, as reported in the community forum[0],
pve_verify_cidr() does not consider '0::/0' and '0::/1' to be valid.

The error message in this scenario being
> value does not look like a valid CIDR network
is also confusing, as the first thought of users will be that it comes
from the passed-in monitor address.

The public networks are not written here and read from the Ceph config
and via a RADOS mon command, so no need to try and verify them. If
something really would go wrong during parsing, the
get_local_ip_from_cidr() call would complain afterwards.

[0]: https://forum.proxmox.com/threads/125226/

Suggested-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-04-12 13:26:49 +02:00
..
Ceph api: ceph: mon create: remove superfluous verification call 2023-04-12 13:26:49 +02:00
Cluster api: ceph metadata: rename instance placeholder to id in return schema 2023-01-16 16:32:16 +01:00
Hardware fix #4245: api: node HW: allow to get PCI info with Sys.Audit on / 2022-11-20 13:29:58 +01:00
ACME.pm api: ACME revoke: do not abort if CA is just expired 2020-08-19 18:52:48 +02:00
ACMEAccount.pm api: acme: fix API index entry for challenge-schema 2021-05-05 15:52:49 +02:00
ACMEPlugin.pm ACME: add comment for implicit standalone plugin fallback 2020-05-07 13:53:05 +02:00
APT.pm api: apt: versions: also list Proxmox libraries for interfacing with Rust 2023-03-21 14:49:42 +01:00
Backup.pm api: vzdump: soften parameter permission checks 2022-11-21 14:13:05 +01:00
Capabilities.pm api: move cpu path into qemu/capabilities 2021-06-09 11:29:34 +02:00
Ceph.pm api: ceph: add ceph/cfg path, deprecate ceph/config and ceph/configdb 2023-03-20 15:31:04 +01:00
Certificates.pm fix #2771: relax cert API endpoints permissions 2020-06-17 14:00:43 +02:00
Cluster.pm api: description for 'id' property in /cluster/resources 2023-03-29 11:01:54 +02:00
HAConfig.pm use new ha infrastructure 2015-04-03 08:36:59 +02:00
Hardware.pm api: add usb list in hardware endpoint 2020-12-02 11:27:02 +01:00
Makefile move BackupInfo module into Cluster 2021-07-02 12:50:49 +02:00
Network.pm api2: network: anybridge: re-add regular bridges 2022-04-27 13:55:57 +02:00
NodeConfig.pm api: fill in nodeconfig schema 2022-03-17 14:24:20 +01:00
Nodes.pm api: node: bulk actions: allow when user has permission for each guest 2023-03-15 18:21:56 +01:00
Pool.pm api: add 'type' parameter to pool GET endpoint 2022-01-31 13:30:50 +01:00
Replication.pm replication: fix uninitalized warning 2023-03-21 14:49:12 +01:00
ReplicationConfig.pm fix iteration over hash without keys 2020-11-20 15:34:27 +01:00
Services.pm api/services: add pvescheduler to the service list 2021-11-12 16:17:36 +01:00
Subscription.pm subscription: handle missing subscription info 2022-09-07 14:50:32 +02:00
Tasks.pm fix #4521: api/tasks: replace upid as filename for task log downloads 2023-02-09 17:18:52 +01:00
VZDump.pm api: vzdump: soften parameter permission checks 2022-11-21 14:13:05 +01:00