juju Recommends on lxc installs libvirt-bin which causes problems when testing in virtualized environments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
In performing the juju MIR, I setup OpenStack using https:/
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-
Related branches
Changed in juju (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
This bug was fixed in the package juju - 0.5+bzr504-0ubuntu1
--------------- 0ubuntu1) precise; urgency=low
juju (0.5+bzr504-
* New upstream snapshot (LP: #962507 LP: #953258 LP: #965507). d/control, d/manpages, d/juju. manpages: Generate basic no-write- sample- on-help. patch: Added so --help can be
* d/control: Depend and Build-Depend on python-oauth for MaaS.
* d/control: Drop dummy ensemble package and make breaks/replaces
broader to force removal of any ensemble package. (LP: #954492)
* d/control: Move lxc, libvirt-bin, and zookeeper to Suggests to
reduce the amount of packages installed on every node unecessarily
and also avoid conflicting when deploying into a libvirt-bin
default network VM (LP: #962389)
* d/rules: skip test suite when nocheck is set.
* d/rules: remove redundant dh_clean call
* d/juju.install: remove usr, with only one binary package this is
not necessary anymore and causes dh_install to fail because no
files are installed to debian/tmp anymore.
* d/rules,
manpage from online help. (LP: #966611)
* d/patches/
safely run without a writable home dir on buildds. (LP: #957682)
-- Clint Byrum <email address hidden> Fri, 30 Mar 2012 15:28:16 -0700