Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 179162

Proxmox+Ceph: pveceph createmon: unable to find local address within network

$
0
0
I'm following the guide to set up a four-node Proxmox Ceph cluster on my Dell c6100.
https://pve.proxmox.com/wiki/Ceph_Server

Each node has dual gigabit ethernet and dual infiniband adapters. Everything has gone smoothly until I get to pveceph createmon, where it apparently can't find an address even though it is clearly configured, available, and working.

Code:

root@pve1:~# cat /etc/network/interfaces# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).


# The loopback network interface
auto lo
iface lo inet loopback


# The primary network interface
allow-hotplug eth0
iface eth0 inet manual
bond-master bond0


allow-hotplug eth1
iface eth1 inet manual
bond-master bond0


auto bond0
iface bond0 inet static
address 192.168.1.21
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.5 192.168.1.1
bond-mode 6


# infiniband interfaces
allow-hotplug ib0
iface ib0 inet static
address 10.13.37.21
netmask 255.255.255.0


allow-hotplug ib1
iface ib1 inet static
address 10.13.38.21
netmask 255.255.255.0
root@pve1:~# ping 10.13.38.22
PING 10.13.38.22 (10.13.38.22) 56(84) bytes of data.
64 bytes from 10.13.38.22: icmp_req=1 ttl=64 time=0.068 ms
64 bytes from 10.13.38.22: icmp_req=2 ttl=64 time=0.051 ms
64 bytes from 10.13.38.22: icmp_req=3 ttl=64 time=0.045 ms
^C
--- 10.13.38.22 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.045/0.054/0.068/0.012 ms
root@pve1:~# pveceph init --network 10.13.38.0/24
root@pve1:~# pveceph createmon
unable to find local address within network '10.13.38.0/24'

The Proxmox cluster is configured on ib0 and working properly as far as I can tell. There are no errors, and all the nodes show fine in the web interface. The ceph cluster is intended to be on ib1, but I can't create the monitor for some reason. Any ideas?

Viewing all articles
Browse latest Browse all 179162

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>