-
Notifications
You must be signed in to change notification settings - Fork 124
Closed
Labels
bugSomething isn't workingSomething isn't workingtriageAdd this label to issues that should be triaged and prioretized in the next planning callAdd this label to issues that should be triaged and prioretized in the next planning callunconfirmed
Description
Kairos version:
<!-- Provide the output from "cat /etc/os-release" -->
<!-- Provide the output from "cat /etc/kairos-release" -->
KAIROS_ARCH="amd64"
KAIROS_BUG_REPORT_URL="https://github.com/kairos-io/kairos/issues"
KAIROS_FAMILY="debian"
KAIROS_FIPS="false"
KAIROS_FLAVOR="ubuntu"
KAIROS_FLAVOR_RELEASE="24.04"
KAIROS_HOME_URL="https://github.com/kairos-io/kairos"
KAIROS_ID="kairos"
KAIROS_ID_LIKE="kairos-core-ubuntu-24.04"
KAIROS_INIT_VERSION="v0.7.0"
KAIROS_MODEL="generic"
KAIROS_NAME="kairos-core-ubuntu-24.04"
KAIROS_RELEASE="v0.0.1"
KAIROS_TARGETARCH="amd64"
KAIROS_TRUSTED_BOOT="false"
KAIROS_VARIANT="core"
KAIROS_VERSION="v0.0.1"
CPU architecture, OS, and Version:
Azure vm X86
Linux vm-3 6.14.0-36-generic #36~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 15 15:45:17 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
Starting with an Azure vm with the default published kairos image. After changing the source and doing an upgrade, the upgrade is done fine and my custom image is running. But if I then do a kairos-agent upgrade list-releases I get a strange result. It uses my tag indeed but not the proper registry url
sudo kairos-agent upgrade list-releases
Using registry: quay.io/kairos
Current image:
quay.io/kairos/ubuntu:24.04-core-amd64-generic-v0.0.1
Available releases with higher version:
quay.io/kairos/ubuntu:24.04-core-amd64-generic-v3.6.0
quay.io/kairos/ubuntu:24.04-core-amd64-generic-v3.5.10
quay.io/kairos/ubuntu:24.04-core-amd64-generic-v3.5.9
quay.io/kairos/ubuntu:24.04-core-amd64-generic-v3.5.8
quay.io/kairos/ubuntu:24.04-core-amd64-generic-v3.5.7
quay.io/kairos/ubuntu:24.04-core-amd64-generic-v3.5.6
quay.io/kairos/ubuntu:24.04-core-amd64-generic-v3.5.5
To Reproduce
- start with an installed machine
- change the source in the upgrade of cloud-config to a new (private) registry
- run an upgrade
- after upgrade is done check the list-releases
Expected behavior
I would expect the list-releases to always use the source as reference to check for updates (this also helps in testing if private repo is reachable with auth)
Logs
Additional context
Problem seems to be only for the list-releases, when doing an actual upgrade it works as expected
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageAdd this label to issues that should be triaged and prioretized in the next planning callAdd this label to issues that should be triaged and prioretized in the next planning callunconfirmed
Type
Projects
Status
Done ✅