Open alyasboytigas opened 2 years ago
I tried to build kubernetes cluster and getting errors on installing kubernetes.
There were errors installing Kubernetes. Please check the logs below and try again. Common issues include setting up your internet router local DNS settings, your Akash nodes being offline or IP changes.
FYI using noip and enable wildcard is check.
Here's the log:
Using /root/.HandyHost/aktData/kubespray/ansible.cfg as config file [WARNING]: Skipping 'calico_rr' as this is not a valid group definition [WARNING]: Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with auto plugin: no root 'plugin' key found, '/root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml' is not a valid YAML inventory plugin config file [WARNING]: Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with yaml plugin: calico_rr is not a known host nor group [WARNING]: * Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with ini plugin: Invalid host pattern 'all:' supplied, ending in ':' is not allowed, this character is reserved to provide a port. [WARNING]: Unable to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available
PLAY [localhost] ***** Sunday 26 December 2021 15:40:10 -0500 (0:00:00.100) 0:00:00.100 *
TASK [Check 2.9.0 <= Ansible version < 2.11.0] *** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:40:10 -0500 (0:00:00.099) 0:00:00.200 *
TASK [Check Ansible version > 2.10.11 when using ansible 2.10] *** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:40:11 -0500 (0:00:00.108) 0:00:00.308 *
TASK [Check that python netaddr is installed] ** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:40:11 -0500 (0:00:00.169) 0:00:00.478 ***
TASK [Check that jinja is not too old (install via pip)] *** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } [WARNING]: Could not match supplied host pattern, ignoring: kube-master
PLAY [Add kube-master nodes to kube_control_plane] ***** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: kube-node
PLAY [Add kube-node nodes to kube_node] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: k8s-cluster
PLAY [Add k8s-cluster nodes to k8s_cluster] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: calico-rr
PLAY [Add calico-rr nodes to calico_rr] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: no-floating
PLAY [Add no-floating nodes to no_floating] **** skipping: no hosts matched
PLAY [bastion[0]] ** skipping: no hosts matched
PLAY [Gather facts] **** [WARNING]: Could not match supplied host pattern, ignoring: bastion [WARNING]: Could not match supplied host pattern, ignoring: calico_rr Sunday 26 December 2021 15:40:11 -0500 (0:00:00.185) 0:00:00.664 ***
TASK [Gather minimal facts] **** ok: [WIN-GJPEB7NCTLB] Sunday 26 December 2021 15:40:13 -0500 (0:00:02.012) 0:00:02.676 ***
TASK [Gather necessary facts (network)] **** ok: [WIN-GJPEB7NCTLB] Sunday 26 December 2021 15:40:13 -0500 (0:00:00.413) 0:00:03.089 ***
TASK [Gather necessary facts (hardware)] *** ok: [WIN-GJPEB7NCTLB] [WARNING]: Not prompting as we are not in interactive mode
PLAY [etcd:k8s_cluster:calico_rr] ** Sunday 26 December 2021 15:40:15 -0500 (0:00:01.189) 0:00:04.279 ***
TASK [check confirmation] ** fatal: [WIN-GJPEB7NCTLB]: FAILED! => {"changed": false, "msg": "Reset confirmation failed"}
PLAY RECAP *****
WIN-GJPEB7NCTLB : ok=3 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
localhost : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Sunday 26 December 2021 15:40:15 -0500 (0:00:00.137) 0:00:04.416 *** =============================================================================== Gather minimal facts ---------------------------------------------------- 2.01s Gather necessary facts (hardware) --------------------------------------- 1.19s Gather necessary facts (network) ---------------------------------------- 0.41s Check that jinja is not too old (install via pip) ----------------------- 0.19s Check that python netaddr is installed ---------------------------------- 0.17s check confirmation ------------------------------------------------------ 0.14s Check Ansible version > 2.10.11 when using ansible 2.10 ----------------- 0.11s Check 2.9.0 <= Ansible version < 2.11.0 --------------------------------- 0.10s ========= teardown is finished ==========Using /root/.HandyHost/aktData/kubespray/ansible.cfg as config file [WARNING]: Skipping 'calico_rr' as this is not a valid group definition [WARNING]: Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with auto plugin: no root 'plugin' key found, '/root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml' is not a valid YAML inventory plugin config file [WARNING]: Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with yaml plugin: calico_rr is not a known host nor group [WARNING]: * Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with ini plugin: Invalid host pattern 'all:' supplied, ending in ':' is not allowed, this character is reserved to provide a port. [WARNING]: Unable to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available
PLAY [localhost] ***** Sunday 26 December 2021 15:40:24 -0500 (0:00:00.127) 0:00:00.127 *
TASK [Check 2.9.0 <= Ansible version < 2.11.0] *** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:40:24 -0500 (0:00:00.226) 0:00:00.354 *
TASK [Check Ansible version > 2.10.11 when using ansible 2.10] *** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:40:24 -0500 (0:00:00.229) 0:00:00.584 *
TASK [Check that python netaddr is installed] ** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:40:25 -0500 (0:00:00.334) 0:00:00.918 ***
TASK [Check that jinja is not too old (install via pip)] *** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } [WARNING]: Could not match supplied host pattern, ignoring: kube-master
PLAY [Add kube-master nodes to kube_control_plane] ***** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: kube-node
PLAY [Add kube-node nodes to kube_node] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: k8s-cluster
PLAY [Add k8s-cluster nodes to k8s_cluster] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: calico-rr
PLAY [Add calico-rr nodes to calico_rr] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: no-floating
PLAY [Add no-floating nodes to no_floating] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: bastion
PLAY [bastion[0]] ** skipping: no hosts matched
PLAY [k8s_cluster:etcd] **** Sunday 26 December 2021 15:40:25 -0500 (0:00:00.352) 0:00:01.271 Sunday 26 December 2021 15:40:25 -0500 (0:00:00.117) 0:00:01.388 Sunday 26 December 2021 15:40:25 -0500 (0:00:00.140) 0:00:01.529 Sunday 26 December 2021 15:40:25 -0500 (0:00:00.121) 0:00:01.650 Sunday 26 December 2021 15:40:25 -0500 (0:00:00.153) 0:00:01.804 Sunday 26 December 2021 15:40:26 -0500 (0:00:00.141) 0:00:01.946 Sunday 26 December 2021 15:40:26 -0500 (0:00:00.161) 0:00:02.108 Sunday 26 December 2021 15:40:26 -0500 (0:00:00.129) 0:00:02.238 Sunday 26 December 2021 15:40:26 -0500 (0:00:00.140) 0:00:02.378 Sunday 26 December 2021 15:40:26 -0500 (0:00:00.102) 0:00:02.481 Sunday 26 December 2021 15:40:26 -0500 (0:00:00.096) 0:00:02.578 Sunday 26 December 2021 15:40:26 -0500 (0:00:00.181) 0:00:02.760 Sunday 26 December 2021 15:40:27 -0500 (0:00:00.149) 0:00:02.910 Sunday 26 December 2021 15:40:27 -0500 (0:00:00.197) 0:00:03.107 Sunday 26 December 2021 15:40:27 -0500 (0:00:00.126) 0:00:03.234 Sunday 26 December 2021 15:40:27 -0500 (0:00:00.115) 0:00:03.350 Sunday 26 December 2021 15:40:27 -0500 (0:00:00.145) 0:00:03.495 Sunday 26 December 2021 15:40:32 -0500 (0:00:04.914) 0:00:08.409
TASK [kubespray-defaults : Configure defaults] *** ok: [WIN-GJPEB7NCTLB] => { "msg": "Check roles/kubespray-defaults/defaults/main.yml" } Sunday 26 December 2021 15:40:32 -0500 (0:00:00.177) 0:00:08.587 * Sunday 26 December 2021 15:40:32 -0500 (0:00:00.178) 0:00:08.766 Sunday 26 December 2021 15:40:32 -0500 (0:00:00.104) 0:00:08.870 Sunday 26 December 2021 15:40:33 -0500 (0:00:00.172) 0:00:09.049 Sunday 26 December 2021 15:40:33 -0500 (0:00:00.105) 0:00:09.155 Sunday 26 December 2021 15:40:33 -0500 (0:00:00.164) 0:00:09.319 *** [WARNING]: raw module does not support the environment keyword
TASK [bootstrap-os : Fetch /etc/os-release] **** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "rc": 0, "stderr": "Shared connection to win-gjpeb7nctlb closed.\r\n", "stderr_lines": ["Shared connection to win-gjpeb7nctlb closed."], "stdout": "NAME=\"Ubuntu\"\r\nVERSION=\"20.04.3 LTS (Focal Fossa)\"\r\nID=ubuntu\r\nID_LIKE=debian\r\nPRETTY_NAME=\"Ubuntu 20.04.3 LTS\"\r\nVERSION_ID=\"20.04\"\r\nHOME_URL=\"https://www.ubuntu.com/\"\r\nSUPPORT_URL=\"https://help.ubuntu.com/\"\r\nBUG_REPORT_URL=\"https://bugs.launchpad.net/ubuntu/\"\r\nPRIVACY_POLICY_URL=\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\"\r\nVERSION_CODENAME=focal\r\nUBUNTU_CODENAME=focal\r\n", "stdout_lines": ["NAME=\"Ubuntu\"", "VERSION=\"20.04.3 LTS (Focal Fossa)\"", "ID=ubuntu", "ID_LIKE=debian", "PRETTY_NAME=\"Ubuntu 20.04.3 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"]} Sunday 26 December 2021 15:40:33 -0500 (0:00:00.227) 0:00:09.547 Sunday 26 December 2021 15:40:33 -0500 (0:00:00.155) 0:00:09.702 Sunday 26 December 2021 15:40:33 -0500 (0:00:00.110) 0:00:09.812 Sunday 26 December 2021 15:40:34 -0500 (0:00:00.132) 0:00:09.945 Sunday 26 December 2021 15:40:34 -0500 (0:00:00.135) 0:00:10.080 Sunday 26 December 2021 15:40:34 -0500 (0:00:00.125) 0:00:10.206 Sunday 26 December 2021 15:40:34 -0500 (0:00:00.122) 0:00:10.328 included: /root/.HandyHost/aktData/kubespray/roles/bootstrap-os/tasks/bootstrap-debian.yml for WIN-GJPEB7NCTLB Sunday 26 December 2021 15:40:34 -0500 (0:00:00.151) 0:00:10.479 [WARNING]: raw module does not support the environment keyword
TASK [bootstrap-os : Check if bootstrap is needed] *** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "failed_when_result": false, "rc": 0, "stderr": "Shared connection to win-gjpeb7nctlb closed.\r\n", "stderr_lines": ["Shared connection to win-gjpeb7nctlb closed."], "stdout": "/usr/bin/python3\r\n", "stdout_lines": ["/usr/bin/python3"]} Sunday 26 December 2021 15:40:34 -0500 (0:00:00.238) 0:00:10.718 * [WARNING]: raw module does not support the environment keyword
TASK [bootstrap-os : Check http::proxy in apt configuration files] *** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "failed_when_result": false, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to win-gjpeb7nctlb closed.\r\n", "stderr_lines": ["Shared connection to win-gjpeb7nctlb closed."], "stdout": "", "stdout_lines": []} Sunday 26 December 2021 15:40:35 -0500 (0:00:00.307) 0:00:11.025 * Sunday 26 December 2021 15:40:35 -0500 (0:00:00.133) 0:00:11.159 *** [WARNING]: raw module does not support the environment keyword
TASK [bootstrap-os : Check https::proxy in apt configuration files] **** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "failed_when_result": false, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to win-gjpeb7nctlb closed.\r\n", "stderr_lines": ["Shared connection to win-gjpeb7nctlb closed."], "stdout": "", "stdout_lines": []} Sunday 26 December 2021 15:40:35 -0500 (0:00:00.264) 0:00:11.424 Sunday 26 December 2021 15:40:35 -0500 (0:00:00.117) 0:00:11.542 Sunday 26 December 2021 15:40:35 -0500 (0:00:00.123) 0:00:11.666 Sunday 26 December 2021 15:40:35 -0500 (0:00:00.125) 0:00:11.791
TASK [bootstrap-os : Set the ansible_python_interpreter fact] ** ok: [WIN-GJPEB7NCTLB] => {"ansible_facts": {"ansible_python_interpreter": "/usr/bin/python3"}, "changed": false} Sunday 26 December 2021 15:40:36 -0500 (0:00:00.169) 0:00:11.961 ***
TASK [bootstrap-os : Install dbus for the hostname module] *** ok: [WIN-GJPEB7NCTLB] => {"cache_update_time": 1640523305, "cache_updated": false, "changed": false} Sunday 26 December 2021 15:40:37 -0500 (0:00:01.623) 0:00:13.584 * Sunday 26 December 2021 15:40:37 -0500 (0:00:00.107) 0:00:13.692 Sunday 26 December 2021 15:40:37 -0500 (0:00:00.134) 0:00:13.826
TASK [bootstrap-os : Create remote_tmp for it is used by another module] ok: [WIN-GJPEB7NCTLB] => {"changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/root/.ansible/tmp", "size": 4096, "state": "directory", "uid": 0} Sunday 26 December 2021 15:40:39 -0500 (0:00:01.153) 0:00:14.980
TASK [bootstrap-os : Gather host facts to get ansible_os_family] ***** ok: [WIN-GJPEB7NCTLB] Sunday 26 December 2021 15:40:40 -0500 (0:00:01.752) 0:00:16.733 *
TASK [bootstrap-os : Assign inventory name to unconfigured hostnames (non-CoreOS, non-Flatcar, Suse and ClearLinux)] * ok: [WIN-GJPEB7NCTLB] => {"ansible_facts": {"ansible_domain": "", "ansible_fqdn": "WIN-GJPEB7NCTLB", "ansible_hostname": "WIN-GJPEB7NCTLB", "ansible_nodename": "WIN-GJPEB7NCTLB"}, "changed": false, "name": "WIN-GJPEB7NCTLB"} Sunday 26 December 2021 15:40:42 -0500 (0:00:01.871) 0:00:18.604 ***** Sunday 26 December 2021 15:40:42 -0500 (0:00:00.113) 0:00:18.718 Sunday 26 December 2021 15:40:42 -0500 (0:00:00.141) 0:00:18.860 Sunday 26 December 2021 15:40:43 -0500 (0:00:00.171) 0:00:19.031 ***
TASK [bootstrap-os : Ensure bash_completion.d folder exists] *** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/bash_completion.d/", "size": 4096, "state": "directory", "uid": 0} [WARNING]: Could not match supplied host pattern, ignoring: calico_rr
PLAY [Gather facts] **** Sunday 26 December 2021 15:40:43 -0500 (0:00:00.698) 0:00:19.729 ***
TASK [Gather minimal facts] **** ok: [WIN-GJPEB7NCTLB] Sunday 26 December 2021 15:40:44 -0500 (0:00:00.443) 0:00:20.173 ***
TASK [Gather necessary facts (network)] **** ok: [WIN-GJPEB7NCTLB] Sunday 26 December 2021 15:40:44 -0500 (0:00:00.476) 0:00:20.649 ***
TASK [Gather necessary facts (hardware)] *** ok: [WIN-GJPEB7NCTLB]
PLAY [k8s_cluster:etcd] **** Sunday 26 December 2021 15:40:46 -0500 (0:00:01.256) 0:00:21.906 Sunday 26 December 2021 15:40:46 -0500 (0:00:00.106) 0:00:22.012 Sunday 26 December 2021 15:40:46 -0500 (0:00:00.137) 0:00:22.150 Sunday 26 December 2021 15:40:46 -0500 (0:00:00.142) 0:00:22.292 Sunday 26 December 2021 15:40:46 -0500 (0:00:00.096) 0:00:22.389 Sunday 26 December 2021 15:40:46 -0500 (0:00:00.108) 0:00:22.498 Sunday 26 December 2021 15:40:46 -0500 (0:00:00.175) 0:00:22.673 Sunday 26 December 2021 15:40:46 -0500 (0:00:00.163) 0:00:22.837 Sunday 26 December 2021 15:40:47 -0500 (0:00:00.142) 0:00:22.980 Sunday 26 December 2021 15:40:47 -0500 (0:00:00.133) 0:00:23.114 Sunday 26 December 2021 15:40:47 -0500 (0:00:00.106) 0:00:23.220 Sunday 26 December 2021 15:40:47 -0500 (0:00:00.131) 0:00:23.352 Sunday 26 December 2021 15:40:47 -0500 (0:00:00.143) 0:00:23.495 Sunday 26 December 2021 15:40:47 -0500 (0:00:00.113) 0:00:23.608 Sunday 26 December 2021 15:40:47 -0500 (0:00:00.145) 0:00:23.754 Sunday 26 December 2021 15:40:48 -0500 (0:00:00.155) 0:00:23.910 Sunday 26 December 2021 15:40:48 -0500 (0:00:00.175) 0:00:24.086 Sunday 26 December 2021 15:40:53 -0500 (0:00:05.327) 0:00:29.414
TASK [kubespray-defaults : Configure defaults] *** ok: [WIN-GJPEB7NCTLB] => { "msg": "Check roles/kubespray-defaults/defaults/main.yml" } Sunday 26 December 2021 15:40:53 -0500 (0:00:00.377) 0:00:29.791 * Sunday 26 December 2021 15:40:54 -0500 (0:00:00.549) 0:00:30.340 ***
TASK [kubespray-defaults : create fallback_ips_base] ***** ok: [WIN-GJPEB7NCTLB] => {"ansible_facts": {"fallback_ips_base": "---\nWIN-GJPEB7NCTLB: \"192.168.1.77\"\n"}, "changed": false} Sunday 26 December 2021 15:40:54 -0500 (0:00:00.321) 0:00:30.662 *
TASK [kubespray-defaults : set fallback_ips] ***** ok: [WIN-GJPEB7NCTLB] => {"ansible_facts": {"fallback_ips": {"WIN-GJPEB7NCTLB": "192.168.1.77"}}, "changed": false} Sunday 26 December 2021 15:40:55 -0500 (0:00:00.221) 0:00:30.883 * Sunday 26 December 2021 15:40:55 -0500 (0:00:00.187) 0:00:31.071 Sunday 26 December 2021 15:40:55 -0500 (0:00:00.184) 0:00:31.255
TASK [adduser : User | Create User Group] ** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "gid": 998, "name": "kube-cert", "state": "present", "system": true} Sunday 26 December 2021 15:40:56 -0500 (0:00:01.324) 0:00:32.580 ***
TASK [adduser : User | Create User] **** ok: [WIN-GJPEB7NCTLB] => {"append": false, "changed": false, "comment": "Kubernetes user", "group": 998, "home": "/home/kube", "move_home": false, "name": "kube", "shell": "/sbin/nologin", "state": "present", "uid": 997} Sunday 26 December 2021 15:40:58 -0500 (0:00:02.093) 0:00:34.674 ***
TASK [kubernetes/preinstall : Remove swapfile from /etc/fstab] *** ok: [WIN-GJPEB7NCTLB] => (item=swap) => {"ansible_loop_var": "item", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "item": "swap", "name": "swap", "opts": "defaults", "passno": "0"} ok: [WIN-GJPEB7NCTLB] => (item=none) => {"ansible_loop_var": "item", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "item": "none", "name": "none", "opts": "defaults", "passno": "0"} Sunday 26 December 2021 15:41:00 -0500 (0:00:01.932) 0:00:36.607 *
TASK [kubernetes/preinstall : check swap] ** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "cmd": ["/sbin/swapon", "-s"], "delta": "0:00:00.002181", "end": "2021-12-26 20:41:01.717894", "rc": 0, "start": "2021-12-26 20:41:01.715713", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} Sunday 26 December 2021 15:41:01 -0500 (0:00:01.032) 0:00:37.639 Sunday 26 December 2021 15:41:01 -0500 (0:00:00.133) 0:00:37.773
TASK [kubernetes/preinstall : Stop if either kube_control_plane or kube_node group is empty] * ok: [WIN-GJPEB7NCTLB] => (item=kube_control_plane) => { "ansible_loop_var": "item", "changed": false, "item": "kube_control_plane", "msg": "All assertions passed" } ok: [WIN-GJPEB7NCTLB] => (item=kube_node) => { "ansible_loop_var": "item", "changed": false, "item": "kube_node", "msg": "All assertions passed" } Sunday 26 December 2021 15:41:02 -0500 (0:00:00.248) 0:00:38.022 *****
TASK [kubernetes/preinstall : Stop if etcd group is empty in external etcd mode] * ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:02 -0500 (0:00:00.162) 0:00:38.184 *****
TASK [kubernetes/preinstall : Stop if non systemd OS type] *** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:02 -0500 (0:00:00.158) 0:00:38.343 *
TASK [kubernetes/preinstall : Stop if unknown OS] ** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:02 -0500 (0:00:00.160) 0:00:38.504 ***
TASK [kubernetes/preinstall : Stop if unknown network plugin] ** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:02 -0500 (0:00:00.286) 0:00:38.791 Sunday 26 December 2021 15:41:03 -0500 (0:00:00.178) 0:00:38.969
TASK [kubernetes/preinstall : Stop if supported Calico versions] ***** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:03 -0500 (0:00:00.237) 0:00:39.207 * Sunday 26 December 2021 15:41:03 -0500 (0:00:00.133) 0:00:39.340 ***
TASK [kubernetes/preinstall : Stop if unsupported version of Kubernetes] ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:03 -0500 (0:00:00.248) 0:00:39.589
TASK [kubernetes/preinstall : Stop if known booleans are set as strings (Use JSON format on CLI: -e "{'key': true }")] * ok: [WIN-GJPEB7NCTLB] => (item={'name': 'download_run_once', 'value': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "download_run_once", "value": false }, "msg": "All assertions passed" } ok: [WIN-GJPEB7NCTLB] => (item={'name': 'deploy_netchecker', 'value': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "deploy_netchecker", "value": false }, "msg": "All assertions passed" } ok: [WIN-GJPEB7NCTLB] => (item={'name': 'download_always_pull', 'value': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "download_always_pull", "value": false }, "msg": "All assertions passed" } ok: [WIN-GJPEB7NCTLB] => (item={'name': 'helm_enabled', 'value': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "helm_enabled", "value": false }, "msg": "All assertions passed" } ok: [WIN-GJPEB7NCTLB] => (item={'name': 'openstack_lbaas_enabled', 'value': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "openstack_lbaas_enabled", "value": false }, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:04 -0500 (0:00:01.096) 0:00:40.686 *****
TASK [kubernetes/preinstall : Stop if even number of etcd hosts] ***** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:05 -0500 (0:00:00.270) 0:00:40.957 *
TASK [kubernetes/preinstall : Stop if memory is too small for masters] ** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:05 -0500 (0:00:00.305) 0:00:41.262
TASK [kubernetes/preinstall : Stop if memory is too small for nodes] **** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:05 -0500 (0:00:00.279) 0:00:41.542
TASK [kubernetes/preinstall : Stop when ShutdownGracePeriod less than ShutdownGracePeriodCriticalPods] * ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:05 -0500 (0:00:00.218) 0:00:41.760 ***** Sunday 26 December 2021 15:41:06 -0500 (0:00:00.135) 0:00:41.896 Sunday 26 December 2021 15:41:06 -0500 (0:00:00.218) 0:00:42.115
TASK [kubernetes/preinstall : Stop if ip var does not match local ips] ** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:06 -0500 (0:00:00.278) 0:00:42.393
TASK [kubernetes/preinstall : Stop if access_ip is not pingable] ***** changed: [WIN-GJPEB7NCTLB] => {"changed": true, "cmd": ["ping", "-c1", "192.168.1.77"], "delta": "0:00:00.002140", "end": "2021-12-26 20:41:06.852246", "rc": 0, "start": "2021-12-26 20:41:06.850106", "stderr": "", "stderr_lines": [], "stdout": "PING 192.168.1.77 (192.168.1.77) 56(84) bytes of data.\n64 bytes from 192.168.1.77: icmp_seq=1 ttl=64 time=0.014 ms\n\n--- 192.168.1.77 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.014/0.014/0.014/0.000 ms", "stdout_lines": ["PING 192.168.1.77 (192.168.1.77) 56(84) bytes of data.", "64 bytes from 192.168.1.77: icmp_seq=1 ttl=64 time=0.014 ms", "", "--- 192.168.1.77 ping statistics ---", "1 packets transmitted, 1 received, 0% packet loss, time 0ms", "rtt min/avg/max/mdev = 0.014/0.014/0.014/0.000 ms"]} Sunday 26 December 2021 15:41:06 -0500 (0:00:00.419) 0:00:42.813 * Sunday 26 December 2021 15:41:07 -0500 (0:00:00.174) 0:00:42.988 Sunday 26 December 2021 15:41:07 -0500 (0:00:00.171) 0:00:43.160
TASK [kubernetes/preinstall : Stop if RBAC and anonymous-auth are not enabled when insecure port is disabled] * ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Sunday 26 December 2021 15:41:07 -0500 (0:00:00.367) 0:00:43.527 ***** Sunday 26 December 2021 15:41:07 -0500 (0:00:00.185) 0:00:43.712 ***
TASK [kubernetes/preinstall : Stop if bad hostname] **** fatal: [WIN-GJPEB7NCTLB]: FAILED! => { "assertion": "inventory_hostname is match(\"a-z0-9?(\.a-z0-9?)*$\")", "changed": false, "evaluated_to": false, "msg": "Hostname must consist of lower case alphanumeric characters, '.' or '-', and must start and end with an alphanumeric character" }
NO MORE HOSTS LEFT *****
PLAY RECAP *****
WIN-GJPEB7NCTLB : ok=37 changed=1 unreachable=0 failed=1 skipped=65 rescued=0 ignored=0
localhost : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Sunday 26 December 2021 15:41:08 -0500 (0:00:00.232) 0:00:43.945 *** =============================================================================== download : download | Download files / images --------------------------- 5.33s download : download | Download files / images --------------------------- 4.91s adduser : User | Create User -------------------------------------------- 2.09s kubernetes/preinstall : Remove swapfile from /etc/fstab ----------------- 1.93s bootstrap-os : Assign inventory name to unconfigured hostnames (non-CoreOS, non-Flatcar, Suse and ClearLinux) --- 1.87s bootstrap-os : Gather host facts to get ansible_os_family --------------- 1.75s bootstrap-os : Install dbus for the hostname module --------------------- 1.62s adduser : User | Create User Group -------------------------------------- 1.33s Gather necessary facts (hardware) --------------------------------------- 1.26s bootstrap-os : Create remote_tmp for it is used by another module ------- 1.15s kubernetes/preinstall : Stop if known booleans are set as strings (Use JSON format on CLI: -e "{'key': true }") --- 1.10s kubernetes/preinstall : check swap -------------------------------------- 1.03s bootstrap-os : Ensure bash_completion.d folder exists ------------------- 0.70s kubespray-defaults : Gather ansible_default_ipv4 from all hosts --------- 0.56s Gather necessary facts (network) ---------------------------------------- 0.48s Gather minimal facts ---------------------------------------------------- 0.44s kubernetes/preinstall : Stop if access_ip is not pingable --------------- 0.43s kubespray-defaults : Configure defaults --------------------------------- 0.38s kubernetes/preinstall : Stop if RBAC and anonymous-auth are not enabled when insecure port is disabled --- 0.37s Check that jinja is not too old (install via pip) ----------------------- 0.35s POST INSTALL: checkout akash repo POST INSTALL: Fetching origin POST INSTALL: HEAD is now at 5564b6b8 fix(sdkutil): get txhash from serialized tx rather than response (#1467) POST INSTALL: done checking out akash repo INGRESS NODE NAME WIN-GJPEB7NCTLB MASTER IP 192.168.1.77 POST INSTALL: Warning: Permanently added '192.168.1.77' (ECDSA) to the list of known hosts. POST INSTALL: /usr/bin/echo: /usr/bin/echo: cannot execute binary file POST INSTALL: chown: cannot access '/etc/kubernetes/admin.conf': No such file or directory POST INSTALL: W1226 15:41:10.635033 502580 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W1226 15:41:10.839118 502588 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W1226 15:41:11.024905 502598 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W1226 15:41:11.206489 502605 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W1226 15:41:11.394615 502611 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W1226 15:41:11.559456 502618 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W1226 15:41:11.749559 502632 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W1226 15:41:11.975662 502641 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W1226 15:41:12.429438 502670 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? Setting up Metrics ServerPOST INSTALL: W1226 15:41:13.203179 502695 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? ========= init is finished ==========
Got similar problem. Could update/install my cluster config, but cannot start the provider. Just hangs there. "tail -f /var/log/handyhost.log" just shows "provider is closed". Any ideas?
Got the following error after retrying:
So, after reinstalling everything with ubuntu server (20.4.3 LTS) at least my Akash cluster is online now. somehow the provider took quite a few tries to come online.
Good to hear, so you reinstall akash node?
Yes. But the provider seems to crash often. this is what the log puts out:
nope - doesn't come up again. Provider won't start. What can I provide to find the problem?
I'm still waiting for support, seems they're busy.
Interestingly now it seems to work - not touching anything anymore.. :-)
nice nice ... did you have same problem as mine?
There were errors installing Kubernetes. Please check the logs below and try again. Common issues include setting up your internet router local DNS settings, your Akash nodes being offline or IP changes.
no my Kubernetes setup went smoothly. Regarding the DNS/IP changes I had some trouble since I was experimenting with static IP's which didn't went well. Now it just works..maybe took a while to get things sorted?
You still having trouble? On my setup I had to reboot the nodes since there was an error on the install, they didn't get the generated hostname. After a reboot all was good.
yes, thanks for the tip I'll try to reboot my nodes. cross fingers hope it works.
i rebooted my node same errors/problem.
Hey just getting back from vacation, sorry for the wait. We're running some long-running tests with a new akash build currently that has been in the works for a few weeks now that should address alot of these akash provider stability issues. Seems like a lot of them had to deal with RPC errors the provider was running into. I'm going to make a few more tweaks this week and expect to have a new build ready by end of next week.
Thanks Alex for the update. Hope you enjoy your vacay.
I just pushed out v0.5.2, let me know if this fixes any of the issues you were running into with your cluster.
still same error
Using /root/.HandyHost/aktData/kubespray/ansible.cfg as config file [WARNING]: Skipping 'calico_rr' as this is not a valid group definition [WARNING]: Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with auto plugin: no root 'plugin' key found, '/root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml' is not a valid YAML inventory plugin config file [WARNING]: Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with yaml plugin: calico_rr is not a known host nor group [WARNING]: * Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with ini plugin: Invalid host pattern 'all:' supplied, ending in ':' is not allowed, this character is reserved to provide a port. [WARNING]: Unable to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available
PLAY [localhost] *** Monday 24 January 2022 23:27:57 -0500 (0:00:00.102) 0:00:00.102 ****
TASK [Check 2.9.0 <= Ansible version < 2.12.0] ***** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:27:57 -0500 (0:00:00.103) 0:00:00.206 ****
TASK [Check Ansible version > 2.10.11 when using ansible 2.10] ***** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:27:57 -0500 (0:00:00.097) 0:00:00.303 ****
TASK [Check that python netaddr is installed] ** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:27:57 -0500 (0:00:00.150) 0:00:00.454 ****
TASK [Check that jinja is not too old (install via pip)] *** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } [WARNING]: Could not match supplied host pattern, ignoring: kube-master
PLAY [Add kube-master nodes to kube_control_plane] ***** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: kube-node
PLAY [Add kube-node nodes to kube_node] **** skipping: no hosts matched
PLAY [Add k8s-cluster nodes to k8s_cluster] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: k8s-cluster [WARNING]: Could not match supplied host pattern, ignoring: calico-rr
PLAY [Add calico-rr nodes to calico_rr] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: no-floating
PLAY [Add no-floating nodes to no_floating] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: bastion
PLAY [bastion[0]] ** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: calico_rr
PLAY [Gather facts] **** Monday 24 January 2022 23:27:58 -0500 (0:00:00.177) 0:00:00.632 ****
TASK [Gather minimal facts] **** ok: [WIN-GJPEB7NCTLB] Monday 24 January 2022 23:27:59 -0500 (0:00:01.824) 0:00:02.457 ****
TASK [Gather necessary facts (network)] **** ok: [WIN-GJPEB7NCTLB] Monday 24 January 2022 23:28:00 -0500 (0:00:00.817) 0:00:03.275 ****
TASK [Gather necessary facts (hardware)] *** ok: [WIN-GJPEB7NCTLB] [WARNING]: Not prompting as we are not in interactive mode
PLAY [etcd:k8s_cluster:calico_rr] ** Monday 24 January 2022 23:28:01 -0500 (0:00:01.199) 0:00:04.475 ****
TASK [check confirmation] ** fatal: [WIN-GJPEB7NCTLB]: FAILED! => {"changed": false, "msg": "Reset confirmation failed"}
PLAY RECAP *****
WIN-GJPEB7NCTLB : ok=3 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
localhost : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Monday 24 January 2022 23:28:01 -0500 (0:00:00.101) 0:00:04.577 **** =============================================================================== Gather minimal facts ---------------------------------------------------- 1.82s Gather necessary facts (hardware) --------------------------------------- 1.20s Gather necessary facts (network) ---------------------------------------- 0.82s Check that jinja is not too old (install via pip) ----------------------- 0.18s Check that python netaddr is installed ---------------------------------- 0.15s Check 2.9.0 <= Ansible version < 2.12.0 --------------------------------- 0.10s check confirmation ------------------------------------------------------ 0.10s Check Ansible version > 2.10.11 when using ansible 2.10 ----------------- 0.10s ========= teardown is finished ==========Using /root/.HandyHost/aktData/kubespray/ansible.cfg as config file [WARNING]: Skipping 'calico_rr' as this is not a valid group definition [WARNING]: Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with auto plugin: no root 'plugin' key found, '/root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml' is not a valid YAML inventory plugin config file [WARNING]: Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with yaml plugin: calico_rr is not a known host nor group [WARNING]: * Failed to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml with ini plugin: Invalid host pattern 'all:' supplied, ending in ':' is not allowed, this character is reserved to provide a port. [WARNING]: Unable to parse /root/.HandyHost/aktData/kubespray/inventory/handyhost/myinventory.yaml as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available
PLAY [localhost] *** Monday 24 January 2022 23:28:10 -0500 (0:00:00.097) 0:00:00.097 ****
TASK [Check 2.9.0 <= Ansible version < 2.12.0] ***** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:10 -0500 (0:00:00.117) 0:00:00.215 ****
TASK [Check Ansible version > 2.10.11 when using ansible 2.10] ***** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:11 -0500 (0:00:00.110) 0:00:00.326 ****
TASK [Check that python netaddr is installed] ** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:11 -0500 (0:00:00.172) 0:00:00.499 ****
TASK [Check that jinja is not too old (install via pip)] *** ok: [localhost] => { "changed": false, "msg": "All assertions passed" } [WARNING]: Could not match supplied host pattern, ignoring: kube-master
PLAY [Add kube-master nodes to kube_control_plane] ***** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: kube-node
PLAY [Add kube-node nodes to kube_node] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: k8s-cluster
PLAY [Add k8s-cluster nodes to k8s_cluster] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: calico-rr
PLAY [Add calico-rr nodes to calico_rr] **** skipping: no hosts matched
PLAY [Add no-floating nodes to no_floating] **** skipping: no hosts matched [WARNING]: Could not match supplied host pattern, ignoring: no-floating [WARNING]: Could not match supplied host pattern, ignoring: bastion
PLAY [bastion[0]] ** skipping: no hosts matched
PLAY [k8s_cluster:etcd] **** Monday 24 January 2022 23:28:11 -0500 (0:00:00.239) 0:00:00.739 **** Monday 24 January 2022 23:28:11 -0500 (0:00:00.096) 0:00:00.836 **** Monday 24 January 2022 23:28:11 -0500 (0:00:00.091) 0:00:00.927 **** Monday 24 January 2022 23:28:11 -0500 (0:00:00.090) 0:00:01.018 **** Monday 24 January 2022 23:28:11 -0500 (0:00:00.097) 0:00:01.116 **** Monday 24 January 2022 23:28:11 -0500 (0:00:00.110) 0:00:01.226 **** Monday 24 January 2022 23:28:12 -0500 (0:00:00.100) 0:00:01.327 **** Monday 24 January 2022 23:28:12 -0500 (0:00:00.124) 0:00:01.452 **** Monday 24 January 2022 23:28:12 -0500 (0:00:00.107) 0:00:01.560 **** Monday 24 January 2022 23:28:12 -0500 (0:00:00.094) 0:00:01.655 **** Monday 24 January 2022 23:28:12 -0500 (0:00:00.093) 0:00:01.748 **** Monday 24 January 2022 23:28:12 -0500 (0:00:00.093) 0:00:01.842 **** Monday 24 January 2022 23:28:12 -0500 (0:00:00.092) 0:00:01.935 **** Monday 24 January 2022 23:28:12 -0500 (0:00:00.111) 0:00:02.046 **** Monday 24 January 2022 23:28:12 -0500 (0:00:00.104) 0:00:02.151 **** Monday 24 January 2022 23:28:12 -0500 (0:00:00.099) 0:00:02.251 **** Monday 24 January 2022 23:28:13 -0500 (0:00:00.098) 0:00:02.349 **** Monday 24 January 2022 23:28:13 -0500 (0:00:00.098) 0:00:02.448 **** Monday 24 January 2022 23:28:13 -0500 (0:00:00.095) 0:00:02.543 **** Monday 24 January 2022 23:28:17 -0500 (0:00:04.473) 0:00:07.016 ****
TASK [kubespray-defaults : Configure defaults] ***** ok: [WIN-GJPEB7NCTLB] => { "msg": "Check roles/kubespray-defaults/defaults/main.yml" } Monday 24 January 2022 23:28:17 -0500 (0:00:00.136) 0:00:07.153 **** Monday 24 January 2022 23:28:18 -0500 (0:00:00.165) 0:00:07.318 **** Monday 24 January 2022 23:28:18 -0500 (0:00:00.094) 0:00:07.413 **** Monday 24 January 2022 23:28:18 -0500 (0:00:00.105) 0:00:07.518 **** Monday 24 January 2022 23:28:18 -0500 (0:00:00.094) 0:00:07.613 **** Monday 24 January 2022 23:28:18 -0500 (0:00:00.092) 0:00:07.706 **** [WARNING]: raw module does not support the environment keyword
TASK [bootstrap-os : Fetch /etc/os-release] **** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "rc": 0, "stderr": "Shared connection to win-gjpeb7nctlb closed.\r\n", "stderr_lines": ["Shared connection to win-gjpeb7nctlb closed."], "stdout": "NAME=\"Ubuntu\"\r\nVERSION=\"20.04.3 LTS (Focal Fossa)\"\r\nID=ubuntu\r\nID_LIKE=debian\r\nPRETTY_NAME=\"Ubuntu 20.04.3 LTS\"\r\nVERSION_ID=\"20.04\"\r\nHOME_URL=\"https://www.ubuntu.com/\"\r\nSUPPORT_URL=\"https://help.ubuntu.com/\"\r\nBUG_REPORT_URL=\"https://bugs.launchpad.net/ubuntu/\"\r\nPRIVACY_POLICY_URL=\"https://www.ubuntu.com/legal/terms-and-policies/privacy-policy\"\r\nVERSION_CODENAME=focal\r\nUBUNTU_CODENAME=focal\r\n", "stdout_lines": ["NAME=\"Ubuntu\"", "VERSION=\"20.04.3 LTS (Focal Fossa)\"", "ID=ubuntu", "ID_LIKE=debian", "PRETTY_NAME=\"Ubuntu 20.04.3 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"]} Monday 24 January 2022 23:28:18 -0500 (0:00:00.199) 0:00:07.905 **** Monday 24 January 2022 23:28:18 -0500 (0:00:00.097) 0:00:08.003 **** Monday 24 January 2022 23:28:18 -0500 (0:00:00.097) 0:00:08.101 **** Monday 24 January 2022 23:28:18 -0500 (0:00:00.094) 0:00:08.195 **** Monday 24 January 2022 23:28:18 -0500 (0:00:00.091) 0:00:08.286 **** Monday 24 January 2022 23:28:19 -0500 (0:00:00.092) 0:00:08.379 **** Monday 24 January 2022 23:28:19 -0500 (0:00:00.092) 0:00:08.472 **** included: /root/.HandyHost/aktData/kubespray/roles/bootstrap-os/tasks/bootstrap-debian.yml for WIN-GJPEB7NCTLB Monday 24 January 2022 23:28:19 -0500 (0:00:00.145) 0:00:08.618 **** [WARNING]: raw module does not support the environment keyword
TASK [bootstrap-os : Check if bootstrap is needed] ***** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "failed_when_result": false, "rc": 0, "stderr": "Shared connection to win-gjpeb7nctlb closed.\r\n", "stderr_lines": ["Shared connection to win-gjpeb7nctlb closed."], "stdout": "/usr/bin/python3\r\n", "stdout_lines": ["/usr/bin/python3"]} Monday 24 January 2022 23:28:19 -0500 (0:00:00.187) 0:00:08.806 **** [WARNING]: raw module does not support the environment keyword
TASK [bootstrap-os : Check http::proxy in apt configuration files] ***** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "failed_when_result": false, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to win-gjpeb7nctlb closed.\r\n", "stderr_lines": ["Shared connection to win-gjpeb7nctlb closed."], "stdout": "", "stdout_lines": []} Monday 24 January 2022 23:28:19 -0500 (0:00:00.193) 0:00:09.000 **** Monday 24 January 2022 23:28:20 -0500 (0:00:00.374) 0:00:09.374 **** [WARNING]: raw module does not support the environment keyword
TASK [bootstrap-os : Check https::proxy in apt configuration files] **** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "failed_when_result": false, "msg": "non-zero return code", "rc": 1, "stderr": "Shared connection to win-gjpeb7nctlb closed.\r\n", "stderr_lines": ["Shared connection to win-gjpeb7nctlb closed."], "stdout": "", "stdout_lines": []} Monday 24 January 2022 23:28:20 -0500 (0:00:00.199) 0:00:09.573 **** Monday 24 January 2022 23:28:20 -0500 (0:00:00.095) 0:00:09.670 **** Monday 24 January 2022 23:28:20 -0500 (0:00:00.095) 0:00:09.765 **** Monday 24 January 2022 23:28:20 -0500 (0:00:00.106) 0:00:09.872 ****
TASK [bootstrap-os : Set the ansible_python_interpreter fact] ** ok: [WIN-GJPEB7NCTLB] => {"ansible_facts": {"ansible_python_interpreter": "/usr/bin/python3"}, "changed": false} Monday 24 January 2022 23:28:20 -0500 (0:00:00.136) 0:00:10.009 ****
TASK [bootstrap-os : Install dbus for the hostname module] ***** ok: [WIN-GJPEB7NCTLB] => {"cache_update_time": 1642998015, "cache_updated": false, "changed": false} Monday 24 January 2022 23:28:22 -0500 (0:00:01.558) 0:00:11.567 **** Monday 24 January 2022 23:28:22 -0500 (0:00:00.113) 0:00:11.681 **** Monday 24 January 2022 23:28:22 -0500 (0:00:00.112) 0:00:11.793 ****
TASK [bootstrap-os : Create remote_tmp for it is used by another module] *** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/root/.ansible/tmp", "size": 4096, "state": "directory", "uid": 0} Monday 24 January 2022 23:28:23 -0500 (0:00:01.298) 0:00:13.092 ****
TASK [bootstrap-os : Gather host facts to get ansible_os_family] *** ok: [WIN-GJPEB7NCTLB] Monday 24 January 2022 23:28:25 -0500 (0:00:01.796) 0:00:14.889 ****
TASK [bootstrap-os : Assign inventory name to unconfigured hostnames (non-CoreOS, non-Flatcar, Suse and ClearLinux, non-Fedora)] * ok: [WIN-GJPEB7NCTLB] => {"ansible_facts": {"ansible_domain": "", "ansible_fqdn": "WIN-GJPEB7NCTLB", "ansible_hostname": "WIN-GJPEB7NCTLB", "ansible_nodename": "WIN-GJPEB7NCTLB"}, "changed": false, "name": "WIN-GJPEB7NCTLB"} Monday 24 January 2022 23:28:27 -0500 (0:00:01.878) 0:00:16.768 ** Monday 24 January 2022 23:28:27 -0500 (0:00:00.098) 0:00:16.866 **** Monday 24 January 2022 23:28:27 -0500 (0:00:00.103) 0:00:16.970 **** Monday 24 January 2022 23:28:27 -0500 (0:00:00.101) 0:00:17.072 ****
TASK [bootstrap-os : Ensure bash_completion.d folder exists] *** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/bash_completion.d/", "size": 4096, "state": "directory", "uid": 0} [WARNING]: Could not match supplied host pattern, ignoring: calico_rr
PLAY [Gather facts] **** Monday 24 January 2022 23:28:28 -0500 (0:00:00.699) 0:00:17.771 ****
TASK [Gather minimal facts] **** ok: [WIN-GJPEB7NCTLB] Monday 24 January 2022 23:28:29 -0500 (0:00:00.846) 0:00:18.618 ****
TASK [Gather necessary facts (network)] **** ok: [WIN-GJPEB7NCTLB] Monday 24 January 2022 23:28:30 -0500 (0:00:00.695) 0:00:19.313 ****
TASK [Gather necessary facts (hardware)] *** ok: [WIN-GJPEB7NCTLB]
PLAY [k8s_cluster:etcd] **** Monday 24 January 2022 23:28:31 -0500 (0:00:01.521) 0:00:20.835 **** Monday 24 January 2022 23:28:31 -0500 (0:00:00.097) 0:00:20.932 **** Monday 24 January 2022 23:28:31 -0500 (0:00:00.097) 0:00:21.030 **** Monday 24 January 2022 23:28:31 -0500 (0:00:00.105) 0:00:21.135 **** Monday 24 January 2022 23:28:31 -0500 (0:00:00.098) 0:00:21.234 **** Monday 24 January 2022 23:28:32 -0500 (0:00:00.097) 0:00:21.331 **** Monday 24 January 2022 23:28:32 -0500 (0:00:00.095) 0:00:21.427 **** Monday 24 January 2022 23:28:32 -0500 (0:00:00.114) 0:00:21.542 **** Monday 24 January 2022 23:28:32 -0500 (0:00:00.111) 0:00:21.654 **** Monday 24 January 2022 23:28:32 -0500 (0:00:00.097) 0:00:21.752 **** Monday 24 January 2022 23:28:32 -0500 (0:00:00.097) 0:00:21.850 **** Monday 24 January 2022 23:28:32 -0500 (0:00:00.096) 0:00:21.946 **** Monday 24 January 2022 23:28:32 -0500 (0:00:00.098) 0:00:22.045 **** Monday 24 January 2022 23:28:32 -0500 (0:00:00.114) 0:00:22.160 **** Monday 24 January 2022 23:28:32 -0500 (0:00:00.099) 0:00:22.259 **** Monday 24 January 2022 23:28:33 -0500 (0:00:00.098) 0:00:22.357 **** Monday 24 January 2022 23:28:33 -0500 (0:00:00.096) 0:00:22.455 **** Monday 24 January 2022 23:28:33 -0500 (0:00:00.098) 0:00:22.553 **** Monday 24 January 2022 23:28:33 -0500 (0:00:00.097) 0:00:22.650 **** Monday 24 January 2022 23:28:37 -0500 (0:00:04.165) 0:00:26.816 ****
TASK [kubespray-defaults : Configure defaults] ***** ok: [WIN-GJPEB7NCTLB] => { "msg": "Check roles/kubespray-defaults/defaults/main.yml" } Monday 24 January 2022 23:28:37 -0500 (0:00:00.128) 0:00:26.945 **** Monday 24 January 2022 23:28:37 -0500 (0:00:00.262) 0:00:27.208 ****
TASK [kubespray-defaults : create fallback_ips_base] *** ok: [WIN-GJPEB7NCTLB -> localhost] => {"ansible_facts": {"fallback_ips_base": "---\nWIN-GJPEB7NCTLB: \"192.168.1.77\"\n"}, "changed": false} Monday 24 January 2022 23:28:38 -0500 (0:00:00.164) 0:00:27.372 ****
TASK [kubespray-defaults : set fallback_ips] *** ok: [WIN-GJPEB7NCTLB] => {"ansible_facts": {"fallback_ips": {"WIN-GJPEB7NCTLB": "192.168.1.77"}}, "changed": false} Monday 24 January 2022 23:28:38 -0500 (0:00:00.183) 0:00:27.556 **** Monday 24 January 2022 23:28:38 -0500 (0:00:00.107) 0:00:27.663 **** Monday 24 January 2022 23:28:38 -0500 (0:00:00.111) 0:00:27.775 ****
TASK [adduser : User | Create User Group] ** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "gid": 998, "name": "kube-cert", "state": "present", "system": true} Monday 24 January 2022 23:28:39 -0500 (0:00:01.458) 0:00:29.234 ****
TASK [adduser : User | Create User] **** ok: [WIN-GJPEB7NCTLB] => {"append": false, "changed": false, "comment": "Kubernetes user", "group": 998, "home": "/home/kube", "move_home": false, "name": "kube", "shell": "/sbin/nologin", "state": "present", "uid": 997} Monday 24 January 2022 23:28:41 -0500 (0:00:01.711) 0:00:30.945 ****
TASK [kubernetes/preinstall : Remove swapfile from /etc/fstab] ***** ok: [WIN-GJPEB7NCTLB] => (item=swap) => {"ansible_loop_var": "item", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "item": "swap", "name": "swap", "opts": "defaults", "passno": "0"} ok: [WIN-GJPEB7NCTLB] => (item=none) => {"ansible_loop_var": "item", "changed": false, "dump": "0", "fstab": "/etc/fstab", "fstype": "swap", "item": "none", "name": "none", "opts": "defaults", "passno": "0"} Monday 24 January 2022 23:28:43 -0500 (0:00:01.874) 0:00:32.820 ****
TASK [kubernetes/preinstall : check swap] ** ok: [WIN-GJPEB7NCTLB] => {"changed": false, "cmd": ["/sbin/swapon", "-s"], "delta": "0:00:00.002127", "end": "2022-01-25 04:28:44.636135", "msg": "", "rc": 0, "start": "2022-01-25 04:28:44.634008", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} Monday 24 January 2022 23:28:44 -0500 (0:00:01.221) 0:00:34.041 **** Monday 24 January 2022 23:28:44 -0500 (0:00:00.111) 0:00:34.153 **** Monday 24 January 2022 23:28:44 -0500 (0:00:00.109) 0:00:34.263 ****
TASK [kubernetes/preinstall : Stop if either kube_control_plane or kube_node group is empty] * ok: [WIN-GJPEB7NCTLB] => (item=kube_control_plane) => { "ansible_loop_var": "item", "changed": false, "item": "kube_control_plane", "msg": "All assertions passed" } ok: [WIN-GJPEB7NCTLB] => (item=kube_node) => { "ansible_loop_var": "item", "changed": false, "item": "kube_node", "msg": "All assertions passed" } Monday 24 January 2022 23:28:45 -0500 (0:00:00.247) 0:00:34.510 **
TASK [kubernetes/preinstall : Stop if etcd group is empty in external etcd mode] * ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:45 -0500 (0:00:00.159) 0:00:34.670 **
TASK [kubernetes/preinstall : Stop if non systemd OS type] ***** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:45 -0500 (0:00:00.152) 0:00:34.823 ****
TASK [kubernetes/preinstall : Stop if unknown OS] ** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:45 -0500 (0:00:00.169) 0:00:34.992 ****
TASK [kubernetes/preinstall : Stop if unknown network plugin] ** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:45 -0500 (0:00:00.212) 0:00:35.205 **** Monday 24 January 2022 23:28:46 -0500 (0:00:00.139) 0:00:35.345 ****
TASK [kubernetes/preinstall : Stop if supported Calico versions] *** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:46 -0500 (0:00:00.190) 0:00:35.535 ****
TASK [kubernetes/preinstall : Stop if unsupported version of Kubernetes] *** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:46 -0500 (0:00:00.163) 0:00:35.699 ****
TASK [kubernetes/preinstall : Stop if known booleans are set as strings (Use JSON format on CLI: -e "{'key': true }")] * ok: [WIN-GJPEB7NCTLB] => (item={'name': 'download_run_once', 'value': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "download_run_once", "value": false }, "msg": "All assertions passed" } ok: [WIN-GJPEB7NCTLB] => (item={'name': 'deploy_netchecker', 'value': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "deploy_netchecker", "value": false }, "msg": "All assertions passed" } ok: [WIN-GJPEB7NCTLB] => (item={'name': 'download_always_pull', 'value': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "download_always_pull", "value": false }, "msg": "All assertions passed" } ok: [WIN-GJPEB7NCTLB] => (item={'name': 'helm_enabled', 'value': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "helm_enabled", "value": false }, "msg": "All assertions passed" } ok: [WIN-GJPEB7NCTLB] => (item={'name': 'openstack_lbaas_enabled', 'value': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "name": "openstack_lbaas_enabled", "value": false }, "msg": "All assertions passed" } Monday 24 January 2022 23:28:47 -0500 (0:00:00.747) 0:00:36.446 **
TASK [kubernetes/preinstall : Stop if even number of etcd hosts] *** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:47 -0500 (0:00:00.270) 0:00:36.717 ****
TASK [kubernetes/preinstall : Stop if memory is too small for masters] ***** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:47 -0500 (0:00:00.170) 0:00:36.887 ****
TASK [kubernetes/preinstall : Stop if memory is too small for nodes] *** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:47 -0500 (0:00:00.156) 0:00:37.045 ****
TASK [kubernetes/preinstall : Stop when dynamic_kubelet_configuration enabled for kubernetes >= 1.22] * ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:47 -0500 (0:00:00.152) 0:00:37.197 ** Monday 24 January 2022 23:28:48 -0500 (0:00:00.131) 0:00:37.328 ****
TASK [kubernetes/preinstall : Stop if ip var does not match local ips] ***** ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:48 -0500 (0:00:00.162) 0:00:37.491 ****
TASK [kubernetes/preinstall : Stop if access_ip is not pingable] *** changed: [WIN-GJPEB7NCTLB] => {"changed": true, "cmd": ["ping", "-c1", "192.168.1.77"], "delta": "0:00:00.002144", "end": "2022-01-25 04:28:48.724097", "msg": "", "rc": 0, "start": "2022-01-25 04:28:48.721953", "stderr": "", "stderr_lines": [], "stdout": "PING 192.168.1.77 (192.168.1.77) 56(84) bytes of data.\n64 bytes from 192.168.1.77: icmp_seq=1 ttl=64 time=0.015 ms\n\n--- 192.168.1.77 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.015/0.015/0.015/0.000 ms", "stdout_lines": ["PING 192.168.1.77 (192.168.1.77) 56(84) bytes of data.", "64 bytes from 192.168.1.77: icmp_seq=1 ttl=64 time=0.015 ms", "", "--- 192.168.1.77 ping statistics ---", "1 packets transmitted, 1 received, 0% packet loss, time 0ms", "rtt min/avg/max/mdev = 0.015/0.015/0.015/0.000 ms"]} Monday 24 January 2022 23:28:48 -0500 (0:00:00.637) 0:00:38.128 **** Monday 24 January 2022 23:28:48 -0500 (0:00:00.113) 0:00:38.242 **** Monday 24 January 2022 23:28:49 -0500 (0:00:00.113) 0:00:38.356 ****
TASK [kubernetes/preinstall : Stop if RBAC and anonymous-auth are not enabled when insecure port is disabled] * ok: [WIN-GJPEB7NCTLB] => { "changed": false, "msg": "All assertions passed" } Monday 24 January 2022 23:28:49 -0500 (0:00:00.168) 0:00:38.525 ** Monday 24 January 2022 23:28:49 -0500 (0:00:00.106) 0:00:38.631 ****
TASK [kubernetes/preinstall : Stop if bad hostname] **** fatal: [WIN-GJPEB7NCTLB]: FAILED! => { "assertion": "inventory_hostname is match(\"a-z0-9?(\.a-z0-9?)*$\")", "changed": false, "evaluated_to": false, "msg": "Hostname must consist of lower case alphanumeric characters, '.' or '-', and must start and end with an alphanumeric character" }
NO MORE HOSTS LEFT *****
PLAY RECAP *****
WIN-GJPEB7NCTLB : ok=37 changed=1 unreachable=0 failed=1 skipped=68 rescued=0 ignored=0
localhost : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Monday 24 January 2022 23:28:49 -0500 (0:00:00.136) 0:00:38.768 **** =============================================================================== download : download | Download files / images --------------------------- 4.47s download : download | Download files / images --------------------------- 4.17s bootstrap-os : Assign inventory name to unconfigured hostnames (non-CoreOS, non-Flatcar, Suse and ClearLinux, non-Fedora) --- 1.88s kubernetes/preinstall : Remove swapfile from /etc/fstab ----------------- 1.87s bootstrap-os : Gather host facts to get ansible_os_family --------------- 1.80s adduser : User | Create User -------------------------------------------- 1.71s bootstrap-os : Install dbus for the hostname module --------------------- 1.56s Gather necessary facts (hardware) --------------------------------------- 1.52s adduser : User | Create User Group -------------------------------------- 1.46s bootstrap-os : Create remote_tmp for it is used by another module ------- 1.30s kubernetes/preinstall : check swap -------------------------------------- 1.22s Gather minimal facts ---------------------------------------------------- 0.85s kubernetes/preinstall : Stop if known booleans are set as strings (Use JSON format on CLI: -e "{'key': true }") --- 0.75s bootstrap-os : Ensure bash_completion.d folder exists ------------------- 0.70s Gather necessary facts (network) ---------------------------------------- 0.70s kubernetes/preinstall : Stop if access_ip is not pingable --------------- 0.64s bootstrap-os : Add http_proxy to /etc/apt/apt.conf if http_proxy is defined --- 0.37s kubernetes/preinstall : Stop if even number of etcd hosts --------------- 0.27s kubespray-defaults : Gather ansible_default_ipv4 from all hosts --------- 0.26s kubernetes/preinstall : Stop if either kube_control_plane or kube_node group is empty --- 0.25s POST INSTALL: checkout akash repo POST INSTALL: Fetching origin POST INSTALL: HEAD is now at 5564b6b8 fix(sdkutil): get txhash from serialized tx rather than response (#1467) POST INSTALL: done checking out akash repo POST INSTALL: INGRESS NODE NAME WIN-GJPEB7NCTLB MASTER IP 192.168.1.77 POST INSTALL: Warning: Permanently added '192.168.1.77' (ECDSA) to the list of known hosts. POST INSTALL: /usr/bin/echo: /usr/bin/echo: cannot execute binary file POST INSTALL: chown: cannot access '/etc/kubernetes/admin.conf': No such file or directory POST INSTALL: W0124 23:28:51.351902 2550322 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W0124 23:28:51.506829 2550329 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W0124 23:28:51.719891 2550338 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W0124 23:28:51.889907 2550357 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W0124 23:28:52.058763 2550365 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W0124 23:28:52.251227 2550374 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W0124 23:28:52.413071 2550382 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W0124 23:28:52.597596 2550389 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? POST INSTALL: W0124 23:28:52.827926 2550408 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? Setting up Metrics ServerPOST INSTALL: W0124 23:28:53.711074 2550431 loader.go:221] Config not found: /root/.HandyHost/aktData/admin.conf POST INSTALL: The connection to the server localhost:8080 was refused - did you specify the right host or port? ========= init is finished ==========
There were errors installing Kubernetes. Please check the logs below and try again. Common issues include setting up your internet router local DNS settings, your Akash nodes being offline or IP changes.
I just reinstall/restarted my akash node based on your tips on how to reconfigure akash here - https://github.com/HandyOSS/HandyHost/issues/11#issuecomment-948307475
My akash installation stuck on hostname I think (see attach) it's been like 30mins now stuck like that.
Thanks.
So it would only hang here if it were the case that the handyhost app were unreachable from the node machine you're trying to setup. Question: Is the node machine on the same local network (192.168.1.* and would it be able to access the host at 192.168.1.73)? Also dumb question here but is the HandyHost app up and running on the host machine while you're running the thumbdrive install on the node machine?
hi alex,
Yes same network, yes handyhost up and running on the host machine.
while still stuck on the hostname part, I ran the scanning my nodes and it shows. I don't know if I should wait or should I save config and build kubernetes cluster.
As part of this process did you happen to re-image your thumb drive from within the handyhost app? You may want to do that if you didn’t. The option to burn the usb image can be found by clicking that top-right button for Build/Setup new x86 nodes.
On Jan 27, 2022u, at 5:25 PM, pinoygrapher @.***> wrote:
while still stuck on that part hostname part, I ran the scannin my nodes and it shows. I don't know if I should wait or should I save config and build kubernetes cluster.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.
yes I did re-image.
Regarding the results of that scan: It seems like it's showing up with an old machine name (WIN-...) which definitely means the imaging didnt work because it'd have a name like "akash-some-random-moniker" if it had worked, plus you'd get a pop-up within the handyhost app when it's successfully registered. From those ubuntu install logs it looks like it was hanging on the step where it registers the machine with handyhost via a url call. I just tested here on my setup for sanity sake and I was able to return a random hostname from the app from an anonymous machine on my network, so it seems like for whatever reason that node cant talk to the handyhost node over your local network. Which leads to a follow-up question: Are you able to visit your handyhost app dashboard from another browser on another machine on your local network? The URL:port will be available in the bottom left of the dashboard. That will at least confirm whether or not your network router is routing traffic properly. On Thursday, January 27, 2022, 06:57:15 PM MST, pinoygrapher @.***> wrote:
yes I did re-image.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>
thanks alex for helping, Yes I can confirm I can access my handyhost machine ip:port different browsers and machines.
Can you do the following? Open a terminal on the handyhost machine and run:
tail -n 200 /var/log/handyhost.log
Look for a log entry that looks like this:
is positional [
'api',
'akt',
'getRandomHostname', '192.168.1.xxx', 'f8e.....(a long hash).....f121' ]
and let me know if
thanks alex for helping, Yes I can confirm I can access my handyhost machine ip:port different browsers and machines.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>
is that the one?
or this?
thanks alex for the help. I'm going to format the akash node, re-image, build and setup cluster and reinstall akash node again tomorrow. Look like something wrong with my handyhost building and setting up cluster?
No sadly not those :( If you can’t find “getRandomHostname” in the logs it means that the api call that just hangs on the node during install never gets made from the node to the host. Which explains why it’s just hanging/waiting for a response during the node install.
Follow up based on that:
Sent from my iPhone
On Jan 27, 2022, at 7:57 PM, pinoygrapher @.***> wrote:
or this?
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.
yes wired connection. Yes I cannot find the "getRandomHostname”.
I was thinking even if I redo my akash node again it might be the same. Is there a work around or fix?
Thanks
Sent from my iPhone
On Jan 27, 2022, at 10:10 PM, Alex Smith @.***> wrote:
No sadly not those :( If you can’t find “getRandomHostname” in the logs it means that the api call that just hangs on the node during install never gets made from the node to the host. Which explains why it’s just hanging/waiting for a response during the node install.
Follow up based on that:
- Is the node machine on a wired Ethernet connection? If not use a wired connection.
Sent from my iPhone
On Jan 27, 2022, at 7:57 PM, pinoygrapher @.***> wrote:
or this?
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.
One potential workaround comes to mind: We dont necessarily need the thumbdrive installer for it to work. So what you'd do:
manually download ubuntu desktop or server 20 and make the thumbdrive (tutorial here: https://ubuntu.com/tutorials/create-a-usb-stick-on-windows#1-overview there are also macos and ubuntu instructions linked. I use balenaEtcher myself)
install ubuntu on the node via the thumbdrive, and you'll want to install openssh server so you can ssh into the machine:
sudo apt install openssh-server``````sudo systemctl enable ssh``````sudo ufw allow ssh
now you can test ssh access from the handyhost machine like:
ssh ***@***.***
Assuming you can ssh in, now from the handyhost Akash configuration panel, you can scan the network, choose the new node, and click the 'enable ssh access' link, which will copy the ssh access keys from handyhost to the node.
If that all worked, save your config and then 'build kubernetes cluster'
Hopefully that all works. And if not it should give us some idea of what's going on if it's something isolated to the akash node hardware.
Thanks again for dealing with this headache, I'm anxious to see what the root cause was after we get this figured out. On Friday, January 28, 2022, 09:16:11 AM MST, pinoygrapher @.***> wrote:
I was thinking even if I redo my akash node again it might be the same. Is there a work around or fix?
Thanks
Sent from my iPhone
On Jan 27, 2022, at 10:10 PM, Alex Smith @.***> wrote:
No sadly not those :( If you can’t find “getRandomHostname” in the logs it means that the api call that just hangs on the node during install never gets made from the node to the host. Which explains why it’s just hanging/waiting for a response during the node install.
Follow up based on that:
- Is the node machine on a wired Ethernet connection? If not use a wired connection.
Sent from my iPhone
On Jan 27, 2022, at 7:57 PM, pinoygrapher @.***> wrote:
or this?
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented. — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>
Ok, thanks Alex I’ll try this and let you know.
Hey Alex,
Sorry for the delay.
So here’s what I did per your instructions:
Thanks.
Did some googling about that ssh problem. Use this command sed -i '1d' ~/.ssh/known_hosts (1d on my known_hosts).
I tried ssh again from handyhost machine to akash node and I got connected.
but when I tried setting up ssh access on the handyhost Akash configuration panel still getting "user defined"
Hey @alyasboytigas - can you describe your physical setup — what kind of hw for the host/nodes are you using, network switches, etc? From the errors in the kubernetes output it looks like there is only one node. You have to have at least two machines - one where handyhost is installed and another one acting as kubernetes node. Is that a given in your setup?
Hey Alex,
Yes I have 2 machines per my previous screenshots. 1 handyhost machine (SIA, DVPN and AKASH) running on raspberry pi 4 with 128gb and 1 akash node which is this - https://www.amazon.com/gp/product/B0957L8ZVK?smid=A28T7U1MTYKM5L&psc=1&linkCode=sl1&tag=stream047-20&linkId=8e37c9e64a271bb91f668544ba27e173&language=en_US&ref_=as_li_ss_tl
One other thing that I thought of:
I may also have a more nuclear option for the akash configs as well just so we try from a clean slate. I still can’t figure out exactly why we’re running into this issue and I can’t seem to replicate on my sandbox :(
Sent from my iPhone
On Feb 2, 2022, at 7:55 AM, pinoygrapher @.***> wrote:
Hey Alex,
Yes I have 2 machines per my previous screenshots. 1 handyhost machine (SIA, DVPN and AKASH) running on raspberry pi 4 with 128gb and 1 akash node which is this - https://www.amazon.com/gp/product/B0957L8ZVK?smid=A28T7U1MTYKM5L&psc=1&linkCode=sl1&tag=stream047-20&linkId=8e37c9e64a271bb91f668544ba27e173&language=en_US&ref_=as_li_ss_tl
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.
for 2. see screenshot
for number 1 answer install handyhost machine deb. followed the instructions on handyhost github setup.
Installation (Ubuntu Desktop 64-bit) There is a compiled .deb package that can be found in Releases. There are many apt dependencies and thus you will have to download it and install thru dpkg and apt like: sudo dpkg -i handyhost_vX.X.X.deb || sudo apt install -f -y On subsequent debian installs you can likely just double click the .deb file (assuming no new apt dependencies). The Debian package will install HandyHost as a daemon which can be spawned/unspawned like: sudo systemctl restart handyhost (stop | start | restart) and the daemon will start on machine startup. Application logs can be found in /var/log/handyhost.log
For some odd reason I can see my akash host is now has .local .. i'm guessing it's good...but then again when I try to setup ssh access still getting "error: undefined" error. Yes I can ssh from handyhost machine to akash node.
OK I wiped my sandbox and the OS and managed to replicate this manual setup issue. Looks like a dependency issue.
I uploaded a new .deb package to release 0.5.2 called handyhost_v0.5.2.1.deb which you can download and install like:
sudo dpkg -i handyhost_v0.5.2.1.deb || sudo apt install -f -y
Which should install the missing dependency. From there you should be able to manually setup ssh access and be good to go.
ok ill try that now.
sorry to say still the same error.
Can you try to install the dependency manually on the terminal and then try again?
sudo apt install sshpass
Sent from my iPhone
On Feb 3, 2022, at 7:25 PM, pinoygrapher @.***> wrote:
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.
so i did the "sudo apt install sshpass" tried setup ssh key again on akash control panel got new error
sorry but you want me to run "sudo dpkg -i handyhost_v0.5.2.1.deb || sudo apt install -f -y" this again?
also keep getting the akash update...
Merry Christmas Everyone!
I finally load up more than 60akt, so when I start the provider it's just stuck on "Starting Up" am I missing something?
thanks.