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

[BP 7.0.2 MB-48110] - [IPV6] no index available when switching to ipv6 or ipv6only IP family

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      To repro (require node with ipv4/ipv6 support)

      1. setup cluster with kv,index and n1ql (use hostname), use default ipv4 ip family
      2. disable autofailover
      3. load travel-sample
      4. run simple query: select * from `travel-sample` limit 10;
      5. switch to ipv6 family: /opt/couchbase/bin/couchbase-cli ip-family -c localhost -u Administrator -p password --set --ipv6
      1. run query again

      cbq> select * from `travel-sample` limit 10;
      {
          "requestID": "a98244a2-b0e7-4865-95d4-4371a8c50648",
          "errors": [
              {
                  "code": 4000,
                  "msg": "No index available on keyspace `default`:`travel-sample` that matches your query. Use CREATE PRIMARY INDEX ON `default`:`travel-sample` to create a primary index, or check that your expected index is online."
              }
          ],
          "status": "fatal", 

      Note indexer process:

      [root@cluster logs]# /opt/couchbase/bin/couchbase-cli ip-family -c localhost -u Administrator -p password --set --ipv4
      Switched IP family for node: http://cluster.couchbase.com:8091
      SUCCESS: Switched IP family of the cluster
       
      [root@cluster logs]# lsof -i -P -n  | grep LISTEN | grep couchbase| grep -i index
      indexer   10900 couchbase   15u  IPv4 185082073      0t0  TCP *:9101 (LISTEN)
      indexer   10900 couchbase   22u  IPv4 185078777      0t0  TCP *:9100 (LISTEN)
      indexer   10900 couchbase   24u  IPv4 185078780      0t0  TCP *:9102 (LISTEN)
      indexer   10900 couchbase   25u  IPv4 185078781      0t0  TCP *:19102 (LISTEN)
      indexer   10900 couchbase  124u  IPv4 185082939      0t0  TCP *:9105 (LISTEN)
       
      [root@cluster logs]# /opt/couchbase/bin/couchbase-cli ip-family -c localhost -u Administrator -p password --set --ipv6
      Switched IP family for node: http://cluster.couchbase.com:8091
      SUCCESS: Switched IP family of the cluster
       
      [root@cluster logs]# lsof -i -P -n  | grep LISTEN | grep couchbase| grep -i index
      indexer   11354 couchbase   15u  IPv6 185084236      0t0  TCP *:9101 (LISTEN)
      indexer   11354 couchbase   22u  IPv6 185084263      0t0  TCP *:9100 (LISTEN)
      indexer   11354 couchbase   24u  IPv6 185084935      0t0  TCP *:9102 (LISTEN)
      indexer   11354 couchbase   25u  IPv6 185084936      0t0  TCP *:19102 (LISTEN) 

      Attachments

        Issue Links

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

          Activity

            jeelan.poola Jeelan Poola created issue -
            jeelan.poola Jeelan Poola made changes -
            Field Original Value New Value
            Link This issue Clones MB-48110 [ MB-48110 ]
            jeelan.poola Jeelan Poola made changes -
            Fix Version/s Neo [ 17615 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue blocks MB-46308 [ MB-46308 ]
            jeelan.poola Jeelan Poola made changes -
            Labels ipv6 approved-for-7.0.2 ipv6
            mihir.kamdar Mihir Kamdar (Inactive) made changes -
            Priority Critical [ 2 ] Test Blocker [ 6 ]
            varun.velamuri Varun Velamuri made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            pierre.regazzoni Pierre Regazzoni made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            varun.velamuri Varun Velamuri made changes -
            Assignee Varun Velamuri [ varun.velamuri ] Kamini Jagtiani [ kamini.jagtiani ]
            varun.velamuri Varun Velamuri made changes -
            Component/s query [ 10718 ]
            Component/s secondary-index [ 11211 ]
            mihir.kamdar Mihir Kamdar (Inactive) made changes -
            Remote Link This issue links to "Page (Couchbase, Inc. Wiki)" [ 23075 ]
            varun.velamuri Varun Velamuri made changes -
            Component/s secondary-index [ 11211 ]
            Component/s query [ 10718 ]
            varun.velamuri Varun Velamuri made changes -
            Assignee Kamini Jagtiani [ kamini.jagtiani ] Varun Velamuri [ varun.velamuri ]
            varun.velamuri Varun Velamuri made changes -
            Component/s query [ 10718 ]
            Component/s secondary-index [ 11211 ]
            varun.velamuri Varun Velamuri made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            pierre.regazzoni Pierre Regazzoni made changes -
            Assignee Varun Velamuri [ varun.velamuri ] Pierre Regazzoni [ JIRAUSER25157 ]
            pierre.regazzoni Pierre Regazzoni made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            Sitaram.Vemulapalli Sitaram Vemulapalli made changes -
            Component/s secondary-index [ 11211 ]
            Sitaram.Vemulapalli Sitaram Vemulapalli made changes -
            Component/s query [ 10718 ]
            mihir.kamdar Mihir Kamdar (Inactive) made changes -
            Remote Link This issue links to "Page (Couchbase, Inc. Wiki)" [ 23075 ]

            People

              pierre.regazzoni Pierre Regazzoni
              jeelan.poola Jeelan Poola
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty