Download from S3 (still failing) with spaces in path #49251
Labels
fixed-pls-verify
fix is linked, bug author to confirm fix
Pending-Discussion
The issue or pull request needs more discussion before it can be closed or merged
stale
Milestone
Description of Issue/Question
When attempting to download files from S3 using the file.managed states this only works when files have no space in their name. Their were various issues in the past which are currently closed but this still does not work. This breaks automation efforts as it requires manual intervention/renaming when using installers/MSI files on Windows with have spaces in their path. I can confirm this issue on 2017.7.x and 2018.3-x. This ticket shows reproduction details using 2018.3.2.
Setup
Configure your pillar s3.configuration
Configure your state s3.tested
Steps to Reproduce Issue
When now calling
this leads to the output
Your minion log states (debug log level enabled)
I believe that the issue may relate to this log line
2018-08-22 11:55:37,288 [urllib3.connectionpool:396 ][DEBUG ][8279] https://s3.amazonaws.com:443 "GET /some-bucket/somefolder/foo%20bar%20baz.txt HTTP/1.1" 403 None
I argue that spaces would not need to be %20 but + instead.
Versions Report
Master and Minion running on the same machine.
The text was updated successfully, but these errors were encountered: