Skip to content
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

Open
robarnold opened this issue Dec 19, 2024 · 0 comments
Labels
bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call unconfirmed

Comments

@robarnold
Copy link
Contributor

Kairos version:

PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
KAIROS_ID="kairos"
KAIROS_FAMILY="ubuntu"
KAIROS_VARIANT="standard"
KAIROS_TARGETARCH="amd64"
KAIROS_SOFTWARE_VERSION_PREFIX="k3s"
KAIROS_VERSION="v3.2.4-v1.31.3-k3s1"
KAIROS_REGISTRY_AND_ORG="quay.io/kairos"
KAIROS_GITHUB_REPO="kairos-io/kairos"
KAIROS_ID_LIKE="kairos-standard-ubuntu-24.04"
KAIROS_VERSION_ID="v3.2.4-v1.31.3-k3s1"
KAIROS_IMAGE_REPO="quay.io/kairos/ubuntu:24.04-standard-amd64-generic-v3.2.4-k3sv1.31.3-k3s1"
KAIROS_FLAVOR_RELEASE="24.04"
KAIROS_HOME_URL="https://github.com/kairos-io/kairos"
KAIROS_BUG_REPORT_URL="https://github.com/kairos-io/kairos/issues"
KAIROS_NAME="kairos-standard-ubuntu-24.04"
KAIROS_PRETTY_NAME="kairos-standard-ubuntu-24.04 v3.2.4-v1.31.3-k3s1"
KAIROS_IMAGE_LABEL="24.04-standard-amd64-generic-v3.2.4-k3sv1.31.3-k3s1"
KAIROS_ARTIFACT="kairos-ubuntu-24.04-standard-amd64-generic-v3.2.4-k3sv1.31.3+k3s1"
KAIROS_FLAVOR="ubuntu"
KAIROS_MODEL="generic"
KAIROS_RELEASE="v3.2.4"
KAIROS_SOFTWARE_VERSION="v1.31.3+k3s1"

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:

kairos@node01:~$ sudo kairos-agent upgrade --recovery --source oci:quay.io/kairos/ubuntu:24.04-standard-amd64-generic-v3.2.4-k3sv1.31.3-k3s1
warning: skipping /etc/kairos/branding/grubmenu.cfg (extension).
warning: skipping /etc/kairos/branding/install_text (extension).
warning: skipping /etc/kairos/branding/interactive_install_text (extension).
warning: skipping /etc/kairos/branding/recovery_text (extension).
warning: skipping /etc/kairos/branding/reset_text (extension).
warning: skipping /etc/kairos/versions.yaml because it has no valid header
warning: skipping /oem/.userdata_load (extension).
2024-12-19T21:54:08Z INF Kairos Agent version=v2.15.5
2024-12-19T21:54:08Z INF creating a runtime
2024-12-19T21:54:08Z INF detecting boot state
2024-12-19T21:54:08Z INF Boot Mode boot_mode=active_boot
2024-12-19T21:54:08Z INF Boot in uki mode result=false
No users found in any stage that are part of the 'admin' group.
In Kairos 3.3.x we no longer ship a default hardcoded user with the system configs and require users to provide their own user.Please provide at least 1 user that is part of the 'admin' group(for sudo) with your cloud configs.If you still want to continue without creating any users in the system, set 'install.nousers: true' to be in the config in order to allow a system with no users.

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.

@robarnold robarnold added bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call unconfirmed labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call unconfirmed
Projects
Status: No status
Development

No branches or pull requests

1 participant