pve-manager/PVE
Alwin Antreich 485b2cd10a Fix: ceph: mon_address not considered by new MON
The public_addr option for creating a new MON is only valid for manual
startup (since Ceph Jewel) and is just ignored by ceph-mon during setup.
As the MON is started after the creation through systemd without an IP
specified. It is trying to auto-select an IP.

Before this patch the public_addr was only explicitly written to the
ceph.conf if no public_network was set. The mon_address is only needed
in the config on the first start of the MON.

The ceph-mon itself tries to select an IP on the following conditions.
- no public_network or public_addr is in the ceph.conf
    * startup fails

- public_network is in the ceph.conf
    * with a single network, take the first available IP
    * on multiple networks, walk through the list orderly and start on
      the first network where an IP is found

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2020-04-15 09:52:31 +02:00
..
API2 Fix: ceph: mon_address not considered by new MON 2020-04-15 09:52:31 +02:00
Ceph ceph: remove unused variable assignment 2020-04-15 09:52:31 +02:00
CLI Add all standard output options that are not yet defined 2020-03-02 20:17:53 +01:00
Service pvestatd: cgroupv2 support 2020-04-04 20:19:02 +02:00
Status status/graphite: fix memory leak, avoid cyclic closure reference 2019-11-19 09:11:47 +01:00
.gitignore add .gitignore files, fix Makefiles 2011-08-23 16:23:46 +02:00
API2.pm use PVE::DataCenterConfig 2019-11-18 12:25:35 +01:00
API2Tools.pm grammar fix: s/does not exists/does not exist/g 2019-12-13 12:09:44 +01:00
APLInfo.pm aplinfo: use aplinfo signed with 6.x release key 2019-07-19 19:19:07 +02:00
AutoBalloon.pm avoid perl warning 2013-01-22 11:44:41 +01:00
CertCache.pm takeover CertCache from pve-cluster 2019-11-18 12:25:35 +01:00
CertHelpers.pm renew pve-ssl.pem when it nearly expires 2019-11-26 13:13:04 +01:00
ExtMetric.pm Ext. Metrics: module global variable does not help with memory leak 2019-11-18 19:15:13 +01:00
HTTPServer.pm check if user is enabled after verifying a ticket 2020-03-12 15:36:00 +01:00
Makefile takeover CertCache from pve-cluster 2019-11-18 12:25:35 +01:00
NodeConfig.pm node config: allow - in config property keys 2019-11-26 13:27:30 +01:00
pvecfg.pm.in pvecfg: adapt version and release semantic 2019-05-26 16:11:43 +02:00
Report.pm pvecfg: adapt version and release semantic 2019-05-26 16:11:43 +02:00
VZDump.pm followup: whitespace and indentation cleanup 2020-03-12 17:44:26 +01:00