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

One node IPv6 server does offline upgrade from 5.5.0 to 5.5.1 reset node back to initial page

    XMLWordPrintable

Details

    • Untriaged
    • Release Note
    • Unknown

    Description

      Install Couchbase Server 5.5.0 on a centos server with IPv6 enable.
      Enable IPv6 on Couchbase Server
      Restart Couchbase Server
      Using raw IPv6 address in browser to initialize this node with service kv, index, n1ql and fts
      Verify IPv6 in Dashboard
      Create a travel sample bucket
      Verify all data and indexes created
      Offline upgrade this node to 5.5.1
      After upgrade, Couchbase Server could not access in UI with raw IPv6 address
      Check config file, IPv6 was disable in Couchbase Server
      Use IPv4 to open Couchbase Server, see Couchbase Server was reset to initial page.

      [root@s10505-ip6 ~]# rpm -i couchbase-server-enterprise-5.5.0-centos7.x86_64.rpm 
      Minimum RAM required  : 4 GB
      System RAM configured : 3.70 GB
       
      Minimum number of processors required : 4 cores
      Number of processors on the system    : 4 cores
       
       
      You have successfully installed Couchbase Server.
      Please browse to http://s10505-ip6:8091/ to configure your server.
      Please refer to http://couchbase.com for additional resources.
       
      Please note that you have to update your firewall configuration to
      allow connections to the following ports:
      4369, 8091 to 8094, 9100 to 9105, 9998, 9999, 11207, 11209 to 11211,
      11214, 11215, 18091 to 18093, and from 21100 to 21299.
       
      By using this software you agree to the End User License Agreement.
      See /opt/couchbase/LICENSE.txt.
       
      [root@s10505-ip6 ~]# grep ipv6 /opt/couchbase/etc/couchbase/static_config
      {ipv6, false}.
      [root@s10505-ip6 ~]# systemctl stop couchbase-server
      [root@s10505-ip6 ~]# sed -i '/ipv6, /c \{ipv6, true\}'. /opt/couchbase/etc/couchbase/static_config
      [root@s10505-ip6 ~]# systemctl start couchbase-server
      [root@s10505-ip6 ~]# grep ipv6 /opt/couchbase/etc/couchbase/static_config
      {ipv6, true}.
      [root@s10505-ip6 ~]# rpm -Uvh couchbase-server-enterprise-5.5.1-centos7.x86_64.rpm 
      Preparing...                          ################################# [100%]
      Minimum RAM required  : 4 GB
      System RAM configured : 3.70 GB
       
      Minimum number of processors required : 4 cores
      Number of processors on the system    : 4 cores
       
      Updating / installing...
         1:couchbase-server-5.5.1-3511      ################################# [ 50%]
      Upgrading couchbase-server ...
        /opt/couchbase/bin/install/cbupgrade -c /opt/couchbase/var/lib/couchbase/config -a yes 
      Automatic mode: running without interactive questions or confirmations.
      Analysing...
      Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.dat
      Target node: ns_1@127.0.0.1
      Done: previous node configuration is empty.
      Cleaning up / removing...
         2:couchbase-server-5.5.0-2958      ################################# [100%]
       
      You have successfully installed Couchbase Server.
      Please browse to http://s10505-ip6:8091/ to configure your server.
      Please refer to http://couchbase.com for additional resources.
       
      Please note that you have to update your firewall configuration to
      allow connections to the following ports:
      4369, 8091 to 8094, 9100 to 9105, 9998, 9999, 11207, 11209 to 11211,
      11214, 11215, 18091 to 18093, and from 21100 to 21299.
       
      By using this software you agree to the End User License Agreement.
      See /opt/couchbase/LICENSE.txt.
       
      [root@s10505-ip6 ~]#
      

      I did try a server with both IPv6 and IPv4 enable or only IPv6 enable. In both cases, I got the same result. Offline upgrade from IPv6 enable server from 5.5.0 to 5.5.x deleted config file which reset node back to initial page.

      Attachments

        Issue Links

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

          Activity

            People

              ajit.yagaty Ajit Yagaty [X] (Inactive)
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty