For our work on Machine View in the Juju GUI the team needs to help the
user know what can and cannot be done with machines and containers. One of
those things is determining if lxc or kvm containers work on various
providers so the UX will not show users an option we know doesn't work.

Jay wrote up a quick script [1] to test it out on each provider we support
and I wanted to double check these results are expected.

Provider          | kvm | lxc | container is routable to client
EC2               | no  | yes | no
Azure             | no  | no  | -
Azure w/o AS      | no  | yes | no
HP Cloud          | no  | yes | no
Joyent            | no  | yes | no
Local (lxc)       | no  | no  | -
Local (kvm+aufs)  | no  | no  | -
Local (kvm-aufs)  | no  | yes | -

I've not finished getting my MAAS setup going but I understand that it
should work here. It'd be the only one that can currently create a
container on a machine and then access it without needing to setup tunnels
since it just grabs a DHCP address from the MAAS server.

I understand that there's been work started on EC2 and routable lxc
containers, but that it was put on hold to work on IPV6. So that path
should be nicer in the near future.

I also find a lot of references to LXC nesting [2][3] but it seems it does
not work out of the box currently. If it's meant to work I can get Jay to
file a bug and see if we can pull together any notes on that.

Are there any plans to making lxc containers routeable in HP and Joyent?
Does anyone know if lxc in lxc is meant to be supported in local out of the
box?

Right now I'm hesitant to enable creating containers in Machine View for
anything but MAAS. I know that, in the providers that support lxc, as
long as the service isn't exposed it's ok. I am worried about how to direct
feedback to the user that they've deployed a scenario (mysql on the root
while wordpress in a non-routable container) that we know can't work as
users would expect.

Please let me know if something should work that we're not seeing as
working.

1: http://paste.ubuntu.com/8088459/
2: http://s3hh.wordpress.com/2014/03/31/nested-lxc/
3: https://www.stgraber.org/2012/05/04/lxc-in-ubuntu-12-04-lts/


--

Rick Harding

Juju UI Engineering
https://launchpad.net/~rharding
@mitechie

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to