Added a spec file for this blueprint. Changed the kolla-ansible script to accept more than one globals.yml file. That will still be the main one but operators will be able to create more, under the /etc/kolla/globals.d directory. Also added some paragraphs in the quickstart documentation about this. Finally, Adding a release note Change-Id: I34eb91d0e2ed80694594b8fc6801cf8ad77da754 Implements: blueprint multiple-globals-files
2.8 KiB
Add support for multiple globals files
https://blueprints.launchpad.net/kolla-ansible/+spec/multiple-globals-files
Adding this feature to the kolla-ansible script, which will make it,
automatically, read multiple globals files. This would give operators
the ability to have separate globals files for some services, giving
them a bit more granular control, without the need to add the
-e @/path/to/file
flag. These files will be placed under a
new /etc/kolla/globals.d
directory and
kolla-ansible
will search for globals.d/*.yml
files. The main globals.yml
file will still exist under
/etc/kolla
, as usual.
Problem description
There's no problem, per say, to solve. This feature will basically
give operators the ability to have separate globals files for some
services, giving them a bit more granular control, without the need to
add the -e @/path/to/file
flag.
Use cases
- Allow a more granular controler over individual service's options
- Better file and directory structure
Proposed change
- Add the capability in the
tools/kolla-ansible
script- Check if the
globals.d
directory exists - If it is, add its files in the
CONFIG_OPTS
variable at the end of thetools/kolla-ansible
script
- Check if the
Security impact
None
Performance Impact
None
Implementation
Assignee(s)
Konstantinos Mouzaitis <kon.mouzakitis@vscaler.com>
Milestones
- Target Milestone for completion:
-
ussuri-10.0.0
Work Items
- Add the capability in the
tools/kolla-ansible
script- Check if the
globals.d
directory exists - If it is, add its files in the
CONFIG_OPTS
variable at the end of thetools/kolla-ansible
script
- Check if the
Testing
Test the new kolla-ansible script when the globals.d
directory exists and includes some more yml files, as well as when it
doesn't exist.
Documentation Impact
doc/source/user/quickstart.rst
will need to be updated
to include the options discussed in this feature