Comment 10 for bug 1420403

Revision history for this message
Greg Lutostanski (lutostag) wrote :

After upgrade to 1.21.3 from juju/stable ppa on the oil machines we are getting https://bugs.launchpad.net/juju-core/+bug/1420917 (dupe of this bug for every deploy)
We have the following installed on our machines from juju/stable:

(ci-oil)prodstack-cdo@wekufe:~$ juju ssh ci-oil-slave5/0 'dpkg -l | grep -E "juju-core|juju-deployer"'
Warning: Permanently added '10.33.17.231' (ECDSA) to the list of known hosts.
ii juju-core 1.21.3-0ubuntu1~12.04.1~juju1 Juju is devops distilled - client
ii juju-deployer 0.4.3-0ubuntu1~ubuntu12.04.1~ppa1 Deploy complex stacks of services using Juju
ii python-jujuclient 0.18.4-5 Python API client for juju-core

juju-core was updated in the ppa 22 hours ago so looks like this is the culprit. A mismatch between juju-deployer and juju-core expectations.

We are getting the following error for every deploy in oil -- which is a large impact:
2015-02-25 02:36:03,829 [DEBUG] deployer.import: Adding units...
2015-02-25 02:36:05,165 [ERROR] oil_ci.deploy.oil_deployer: Deployment failed: 'NoneType' object is not iterable
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/oil_ci/deploy/oil_deployer.py", line 140, in deploy
    debug=True, verbose=True)
  File "/usr/lib/python2.7/dist-packages/oil_ci/juju/juju_deployer.py", line 85, in run_deployer
    importer.Importer(env, deploy, options=opts).run()
  File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 202, in run
    self.add_units()
  File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 22, in add_units
    env_status = self.env.status()
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 203, in status
    return self.client.get_stat()
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 599, in get_stat
    return StatusTranslator().run(watch)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 999, in run
    self._unit(d)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 1031, in _unit
    for p in ports:
TypeError: 'NoneType' object is not iterable

Help would be appreciated.