Reactor issues (should switch to solar)

Bug #1013469 reported by Ted Gould
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Triaged
Low
Unassigned

Bug Description

Not entirely sure what is happening, but I'm getting this stack trace in my debug-log

2012-06-14 21:51:55,671 unit:inkscape/5: hook.output ERROR: Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/juju/control/__init__.py", line 188, in main
    options.command(options)
  File "/usr/lib/python2.7/dist-packages/juju/control/command.py", line 44, in __call__
    reactor.run()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1169, in run
    self.mainLoop()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop
    self.runUntilCurrent()
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 773, in runUntilCurrent
    f(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 577, in stop
    "Can't stop reactor that isn't running.")
twisted.internet.error.ReactorNotRunning: Can't stop reactor that isn't running.

This is on Ubuntu 12.04 amd64

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 1013469] [NEW] Reactor issues (should switch to solar)

can you describe a bit what's being done? it looks like you have a local
provider? and a charm which is executing juju client commands internally?

On Thu, Jun 14, 2012 at 11:17 PM, Ted Gould <email address hidden> wrote:

> Public bug reported:
>
> Not entirely sure what is happening, but I'm getting this stack trace in
> my debug-log
>
> 2012-06-14 21:51:55,671 unit:inkscape/5: hook.output ERROR: Unhandled Error
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/juju/control/__init__.py", line
> 188, in main
> options.command(options)
> File "/usr/lib/python2.7/dist-packages/juju/control/command.py", line 44,
> in __call__
> reactor.run()
> File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line
> 1169, in run
> self.mainLoop()
> File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line
> 1178, in mainLoop
> self.runUntilCurrent()
> --- <exception caught here> ---
> File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line
> 773, in runUntilCurrent
> f(*a, **kw)
> File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line
> 577, in stop
> "Can't stop reactor that isn't running.")
> twisted.internet.error.ReactorNotRunning: Can't stop reactor that isn't
> running.
>
> This is on Ubuntu 12.04 amd64
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to juju.
> https://bugs.launchpad.net/bugs/1013469
>
> Title:
> Reactor issues (should switch to solar)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1013469/+subscriptions
>

Revision history for this message
Ted Gould (ted) wrote :

On Fri, 2012-06-15 at 12:29 +0000, Kapil Thangavelu wrote:
> can you describe a bit what's being done? it looks like you have a local
> provider? and a charm which is executing juju client commands internally?

Yup. I'm trying to get the charm to shut itself down when it's done
with it's work load. Probably the most relevant part of the charm is
here:

http://bazaar.launchpad.net/~ted/charms/precise/application-start/trunk/view/head:/hooks/juju-info-relation-changed

You can't really do it with the standard Juju charm, it seems focused on
testing rather than using Juju, but I've updated it here:

https://code.launchpad.net/~ted/charms/precise/juju/ssh-key/

Curtis Hovey (sinzui)
Changed in juju:
importance: Undecided → Low
status: New → Triaged
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.