Uploaded image for project: 'Phoenix Omid'
  1. Phoenix Omid
  2. OMID-130 Phoenix integration issues
  3. OMID-123

Allow starting Omid on machines without en or eth interfaces.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 1.0.1
    • None
    • None

    Description

      Currently there's an assumption that there must be an eth* or a configured en* interface in order to bind to a specific address.

      Exception in thread "main" java.lang.IllegalArgumentException: No network 'en*'/'eth*' interfaces found
      at org.apache.omid.NetworkUtils.getDefaultNetworkInterface(NetworkUtils.java:52)
      at org.apache.omid.tso.TSOServerConfig.<init>(TSOServerConfig.java:88)
      at org.apache.omid.tso.TSOServerConfig.<init>(TSOServerConfig.java:56)
      at org.apache.omid.tso.TSOServer.main(TSOServer.java:147)
      

      The first question is: Why don't we just allow to bind to ::?
      Second, we can at least provide a default way to start when no en/eth interface is available.

      Attachments

        1. OMID-123.txt
          1 kB
          Lars Hofhansl

        Issue Links

          Activity

            People

              yonigo Yoni Gottesman
              larsh Lars Hofhansl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: