Project

General

Profile

Actions

Bug #898

closed

vstart.sh fails if host has many IP addresses

Added by Anonymous about 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

As reported by Noah Watkins <> 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

  1. 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.

Actions #1

Updated by Anonymous about 13 years ago

Workaround when you're running on a single machine: ./vstart.sh --localhost

Actions #2

Updated by Sage Weil about 13 years ago

  • Target version set to v0.27
  • Translation missing: en.field_position set to 2
Actions #3

Updated by Sage Weil about 13 years ago

  • Translation missing: en.field_story_points set to 0
  • Translation missing: en.field_position deleted (2)
  • Translation missing: en.field_position set to 2
Actions #4

Updated by Sage Weil about 13 years ago

  • Assignee set to Anonymous
Actions #5

Updated by Anonymous about 13 years ago

  • Status changed from New to Resolved

Fixed in commit fc81de5fc84a8afdedd4510f95168fc8e0716a0a.

Actions

Also available in: Atom PDF