"network is already active" error when bootstraping with the local provider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
Medium
|
Kapil Thangavelu | ||
juju (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Oneiric |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I'm using Ubuntu 11.10 beta 2 with juju version 0.5+bzr402-
Here are the commands I used after installing Ubuntu :
sudo su -
apt-get update
apt-get install openssh-server python-
add-apt-repository ppa:juju/pkgs
apt-get update
apt-get install juju apt-cacher-ng libvirt-bin libzookeeper-java lxc zookeeper
ssh-keygen -t rsa -b 2048
cat /root/.
environments:
sample:
type: local
data-dir: /root/local_dev
admin-secret: password
default-series: oneiric
juju --verbose bootstrap
The bootstrap command fails with the following error :
2011-10-13 12:23:40,044 INFO Starting networking...
erreur : Impossible de démarrer le réseau default
erreur : Requested operation is not valid: network is already active
After issuing the following command, the bootstraping works fine :
virsh net-destroy default
Related branches
- Jim Baker (community): Approve
-
Diff: 117 lines (+18/-12)2 files modifiedjuju/providers/local/network.py (+4/-2)
juju/providers/local/tests/test_network.py (+14/-10)
Changed in juju: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
status: | Confirmed → In Progress |
Changed in juju (Ubuntu Oneiric): | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
milestone: | none → florence |
status: | New → In Progress |
Changed in juju: | |
status: | In Progress → Fix Released |
Changed in juju (Ubuntu Oneiric): | |
status: | In Progress → Triaged |
assignee: | Kapil Thangavelu (hazmat) → nobody |
importance: | Undecided → Medium |
Changed in juju (Ubuntu Oneiric): | |
milestone: | florence → none |
I am using Ubuntu Server 11.10 (final) on Virtualbox 4.1.2. I confirgured two interfaces: eth0 NAT, eth1 "host only".
After installing on the virtual machine I only installed juju and configured environment for local usage.
I also tried "virsh net-destroy default" without success