This project is to generate new configuration automatically for Openstack new release
Step 1: Clone this project
git clone https://github.com/NguyenHoaiNam/Jump-Over-Release.git
Step 2: Install packages dependency
cd Jump-Over-Release
sudo -E pip install -r requirements.txt
Step 3: Run command to generate configuration
Run python run.py --help
to show some options including:
- namespace-file: the path of namespace-file. This file is used to create CONF oject.
- old-config-file: the path of old configuration file.
- new-config-file: the name of new configuration.
- release-target: the release that you want to upgrade.
For example: In order to create a new configuration in Barbican then run a command as following:
python run.py --namespace-file /opt/stack/barbican/etc/oslo-config-generator/barbican.conf --old-config-file /etc/barbican/barbican.conf --new-config-file barbican.conf
- Config mapping 1:1: Change section, key, value.
- Config mapping n:1. From some old options to a new options with a template.
- Dynamic section: It can solve the change of option in dynamic section for Cinder.
- All options that were removed anymore.
- Creating Poc code: Done
- Config mapping 1:1 and n:1: Done
- Dynamic section in case of Cinder: Done
- Dynamic section in case of Neutron: Done
- Creating yaml file for Keystone, Glance, Neutron, Cinder, Nova.
- Using this project generate a new config at Ocata from Mitaka then creating a tool is to upgrade Openstack from Mitaka to Ocata automatically including Keystone, Glance, Nova, Neutron, Cinder. This tool will use all config file from this project.