Replace config-external with a json file
In order to be more flexible with supporting multiple config files, we need a simple mechanism for config location. Using config-external would require we add by hand config files that will need to be copied from the host. Instead, we should put this work into json file and have all deployment tools who wish to consume kolla add config files to this dictionary so they are mapped into the containers when run.
{
"files": {
"source": "/var/lib/
"dest": "/etc/keystone/
"owner": "keystone",
"perm": "064"
}
}
Blueprint information
- Status:
- Complete
- Approver:
- Steven Dake
- Priority:
- Essential
- Drafter:
- Ryan Hallisey
- Direction:
- Approved
- Assignee:
- Ryan Hallisey
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
- Implemented
- Milestone target:
- liberty-rc1
- Started by
- Steven Dake
- Completed by
- Steven Dake
Related branches
Related bugs
Sprints
Whiteboard
Yes I had suggested this in a Tripleo thread on the mailing list a while back. I think this is best. It also prevents a container rebuild if config files need to be added or changed while still being a 'safe' operation since this isnt executable code, but rather something that can be parsed and checked. -- SamYaple
Keystone will be a challenge because a different service will start given the base OS. The model I'm currently looking at is using a separate JSON file per OS. -- Ryan Hallisey
Gerrit topic: https:/
Addressed by: https:/
WIP:Replace config-external with a JSON file for Galera
Addressed by: https:/
Replace config-external with a JSON file
Addressed by: https:/
Replace config-external with a JSON file for Rabbitmq
Addressed by: https:/
Replace config-external with a JSON file for Keystone
Addressed by: https:/
Replace config-external with a JSON file for Glance
Addressed by: https:/
Replace config-external with a JSON file for Nova
Addressed by: https:/
Refactor set_configs.py
Addressed by: https:/
Replace config-external with a JSON file for Neutron (thin)
Addressed by: https:/
Replace config-external with a JSON file for Cinder
Addressed by: https:/
Replace config-external with a JSON file for Heat
Addressed by: https:/
Create nova-libvirt directory before copying files
Addressed by: https:/
Add missing when statments when copying JSON files in ansible
Addressed by: https:/
Replace config-external - haproxy keepalived
Addressed by: https:/
Replace config-external - horizon
Addressed by: https:/
Replace config-external - memcached
Addressed by: https:/
Replace config-external - murano
Addressed by: https:/
Replace config-external - swift
Addressed by: https:/
Remove config-external.sh
Addressed by: https:/
Fix removal of config-external
Gerrit topic: https:/
Addressed by: https:/
Replace config-external - openvswitch
Addressed by: https:/
Replace config-external - rsyslog
Addressed by: https:/
Create nova-libvirt directory before copying files
Addressed by: https:/
remove set_configs
Addressed by: https:/
Allow conf files to be optional
Addressed by: https:/
Convert ceph to json
Addressed by: https:/
Remove config-external for rsyslog
Gerrit topic: https:/
Addressed by: https:/
Neutron Agents json support
Addressed by: https:/
Fix ceph after config-external removal