]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Don't bother checking for previous ceph artifacts
authorDavid Galloway <david.galloway@ibm.com>
Fri, 27 Jun 2025 14:55:12 +0000 (10:55 -0400)
committerDavid Galloway <david.galloway@ibm.com>
Wed, 30 Jul 2025 19:39:21 +0000 (15:39 -0400)
We no longer run multiple teuthology jobs per installation so leftover artifacts are impossible.

Signed-off-by: David Galloway <david.galloway@ibm.com>
roles/testnode/tasks/main.yml

index 755f5d7c9889d8b449777c6d93c27e9014d85289..703db5aef06ac56e25d9e44adfe5cfef00798f33 100644 (file)
   tags:
     - resolvconf
 
-# http://tracker.ceph.com/issues/20623
-- name: List any leftover Ceph artifacts from previous jobs
-  shell: 'find {{ item }} -name "*ceph*"'
-  with_items:
-    - /var/run/
-    - /etc/systemd/system/
-    - /etc/ceph
-    - /var/log/
-  register: ceph_test_artifacts
-  changed_when: ceph_test_artifacts.stdout != ""
-  failed_when: ceph_test_artifacts.rc != 0 and
-               "No such file or directory" not in ceph_test_artifacts.stderr and
-               "File system loop detected" not in ceph_test_artifacts.stderr
-
-- name: Delete any leftover Ceph artifacts from previous jobs
-  file:
-    path: "{{ item }}"
-    state: absent
-  with_items: "{{ ceph_test_artifacts.results|map(attribute='stdout_lines')|list }}"
-
 # Touch a file to indicate we are done. This is something chef did;
 # teuthology.task.internal.vm_setup() expects it.
 - name: Touch /ceph-qa-ready