We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What happened: TASK [primary-master-node/setup_k8s : Use ocadm init first master node] ********************************************************************************************************************* fatal: [106.14.2.245]: FAILED! => {"changed": true, "cmd": ["/opt/yunion/bin/ocadm", "init", "--control-plane-endpoint", "106.14.2.245:6443", "--mysql-host", "106.14.2.245", "--mysql-user", "root", "--mysql-password", "mwAc4aBtrr3d", "--mysql-port", "3306", "--image-repository", "registry.cn-beijing.aliyuncs.com/yunionio", "--apiserver-advertise-address", "106.14.2.245", "--node-ip", "106.14.2.245", "--onecloud-version", "v3.8.11", "--operator-version", "v3.8.11", "--pod-network-cidr", "10.40.0.0/16", "--service-cidr", "10.96.0.0/12", "--service-dns-domain", "cluster.local", "--addon-calico-ip-autodetection-method", "can-reach=106.14.2.245", "--enable-host-agent"], "delta": "0:00:00.048851", "end": "2022-07-19 15:28:56.077924", "msg": "non-zero return code", "rc": 1, "start": "2022-07-19 15:28:56.029073", "stderr": "Failed to choose address 106.14.2.245: Not found interface by address 106.14.2.245", "stderr_lines": ["Failed to choose address 106.14.2.245: Not found interface by address 106.14.2.245"], "stdout": "", "stdout_lines": []} Environment: 阿里云镜像id:centos_7_9_x64_20G_alibase_20220629.vhd
OS (e.g. cat /etc/os-release):
cat /etc/os-release
Kernel (e.g. uname -a): Linux iZuf62or4u4go8uxtwr5y9Z 3.10.0-1160.66.1.el7.x86_64 scheduler: fix specified network not enough still pass. #1 SMP Wed May 18 16:02:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
uname -a
The text was updated successfully, but these errors were encountered:
"Failed to choose address 106.14.2.245: Not found interface by address 106.14.2.245"
应该是这个原因导致的,阿里云虚拟机的 eip 在操作系统里面是看不到的,这种情况可以直接登录到虚拟机里面,然后使用内部 ip 部署
Sorry, something went wrong.
No branches or pull requests
What happened:
TASK [primary-master-node/setup_k8s : Use ocadm init first master node] *********************************************************************************************************************
fatal: [106.14.2.245]: FAILED! => {"changed": true, "cmd": ["/opt/yunion/bin/ocadm", "init", "--control-plane-endpoint", "106.14.2.245:6443", "--mysql-host", "106.14.2.245", "--mysql-user", "root", "--mysql-password", "mwAc4aBtrr3d", "--mysql-port", "3306", "--image-repository", "registry.cn-beijing.aliyuncs.com/yunionio", "--apiserver-advertise-address", "106.14.2.245", "--node-ip", "106.14.2.245", "--onecloud-version", "v3.8.11", "--operator-version", "v3.8.11", "--pod-network-cidr", "10.40.0.0/16", "--service-cidr", "10.96.0.0/12", "--service-dns-domain", "cluster.local", "--addon-calico-ip-autodetection-method", "can-reach=106.14.2.245", "--enable-host-agent"], "delta": "0:00:00.048851", "end": "2022-07-19 15:28:56.077924", "msg": "non-zero return code", "rc": 1, "start": "2022-07-19 15:28:56.029073", "stderr": "Failed to choose address 106.14.2.245: Not found interface by address 106.14.2.245", "stderr_lines": ["Failed to choose address 106.14.2.245: Not found interface by address 106.14.2.245"], "stdout": "", "stdout_lines": []}
Environment:
阿里云镜像id:centos_7_9_x64_20G_alibase_20220629.vhd
OS (e.g.
![image](https://user-images.githubusercontent.com/31883707/179692798-cdb04ea1-f5a4-4a57-91b9-e804993b7fea.png)
cat /etc/os-release
):Kernel (e.g.
uname -a
):Linux iZuf62or4u4go8uxtwr5y9Z 3.10.0-1160.66.1.el7.x86_64 scheduler: fix specified network not enough still pass. #1 SMP Wed May 18 16:02:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: