Can not bootstrap juju on a brand new Ubuntu 12.04 VM

Marco Ceppi marco at ondina.co
Thu May 10 03:39:25 UTC 2012


Hi Haitao,

This happens because you're likely not a member of the libvirtd group.
You can confirm this by running "groups" in the command-line. If
libvirtd isn't in that list you'll need to do the following: 

sudo usermod -a -G libvirtd <YOUR_USER>

Once you've added yourself to the group you can either log out/back in
or just run:

newgrp libvirtd

This will set up that terminal session (and you user for that terminal
session) to be a part of the libvirtd group. From here you should be
able to run juju bootstrap.

Thanks,
Marco Ceppi

On Wed, 2012-05-09 at 19:21 -0700, Haitao Jiang wrote:
> Hi, there
> 
> Since I have been having various problems with upgraded 12.04 (11.10),
> I created a brand new VM from 12.04 ISO, did update and upgrade and
> installed the juju, however,
> 
> $ juju bootstrap
> 2012-05-09 18:08:47,157 INFO Bootstrapping environment 'local'
> (origin: distro type: local)...
> 2012-05-09 18:08:47,158 INFO Checking for required packages...
> 2012-05-09 18:08:50,061 INFO Starting networking...
> Network default defined from /tmp/tmpVS3o07
> 
> error: Failed to start network default
> error: internal error Network is already in use by interface virbr0
> 
> Command '['virsh', 'net-start', 'default']' returned non-zero exit status 1
> 2012-05-09 18:08:50,551 ERROR Command '['virsh', 'net-start',
> 'default']' returned non-zero exit status 1
> 
> ------------
> 
> I rebooted after installing and change /etc/sysctl.conf, still have
> these problems, really frustrated.
> 
> Thanks for any help
> 
> Haitao
> 





More information about the Juju mailing list