siderolabs / omni-feedback

Omni feature requests, bug reports
https://www.siderolabs.com/platform/saas-for-kubernetes/
MIT License
2 stars 0 forks source link

[bug] Digital Ocean installation media not downloading #60

Closed roeeklinger closed 1 year ago

roeeklinger commented 1 year ago

Is there an existing issue for this?

Current Behavior

When you try to download the Digital Ocean installation media from the Omni web UI, it downloads a file that is 0 Bytes.

Expected Behavior

The Digital Ocean Omni installation media should be properly downloaded.

Steps To Reproduce

Go into the Omni web UI and try to download the Omni installation media.

What browsers are you seeing the problem on?

Chrome, Safari

Anything else?

No response

smira commented 1 year ago

From #omni channel in Slack:

The "download installation media" feature of Omni is broken in the current version (v0.16.0) for any non-ISO assets. It's a non-trivial fix and we want to get it right, so it'll probably get rolled out on Monday of next week. In the meantime, if you need to generate media and you're down to experiment a bit, you can try our imager container directly. Here's some examples:

# Raspberry Pi

docker run -it -v /dev:/dev -v $PWD:/out --privileged ghcr.io/siderolabs/imager:v1.5.1 rpi_generic --arch arm64 --extra-kernel-arg='<parameters from the "Copy Kernel Parameters" button in omni>'

# Cloud Images (Update the first imager arg with your cloud of choice)

docker run -it -v /dev:/dev -v $PWD:/out --privileged ghcr.io/siderolabs/imager:v1.5.1 <aws,azure,digital-ocean,gcp,etc.> --extra-kernel-arg='<parameters from the "Copy Kernel Parameters" button in omni>'

You can also see here for lots of details on imager.

smira commented 1 year ago

It should be fixed now