Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4804

CMAPI needs to dynamically update IP addresses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: cmapi-1.4
    • Fix Version/s: cmapi-1.6.3
    • Component/s: cmapi
    • Labels:
      None
    • Sprint:
      2021-9

      Description

      The DBaaS team is using dns entries when adding nodes to cmapi.

      However, the IP address for that dns name is getting hardcoded into the Columnstore.xml file

      On a pod restart in K8s, the IP address is dynamically changed even though the dns name stays the same.

      1. cmapi should respect the dns name
      or
      2. cmapi should dynamically update the ip address on restart

          <DBRM_Controller>
              <NumWorkers>1</NumWorkers>
              <IPAddr>10.77.64.228</IPAddr>
              <Port>8616</Port>
          </DBRM_Controller>
      

      =======================
      Draft of external description by AV

      CMAPI "add node" function described in https://mariadb.com/docs/reference/cmapi/add-node/ accepts both the Host and IP address.
      The current production version of CMAPI (which release range ??) converts the host name to IP and stores it into the DBRM_Controller section of the /etc/columnstore/Columnstore.xml .
      In the case of K8S deployment the pod does not retain the IP after it is restarted. Only the Host name is guaranteed to be retained.
      This results in CS losing functionality after the pod restart.

      The fix retains the host name in the relevant section of /etc/columnstore/Columnstore.xml
      ==============================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dleeyh Daniel Lee
              Reporter:
              toddstoffel Todd Stoffel
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.