labring / sealos

Sealos is a production-ready Kubernetes distribution that provides a one-stop solution for both public and private cloud. You can run any Docker image on sealos, start high availability databases like mysql/pgsql/redis/mongo, develop applications using any Programming language
https://cloud.sealos.io
Apache License 2.0
13.82k stars 2.07k forks source link

BUG: when registry node is not master0 , and registry login method is not default #3783

Closed cuisongliu closed 1 year ago

cuisongliu commented 1 year ago

Sealos Version

4.3.2

How to reproduce the bug?

image

When obtaining the registry node, if its login method is not the default, an error may be reported

What is the expected behavior?

No response

What do you see instead?

No response

Operating environment

- Sealos version:
- Docker version:
- Kubernetes version:
- Operating system:
- Runtime environment:
- Cluster size:
- Additional information:

Additional information

No response

cuisongliu commented 1 year ago

由于场景特殊,先加个日志,等后续出现问题在修复。

sealos-ci-robot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Due to the special scene, add a log first, and wait for subsequent problems to be fixed.

cuisongliu commented 1 year ago
  1. master0 22端口,且新增一个registry角色的node(端口2222)作为镜像仓库
  2. 新增一个node node是非免密登录,使用密码添加节点获取不到registry的信息导致添加失败。
sealos-ci-robot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


  1. master0 port 22, and add a registry role node (port 2222) as a mirror warehouse
  2. Add a new node. The node is a non-password-free login. Adding a node with a password fails to obtain registry information, resulting in a failure to add.
yangxggo commented 1 year ago

/assign

yangxggo commented 1 year ago

cannot reproduce it.

cuisongliu commented 1 year ago

image image