overlay cloudsigma: Set tty to RAW#1280
Conversation
krnowak
left a comment
There was a problem hiding this comment.
Hi,
Thanks for the PR!
It looks to me more like a bug somewhere inside coreos-cloudinit. It uses github.com/cloudsigma/cepgo to fetch metadata. This in turn uses github.com/tarm/goserial, so I'd say that the issue is somewhere there. But looking at the packages, they seem to be old/unmaintained/deprecated. Meh.
I suppose we could go with this workaround. Could you then bump the revision of the oem-cloudsigma ebuild from 2 to 3, please? So it's oem-cloudsigma-0.0.3-r3.ebuild. Thanks!
|
@krnowak To bump the revision, do I simply rename the file? And you probably mean to r4 since it is currently at r3 |
Co-authored-by: Krzesimir Nowak <qdlacz@gmail.com>
Yep.
Ah, right. Yeah, should be bumped to -r4. Sorry for the confusion. |
|
Build action triggered: https://github.com/flatcar/scripts/actions/runs/6561971502 |
|
Thanks for the fast review @krnowak ! |
cloudsigma: Set TTY to RAW mode
According to cloudsigma's documentation at https://docs.cloudsigma.com/en/latest/server_context.html#setting-up-the-virtual-serial-port the TTY used to fetch the userdata / metadata should be in mode RAW.
With the flatcar beta 3732.1.0, fetching the data did not work anymore (the returned JSON was missing some bytes), without setting this mode correctly.
How to use
oem-cloudinit.serviceif SSH keys and hostname were set -> it will failTesting done
We tested it on our machines with a custom built image.
changelog/directory (user-facing change, bug fix, security fix, update)/bootand/usrsize, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.