While using ufw (Uncomplicated FireWall) and I noticed that the local juju machines were stuck in a pending state.
$ juju status environment: local machines: "0": agent-state: started agent-version: 18.104.22.168 dns-name: localhost instance-id: localhost series: trusty state-server-member-status: has-vote "1": agent-state: pending instance-id: mbruzek-local-machine-1 series: precise hardware: arch=amd64 services: ubuntu: charm: cs:precise/ubuntu-4 exposed: false units: ubuntu/0: agent-state: pending machine: "1"
The Juju LXC documentation warns:
If you are running a firewall such as ufw, it may interfere with the correct operation of Juju using LXC containers and might need to be halted.
After disabling ufw I was able to deploy the ubuntu charm without a problem.
I want to be able to continue to use my firewall and use Juju. How do I use Juju local with a firewall?