You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-10-31 18:30:33 +03:00
fix(cmapi): Fix error in docker cluster: "is not currently part of the cluster"
This commit is contained in:
committed by
Leonid Fedorov
parent
bc4c7e27d9
commit
0753aac849
@@ -281,8 +281,9 @@ def add_dbroot(input_config_filename = None, output_config_filename = None, host
|
|||||||
else:
|
else:
|
||||||
c_root = node_config.get_current_config_root(config_filename = input_config_filename)
|
c_root = node_config.get_current_config_root(config_filename = input_config_filename)
|
||||||
|
|
||||||
|
ip4, _ = NetworkManager.resolve_ip_and_hostname(host) if host else (None, None)
|
||||||
try:
|
try:
|
||||||
ret = _add_dbroot(c_root, host)
|
ret = _add_dbroot(c_root, ip4)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error(f"add_dbroot(): Caught exception: '{str(e)}', did not modify the config file")
|
logging.error(f"add_dbroot(): Caught exception: '{str(e)}', did not modify the config file")
|
||||||
raise
|
raise
|
||||||
|
|||||||
Reference in New Issue
Block a user