-
Notifications
You must be signed in to change notification settings - Fork 12
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
Issue with OS version name when building SeedImage #118
Comments
Hi @juadk . That list of available ISO's now comes from the OS versions type https://github.com/rancher/elemental-ui/blob/main/pkg/elemental/components/BuildIso.vue#L51-L58 the code get's all the information from the OS versions (label and value), for which if you have a duplicated label, it means that you are importing stuff from the OS version channels that duplicate these. Can you confirm that's the scenario? |
yes, let me try to explain it better, ok for the double name but:
and But when I create SeedImage with both of them, I see the same
If I'm not mistaken, |
The contents of the channel are: [
{
"metadata": {
"name": "latest-dev"
},
"spec": {
"version": "latest-dev",
"type": "container",
"metadata": {
"upgradeImage": "%%IMG_REPO%%/rancher/elemental-teal/5.3:latest",
"displayName": "Elemental Teal OS"
}
}
},
{
"metadata": {
"name": "latest-dev-iso"
},
"spec": {
"version": "latest-dev",
"type": "iso",
"metadata": {
"uri": "%%IMG_REPO%%/rancher/elemental-teal-iso/5.3:latest",
"displayName": "Elemental Teal ISO x86_64"
}
}
},
{
"metadata": {
"name": "v1.1.4"
},
"spec": {
"version": "v1.1.4",
"type": "container",
"metadata": {
"upgradeImage": "register.suse.com/rancher/elemental-teal/5.3:1.1.4",
"displayName": "Elemental Teal OS"
}
}
},
{
"metadata": {
"name": "v1.1.4-iso"
},
"spec": {
"version": "v1.1.4",
"type": "iso",
"metadata": {
"uri": "https://updates.suse.com/SUSE/Updates/ElementalTeal/5.3/x86_64/update/iso/elemental-teal.x86_64-1.1.4-Build3.2.30.iso",
"displayName": "Elemental Teal ISO x86_64"
}
}
}
] So four managedOSVersions two of them being contianers and two being ISOs. The list in the OS versions seams to be fine, the list of the ISOs however seams to be wrong. I'd expect to see in the list the following items:
So according to @juadk analysis it looks like there is something odd with the ISOs list, like if one overwrites the other. @aalves08 does the channel you get match the above list? |
I believe, for same labels, it just get's the endpoint of the first option, even though you selected the second, because they are not unique. |
With the default embedded channel
registry.opensuse.org/isv/rancher/elemental/dev/teal53/15.4/rancher/elemental-teal-channel/5.3:latest
, I see two OS version with the same name when I want to build ISO:and both point to
registry.opensuse.org/isv/rancher/elemental/dev/teal53/15.4/rancher/elemental-teal-iso/5.3:latest
as baseImage.David is aware and asked me to open that issue.
The text was updated successfully, but these errors were encountered: