summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorArtem Goncharov <Artem.goncharov@gmail.com>2020-09-10 18:21:37 +0200
committerArtem Goncharov <Artem.goncharov@gmail.com>2020-09-14 16:06:14 +0200
commit3a46e291416f453c612fe27a31d0b57918aaf276 (patch)
treea6efa85812263cdc9d81842cb6e9c675d3c7c294 /releasenotes
parent274eaa6c5487124fae3a19fa8aa80ea7d889105b (diff)
downloadstevedore-3a46e291416f453c612fe27a31d0b57918aaf276.tar.gz
Fix cache dir flooding when running from /tmp
Ansible invokes modules with executable placed under /tmp. This causes stevedore caching to create bazillions of useless cache files. When we can identify we run with executable under /tmp or if in the target cache directory an empty file '.disable' is present - skip writing cache. Change-Id: Ic483ac68027505402ba32d7f612631e15a678d09
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/add-skip-caching-aa13be0299cc8b8c.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/releasenotes/notes/add-skip-caching-aa13be0299cc8b8c.yaml b/releasenotes/notes/add-skip-caching-aa13be0299cc8b8c.yaml
new file mode 100644
index 0000000..d18fc9d
--- /dev/null
+++ b/releasenotes/notes/add-skip-caching-aa13be0299cc8b8c.yaml
@@ -0,0 +1,7 @@
+---
+features:
+ - |
+ Add possibility to skip caching endpoints to the filesystem when '.disable' file is present in the cache directory.
+fixes:
+ - |
+ When python interpreter invokimg the module is located under /tmp (the case when i.e. Ansible module uses stevedore) do not try to write cache to the file system.