Слияние кода завершено, страница обновится автоматически
Hi, trying to install EG in AIO mode with Ansible, on the same node as master. I (try my best to) follow the readme, but went into some installation failure.
I replace several params in the following files:
'var.yml'
NETWORK_INTERFACE: eno1
MASTER_IP: 127.0.0.1
'hosts-aio'
[master]
localhost ansible_connection=local
and the passwords in the 'password-var.yml'.
(Is this the way to go? Install was done with offline tar under a user with root privilege.)
The failure is like:
TASK [k8s : Install k8s with kubeadm] ************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "kubeadm init --kubernetes-version=v1.23.3 --apiserver-advertise-address=127.0.0.1 --pod-network-cidr=10.244.0.0/16 -v=5", "delta": "0:00:00.014594", "end": "2024-01-07 18:49:12.738992", "msg": "non-zero return code", "rc": 1, "start": "2024-01-07 18:49:12.724398", "stderr": "I0107 18:49:12.737479 1414033 initconfiguration.go:117] detected and using CRI socket: /var/run/dockershim.sock\nI0107 18:49:12.737669 1414033 interface.go:209] Interface lo is up\nI0107 18:49:12.737692 1414033 interface.go:257] Interface \"lo\" has 2 addresses :[127.0.0.1/8 ::1/128].\nI0107 18:49:12.737699 1414033 interface.go:224] Checking addr 127.0.0.1/8.\nI0107 18:49:12.737702 1414033 interface.go:234] Non-global unicast address found 127.0.0.1\nI0107 18:49:12.737705 1414033 interface.go:224] Checking addr ::1/128.\nI0107 18:49:12.737707 1414033 interface.go:237] ::1 is not an IPv4 address\nI0107 18:49:12.737838 1414033 interface.go:209] Interface lo is up\nI0107 18:49:12.737856 1414033 interface.go:257] Interface \"lo\" has 2 addresses :[127.0.0.1/8 ::1/128].\nI0107 18:49:12.737860 1414033 interface.go:224] Checking addr 127.0.0.1/8.\nI0107 18:49:12.737862 1414033 interface.go:237] 127.0.0.1 is not an IPv6 address\nI0107 18:49:12.737864 1414033 interface.go:224] Checking addr ::1/128.\nI0107 18:49:12.737867 1414033 interface.go:234] Non-global unicast address found ::1\nunable to select an IP from lo network interface", "stderr_lines": ["I0107 18:49:12.737479 1414033 initconfiguration.go:117] detected and using CRI socket: /var/run/dockershim.sock", "I0107 18:49:12.737669 1414033 interface.go:209] Interface lo is up", "I0107 18:49:12.737692 1414033 interface.go:257] Interface \"lo\" has 2 addresses :[127.0.0.1/8 ::1/128].", "I0107 18:49:12.737699 1414033 interface.go:224] Checking addr 127.0.0.1/8.", "I0107 18:49:12.737702 1414033 interface.go:234] Non-global unicast address found 127.0.0.1", "I0107 18:49:12.737705 1414033 interface.go:224] Checking addr ::1/128.", "I0107 18:49:12.737707 1414033 interface.go:237] ::1 is not an IPv4 address", "I0107 18:49:12.737838 1414033 interface.go:209] Interface lo is up", "I0107 18:49:12.737856 1414033 interface.go:257] Interface \"lo\" has 2 addresses :[127.0.0.1/8 ::1/128].", "I0107 18:49:12.737860 1414033 interface.go:224] Checking addr 127.0.0.1/8.", "I0107 18:49:12.737862 1414033 interface.go:237] 127.0.0.1 is not an IPv6 address", "I0107 18:49:12.737864 1414033 interface.go:224] Checking addr ::1/128.", "I0107 18:49:12.737867 1414033 interface.go:234] Non-global unicast address found ::1", "unable to select an IP from lo network interface"], "stdout": "", "stdout_lines": []}
Thanks