aboutsummaryrefslogtreecommitdiff
path: root/tests/get_logs.sh
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2025-06-05 15:22:49 +0100
committerMichal Nasiadka <mnasiadka@gmail.com>2025-09-05 09:26:59 +0000
commitcbe6fe7cef02b92aecd12e4e13f312055f49a424 (patch)
tree5cbfd6ad431d17fa52f3ff9fbccce8787cd8a2a1 /tests/get_logs.sh
parent58b83afc64da83104edf1cd79cb439b66167f5f5 (diff)
downloadkolla-ansible-cbe6fe7cef02b92aecd12e4e13f312055f49a424.tar.gz
kolla-ansible-cbe6fe7cef02b92aecd12e4e13f312055f49a424.zip
Remove ironic-inspector deployment
Ironic Inspector has been retired and its functionality has been moved to Ironic. Added a change to service-ks-register to make password optional (to able to remove user without a password being passed in). Using the opportunity - increasing CI coverage to include inspection. Change-Id: If178c23249370c7c69744843737e61a6309d6a19 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'tests/get_logs.sh')
-rw-r--r--tests/get_logs.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/get_logs.sh b/tests/get_logs.sh
index 55dbca03f..8633ec1c3 100644
--- a/tests/get_logs.sh
+++ b/tests/get_logs.sh
@@ -123,7 +123,7 @@ copy_logs() {
# bifrost related logs
if [[ $(${CONTAINER_ENGINE} ps --filter name=bifrost_deploy --format "{{.Names}}") ]]; then
- for service in dnsmasq ironic ironic-api ironic-conductor ironic-inspector mariadb nginx; do
+ for service in dnsmasq ironic ironic-api ironic-conductor mariadb nginx; do
mkdir -p ${LOG_DIR}/kolla/$service
${CONTAINER_ENGINE} exec bifrost_deploy systemctl status $service > ${LOG_DIR}/kolla/$service/systemd-status-$service.txt
done
@@ -136,12 +136,6 @@ copy_logs() {
${CONTAINER_ENGINE} exec haproxy bash -c 'echo show stat | socat stdio /var/lib/kolla/haproxy/haproxy.sock' > ${LOG_DIR}/kolla/haproxy/stats.txt
fi
- # FIXME: remove
- if [[ $(${CONTAINER_ENGINE} ps -a --filter name=ironic_inspector --format "{{.Names}}") ]]; then
- mkdir -p ${LOG_DIR}/kolla/ironic-inspector
- ls -lR ${VOLUMES_DIR}/ironic_inspector_dhcp_hosts > ${LOG_DIR}/kolla/ironic-inspector/var-lib-ls.txt
- fi
-
for container in $(${CONTAINER_ENGINE} ps -a --format "{{.Names}}"); do
${CONTAINER_ENGINE} logs --timestamps --tail=${LOGS_TAIL_PARAMETER} ${container} &> ${LOG_DIR}/container_logs/${container}.txt
done