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

memcached does not start after upgrading 1.8.1 to 2.0 build because ns-server is unable to start mcccouch ( this happened after upgrading a 2 node cluster where one node was upgrade with rebalancing )

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: ns_server
    • Security Level: Public
    • Labels:
      None

      Description

      scenario:

      1- create two node 1.8.1 cluster
      2- upgrade one node via swap rebalance
      3- upgrade another existing via rpm -U
      4- data migration ( cbupgrade works fine ) but memcached fails to start because mccouch is not listening on 11213

      nodes in the cluster:
      10.144.64.55
      10.249.167.208

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Show
        farshid Farshid Ghods (Inactive) added a comment - diags for 10.144.64.55 https://s3.amazonaws.com/bugdb/jira/MB-7312/10.144.64.55.zip https://s3.amazonaws.com/bugdb/jira/MB-7312/10.249.167.208.zip ( memcached on this node started okay )
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Couldn't connect to actual box but logs indicate mccouch is started fine. But for some reason localhost:11213 is not working.

        memcached<0.6646.0>: Failed to look up address information for: "localhost:11213"
        memcached<0.6646.0>: Failed to connect to: "localhost:11213"
        memcached<0.6646.0>: Failed to look up address information for: "localhost:11213"
        memcached<0.6646.0>: Failed to connect to: "localhost:11213"

        I want you to manually check that localhost resolves to 127.0.0.1 on this box.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Couldn't connect to actual box but logs indicate mccouch is started fine. But for some reason localhost:11213 is not working. memcached<0.6646.0>: Failed to look up address information for: "localhost:11213" memcached<0.6646.0>: Failed to connect to: "localhost:11213" memcached<0.6646.0>: Failed to look up address information for: "localhost:11213" memcached<0.6646.0>: Failed to connect to: "localhost:11213" I want you to manually check that localhost resolves to 127.0.0.1 on this box.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        I mean I wanted to ssh to this box and check but couldn't. As I said logs indicate we're starting mccouch listener correctly.

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - I mean I wanted to ssh to this box and check but couldn't. As I said logs indicate we're starting mccouch listener correctly.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Also this from couchbase.log in netstat section.

        tcp 0 0 127.0.0.1:11213 0.0.0.0:* LISTEN 30537/beam.smp

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Also this from couchbase.log in netstat section. tcp 0 0 127.0.0.1:11213 0.0.0.0:* LISTEN 30537/beam.smp
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        Thanks for looking at the logs.

        reran the scenario on 3 nw nodes and unable to repro. closing as unable to reproduce

        Show
        farshid Farshid Ghods (Inactive) added a comment - Thanks for looking at the logs. reran the scenario on 3 nw nodes and unable to repro. closing as unable to reproduce
        Hide
        andreibaranouski Andrei Baranouski added a comment -

        verified scenario with 2 nodes - passed

        Show
        andreibaranouski Andrei Baranouski added a comment - verified scenario with 2 nodes - passed
        Hide
        raju Raju Suravarjjala added a comment -

        Bulk closing all invalid bugs that are duplicate, user error, invalid. Please feel free to reopen them if you feel otherwise

        Show
        raju Raju Suravarjjala added a comment - Bulk closing all invalid bugs that are duplicate, user error, invalid. Please feel free to reopen them if you feel otherwise

          People

          • Assignee:
            farshid Farshid Ghods (Inactive)
            Reporter:
            farshid Farshid Ghods (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes