Affects Version/s: None
Sprint:Platform Core KANBAN
Method Found:Needs Assessment
Release Notes:Bug Fix
Release Notes Summary:Fixes a ruby bug that caused puppet to silently ignore truncated file downloads, such as when using a file resource whose source parameter contained a puppet, http, or https URL.
QA Risk Assessment:Needs Assessment
Puppet Version: 4.10.9
Puppet Server Version: 2.8.0
OS Name/Version: Windows 201x
Describe your issue in as much detail as possible…
The mtime checksum for a file resource, does not seem to work with Artifactory. I don't know if this extends into oter http resources, but we are seeing this issue with Artifactory for sure.
I am aware of
PUP-6114 for md5 checksum fixes, but this is for mtime. I am not sure if there is already a ticket open for this or not, but I didnt see one, so here this is.
We have 70 some servers that all have this issue. Here is a file we are obtaining from artifactory, as you can see it has a last-modified time of:
Here is a list of the server times of that file. The size of the file is drastically different on every server as well. Its a 1.4GB file and some servers only have a file size of 100KB.
Describe steps to reproduce…
Download a file from a Artifactory http URI
No matter how many times you run Puppet it thinks the file is correct.
The file is the correct file and that Puppet manages it correctly. That it is checked each Puppet run and verified.
The file doesnt get checked locally, so its always incorrect. The checksums dont work, so the file is always incorrect.
It would appear the md5 checksum portion of Artifactory is handled in
PUP-6114 - I am not sure if the mtime portion is tracked elsewhere.