Bug #898
closedvstart.sh fails if host has many IP addresses
0%
Description
As reported by Noah Watkins <jayhawk@cs.ucsc.edu> on the mailing list,
vstart.sh fails (confusingly) on some hosts. It tries to run something
like "./monmaptool --create --clobber --add a ::1 127.0.1.1 128.114.52.36:6789
--add b ::1 127.0.1.1 128.114.52.36:6790 --add c ::1 127.0.1.1 128.114.52.36:6791
--print /tmp/ceph_monmap.13428". From my reply:
vstart.sh can't handle hosts with IPv6 right now -- in fact, it can't
even handle some IPv4 configurations of /etc/resolv.conf. A simple
test is to run: hostname --ip-address
If it outputs more than one IP address, vstart.sh won't work for you
right now. On this Ubuntu 10.04 box, I get "::1 127.0.1.1 10.0.1.102".
My /etc/hosts is
10.0.1.102 dreamer # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost
::1 dreamer localhost6.localdomain6 localhost6
127.0.1.1 dreamer
- The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
I don't have a good solution right now.