local provider makes assumptions about libvirtd default network setup

Bug #997667 reported by James Page
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Medium
Clint Byrum

Bug Description

If a users local libvirtd network configuration is anything other that the stock:

   name: default
   bridge: virbr0

The juju local provider fails to work properly.

It would be great if juju could create new, juju environment specific network configurations as an environment is bootstrapped - this would avoid conflicts with any changes to the stock network configuration e.g.:

  juju bootstrap -e mylocal

juju creates a network called 'mylocal' using an appropriately named bridge (maybe mylocal) and a DHCP range with does not conflict with anything else already configured on the users local system.

After users not correctly placing their userid in the libvirtd group, this was the second most common issue I saw at charm school during UDS when people try to get started with the local provider.

Related branches

James Page (james-page)
summary: - local provider makes assumptions about libvirtd network setup
+ local provider makes assumptions about libvirtd default network setup
Revision history for this message
Norberto Bensa (nbensa) wrote :

I got bite by this one yesterday.

In my system, libvirt bridge is called 'vbr-default-0' (I think is the current default as I can't remember renaming it) and so 'juju deploy' doesn't work.

Revision history for this message
James Page (james-page) wrote :

Even better would be to use the stock lxc network configuration; I believe this is being done as part of a migration to use the ubuntu cloud images with the local provider.

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 997667] Re: local provider makes assumptions about libvirtd default network setup

that's not the stock libvirt pkg's network (its virbr0), and there is work
in progress to just use the stock lxc's package network.

On Fri, Sep 28, 2012 at 4:16 AM, James Page <email address hidden> wrote:

> Even better would be to use the stock lxc network configuration; I
> believe this is being done as part of a migration to use the ubuntu
> cloud images with the local provider.
>
> --
> You received this bug notification because you are subscribed to juju.
> https://bugs.launchpad.net/bugs/997667
>
> Title:
> local provider makes assumptions about libvirtd default network setup
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/997667/+subscriptions
>

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

This is indeed addressed by the branch in review. It does just shift the assumptions to using the default LXC networking, but certainly this is less likely to conflict with other things running than using the libvirt network.

Changed in juju:
status: New → In Progress
milestone: none → 0.6
importance: Undecided → Medium
assignee: nobody → Clint Byrum (clint-fewbar)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
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.