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

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

          Activity

            ajit.yagaty Ajit Yagaty [X] (Inactive) created issue -
            dfinlay Dave Finlay made changes -
            Field Original Value New Value
            Link This issue blocks MB-31456 [ MB-31456 ]
            ajit.yagaty Ajit Yagaty [X] (Inactive) made changes -
            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 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.

             
            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.

             
            wayne Wayne Siu made changes -
            Affects Version/s 5.5.2 [ 15412 ]
            Affects Version/s 5.5.1 [ 15159 ]
            Affects Version/s 5.5.0 [ 14610 ]
            ceej Chris Hillery made changes -
            Remote Link This issue links to "Page (Couchbase, Inc. Wiki)" [ 17324 ]
            ajit.yagaty Ajit Yagaty [X] (Inactive) made changes -
            Link This issue blocks MB-31466 [ MB-31466 ]
            ajit.yagaty Ajit Yagaty [X] (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            ajit.yagaty Ajit Yagaty [X] (Inactive) made changes -
            Actual End 2018-11-07 16:19 (issue has been resolved)
            tanzeem.ahmed Tanzeem Ahmed (Inactive) made changes -
            VERIFICATION STEPS Verified on 5.5.3/6.0.1/6.5.0 builds on CentOS
            Also, verified by upgrading from 5.5.0/5.5.1/5.5.2 to 5.5.3 on CentOS
            Tony has verified for Windows
            Assignee Ajit Yagaty [ ajit.yagaty ] Tanzeem Ahmed [ tanzeem.ahmed ]
            Status Resolved [ 5 ] Closed [ 6 ]
            wayne Wayne Siu made changes -
            Link This issue relates to MB-31598 [ MB-31598 ]
            richard.smedley Richard Smedley made changes -
            Link This issue relates to DOC-4689 [ DOC-4689 ]
            richard.smedley Richard Smedley made changes -
            Link This issue relates to DOC-4674 [ DOC-4674 ]
            malarky Chris Malarky made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            malarky Chris Malarky made changes -
            Summary Stop using static_config file to configure IPv4/IPv6 modes. Stop using static_config file to configure IPv4 / IPv6 modes.
            malarky Chris Malarky made changes -
            Resolution Fixed [ 1 ]
            Status Reopened [ 4 ] Closed [ 6 ]
            phil.stott Phil Stott (Inactive) made changes -
            Link This issue causes CBSE-6854 [ CBSE-6854 ]
            eric.schneider Eric Schneider (Inactive) made changes -
            Link This issue relates to DOC-5945 [ DOC-5945 ]

            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