Traceback (most recent call last):
File "/opt/remote-control/remote_control.py", line 5, in <module>
app = remote_control.RemoteControlApp()
File "/usr/lib/python3.8/site-packages/asab/abc/singleton.py", line 14, in __call__
cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
File "/opt/remote-control/remote_control/app.py", line 27, in __init__
self.ZooKeeperContainer = asab.zookeeper.ZooKeeperContainer(self.ZooKeeperService, config_section_name='zookeeper')
File "/usr/lib/python3.8/site-packages/asab/zookeeper/container.py", line 47, in __init__
self.ZooKeeper = KazooWrapper(zksvc.App, self.Config, z_path)
File "/usr/lib/python3.8/site-packages/asab/zookeeper/wrapper.py", line 81, in __init__
self.Client = kazoo.client.KazooClient(hosts=url_netloc)
File "/usr/lib/python3.8/site-packages/kazoo/client.py", line 223, in __init__
self.set_hosts(hosts)
File "/usr/lib/python3.8/site-packages/kazoo/client.py", line 461, in set_hosts
self.hosts, chroot = collect_hosts(hosts)
File "/usr/lib/python3.8/site-packages/kazoo/hosts.py", line 26, in collect_hosts
raise ValueError("bad hostname")
ValueError: bad hostname
29-Jun-2022 14:17:16.071764 WARNING kazoo.client Cannot resolve zookeeper-1: [Errno -3] Try again