metal3: Use zuul user for logs, fix remote node ip, reduce timeout

The job usually takes 30-40 minutes to run if successfull, it
does not make sense to have a 3 hours timeout value.
Also there is no metal3 user so just using zuul for remote logs
collection, also fixing the ip of the remote node.

Change-Id: Ie738195f38a547cf03d94e7cc5d78f7c2b8d4539
This commit is contained in:
Riccardo Pittau committed 2025-03-20 15:07:23 +01:00
1 parent 09ce4dede1
commit fbb5d5a41f
2 files changed
+3 -28

No files matched your search

+2 -27
View File
@@ -140,34 +140,9 @@
ignore_errors: true
when: kubectl_result is succeeded
# FIXME(dtantsur): this is horrible, do something about it
- name: Fetch kubelet status logs from the master user metal3
shell: |
ssh -vvv -o StrictHostKeyChecking=accept-new metal3@192.168.111.100 "sudo systemctl status kubelet" > "{{ logs_root }}/kubelet-0-metal3-status.log"
ignore_errors: true
register: kubelet0metal3status
- debug:
var: kubelet0metal3status.stdout_lines
- debug:
var: kubelet0metal3status.stderr_lines
- name: Fetch kubelet journal logs from the master user metal3
shell: |
ssh -vvv -o StrictHostKeyChecking=accept-new metal3@192.168.111.100 "sudo journalctl -xeu kubelet" > "{{ logs_root }}/kubelet-0-metal3-journal.log"
ignore_errors: true
register: kubelet0metal3journal
- debug:
var: kubelet0metal3journal.stdout_lines
- debug:
var: kubelet0metal3journal.stderr_lines
- name: Fetch kubelet status logs from the master user zuul
shell: |
ssh -vvv -o StrictHostKeyChecking=accept-new zuul@192.168.111.100 "sudo systemctl status kubelet" > "{{ logs_root }}/kubelet-0-zuul-status.log"
ssh -vvv -o StrictHostKeyChecking=accept-new zuul@192.168.111.1 "sudo systemctl status kubelet" > "{{ logs_root }}/kubelet-0-zuul-status.log"
ignore_errors: true
register: kubelet0zuulstatus
@@ -179,7 +154,7 @@
- name: Fetch kubelet journal logs from the master user zuul
shell: |
ssh -vvv -o StrictHostKeyChecking=accept-new zuul@192.168.111.100 "sudo journalctl -xeu kubelet" > "{{ logs_root }}/kubelet-0-zuul-journal.log"
ssh -vvv -o StrictHostKeyChecking=accept-new zuul@192.168.111.1 "sudo journalctl -xeu kubelet" > "{{ logs_root }}/kubelet-0-zuul-journal.log"
ignore_errors: true
register: kubelet0zuuljournal
+1 -1
View File
@@ -6,7 +6,7 @@
nodeset: openstack-single-node-noble
run: playbooks/metal3-ci/run.yaml
post-run: playbooks/metal3-ci/post.yaml
timeout: 10800
timeout: 5400
required-projects:
- opendev.org/openstack/ironic
- opendev.org/openstack/ironic-inspector