Can not bootstrap juju on a brand new Ubuntu 12.04 VM

Nathan Williams nathan at nathanewilliams.com
Thu May 10 05:57:24 UTC 2012


On 05/09/2012 08:39 PM, Marco Ceppi wrote:
> 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
>>
>

Thanks for the info. I too was dealing with this issue, and was working 
around it by bootstrapping with sudo... o_O nice to have a juju setup 
that works like it says on the packet now :)




More information about the Juju mailing list