Comment 4 for bug 985812

Revision history for this message
Brad Crittenden (bac) wrote :

Hi Kapil,

| What's the shelltoolbox pkg in the traceback here? Also fwiw there's a
| juju-watcher in charmrunner that does something similiar (wait on service and relations).

lp:python-shelltoolbox is a package that just provides some wrappers for interacting with shell commands. The one used here is just makes using subprocess.Popen a little cleaner.

I should have also noted that if you just run 'watch juju status' it will occasionally encounter the same error I'm reporting here so it is unrelated to the toolset I'm using.

| Also i'm curious about the use case? ... ie. bringing up services souldn't be
| ordering dependent on the cli. charms can inspect relations and invoke other
| relation hooks now.

Our buildbot-slave has to run commands to set up the lxc container with a launchpad tree. We're waiting on that process to complete (transition to 'started') so we can then automate the next set of steps post-juju. For instance, we want to actually kick off a buildbot build which we can't do until everything is up and running.