Environment:
printf "$(uname -srm)\n$(cat /etc/os-release)\n"):Linux 3.10.0-1062.9.1.el7.x86_64 x86_64
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
ansible --version):ansible 2.7.12
config file = /root/kubespray/ansible.cfg
configured module search path = ['/root/kubespray/library']
ansible python module location = /usr/local/lib/python3.6/site-packages/ansible
executable location = /usr/local/bin/ansible
python version = 3.6.8 (default, Aug 7 2019, 17:28:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
Kubespray version (commit) (git rev-parse --short HEAD):
b35b816
Copy of your inventory file:
I can not generate it. So we are not even at this stage
# declare -a IPS=(192.168.73.151,192.168.73.152,192.168.73.153)
# CONFIG_FILE=inventory/mycluster/hosts.yml python3 contrib/inventory_builder/inventory.py ${IPS[@]}
DEBUG: Adding group all
DEBUG: Adding group kube-master
DEBUG: Adding group kube-node
DEBUG: Adding group etcd
DEBUG: Adding group k8s-cluster
DEBUG: Adding group calico-rr
Traceback (most recent call last):
File "contrib/inventory_builder/inventory.py", line 421, in <module>
sys.exit(main())
File "contrib/inventory_builder/inventory.py", line 417, in main
KubesprayInventory(argv, CONFIG_FILE)
File "contrib/inventory_builder/inventory.py", line 96, in __init__
self.hosts = self.build_hostnames(changed_hosts)
File "contrib/inventory_builder/inventory.py", line 183, in build_hostnames
ip, access_ip = host.split(',')
ValueError: too many values to unpack (expected 2)
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
stumbled over this: you have to supply the IPs with spaces and not comma-separated
@philicious Thanks. It would be nice if the error message would be a little bit better.
Most helpful comment
stumbled over this: you have to supply the IPs with spaces and not comma-separated