How to customize OpenStack services

This guide describes how to create a custom configuration for the OpenStack services, such as Nova, Cinder, and Neutron, used in Virtuozzo Infrastructure.

Important: As we do not support custom OpenStack parameters, you need to contact the technical support team to agree on your custom OpenStack configuration or do it at your own risk.

Prerequisites

1. Deploy a Virtuozzo Infrastructure cluster.

2. Create the compute cluster.

Configuring Nova

1. Create the configuration file /etc/kolla/config/nova.conf on all of the management nodes and add any OpenStack-supported parameters. To see a full list of all available configuration parameters, refer to the official Nova documentation.

2. Run the following command on the primary management node:

1
2
# su - vstoradmin
# kolla-ansible reconfigure -t nova

The command will add new parameters from the /etc/kolla/config/nova.conf file or rewrite the existing parameters in the Nova configuration.

Configuring Cinder

1. Create the configuration file /etc/kolla/config/cinder.conf on all of the management nodes and add any OpenStack-supported parameters. To see a full list of all available configuration parameters, refer to the official Cinder documentation.

2. Run the following command on the primary management node:

1
2
# su - vstoradmin
# kolla-ansible reconfigure -t cinder

The command will add new parameters from the /etc/kolla/config/cinder.conf file or rewrite the existing parameters in the Cinder configuration.

Configuring Neutron

1. Create the configuration file /etc/kolla/config/neutron.conf or /etc/kolla/config/neutron/ml2_conf.ini, depending on the parameters you want to use, on all of the management nodes, and then add any OpenStack-supported parameters. To see a full list of all available configuration parameters, refer to the official Neutron documentation.

2. Run the following command on the primary management node:

1
2
# su - vstoradmin
# kolla-ansible reconfigure -t neutron

The command will add new parameters from the /etc/kolla/config/neutron.conf and /etc/kolla/config/neutron/ml2_conf.ini files or rewrite the existing parameters in the Neutron configuration.

Important: Custom configuration files must exist on all of the management nodes. If you add or replace a management node afterwards, add the configuration files to a new management node and reconfigure the Openstack service.

Enjoy!