Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-5535

erlang OS is not able to retrieve IP address in some conditions ( UI shows "[16:14:07] - IP address seems to have changed. Unable to listen on 'ns_1@169.254.15.168'." message every second after installing 1.8.1 on a windows 7 vm)

    Details

      Description

      i did not change the IP on this box. this showed up right after installing 1.8.1 on this windows 7 vm

      1. ns-diag-20120612161417.txt
        2.26 MB
        Farshid Ghods
      2. ns-diag-20120628215947.txt
        2.20 MB
        Farshid Ghods
      3. Screen Shot 2012-06-12 at 4.14.39 PM.png
        61 kB
        Farshid Ghods
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        May I ask you to try 2.0 on same box? 2.0 has different code that should have better chance of working. If that's the case I'll just backport that fix

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - May I ask you to try 2.0 on same box? 2.0 has different code that should have better chance of working. If that's the case I'll just backport that fix
        Hide
        Aliaksey Artamonau Aliaksey Artamonau added a comment -

        I've seen this several times on 2.0 HEAD.

        Show
        Aliaksey Artamonau Aliaksey Artamonau added a comment - I've seen this several times on 2.0 HEAD.
        Hide
        thuan Thuan Nguyen added a comment -

        Integrated in github-ns-server-2-0 #374 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/374/)
        MB-5535:bp:use gen_udp instead for address changed alert testing (Revision eb37c7ba772149d6cf4838bd10bc3af35227de1d)

        Result = SUCCESS
        Aliaksey Artamonau :
        Files :

        • src/menelaus_web_alerts_srv.erl
        Show
        thuan Thuan Nguyen added a comment - Integrated in github-ns-server-2-0 #374 (See http://qa.hq.northscale.net/job/github-ns-server-2-0/374/ ) MB-5535 :bp:use gen_udp instead for address changed alert testing (Revision eb37c7ba772149d6cf4838bd10bc3af35227de1d) Result = SUCCESS Aliaksey Artamonau : Files : src/menelaus_web_alerts_srv.erl
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        i changed VM network settings from NAT to bridged and i didn't see this issue anymore in the installation. so i think this bug only appears when VM uses NAT settings to connect to the network

        Show
        farshid Farshid Ghods (Inactive) added a comment - i changed VM network settings from NAT to bridged and i didn't see this issue anymore in the installation. so i think this bug only appears when VM uses NAT settings to connect to the network
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Well, windows picks ip at install time. I think we're doing something like picking least IP address. So change of setting may just change set of IP addresses on this host and "fix" it.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Well, windows picks ip at install time. I think we're doing something like picking least IP address. So change of setting may just change set of IP addresses on this host and "fix" it.
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        issue exists on the latest 2.0 builds. diag attached.

        Show
        farshid Farshid Ghods (Inactive) added a comment - issue exists on the latest 2.0 builds. diag attached.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        In latest diags I see this:

        [ns_server:error] [2012-07-03 13:43:04] [ns_1@169.254.130.11:<0.9898.0>:menelaus_web_alerts_srv:can_listen:330] gen_udp:open failed due to eaddrnotavail

        Which implies indeed this address is not available anymore. Or at least erlang/OS thinks so.

        Given we decided to avoid completing proper fix for ip address selection and we have a known workaround (pick address manually) I don't think that's must have for 2.0 and maybe even for resolving as 'Incomplete'

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - In latest diags I see this: [ns_server:error] [2012-07-03 13:43:04] [ns_1@169.254.130.11:<0.9898.0>:menelaus_web_alerts_srv:can_listen:330] gen_udp:open failed due to eaddrnotavail Which implies indeed this address is not available anymore. Or at least erlang/OS thinks so. Given we decided to avoid completing proper fix for ip address selection and we have a known workaround (pick address manually) I don't think that's must have for 2.0 and maybe even for resolving as 'Incomplete'
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        based on Aliaksey's comment i recommend deferring this to .next

        Show
        farshid Farshid Ghods (Inactive) added a comment - based on Aliaksey's comment i recommend deferring this to .next
        Hide
        siri Sriram Melkote added a comment -

        The specific issue of picking up 169.254 addresses has been fixed in 2.0.1 via MB-7417. The larger IP address change after install still remains.

        Show
        siri Sriram Melkote added a comment - The specific issue of picking up 169.254 addresses has been fixed in 2.0.1 via MB-7417 . The larger IP address change after install still remains.
        Hide
        dipti Dipti Borkar added a comment -

        Siri, is this a dupe of the bug you fixed or does it relate to the larger IP problem?

        Show
        dipti Dipti Borkar added a comment - Siri, is this a dupe of the bug you fixed or does it relate to the larger IP problem?
        Hide
        siri Sriram Melkote added a comment -

        Dipti - closing it as a dupe as the title indicates 169.254 which is the specific problem I fixed

        Show
        siri Sriram Melkote added a comment - Dipti - closing it as a dupe as the title indicates 169.254 which is the specific problem I fixed
        Hide
        siri Sriram Melkote added a comment -

        The specific incorrect chosen range is duplicated by MB-7417 and fixed

        Show
        siri Sriram Melkote added a comment - The specific incorrect chosen range is duplicated by MB-7417 and fixed
        Hide
        maria Maria McDuff (Inactive) added a comment -

        closing as dupes.

        Show
        maria Maria McDuff (Inactive) added a comment - closing as dupes.

          People

          • Assignee:
            siri Sriram Melkote
            Reporter:
            farshid Farshid Ghods (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes