Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
juju-log: Connecting to controller... ws://10.182.5.117:17070 as admin/admin
Traceback (most recent call last):
File "test_controller.py", line 253, in <module>
main()
File "test_controller.py", line 246, in main
if ns.login():
File "test_controller.py", line 122, in login
self.client = self.loop.run_until_complete(self.connect())
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "test_controller.py", line 111, in connect
cacert=cacert
File "/home/stone/.local/lib/python3.7/site-packages/juju/controller.py", line 133, in connect
await self._connector.connect(**kwargs)
File "/home/stone/.local/lib/python3.7/site-packages/juju/client/connector.py", line 68, in connect
self._connection = await Connection.connect(**kwargs)
File "/home/stone/.local/lib/python3.7/site-packages/juju/client/connection.py", line 178, in connect
await self._connect_with_redirect([(endpoint, cacert)])
File "/home/stone/.local/lib/python3.7/site-packages/juju/client/connection.py", line 535, in _connect_with_redirect
login_result = await self._connect_with_login(endpoints)
File "/home/stone/.local/lib/python3.7/site-packages/juju/client/connection.py", line 502, in _connect_with_login
await self._connect(endpoints)
File "/home/stone/.local/lib/python3.7/site-packages/juju/client/connection.py", line 479, in _connect
'{}'.format(_endpoints_str))
juju.errors.JujuConnectionError: Unable to connect to any endpoint: 10.182.5.117
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.