-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot upgrade recovery parition to Kairos 3.2.4 because of a warning for Kairos 3.3.x #3092
Comments
umm, this seems to work on my test system: /etc/kairos-release
/oem/90_custom.yaml
Run
|
Usually that checks means that the installer has gone over the cloud configs in the system and has found no users with the We now require at least 1 user in the system that its part of the Can you post your config files under /oem ? Maybe we missed something there :D |
If this is a blocker, you migth eb able to workaround it by setting the |
I managed to work around it by adding the
I got them from an example in the documentation because I didn't see anything about Kairos 3.3 changes on the blog or releases. The kairos user already existed and had admin from when it was installed on the Node, so I don't think I need to change the |
The warning comes from this change which is part of kairos-agent v2.15.5 but our cloud init files still create that default user with the admin group (here). I can see it in the image used for upgrade:
So, I don't understand why it can't find the kairos user. Unless there was some other config (in @robarnold what do you mean by |
Yeah, that you can specify users in both like this:
and like this:
Both are documented on https://kairos.io/docs/reference/configuration/ and it's not clear from the docs when to use one vs the other. So I was using the first style of |
Top level You are right, it's worth documenting it. |
Kairos version:
CPU architecture, OS, and Version:
AMD64, Ubuntu 24.04
Describe the bug
After upgrading from 3.1.2 to 3.2.4 and rebooting, I wanted to upgrade the recovery partition next. When I went to upgrade the recovery partition, I got this error:
To Reproduce
On 3.2.4, run
sudo kairos-agent upgrade --recovery --source oci:quay.io/kairos/ubuntu:24.04-standard-amd64-generic-v3.2.4-k3sv1.31.3-k3s1
Expected behavior
Recovery partition is updated successfully using that command
Additional context
I don't know how to check the version of the recovery partition, in case that helps.
The text was updated successfully, but these errors were encountered: