juju-deployer fails while terminating machines (TypeError: integer argument expected, got float)

Bug #1506152 reported by Felipe Reyes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-deployer
Won't Fix
Wishlist
Unassigned

Bug Description

When running "juju deployer -c default.yaml -d -v -s 10 -T trusty-icehouse" I get the following stacktrace:

2015-10-14 16:48:14 [INFO] deployer.env: Waiting for machine termination
Traceback (most recent call last):
  File "/usr/bin/juju-deployer", line 9, in <module>
    load_entry_point('juju-deployer==0.6.0', 'console_scripts', 'juju-deployer')()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 135, in main
    run()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 177, in run
    force_terminate=options.terminate_machines > 1)
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 112, in reset
    status, watch, terminate_delay, force_terminate)
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 159, in _terminate_machines
    self.client.wait_for_no_machines(terminate_wait, callback)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 963, in wait_for_no_machines
    return WaitForNoMachines(watch).run(callback)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 1918, in run
    for change_set in self.watch:
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 403, in next
    with self._set_alarm(self._timeout):
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 420, in _set_alarm
    signal.alarm(timeout)
TypeError: integer argument expected, got float
ERROR subprocess encountered error code 1

$ apt-cache policy juju-deployer juju-core
juju-deployer:
  Installed: 0.6.0-1
  Candidate: 0.6.0-1
  Version table:
 *** 0.6.0-1 0
        500 http://ppa.launchpad.net/juju/stable/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     0.3.6-0ubuntu2 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
juju-core:
  Installed: 1.24.6-0ubuntu1~14.04.1~juju1
  Candidate: 1.24.6-0ubuntu1~14.04.1~juju1
  Version table:
 *** 1.24.6-0ubuntu1~14.04.1~juju1 0
        500 http://ppa.launchpad.net/juju/stable/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     1.22.6-0ubuntu1~14.04.1 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
     1.18.1-0ubuntu1 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

Revision history for this message
Tom Haddon (mthaddon) wrote :

Confirmed with Felipe this is no longer needed, marking as Won't Fix due to the age of the bug.

Changed in juju-deployer:
status: New → Won't Fix
importance: Undecided → Wishlist
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.