local environment has no internet access

Bug #915022 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Invalid
Undecided
Unassigned

Bug Description

On a fresh system configured with a 'local' environment, the lxc servers spawned by juju do not have internet access - they can ping their gateway, but packets are not being routed beyond that. A step setting up the routing seems to be missing. If juju is responsible for setting this up, it isn't working here.

Tags: local
Revision history for this message
Stuart Bishop (stub) wrote :

Fresh reboot, juju bootstrap, juju deploy, juju ssh demonstrates ipforwarding is not working, repeatably.

Restarting libvirt-bin (sudo /etc/init.d/libvert-bin restart) fixes the problem.

Probably INVALID for juju. Any ideas what this should be targetted at? People suspecting it is a race condition in the boot/upstart startup sequence.

Revision history for this message
Stuart Bishop (stub) wrote :

Also fails after suspend. libvert-bin restart fixes this too.

Revision history for this message
Kapil Thangavelu (hazmat) wrote :

juju relies on libvirt-bin to set up networking, and just calls out to libvirt/virsh to start/stop the network. The host needs to have nat forwarding enabled.. ie. /proc/sys/net/ipv4/ip_forward should be 1

tags: added: lcoal
tags: added: local
removed: lcoal
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Seems like a libvirt problem. Will probably go away when we drop libvirt networking for lxc's own network management.

Changed in juju:
status: New → Invalid
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.