aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2025-08-26 19:06:57 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2025-08-26 19:07:40 +0200
commitda1f630158a2aeca53300501188942071dcb4c64 (patch)
tree4c85e3aa3e2216ad93734c6c9126a095d314a10d
parentd3e3f6b4145bc887afcd550cda67388c0f82771f (diff)
downloadkolla-da1f630158a2aeca53300501188942071dcb4c64.tar.gz
kolla-da1f630158a2aeca53300501188942071dcb4c64.zip
CI: Drop dump_info.sh
It should not be required anymore, all these information are dumped by different means (generic zuul playbooks, etc). Change-Id: I80569b6fe9e4d779a5448015b8ad9caf09e5abf6 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
-rw-r--r--roles/kolla-build-deps/tasks/main.yml6
-rw-r--r--tests/playbooks/post.yml6
-rwxr-xr-xtools/dump_info.sh26
3 files changed, 0 insertions, 38 deletions
diff --git a/roles/kolla-build-deps/tasks/main.yml b/roles/kolla-build-deps/tasks/main.yml
index a3fcd1473..490f13edf 100644
--- a/roles/kolla-build-deps/tasks/main.yml
+++ b/roles/kolla-build-deps/tasks/main.yml
@@ -7,12 +7,6 @@
owner: zuul
group: zuul
-- name: Dump host info to logs
- ansible.builtin.command: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/tools/dump_info.sh"
- args:
- chdir: "{{ kolla_logs_dir }}"
- changed_when: true
-
- name: Create dir for kolla build logs
ansible.builtin.file:
path: "{{ kolla_build_logs_dir }}"
diff --git a/tests/playbooks/post.yml b/tests/playbooks/post.yml
index 030663810..a5998468b 100644
--- a/tests/playbooks/post.yml
+++ b/tests/playbooks/post.yml
@@ -2,12 +2,6 @@
- name: Zuul post
hosts: all
tasks:
- - name: Dump host info to logs
- ansible.builtin.command: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/tools/dump_info.sh"
- args:
- chdir: "{{ kolla_logs_dir }}"
- changed_when: true
-
- name: Collect various info to logs
changed_when: true
ansible.builtin.shell:
diff --git a/tools/dump_info.sh b/tools/dump_info.sh
deleted file mode 100755
index 26158653b..000000000
--- a/tools/dump_info.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-set -o xtrace
-
-function dump_node_info {
- # NOTE(SamYaple): function for debugging gate
- set +o errexit
- local OLD_PATH="${PATH}"
- PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
- sudo parted -l
-
- sudo mount
-
- df -h
-
- uname -a
-
- cat /etc/*release*
-
- cat /proc/meminfo
-
- PATH="${OLD_PATH}"
- set -o errexit
-}
-
-(dump_node_info 2>&1) > node_info_$(date +%s)