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

Stop using static_config file to configure IPv4 / IPv6 modes.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.5.0, 5.5.1, 5.5.2
    • 6.5.0, 5.5.3, 6.0.1
    • ns_server
    • None
    • Untriaged
    • No

    Description

      Currently, we use the static_config file to configure the networking mode. But this has a problem of losing the configuration during an upgrade. The current idea is to store this config information in a file under /opt/couchbase/var/lib/couchbase/config directory and provide a REST API to toggle between the modes.

      This API needs to be called on every node in the cluster to switch the mode. The API will fail if the cluster is initialized and has nodes that are configured using raw IP addresses. The reason for this is that if a node is configured with a raw IP address, then the cluster config will have keys that contain the raw IP address and this makes the transition impossible.

       

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-31803
          # Subject Branch Project Status CR V

          Activity

            Build couchbase-server-5.5.3-4020 contains ns_server commit 519eb98 with commit message:
            MB-31803: Remove ipv6 config from static_config...

            build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.3-4020 contains ns_server commit 519eb98 with commit message: MB-31803 : Remove ipv6 config from static_config...

            Build couchbase-server-5.5.3-4020 contains ns_server commit 76d44a1 with commit message:
            MB-31803: Use CB_DATA_DIR in couchbase-server init...

            build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.3-4020 contains ns_server commit 76d44a1 with commit message: MB-31803 : Use CB_DATA_DIR in couchbase-server init...

            Build couchbase-server-5.5.3-4020 contains ns_server commit f4f7afa with commit message:
            MB-31803: Helper function to return configured...

            build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.3-4020 contains ns_server commit f4f7afa with commit message: MB-31803 : Helper function to return configured...

            Build couchbase-server-5.5.3-4020 contains ns_server commit feeba89 with commit message:
            MB-31803: New API to configure networking mode.

            build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.3-4020 contains ns_server commit feeba89 with commit message: MB-31803 : New API to configure networking mode.

            Build couchbase-server-5.5.3-4020 contains voltron commit 47700f1 with commit message:
            MB-31803: Handle new config file called dist_cfg.

            build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.3-4020 contains voltron commit 47700f1 with commit message: MB-31803 : Handle new config file called dist_cfg.

            Build couchbase-server-5.5.3-4021 contains voltron commit bfbac1b with commit message:
            MB-31803: Create empty dist_cfg for packaging purposes

            build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.3-4021 contains voltron commit bfbac1b with commit message: MB-31803 : Create empty dist_cfg for packaging purposes

            Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message:
            MB-31803: Merge remote-tracking branch alice.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message: MB-31803 : Merge remote-tracking branch alice.

            Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message:
            MB-31803: Merge remote-tracking branch alice.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message: MB-31803 : Merge remote-tracking branch alice.

            Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message:
            MB-31803: Merge remote-tracking branch alice.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message: MB-31803 : Merge remote-tracking branch alice.

            Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message:
            MB-31803: Merge remote-tracking branch alice.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message: MB-31803 : Merge remote-tracking branch alice.

            Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message:
            MB-31803: Merge remote-tracking branch alice.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message: MB-31803 : Merge remote-tracking branch alice.

            Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message:
            MB-31803: Merge remote-tracking branch alice.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit e06a960 with commit message: MB-31803 : Merge remote-tracking branch alice.

            Build couchbase-server-6.5.0-1580 contains ns_server commit f8cd4dd with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit f8cd4dd with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.5.0-1580 contains ns_server commit f8cd4dd with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit f8cd4dd with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.5.0-1580 contains ns_server commit f8cd4dd with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit f8cd4dd with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.5.0-1580 contains ns_server commit f8cd4dd with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit f8cd4dd with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.5.0-1580 contains ns_server commit f8cd4dd with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit f8cd4dd with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.5.0-1580 contains ns_server commit 519eb98 with commit message:
            MB-31803: Remove ipv6 config from static_config...

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit 519eb98 with commit message: MB-31803 : Remove ipv6 config from static_config...

            Build couchbase-server-6.5.0-1580 contains ns_server commit 76d44a1 with commit message:
            MB-31803: Use CB_DATA_DIR in couchbase-server init...

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit 76d44a1 with commit message: MB-31803 : Use CB_DATA_DIR in couchbase-server init...

            Build couchbase-server-6.5.0-1580 contains ns_server commit f4f7afa with commit message:
            MB-31803: Helper function to return configured...

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit f4f7afa with commit message: MB-31803 : Helper function to return configured...

            Build couchbase-server-6.5.0-1580 contains ns_server commit feeba89 with commit message:
            MB-31803: New API to configure networking mode.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains ns_server commit feeba89 with commit message: MB-31803 : New API to configure networking mode.

            Build couchbase-server-6.5.0-1580 contains voltron commit 09c157c with commit message:
            MB-31803: Merge remote-tracking branch 'alice'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains voltron commit 09c157c with commit message: MB-31803 : Merge remote-tracking branch 'alice'.

            Build couchbase-server-6.5.0-1580 contains voltron commit 09c157c with commit message:
            MB-31803: Merge remote-tracking branch 'alice'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains voltron commit 09c157c with commit message: MB-31803 : Merge remote-tracking branch 'alice'.

            Build couchbase-server-6.5.0-1580 contains voltron commit 09c157c with commit message:
            MB-31803: Merge remote-tracking branch 'alice'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains voltron commit 09c157c with commit message: MB-31803 : Merge remote-tracking branch 'alice'.

            Build couchbase-server-6.5.0-1580 contains voltron commit 09c157c with commit message:
            MB-31803: Merge remote-tracking branch 'alice'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains voltron commit 09c157c with commit message: MB-31803 : Merge remote-tracking branch 'alice'.

            Build couchbase-server-6.5.0-1580 contains voltron commit 330c6ae with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains voltron commit 330c6ae with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.5.0-1580 contains voltron commit 330c6ae with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains voltron commit 330c6ae with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.5.0-1580 contains voltron commit 330c6ae with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains voltron commit 330c6ae with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.5.0-1580 contains voltron commit bfbac1b with commit message:
            MB-31803: Create empty dist_cfg for packaging purposes

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains voltron commit bfbac1b with commit message: MB-31803 : Create empty dist_cfg for packaging purposes

            Build couchbase-server-6.5.0-1580 contains voltron commit 47700f1 with commit message:
            MB-31803: Handle new config file called dist_cfg.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1580 contains voltron commit 47700f1 with commit message: MB-31803 : Handle new config file called dist_cfg.

            Build couchbase-server-6.0.1-1958 contains ns_server commit f8cd4dd with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains ns_server commit f8cd4dd with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.0.1-1958 contains ns_server commit f8cd4dd with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains ns_server commit f8cd4dd with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.0.1-1958 contains ns_server commit f8cd4dd with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains ns_server commit f8cd4dd with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.0.1-1958 contains ns_server commit f8cd4dd with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains ns_server commit f8cd4dd with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.0.1-1958 contains ns_server commit f8cd4dd with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains ns_server commit f8cd4dd with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.0.1-1958 contains ns_server commit 519eb98 with commit message:
            MB-31803: Remove ipv6 config from static_config...

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains ns_server commit 519eb98 with commit message: MB-31803 : Remove ipv6 config from static_config...

            Build couchbase-server-6.0.1-1958 contains ns_server commit 76d44a1 with commit message:
            MB-31803: Use CB_DATA_DIR in couchbase-server init...

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains ns_server commit 76d44a1 with commit message: MB-31803 : Use CB_DATA_DIR in couchbase-server init...

            Build couchbase-server-6.0.1-1958 contains ns_server commit f4f7afa with commit message:
            MB-31803: Helper function to return configured...

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains ns_server commit f4f7afa with commit message: MB-31803 : Helper function to return configured...

            Build couchbase-server-6.0.1-1958 contains ns_server commit feeba89 with commit message:
            MB-31803: New API to configure networking mode.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains ns_server commit feeba89 with commit message: MB-31803 : New API to configure networking mode.

            Build couchbase-server-6.0.1-1958 contains voltron commit 330c6ae with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains voltron commit 330c6ae with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.0.1-1958 contains voltron commit 330c6ae with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains voltron commit 330c6ae with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.0.1-1958 contains voltron commit 330c6ae with commit message:
            MB-31803: Merge remote-tracking branch 'vulcan'.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains voltron commit 330c6ae with commit message: MB-31803 : Merge remote-tracking branch 'vulcan'.

            Build couchbase-server-6.0.1-1958 contains voltron commit bfbac1b with commit message:
            MB-31803: Create empty dist_cfg for packaging purposes

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains voltron commit bfbac1b with commit message: MB-31803 : Create empty dist_cfg for packaging purposes

            Build couchbase-server-6.0.1-1958 contains voltron commit 47700f1 with commit message:
            MB-31803: Handle new config file called dist_cfg.

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.0.1-1958 contains voltron commit 47700f1 with commit message: MB-31803 : Handle new config file called dist_cfg.

            People

              tanzeem.ahmed Tanzeem Ahmed (Inactive)
              ajit.yagaty Ajit Yagaty [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty