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

Dont generate ip_start for window upgrade if default ip address is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.1.0
    • 2.1.0
    • tools
    • Security Level: Public
    • None
    • Windows
    • Windows 64-bit

    Description

      There are two scenarios for windows upgrade that we need to take care of:
      a). Hostname is specified on ip/ip_start/service_register.bat
      b) Default ip_address is used, no manual specification for ip address

      NS_server uses the following logic to identify the appropriate ip address to use:
      1. if no ip/ip_start found, a default ip address will be picked up and it is open to change when joining a cluster.
      2. if ip_start found, the found ip address will be used and honored even after joining a cluster
      3. if ip file found, the associated ip address will be used, but it is open for change after joining a cluster

      for case a, it should apply case 2 to have an ip_start file
      for case b, it should apply case 3 to tell ns_server:
      one, it is a upgrade case, all configuraiton and data should be kept after upgrade.
      two, it is a default ip address case. the ip address is open to change after joining a cluster.

      See CBSE-583 for a bug introduced for 2.0.1, i.e. always generating a ip_start to contain ip address.

      Attachments

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

        Activity

          People

            iryna iryna
            bcui Bin Cui (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty