[openstack-dev] [kolla] Deploying kolla from a container?

Jamie Hannaford jamie.hannaford at rackspace.com
Fri Apr 29 02:48:12 UTC 2016

Okay, that makes sense. For a normal Ubuntu VM (in my case on Rackspace cloud), what would the networking configuration look like? Usually eth0 is the interface for the public internet, eth1 is servicenet, and I have eth2 as an arbitrary neutron private network.

For the `network_interface` config value I used eth2 and for `kolla_internal_vip_address` a free VIP on its subnet - does that sound right?

For `neutron_external_interface`, it says in your dev guide that you can use a veth pair when there's only a single public interface on a machine, which is the case here. Is there any documentation available for how to do that?


From: Michal Jastrzebski <inc007 at gmail.com>
Sent: 28 April 2016 04:36
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [kolla] Deploying kolla from a container?


So privileged containers are required by stuff like libvirt, and there isn't much we can do about it. Shared /run is required by openvswitch afair. We didn't try to run Kolla with swarm, but I'm afraid that privileged container and network host are unfortunately a must. OpenStack wasn't really build to be run in containers, so we had to make sacrifices here and there. We are experimenting with kubernates now, as it supports both priv containers and net host.

Let me know what if I can be any help.


On Apr 27, 2016 5:27 PM, "Jamie Hannaford" <jamie.hannaford at rackspace.com<mailto:jamie.hannaford at rackspace.com>> wrote:


Is it possible to deploy Kolla from a container rather than an ubuntu/centos VM? I have a Swarm cluster, so I don't really want to leave that ecosystem and start creating other cloud resources.

I got quite far with the dev guide, but the step which seems to throw a spanner in the works is setting the ?MountFlags. You recommend either systemd (15.04+) or `mount --make-shared /run` (14.04), both of which require a container running in privileged mode, which I can't do on my swarm cluster. Is there any workaround here?

Alternatively, is it possible to run a privileged container locally in virtualbox and have it deploy to a remote Swarm cluster?

Any advice you have here would be really appreciated. Kolla looks like a great project!


Rackspace International GmbH a company registered in the Canton of Zurich, Switzerland (company identification number CH- whose registered office is at Pfingstweidstrasse 60, 8005 Zurich, Switzerland. Rackspace International GmbH privacy policy can be viewed at www.rackspace.co.uk/legal/swiss-privacy-policy<http://www.rackspace.co.uk/legal/swiss-privacy-policy> - This e-mail message may contain confidential or privileged information intended for the recipient. Any dissemination, distribution or copying of the enclosed material is prohibited. If you receive this transmission in error, please notify us immediately by e-mail at abuse at rackspace.com<mailto:abuse at rackspace.com> and delete the original message. Your cooperation is appreciated.

OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160429/be2678de/attachment.html>

More information about the OpenStack-dev mailing list