[Bug 962389] [NEW] juju Recommends on lxc installs libvirt-bin which causes problems when testing in virtualized environments

Jamie Strandboge jamie at ubuntu.com
Thu Mar 22 17:57:57 UTC 2012


Public bug reported:

In performing the juju MIR, I setup OpenStack using
https://wiki.ubuntu.com/SecurityTeam/TestingOpenStack. This installs
openstack in a libvirt managed VM and public addresses for openstack
instances show up on the 192.168.122.0.0/24 network. This works great
with euca2ools.

However, with juju this fails because 'juju bootstrap' installs juju for
the agents on the instances, but juju Recommends lxc, which pulls in
libvirt-bin. Upon install, libvirt-bin configures its default network
(192.168.122.0/24) and all of sudden the instance is unreachable. This
is a known problem with running libvirt in a libvirt VM and the host
libvirt network and the guest libvirt networks must not overlap.

The security team uses libvirt extensively for testing and this makes it
problematic to test juju with openstack. Others will undoubtedly want to
perform similar testing for enterprise rollouts or for QA.

A workaround is to have the OpenStack VM run in another network, eg
192.168.123.0/24 (but this is painful for people who already have many
machines configured to use the default libvirt network).

Several options exist:
* split out juju-lxc and move it to Suggests, and have juju suggest installing it when configuring 'local:' environments
* split out the juju agents (juju-core?) and have juju only install that in instances instead of 'juju'
* have juju use --no-install-recommends when installing 'juju' on instances

** Affects: juju (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/962389

Title:
  juju Recommends on lxc installs libvirt-bin which causes problems when
  testing in virtualized environments

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju/+bug/962389/+subscriptions



More information about the Ubuntu-server-bugs mailing list