summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2021-09-08 14:21:03 +0200
committerJulia Kreger <juliaashleykreger@gmail.com>2021-09-08 16:40:49 +0000
commit94a1560d31b72052a94c0a4c07db2f9cf957ff26 (patch)
treee9b3b5ca797f5043426816fdb578242831af8809 /doc
parenta71ed5de26e90bbbfa751d8369b0af26d2746091 (diff)
downloadironic-94a1560d31b72052a94c0a4c07db2f9cf957ff26.tar.gz
Always update cache for HTTP images if Last Modified is unknown
Currently we default to assuming the cache is up-to-date. This is likely wrong. Normal web servers provide Last Modified for files they serve. If it is absent, chances are high the image is served by some sort of a dynamic service, which may modify the URL on fly. In any case, always updating the image is a safer choice. Change-Id: I0548db14a97638d26ebb687e8f47f1b295d1f774
Diffstat (limited to 'doc')
-rw-r--r--doc/source/install/standalone/enrollment.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/source/install/standalone/enrollment.rst b/doc/source/install/standalone/enrollment.rst
index aa9878209..305091070 100644
--- a/doc/source/install/standalone/enrollment.rst
+++ b/doc/source/install/standalone/enrollment.rst
@@ -48,6 +48,9 @@ There are however some limitations for different hardware interfaces:
modification time, Ironic will re-download the content. For "file://"
images, the file system modification time is used.
+ If the HTTP server does not provide the last modification date and time,
+ the image will be redownloaded every time it is used.
+
.. _hashlib: https://docs.python.org/3/library/hashlib.html
Enrolling nodes