cnrancher / autok3s

Run K3s Everywhere
https://www.suse.com
Apache License 2.0
753 stars 76 forks source link

[BUG] Autok3s ui create cluster air gap bug #609

Open baozitao opened 1 year ago

baozitao commented 1 year ago

Autok3s creat cluster logs "arm64 resource doesn't exist in package " after import air-gap packages.

JacieChao commented 1 year ago

@baozitao Please describe the reproduction step for this issue so that we can dig more about this. The error logs show your air gap package does not contain the ARM64 resource, please make sure you're using the correct package.

baozitao commented 1 year ago

air-gap package : k3s-airgap-images-arm64.tar.gz air-gap package download repositry: https://github.com/k3s-io/k3s package version : v1.25.9+k3s1

when i use autok3s ui air-gap package option,and select create button , Import Package File, i import k3s-airgap-images-arm64.tar.gz, but ui display status Active , the k3s version and k3s arch colum is empty , i don'y know which air gap package is right for autok3s.

orangedeng commented 1 year ago

You can refer to this docs https://github.com/cnrancher/autok3s/tree/master/docs/i18n/zh_cn/airgap#%E5%88%9B%E6%96%B0%E7%A6%BB%E7%BA%BF%E5%AE%89%E8%A3%85%E5%8C%85 and the design docs of airgap function https://github.com/cnrancher/autok3s/discussions/480

orangedeng commented 1 year ago

The origin airgap import/export airgap package function doesn't support importing an raw k3s airgap package which manually downloaded from Github. There is no way we can verify the package is ok or not. For now, when you create an airgap package in UI/CLI, Autok3s will download the package from a trusted site(Github/AliyunOSS) and store it with our file structure. The export/import function respect that file structure.