Crash when doing juju-deployer -T with network issues

Bug #1411546 reported by Samuel Cozannet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-deployer
Triaged
Low
Unassigned

Bug Description

If there is no network access to the environment,

:~$ juju-deployer -T
2015-01-16 09:17:11 Resetting environment...
Traceback (most recent call last):
  File "/usr/bin/juju-deployer", line 9, in <module>
    load_entry_point('juju-deployer==0.4.1', 'console_scripts', 'juju-deployer')()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 127, in main
    run()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 165, in run
    env.connect()
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 48, in connect
    self.client = EnvironmentClient.connect(self.name)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 411, in connect
    return Connector().run(cls, env_name)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 304, in run
    address = self.get_state_server(data)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 357, in get_state_server
    if self.is_server_available(s):
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 380, in is_server_available
    socket.create_connection((address, port), 3)
  File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
socket.error: [Errno 113] No route to host

On Trusty 14.04.

Revision history for this message
Kapil Thangavelu (hazmat) wrote :

what would you like it to say? its a pretty clear traceback/error

Changed in juju-deployer:
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.