Ask Your Question
0

Can kolla be configured for heterogenous environments?

asked 2016-07-15 16:17:44 -0600

BernhardW gravatar image

Hi,

I'd like to build an OpenStack Cloud with different Operating Systems as Compute Nodes, so for example two Compute Nodes running Ubuntu/KVM and two Compute Nodes running CentOS/Xen.

I found the possibility to create os-specific containers with kolla-build in the documentation, but I could not find anything that mentions how to map a Docker image to a certain host.

regards, Bernhard

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-07-18 11:40:42 -0600

Hi, @BernhardW.

The quick answer is NO, but:

Kolla-deploy step comes with a globals.yml file where you indicate which OS are going to use and other configuration parameters. Kolla will deploy the containers needed to make it run, what means that will use the same OS, and common configuration between all the deployed containers.

You may think that you can deploy Kolla with an OS and then deploy only the containers needed with the other OS. This will actually fail because containers have dependencies with other ones that you'll have with a different OS and for that reason, Kolla don't know about their existence in the actual deployment.

Maybe you can make it works but you have to modify some things inside the containers to make it run with the other environment, like fixing IPs, config parameters, etc.

Another point is that Kolla currently does not support Xen as Hypervisor for nova-compute nodes. You need to add a file while building images with the necessary packages and edit at /etc/kolla/config/nova/server-hostname/nova.conf with the configuration options for Xen servers.

If you make it run, it will be helpful you share how you made it.

See:

[0] [https://github.com/openstack/kolla/bl...

[1] [https://github.com/openstack/kolla/bl...

Regards, Eduardo Gonzalez.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2016-07-15 16:17:44 -0600

Seen: 247 times

Last updated: Jul 18 '16