mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Set IPv6 instance to the node object
This commit is contained in:
parent
58b84e9e3d
commit
1f5eb2cd2c
@ -2112,6 +2112,7 @@ class ClickHouseCluster:
|
||||
self.base_cmd + ["up", "--force-recreate", "--no-deps", "-d", node.name]
|
||||
)
|
||||
node.ip_address = self.get_instance_ip(node.name)
|
||||
node.ipv6_address = self.get_instance_global_ipv6(node.name)
|
||||
node.client = Client(node.ip_address, command=self.client_bin_path)
|
||||
|
||||
logging.info("Restart node with ip change")
|
||||
@ -3182,6 +3183,7 @@ class ClickHouseCluster:
|
||||
for instance in self.instances.values():
|
||||
instance.docker_client = self.docker_client
|
||||
instance.ip_address = self.get_instance_ip(instance.name)
|
||||
instance.ipv6_address = self.get_instance_global_ipv6(instance.name)
|
||||
|
||||
logging.debug(
|
||||
f"Waiting for ClickHouse start in {instance.name}, ip: {instance.ip_address}..."
|
||||
|
Loading…
Reference in New Issue
Block a user