1

I am using an S3 instance provided by the Ceph Rados Gateway, not Amazon S3.

I can generate download urls like this:

http://<host>:<port>/<bucket>/<key>?AWSAccessKeyId=<access_key>&Signature=<signature>&Expires=<expires>

but certain clients, like iPXE don't seem to be able to handle downloading from an HTTP source that contains query parameters. I don't really care what the format of the url is, just so long as it can be downloaded by picky clients.

Is this even possible?

Randy
  • 908
  • 12
  • 30
  • This appears to be possible only with extra software (e.g. a reverse proxy that can modify requests in flight) and maybe more hardware (to run that). Your best strategy is probably to try to understand what's causing the failure and try to solve or work around it. Is there a way to capture the errors? Wireshark, if all else fails. – Michael - sqlbot Aug 10 '19 at 13:36
  • Thanks @Michael-sqlbot, I have a lot of digging to do with iPXE. – Randy Aug 10 '19 at 17:28

2 Answers2

0

Maybe you need to set the object to public read permission, so that's it.

iliul
  • 71
  • 6
0

I ended up being able to make this work by using the iPXE imgfetch/initrd/module commands. They allow you to take whatever you have downloaded and rename the downloaded file to something that is capable of being saved.

Link: docs

Randy
  • 908
  • 12
  • 30