[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-16 Thread Jorge Niedbalski
** Changed in: juju-deployer Assignee: (unassigned) = Jorge Niedbalski (niedbalski) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1368403 Title: juju-deployer traceback

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-16 Thread Jorge Niedbalski
Hello, I did a trace back on this issue, and this is being raised by an non- handled exception raised on the jujuclient package (not part of juju- deployer). In particular the issue is being raised at this function: 357def get_state_server(self, data): 358Given a list of state

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-16 Thread Adam Collard
Why doesn't juju-deployer talk to Juju over the API (and through implication use juju api-endpoints)? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1368403 Title: juju-deployer

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-16 Thread Kapil Thangavelu
bootstrap used to populate the jenv with state servers, i'll have deployer execute api-endpoints prior to attempting to connect. deployer does use the api, but it pre-dates most of it existing. although i implemented api-endpoints for core, the problem is api- endpoints is not sufficient if you

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-16 Thread Jorge Niedbalski
@adam-collard, Maybe we could use juju api-endpoints --refresh on jujuclient as a fallback if no data['state-servers'] is returned?. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report.

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-16 Thread Kapil Thangavelu
i've added a workaround and released 0.4.1 of juju-deployer to pypi. ** Changed in: juju-deployer Assignee: Jorge Niedbalski (niedbalski) = Kapil Thangavelu (hazmat) ** Changed in: juju-deployer Status: Confirmed = Fix Released -- You received this bug notification because you are

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-16 Thread Kapil Thangavelu
i'm curious which providers and versions of juju these issues are appear in, i'm seeing state-servers post bootstrap on manual and aws (1.21 trunk). ** Changed in: juju-deployer Importance: Undecided = Critical -- You received this bug notification because you are a member of Ubuntu Server

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-16 Thread Chris Johnston
Kapil, I believe lxc and ctsstack have both had this issue.. juju-core: Installed: 1.20.7-0ubuntu1~14.04.1~juju1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1368403 Title:

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-16 Thread Kapil Thangavelu
in addition to the pypi release of 0.4.1, stable ppa will be updated tomorrow for those on packages, for now the workaround is to run juju api-endpoints or juju status prior to invoking deployer -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-16 Thread Corey Bryant
Kapil, I hit it on server stack with juju-core 1.20.7-0ubuntu1~14.04.1~juju1 and openstack provider. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1368403 Title: juju-deployer

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-15 Thread Adam Collard
Strangely this seems to go away after I run juju status. If I juju bootstrap, then run deployer I hit this (regularly, not confident enough to say everytime, but certainly more times than not). I then run juju status and run it again and it's fine. ** Changed in: juju-deployer Status: New

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-15 Thread Chris Johnston
Running juju status seems to make my env happy too. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1368403 Title: juju-deployer traceback AttributeError: 'NoneType' object has no

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-12 Thread Adam Collard
** Tags added: landscape -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1368403 Title: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat' To

[Bug 1368403] Re: juju-deployer traceback AttributeError: 'NoneType' object has no attribute 'get_stat'

2014-09-11 Thread Corey Bryant
This occurs on version 0.4.0-3. 0.3.6-0ubuntu2 is working fine. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1368403 Title: juju-deployer traceback AttributeError: 'NoneType'