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
      # Subject Project Status CR V
      For Gerrit Dashboard: &For+MB-5535=message:MB-5535

        Activity

        farshid Farshid Ghods (Inactive) created issue -
        farshid Farshid Ghods (Inactive) made changes -
        Field Original Value New Value
        Attachment Screen Shot 2012-06-12 at 4.14.39 PM.png [ 13625 ]
        farshid Farshid Ghods (Inactive) made changes -
        Attachment ns-diag-20120612161417.txt [ 13626 ]
        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.
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 1.8.1 [ 10295 ]
        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
        farshid Farshid Ghods (Inactive) made changes -
        Labels 1.8.1-release-notes
        farshid Farshid Ghods (Inactive) made changes -
        Attachment ns-diag-20120628215947.txt [ 13758 ]
        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.
        farshid Farshid Ghods (Inactive) made changes -
        Attachment ns-diag-20120703134305.zip [ 13807 ]
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 2.0-beta [ 10113 ]
        Fix Version/s 2.0-developer-preview-5 [ 10290 ]
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 2.0 [ 10114 ]
        Fix Version/s 2.0-beta [ 10113 ]
        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'
        alkondratenko Aleksey Kondratenko (Inactive) made changes -
        Assignee Aleksey Kondratenko [ alkondratenko ] Farshid Ghods [ farshid ]
        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
        farshid Farshid Ghods (Inactive) made changes -
        Assignee Farshid Ghods [ farshid ] Dipti Borkar [ dipti ]
        farshid Farshid Ghods (Inactive) made changes -
        Summary 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 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)
        Fix Version/s .next [ 10342 ]
        Fix Version/s 2.0 [ 10114 ]
        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?
        dipti Dipti Borkar made changes -
        Assignee Dipti Borkar [ dipti ] Sriram Melkote [ siri ]
        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
        siri Sriram Melkote made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Duplicate [ 3 ]
        siri Sriram Melkote made changes -
        Fix Version/s 2.0.1 [ 10399 ]
        Fix Version/s .next [ 10342 ]
        siri Sriram Melkote made changes -
        Labels 1.8.1-release-notes 1.8.1-release-notes windows-2.x
        siri Sriram Melkote made changes -
        Labels 1.8.1-release-notes windows-2.x 1.8.1-release-notes windows
        Hide
        maria Maria McDuff (Inactive) added a comment -

        closing as dupes.

        Show
        maria Maria McDuff (Inactive) added a comment - closing as dupes.
        maria Maria McDuff (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          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