You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TASK [cluster-config/import : Include cluster config as variable] **************
ok: [127.0.0.1]
TASK [kubespray-clone : Clone Kubespray git project] ***************************
fatal: [127.0.0.1]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'url'
The error appears to be in '/root/.kubitect/clusters/my-first-cluster/ansible/kubitect/roles/kubespray-clone/tasks/main.yaml': line 3, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
---
- name: Clone Kubespray git project
^ here
NO MORE HOSTS LEFT *************************************************************
thanks for reporting this issue. It seems that default Kubespray URL is not set.
I will fix this as soon as possible. In the meantime, explicitly specifying the Kubespray URL should fix the problem:
vm-master and vm-workers machines were created ubuntu 20.04.
kubitect.yaml was copy&pasted from https://kubitect.io/user-guide/getting-started/#step-44-kubernetes-properties
however kuberspray run failed as the following:
TASK [cluster-config/import : Include cluster config as variable] **************
ok: [127.0.0.1]
TASK [kubespray-clone : Clone Kubespray git project] ***************************
fatal: [127.0.0.1]: FAILED! =>
msg: |-
The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'url'
NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
127.0.0.1 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Error while running ansible-playbook: Error during command execution: ansible-playbook error: one or more host failed
Command executed: /root/.kubitect/clusters/my-first-cluster/bin/venvs/main/bin/ansible-playbook --extra-vars {"kubitect_cluster_path":"/root/.kubitect/clusters/my-first-cluster"} --inventory 127.0.0.1, --connection local /root/.kubitect/clusters/my-first-cluster/ansible/kubitect/kubespray-setup.yaml
The text was updated successfully, but these errors were encountered: