New Error With juju-deployer

Richard Harding rick.harding at canonical.com
Sat Feb 28 20:18:07 UTC 2015


Kapil has built a new version of python-jujuclient 0.50.1 which we've QA'd
against the current deployer, quickstart, and gui charm. The QA has passed
and we've copied the packages for python-jujuclient into the juju stable
PPA. They've built and we're waiting on them to be published.

Once that's complete an apt-get upgrade should hopefully get you on the
right track again.

https://launchpad.net/~juju/+archive/ubuntu/stable/+packages

Rick

On Sat, 28 Feb 2015, Marco Ceppi wrote:

> This is a regression in juju-core, which is being documented here:
> https://bugs.launchpad.net/juju-core/+bug/1425435 The latest upstream of
> jujuclient (the library juju-deployer uses) has patched this, I imagine
> we'll see a new package in the archive for 0.19.1 of python-jujuclient soon.
> 
> Marco
> 
> On Fri, Feb 27, 2015 at 6:15 PM Kevin Sargent <javakev23 at yahoo.com> wrote:
> 
> > Suddenly all my deploys stopped working with following error message:
> >
> > Traceback (most recent call last):
> >   File "/usr/bin/juju-deployer", line 9, in <module>
> >     load_entry_point('juju-deployer==0.4.3', 'console_scripts',
> > 'juju-deployer')()
> >   File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 130, in
> > main
> >     run()
> >   File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 228, in run
> >     importer.Importer(env, deployment, options).run()
> >   File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py",
> > line 196, in run
> >     self.deploy_services()
> >   File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py",
> > line 92, in deploy_services
> >     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
> >
> > --
> > Juju mailing list
> > Juju at lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/
> > mailman/listinfo/juju
> >

> -- 
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju



More information about the Juju mailing list