Browse Source

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
tags/5.0.0.0rc1
Mark Goddard 8 months ago
parent
commit
e327a84307

+ 1
- 0
roles/kayobe-diagnostics/files/get_logs.sh View File

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

+ 1
- 0
roles/kayobe-diagnostics/tasks/pre.yml View File

@@ -13,6 +13,7 @@
13 13
     - "docker_logs"
14 14
     - "kayobe_configs"
15 15
     - "kolla_configs"
16
+    - "kolla_node_configs"
16 17
     - "system_logs"
17 18
     - "kolla"
18 19
     - "ansible"

Loading…
Cancel
Save