local provider issues with trunk (2 fixed)
Tim Penhey
tim.penhey at canonical.com
Sun Sep 29 22:59:50 UTC 2013
On 30/09/13 07:37, Kapil Thangavelu wrote:
> On Fri, Sep 27, 2013 at 12:33 AM, Tim Penhey <tim.penhey at canonical.com
> <mailto:tim.penhey at canonical.com>> wrote:
>
> On 27/09/13 14:59, Kapil Thangavelu wrote:
> > On the topic of local provider bootstrap i ran into this bug
> earlier today
> >
> > Bootstrapping a local provider first prevents bootstrap on any other
> > environment
> > https://bugs.launchpad.net/juju-core/+bug/1231724
>
> This is new addition, I've assigned this to Rog as he has been adding
> this (I think).
>
>
>
> I can't replicate the other issues people are having with LXC on raring,
> so I'm upgrading to saucy (wish me luck).
>
>
> fwiw, i was able to solve my issues with local provider on saucy, though
> the cause still eludes. I had originally thought it was an inotify race
> in upstart.Install and tried a sleep ther,e but it turns out that it was
> that without using sudo explicitly the job wasn't found. Adding a sudo
> to cli params for the upstart.Start resolved it. Fwiw, my env is
> JUJU_HOME=/opt/juju due to encrypted home and restarts for local
> provider, juju-core tip, and golang release tag, and i'm bootstrapping
> with sudo -E ~/bin/juju bootstrap -v --debug --upload-tools. Original
> error i would get from bootstrap
> http://pastebin.ubuntu.com/6172383/
I believe this change to come from a change in the upstart scripts with
the newer versions of upstart.
I found that adding a "--system" parameter to the run commands for our
upstart wrappers fixes this. I think this is a better solution as we
plan to support "--user" upstart sessions for the local provider.
Branch pending... just checking against ec2.
Tim
More information about the Juju-dev
mailing list