-
Notifications
You must be signed in to change notification settings - Fork 532
os: add user-docs on how to create and host custom torcx remotes #1262
base: master
Are you sure you want to change the base?
Conversation
This documents how to create and host a custom Torcx remote, and shows the contents and layout of a sample one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't manage to get this working today due to it always failing with "context deadline exceeded" errors after a minute while downloading, but I'm okay with merging this as is assuming it's a hosting problem.
Another note is that it always failed due to DNS resolution failures unless I fetched a remote URL in the Ignition configuration.
Do you have logs showing where the context expires? |
This is all the service log contains:
I can see some larger data packets being sent over HTTPS. It works fine with |
Oh, it's not actually downloading anything. I saw it in a tcpdump, forgetting that I used the same remote file in the Ignition config, so that's what was downloading it. It looks like torcx just opens the TCP connection and closes it with no data transferred. |
Meh, that smells like something not going as expected in the initramfs, I'll dig the code a bit more and see if I can reproduce (and somehow mitigate) in a normal rootfs. Just for reference, all the content I used for manually testing the torcx-remotes flow should be still up at |
I get the same "context deadline exceeded" with your Ignition file, running in QEMU. |
This documents how to create and host a custom Torcx remote, and
shows the contents and layout of a sample one.