Save kolla-generated per-node configuration in CI logs

Currently we're saving the config generated by kayobe for kolla, but not
the config generated by kolla for the containers. This change fixes
that.

Change-Id: I5558a4fb8285a4e96f6918d133452d664b7bf0fa
This commit is contained in:
Mark Goddard 2018-09-28 18:43:09 +01:00
parent bf732329ab
commit e327a84307
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ copy_logs() {
if [[ -d ${CONFIG_DIR} ]]; then
cp -rnL ${CONFIG_DIR}/etc/kayobe/* ${LOG_DIR}/kayobe_configs
cp -rnL ${CONFIG_DIR}/etc/kolla/* ${LOG_DIR}/kolla_configs
cp -rnL /etc/kolla/* ${LOG_DIR}/kolla_node_configs
# Don't save the IPA images.
rm ${LOG_DIR}/kayobe_configs/kolla/config/ironic/ironic-agent.{kernel,initramfs}
rm ${LOG_DIR}/kolla_configs/config/ironic/ironic-agent.{kernel,initramfs}

View File

@ -13,6 +13,7 @@
- "docker_logs"
- "kayobe_configs"
- "kolla_configs"
- "kolla_node_configs"
- "system_logs"
- "kolla"
- "ansible"