Skip to content

Instantly share code, notes, and snippets.

@AdamIsrael
Created April 12, 2019 21:07
Show Gist options
  • Save AdamIsrael/91a55cd01a5a0423431ad3a67bc28737 to your computer and use it in GitHub Desktop.
Save AdamIsrael/91a55cd01a5a0423431ad3a67bc28737 to your computer and use it in GitHub Desktop.
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