Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
cmapi-1.4
-
None
-
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
- is caused by
-
MCOL-4440 Multi-Node CS 5.4 with S3 storage failover gets stuck, requires API call to restart cluster
- Closed