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>
This commit is contained in:
@@ -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 }}"
|
||||
|
@@ -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:
|
||||
|
@@ -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)
|
Reference in New Issue
Block a user