proxmox 5.1 pveceph createmon bug?

Volker Lieder

Well-Known Member
Nov 6, 2017
50
3
48
45
Hi,

we setup a new cluster on debian stretch with proxmox 5.1 and wanted to use ceph.
While configuring setup we get the following error:

root@cloud-node12:~# pveceph createmon
unable to find local address within network '172.16.65.0/24'

Our /etc/network/interfaces looks like:

iface vmbr0 inet static
address 172.16.65.112/24
gateway 172.16.65.1


If i change to

iface vmbr0 inet static
address 172.16.65.112
network 255.255.255.0
gateway 172.16.65.1
it works.

Is it possible that "pveceph createmon" doesnt support new interfaces settings?

Regards,
Volker
 
Hi, yes there seems to be a bug in a utility function we use to see if any IP of the local node is in the public network of Ceph, it seems that worked around this in other places but this one was overlooked.

I'll located it and will send a patch out shortly, then this should be no problem anymore. Much thanks for the report!