From 13e8db5a6f44a8f537988a102f9869e725bb97bb Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Wed, 9 Mar 2022 20:17:31 +0000 Subject: [PATCH] ignore failures to copy the devstack cache If the ci images do not have any cached data we should ignore any error when trying to copying it. This is requried when using unmodified cloud images. Change-Id: Ia6e94fc01343d0c292b1477905f8a96a6b43bcf8 --- roles/setup-devstack-cache/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/setup-devstack-cache/tasks/main.yaml b/roles/setup-devstack-cache/tasks/main.yaml index 84f33f0e16..3adff17d5d 100644 --- a/roles/setup-devstack-cache/tasks/main.yaml +++ b/roles/setup-devstack-cache/tasks/main.yaml @@ -2,6 +2,7 @@ # This uses hard links to avoid using extra space. command: "find {{ devstack_cache_dir }}/files -mindepth 1 -maxdepth 1 -exec cp -l {} {{ devstack_base_dir }}/devstack/files/ ;" become: true + ignore_errors: yes - name: Set ownership of cached files file: