AttributeError: 'NoneType' object has no attribute 'get_stat'

Bug #1478586 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-deployer
Invalid
Low
Unassigned

Bug Description

A similar bug was reportedly fixed last year, but we are still encountering this:
http://reports.vapour.ws/releases/2922/job/maas-1_7-deployer/attempt/615

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 1478586] [NEW] AttributeError: 'NoneType' object has no attribute 'get_stat'

Please paste the trace back to a public gist/pastebin not a canonical only
one

On Monday, July 27, 2015, Aaron Bentley <email address hidden> wrote:

> Public bug reported:
>
> A similar bug was reportedly fixed last year, but we are still
> encountering this:
> http://reports.vapour.ws/releases/2922/job/maas-1_7-deployer/attempt/615
>
> ** Affects: juju-deployer
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to juju-
> deployer.
> Matching subscriptions: deployer
> https://bugs.launchpad.net/bugs/1478586
>
> Title:
> AttributeError: 'NoneType' object has no attribute 'get_stat'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-deployer/+bug/1478586/+subscriptions
>

Revision history for this message
Aaron Bentley (abentley) wrote :

Sorry, but I do not want to run the risk of exposing credentials.

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 1478586] Re: AttributeError: 'NoneType' object has no attribute 'get_stat'

tracebacks rarely contain credentials, but okay...

On Tue, Jul 28, 2015 at 4:21 PM, Aaron Bentley <email address hidden>
wrote:

> Sorry, but I do not want to run the risk of exposing credentials.
>
> --
> You received this bug notification because you are subscribed to juju-
> deployer.
> Matching subscriptions: deployer
> https://bugs.launchpad.net/bugs/1478586
>
> Title:
> AttributeError: 'NoneType' object has no attribute 'get_stat'
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-deployer/+bug/1478586/+subscriptions
>

Revision history for this message
Aaron Bentley (abentley) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I posted the entire log, not just a traceback, and Juju logs,
especially at the --debug level, do sometimes contain credentials.

Here is *just* the traceback:
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 72, 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()
AttributeError: 'NoneType' object has no attribute 'get_stat'
2015-07-25 14:08:36 ERROR juju.cmd supercommand.go:429 subprocess
encountered error code 1

On 2015-07-28 06:37 PM, Kapil Thangavelu wrote:
> tracebacks rarely contain credentials, but okay...
>
> On Tue, Jul 28, 2015 at 4:21 PM, Aaron Bentley
> <email address hidden> wrote:
>
>> Sorry, but I do not want to run the risk of exposing
>> credentials.
>>
>> -- You received this bug notification because you are subscribed
>> to juju- deployer. Matching subscriptions: deployer
>> https://bugs.launchpad.net/bugs/1478586
>>
>> Title: AttributeError: 'NoneType' object has no attribute
>> 'get_stat'
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/juju-deployer/+bug/1478586/+subscriptions
>>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVuNQCAAoJEK84cMOcf+9hvB0IAJeQilz/r4gzZh5e45RvmvSU
Wby2t4eDUJw/f3K+5mNSrgcVS8tZ0IkSFiMXfwzyTHspn/2yBgly/tRs+c/FkGvS
CAVe2rAP7f7YSTPqX1SawuAmDdMgw0ucWYkOvm1dAK4s2MnTrTJ4UOSP2/wyg0M3
VRDSShDce2RMk1AJoBabA0eOagSixjXsR1qTfXjPRy4jPkJtuWKmfz1fI1VJTdp8
e4EOqjFKe1jwot4se6+f6dPzrw2e092CJ4se+P1KclpXf80j5gqXVbi5lBqT38yh
h7nao0oqoOiGZIODwnoqatJks7hCznV3z2KnPTc1LrwZPOPcXPaEPhW4NyZolXo=
=HC9o
-----END PGP SIGNATURE-----

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

Given the age of this bug I'm going to mark it invalid, as native juju bundles would be used for this now. If that's not correct, please let us know.

Changed in juju-deployer:
importance: Undecided → Low
status: New → Invalid
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.