sealer icon indicating copy to clipboard operation
sealer copied to clipboard

[ERROR] [root.go:70] sealer-v0.8.6: failed to get sealer-io/kubernetes tag descriptor: manifest unknown: manifest unknown.

Open bxvs888 opened this issue 3 years ago • 1 comments

What happen?

root@k1:~# sealer run kubernetes:v1.25.0 --masters 192.168.64.25 --passwd 123456 --debug

2022-09-14 00:12:23 [ERROR] [root.go:70] sealer-v0.8.6: failed to get sealer-io/kubernetes tag descriptor: manifest unknown: manifest unknown. Try "docker login" if you are using a private registry

Relevant log output?

root@k1:~# sealer run kubernetes:v1.25.0 --masters 192.168.64.25 --passwd 123456 --debug
2022-09-14 00:12:23 [INFO] [local.go:287] Start to create a new cluster: master [192.168.64.25], worker []
Usage:
  sealer run [flags]

Examples:

create cluster to your bare metal server, appoint the iplist:
	sealer run kubernetes:v1.19.8 --masters 192.168.0.2,192.168.0.3,192.168.0.4 \
		--nodes 192.168.0.5,192.168.0.6,192.168.0.7 --passwd xxx

specify server SSH port :
  All servers use the same SSH port (default port: 22):
	sealer run kubernetes:v1.19.8 --masters 192.168.0.2,192.168.0.3,192.168.0.4 \
	--nodes 192.168.0.5,192.168.0.6,192.168.0.7 --port 24 --passwd xxx

  Different SSH port numbers exist:
	sealer run kubernetes:v1.19.8 --masters 192.168.0.2,192.168.0.3:23,192.168.0.4:24 \
	--nodes 192.168.0.5:25,192.168.0.6:25,192.168.0.7:27 --passwd xxx

create a cluster with custom environment variables:
	sealer run -e DashBoardPort=8443 mydashboard:latest  --masters 192.168.0.2,192.168.0.3,192.168.0.4 \
	--nodes 192.168.0.5,192.168.0.6,192.168.0.7 --passwd xxx


Flags:
      --cluster-name string   set cluster name (default "my-cluster")
      --cmd-args strings      set args for image cmd instruction
  -e, --env strings           set custom environment variables
  -h, --help                  help for run
  -m, --masters string        set count or IPList to masters
  -n, --nodes string          set count or IPList to nodes
  -p, --passwd string         set cloud provider or baremetal server password
      --pk string             set baremetal server private key (default "/root/.ssh/id_rsa")
      --pk-passwd string      set baremetal server private key password
      --port uint16           set the sshd service port number for the server (default port: 22) (default 22)
      --provider ALI_CLOUD    set infra provider, example ALI_CLOUD, the local server need ignore this
  -u, --user string           set baremetal server username (default "root")

Global Flags:
      --color string               set the log color mode, the possible values can be [never always] (default "always")
      --config string              config file of sealer tool (default is $HOME/.sealer.json)
  -d, --debug                      turn on debug mode
      --hide-path                  hide the log path
      --hide-time                  hide the log time
      --log-to-file                write log message to disk
  -q, --quiet                      silence the usage when fail
      --remote-logger-url string   remote logger url, if not empty, will send log to this url
      --task-name string           task name which will embedded in the remote logger header, only valid when --remote-logger-url is set

2022-09-14 00:12:23 [ERROR] [root.go:70] sealer-v0.8.6: failed to get sealer-io/kubernetes tag descriptor: manifest unknown: manifest unknown. 
Try "docker login" if you are using a private registry

What you expected to happen?

2022-09-14 00:12:23 [ERROR] [root.go:70] sealer-v0.8.6: failed to get sealer-io/kubernetes tag descriptor: manifest unknown: manifest unknown. Try "docker login" if you are using a private registry

How to reproduce it (as minimally and precisely as possible)?

No response

Anything else we need to know?

No response

What is the version of Sealer you using?

{"gitVersion":"v0.8.6","gitCommit":"884513e","buildDate":"2022-07-12 03:00:22","goVersion":"go1.16.15","compiler":"gc","platform":"linux/arm64"}

What is your OS environment?

root@k1:~# cat /etc/os-release NAME="Ubuntu" VERSION="20.04.4 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.4 LTS" VERSION_ID="20.04" 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" VERSION_CODENAME=focal UBUNTU_CODENAME=focal

What is the Kernel version?

Linux k1 5.4.0-125-generic #141-Ubuntu SMP Wed Aug 10 14:03:41 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

Other environment you want to tell us?

  • Cloud provider or hardware configuration:
  • Install tools: sealer
  • Others: sealer run kubernetes:v1.25.0 --masters 192.168.64.25 --passwd 123456 --debug

bxvs888 avatar Sep 13 '22 16:09 bxvs888

View available images through the sealer command:

sealer  search kubernetes

imdingtalk avatar Sep 16 '22 08:09 imdingtalk