Public Repository

Last pushed: 6 months ago
Short Description
Image containing all the Ceph daemons
Full Description

Ceph Daemon Container

This image is identical to ceph/daemon except that the start_mon.sh script has been modified to allow MON_IP and CEPH_PUBLIC_NETWORK to be resolved independently. Previously you were required to specify both or neither and have the script find the appropriate value. This didn't suit my situation as, for whatever reason, CEPH_PUBLIC_NETWORK wasn't being resolved properly so I needed to hardcode it, but I still wanted MON_IP to be dynamic.

The entire change was to replace:

MON_IP=$(get_ip ${NIC_MORE_TRAFFIC} ${NETWORK_AUTO_DETECT})
CEPH_PUBLIC_NETWORK=$(get_network ${NIC_MORE_TRAFFIC} ${NETWORK_AUTO_DETECT})

with the following:

if [[ -z "$MON_IP" ]]; then
    MON_IP=$(get_ip ${NIC_MORE_TRAFFIC} ${NETWORK_AUTO_DETECT})
fi
if [[ -z "$CEPH_PUBLIC_NETWORK" ]]; then
   CEPH_PUBLIC_NETWORK=$(get_network ${NIC_MORE_TRAFFIC} ${NETWORK_AUTO_DETECT})
fi

This change was only applied to IPv4.

Docker Pull Command
Owner
dippynark