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

使用离线安装时,sealos load 报错 #2388

Closed
zhiwu88 opened this issue Jan 12, 2023 · 2 comments · Fixed by #2551
Closed

使用离线安装时,sealos load 报错 #2388

zhiwu88 opened this issue Jan 12, 2023 · 2 comments · Fixed by #2551
Labels
kind/bug Something isn't working

Comments

@zhiwu88
Copy link

zhiwu88 commented Jan 12, 2023

Detailed description of the question.

使用离线安装时,sealos load 报错。
helm.tar 包在传输过程中并未有异常。

HOST-1:

# sealos save -o helm.tar docker.io/labring/helm:v3.8.2
Getting image source signatures
Copying blob 959bfa5b415b done
Copying config 1123e8b4b4 done
Writing manifest to image destination
Storing signatures

# md5sum helm.tar*
e2584802f3183a3d8bdc876d36e836ca  helm.tar

HOST-2:

# md5sum helm.tar
e2584802f3183a3d8bdc876d36e836ca  helm.tar

# sealos load -i helm.tar
Error: loading index: open /var/tmp/oci2602029695/index.json: no such file or directory
Usage:
  sealos load [flags]

Examples:
sealos load -i kubernetes.tar

Flags:
  -h, --help               help for load
  -i, --input string       load image from tar archive file
  -t, --transport string   load image transport from tar archive file.(optional value: oci-archive, docker-archive) (default "oci-archive")

Global Flags:
      --cluster-root string   cluster root directory (default "/var/lib/sealos")
      --debug                 enable debug logger

loading index: open /var/tmp/oci2602029695/index.json: no such file or directory

# ll /var/tmp/
total 24
drwxr-xr-x 2 abrt abrt 4096 Sep  7 03:06 abrt
drwx------ 2 root root 4096 Dec 28 18:43 storage3748156945
drwx------ 2 root root 4096 Dec 28 19:14 storage4022834014
drwx------ 3 root root 4096 Sep  7 11:12 systemd-private-14fa4c26d09546ef9e33c34e03e1bf5c-chronyd.service-naNSDp
drwx------ 3 root root 4096 Sep  7 11:12 systemd-private-14fa4c26d09546ef9e33c34e03e1bf5c-cups.service-d4wYVA
drwx------ 3 root root 4096 Sep  7 12:56 systemd-private-14fa4c26d09546ef9e33c34e03e1bf5c-lldpd.service-qr8yB6

Some reference materials you see.

No response

@cuisongliu
Copy link
Collaborator

Are the sealos versions of the two machines consistent?

@fanux fanux added the kind/bug Something isn't working label Feb 9, 2023
@fanux
Copy link
Member

fanux commented Feb 9, 2023

#2524

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants